mshtml: Don't use fire_event to dispatch contextmenu event.
[wine.git] / configure
blob0c090ebe500c605af38e382c290289b861e668ca
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.19.
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='2.19'
584 PACKAGE_STRING='Wine 2.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://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 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 UDEV_LIBS
660 UDEV_CFLAGS
661 OSS4_CFLAGS
662 ALSA_LIBS
663 GSTREAMER_LIBS
664 GSTREAMER_CFLAGS
665 PULSE_LIBS
666 PULSE_CFLAGS
667 GETTEXTPO_LIBS
668 Z_LIBS
669 FREETYPE_LIBS
670 FREETYPE_CFLAGS
671 LCMS2_LIBS
672 LCMS2_CFLAGS
673 RESOLV_LIBS
674 GPHOTO2_PORT_LIBS
675 GPHOTO2_PORT_CFLAGS
676 GPHOTO2_LIBS
677 GPHOTO2_CFLAGS
678 SANE_LIBS
679 SANE_CFLAGS
680 GNUTLS_LIBS
681 GNUTLS_CFLAGS
682 HAL_LIBS
683 HAL_CFLAGS
684 DBUS_LIBS
685 DBUS_CFLAGS
686 XSLT_LIBS
687 XSLT_CFLAGS
688 XML2_LIBS
689 XML2_CFLAGS
690 PCAP_LIBS
691 X_EXTRA_LIBS
692 X_LIBS
693 X_PRE_LIBS
694 X_CFLAGS
695 XMKMF
696 PTHREAD_LIBS
697 CROSSCFLAGS
698 CROSSCC
699 CROSSTARGET
700 PRELINK
701 WINELOADER_DEPENDS
702 CARBON_LIBS
703 QUICKTIME_LIBS
704 OPENCL_LIBS
705 OPENAL_LIBS
706 COREAUDIO_LIBS
707 SECURITY_LIBS
708 DISKARBITRATION_LIBS
709 APPKIT_LIBS
710 CORESERVICES_LIBS
711 APPLICATIONSERVICES_LIBS
712 FORCEFEEDBACK_LIBS
713 IOKIT_LIBS
714 COREFOUNDATION_LIBS
715 LIBWINE_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_INSTALL_DEV
718 LIBWINE_INSTALL_LIB
719 LIBWINE_IMPORTLIB
720 LIBWINE_SHAREDLIB
721 SOCKET_LIBS
722 DLLTOOL
723 WINELOADER_PROGRAMS
724 ALL_TEST_RESOURCES
725 CONFIGURE_TARGETS
726 DISABLED_SUBDIRS
727 SUBDIRS
728 READELF
729 OTOOL
731 WINELOADER_LDFLAGS
732 LDEXECFLAGS
733 LDRPATH_LOCAL
734 LDRPATH_INSTALL
735 DLLFLAGS
736 dlldir
738 OPENGL_LIBS
739 ICOTOOL
740 CONVERT
741 RSVG
742 FONTFORGE
743 PKG_CONFIG
744 MSGFMT
745 LDCONFIG
746 EGREP
747 GREP
748 LN_S
749 RANLIB
750 ARFLAGS
751 STRIP
752 ac_ct_AR
754 BISON
755 FLEX
756 TOOLSDIR
757 TARGETFLAGS
759 CPPBIN
760 ac_ct_CXX
761 CXXFLAGS
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
770 SET_MAKE
771 host_os
772 host_vendor
773 host_cpu
774 host
775 build_os
776 build_vendor
777 build_cpu
778 build
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 runstatedir
799 localstatedir
800 sharedstatedir
801 sysconfdir
802 datadir
803 datarootdir
804 libexecdir
805 sbindir
806 bindir
807 program_transform_name
808 prefix
809 exec_prefix
810 PACKAGE_URL
811 PACKAGE_BUGREPORT
812 PACKAGE_STRING
813 PACKAGE_VERSION
814 PACKAGE_TARNAME
815 PACKAGE_NAME
816 PATH_SEPARATOR
817 SHELL'
818 ac_subst_files=''
819 ac_user_opts='
820 enable_option_checking
821 enable_win16
822 enable_win64
823 enable_tests
824 enable_maintainer_mode
825 with_alsa
826 with_capi
827 with_cms
828 with_coreaudio
829 with_cups
830 with_curses
831 with_dbus
832 with_fontconfig
833 with_freetype
834 with_gettext
835 with_gettextpo
836 with_gphoto
837 with_glu
838 with_gnutls
839 with_gsm
840 with_gstreamer
841 with_hal
842 with_jpeg
843 with_krb5
844 with_ldap
845 with_mpg123
846 with_netapi
847 with_openal
848 with_opencl
849 with_opengl
850 with_osmesa
851 with_oss
852 with_pcap
853 with_png
854 with_pthread
855 with_pulse
856 with_sane
857 with_tiff
858 with_udev
859 with_v4l
860 with_xcomposite
861 with_xcursor
862 with_xfixes
863 with_xinerama
864 with_xinput
865 with_xinput2
866 with_xml
867 with_xrandr
868 with_xrender
869 with_xshape
870 with_xshm
871 with_xslt
872 with_xxf86vm
873 with_zlib
874 with_wine_tools
875 with_wine64
876 enable_largefile
877 with_x
878 enable_acledit
879 enable_aclui
880 enable_activeds
881 enable_actxprxy
882 enable_adsldpc
883 enable_advapi32
884 enable_advpack
885 enable_amstream
886 enable_api_ms_win_appmodel_identity_l1_1_0
887 enable_api_ms_win_appmodel_runtime_l1_1_1
888 enable_api_ms_win_appmodel_runtime_l1_1_2
889 enable_api_ms_win_core_apiquery_l1_1_0
890 enable_api_ms_win_core_appcompat_l1_1_1
891 enable_api_ms_win_core_appinit_l1_1_0
892 enable_api_ms_win_core_atoms_l1_1_0
893 enable_api_ms_win_core_bem_l1_1_0
894 enable_api_ms_win_core_com_l1_1_0
895 enable_api_ms_win_core_com_l1_1_1
896 enable_api_ms_win_core_com_private_l1_1_0
897 enable_api_ms_win_core_console_l1_1_0
898 enable_api_ms_win_core_console_l2_1_0
899 enable_api_ms_win_core_crt_l1_1_0
900 enable_api_ms_win_core_crt_l2_1_0
901 enable_api_ms_win_core_datetime_l1_1_0
902 enable_api_ms_win_core_datetime_l1_1_1
903 enable_api_ms_win_core_debug_l1_1_0
904 enable_api_ms_win_core_debug_l1_1_1
905 enable_api_ms_win_core_delayload_l1_1_0
906 enable_api_ms_win_core_delayload_l1_1_1
907 enable_api_ms_win_core_errorhandling_l1_1_0
908 enable_api_ms_win_core_errorhandling_l1_1_1
909 enable_api_ms_win_core_errorhandling_l1_1_2
910 enable_api_ms_win_core_errorhandling_l1_1_3
911 enable_api_ms_win_core_fibers_l1_1_0
912 enable_api_ms_win_core_fibers_l1_1_1
913 enable_api_ms_win_core_file_l1_1_0
914 enable_api_ms_win_core_file_l1_2_0
915 enable_api_ms_win_core_file_l1_2_1
916 enable_api_ms_win_core_file_l1_2_2
917 enable_api_ms_win_core_file_l2_1_0
918 enable_api_ms_win_core_file_l2_1_1
919 enable_api_ms_win_core_file_l2_1_2
920 enable_api_ms_win_core_handle_l1_1_0
921 enable_api_ms_win_core_heap_l1_1_0
922 enable_api_ms_win_core_heap_l1_2_0
923 enable_api_ms_win_core_heap_l2_1_0
924 enable_api_ms_win_core_heap_obsolete_l1_1_0
925 enable_api_ms_win_core_interlocked_l1_1_0
926 enable_api_ms_win_core_interlocked_l1_2_0
927 enable_api_ms_win_core_io_l1_1_0
928 enable_api_ms_win_core_io_l1_1_1
929 enable_api_ms_win_core_job_l1_1_0
930 enable_api_ms_win_core_job_l2_1_0
931 enable_api_ms_win_core_kernel32_legacy_l1_1_0
932 enable_api_ms_win_core_kernel32_legacy_l1_1_1
933 enable_api_ms_win_core_kernel32_private_l1_1_1
934 enable_api_ms_win_core_libraryloader_l1_1_0
935 enable_api_ms_win_core_libraryloader_l1_1_1
936 enable_api_ms_win_core_libraryloader_l1_2_0
937 enable_api_ms_win_core_libraryloader_l1_2_1
938 enable_api_ms_win_core_libraryloader_l1_2_2
939 enable_api_ms_win_core_localization_l1_1_0
940 enable_api_ms_win_core_localization_l1_2_0
941 enable_api_ms_win_core_localization_l1_2_1
942 enable_api_ms_win_core_localization_l2_1_0
943 enable_api_ms_win_core_localization_obsolete_l1_1_0
944 enable_api_ms_win_core_localization_obsolete_l1_2_0
945 enable_api_ms_win_core_localization_obsolete_l1_3_0
946 enable_api_ms_win_core_localization_private_l1_1_0
947 enable_api_ms_win_core_localregistry_l1_1_0
948 enable_api_ms_win_core_memory_l1_1_0
949 enable_api_ms_win_core_memory_l1_1_1
950 enable_api_ms_win_core_memory_l1_1_2
951 enable_api_ms_win_core_misc_l1_1_0
952 enable_api_ms_win_core_namedpipe_l1_1_0
953 enable_api_ms_win_core_namedpipe_l1_2_0
954 enable_api_ms_win_core_namespace_l1_1_0
955 enable_api_ms_win_core_normalization_l1_1_0
956 enable_api_ms_win_core_path_l1_1_0
957 enable_api_ms_win_core_privateprofile_l1_1_1
958 enable_api_ms_win_core_processenvironment_l1_1_0
959 enable_api_ms_win_core_processenvironment_l1_2_0
960 enable_api_ms_win_core_processthreads_l1_1_0
961 enable_api_ms_win_core_processthreads_l1_1_1
962 enable_api_ms_win_core_processthreads_l1_1_2
963 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
964 enable_api_ms_win_core_profile_l1_1_0
965 enable_api_ms_win_core_psapi_ansi_l1_1_0
966 enable_api_ms_win_core_psapi_l1_1_0
967 enable_api_ms_win_core_psapi_obsolete_l1_1_0
968 enable_api_ms_win_core_quirks_l1_1_0
969 enable_api_ms_win_core_realtime_l1_1_0
970 enable_api_ms_win_core_registry_l1_1_0
971 enable_api_ms_win_core_registry_l2_1_0
972 enable_api_ms_win_core_registryuserspecific_l1_1_0
973 enable_api_ms_win_core_rtlsupport_l1_1_0
974 enable_api_ms_win_core_rtlsupport_l1_2_0
975 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
976 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
977 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
978 enable_api_ms_win_core_sidebyside_l1_1_0
979 enable_api_ms_win_core_string_l1_1_0
980 enable_api_ms_win_core_string_l2_1_0
981 enable_api_ms_win_core_string_obsolete_l1_1_0
982 enable_api_ms_win_core_stringansi_l1_1_0
983 enable_api_ms_win_core_synch_ansi_l1_1_0
984 enable_api_ms_win_core_synch_l1_1_0
985 enable_api_ms_win_core_synch_l1_2_0
986 enable_api_ms_win_core_synch_l1_2_1
987 enable_api_ms_win_core_sysinfo_l1_1_0
988 enable_api_ms_win_core_sysinfo_l1_2_0
989 enable_api_ms_win_core_sysinfo_l1_2_1
990 enable_api_ms_win_core_threadpool_l1_1_0
991 enable_api_ms_win_core_threadpool_l1_2_0
992 enable_api_ms_win_core_threadpool_legacy_l1_1_0
993 enable_api_ms_win_core_threadpool_private_l1_1_0
994 enable_api_ms_win_core_timezone_l1_1_0
995 enable_api_ms_win_core_toolhelp_l1_1_0
996 enable_api_ms_win_core_url_l1_1_0
997 enable_api_ms_win_core_util_l1_1_0
998 enable_api_ms_win_core_version_l1_1_0
999 enable_api_ms_win_core_version_l1_1_1
1000 enable_api_ms_win_core_version_private_l1_1_0
1001 enable_api_ms_win_core_versionansi_l1_1_0
1002 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1003 enable_api_ms_win_core_winrt_error_l1_1_0
1004 enable_api_ms_win_core_winrt_error_l1_1_1
1005 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1006 enable_api_ms_win_core_winrt_l1_1_0
1007 enable_api_ms_win_core_winrt_registration_l1_1_0
1008 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1009 enable_api_ms_win_core_winrt_string_l1_1_0
1010 enable_api_ms_win_core_wow64_l1_1_0
1011 enable_api_ms_win_core_wow64_l1_1_1
1012 enable_api_ms_win_core_xstate_l1_1_0
1013 enable_api_ms_win_core_xstate_l2_1_0
1014 enable_api_ms_win_crt_conio_l1_1_0
1015 enable_api_ms_win_crt_convert_l1_1_0
1016 enable_api_ms_win_crt_environment_l1_1_0
1017 enable_api_ms_win_crt_filesystem_l1_1_0
1018 enable_api_ms_win_crt_heap_l1_1_0
1019 enable_api_ms_win_crt_locale_l1_1_0
1020 enable_api_ms_win_crt_math_l1_1_0
1021 enable_api_ms_win_crt_multibyte_l1_1_0
1022 enable_api_ms_win_crt_private_l1_1_0
1023 enable_api_ms_win_crt_process_l1_1_0
1024 enable_api_ms_win_crt_runtime_l1_1_0
1025 enable_api_ms_win_crt_stdio_l1_1_0
1026 enable_api_ms_win_crt_string_l1_1_0
1027 enable_api_ms_win_crt_time_l1_1_0
1028 enable_api_ms_win_crt_utility_l1_1_0
1029 enable_api_ms_win_devices_config_l1_1_1
1030 enable_api_ms_win_devices_query_l1_1_1
1031 enable_api_ms_win_downlevel_advapi32_l1_1_0
1032 enable_api_ms_win_downlevel_advapi32_l2_1_0
1033 enable_api_ms_win_downlevel_normaliz_l1_1_0
1034 enable_api_ms_win_downlevel_ole32_l1_1_0
1035 enable_api_ms_win_downlevel_shell32_l1_1_0
1036 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1037 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1038 enable_api_ms_win_downlevel_user32_l1_1_0
1039 enable_api_ms_win_downlevel_version_l1_1_0
1040 enable_api_ms_win_dx_d3dkmt_l1_1_0
1041 enable_api_ms_win_eventing_classicprovider_l1_1_0
1042 enable_api_ms_win_eventing_consumer_l1_1_0
1043 enable_api_ms_win_eventing_controller_l1_1_0
1044 enable_api_ms_win_eventing_legacy_l1_1_0
1045 enable_api_ms_win_eventing_provider_l1_1_0
1046 enable_api_ms_win_eventlog_legacy_l1_1_0
1047 enable_api_ms_win_mm_joystick_l1_1_0
1048 enable_api_ms_win_mm_misc_l1_1_1
1049 enable_api_ms_win_mm_mme_l1_1_0
1050 enable_api_ms_win_mm_time_l1_1_0
1051 enable_api_ms_win_ntuser_dc_access_l1_1_0
1052 enable_api_ms_win_ntuser_rectangle_l1_1_0
1053 enable_api_ms_win_power_base_l1_1_0
1054 enable_api_ms_win_power_setting_l1_1_0
1055 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1056 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1057 enable_api_ms_win_security_audit_l1_1_1
1058 enable_api_ms_win_security_base_l1_1_0
1059 enable_api_ms_win_security_base_l1_2_0
1060 enable_api_ms_win_security_base_private_l1_1_1
1061 enable_api_ms_win_security_credentials_l1_1_0
1062 enable_api_ms_win_security_grouppolicy_l1_1_0
1063 enable_api_ms_win_security_lsalookup_l1_1_0
1064 enable_api_ms_win_security_lsalookup_l1_1_1
1065 enable_api_ms_win_security_lsalookup_l2_1_1
1066 enable_api_ms_win_security_lsapolicy_l1_1_0
1067 enable_api_ms_win_security_provider_l1_1_0
1068 enable_api_ms_win_security_sddl_l1_1_0
1069 enable_api_ms_win_security_systemfunctions_l1_1_0
1070 enable_api_ms_win_service_core_l1_1_0
1071 enable_api_ms_win_service_core_l1_1_1
1072 enable_api_ms_win_service_management_l1_1_0
1073 enable_api_ms_win_service_management_l2_1_0
1074 enable_api_ms_win_service_private_l1_1_1
1075 enable_api_ms_win_service_winsvc_l1_1_0
1076 enable_api_ms_win_service_winsvc_l1_2_0
1077 enable_api_ms_win_shcore_scaling_l1_1_1
1078 enable_api_ms_win_shell_shellcom_l1_1_0
1079 enable_api_ms_win_shell_shellfolders_l1_1_0
1080 enable_apphelp
1081 enable_appwiz_cpl
1082 enable_atl
1083 enable_atl100
1084 enable_atl110
1085 enable_atl80
1086 enable_atl90
1087 enable_authz
1088 enable_avicap32
1089 enable_avifil32
1090 enable_avrt
1091 enable_bcrypt
1092 enable_bluetoothapis
1093 enable_browseui
1094 enable_bthprops_cpl
1095 enable_cabinet
1096 enable_capi2032
1097 enable_cards
1098 enable_cfgmgr32
1099 enable_clusapi
1100 enable_combase
1101 enable_comcat
1102 enable_comctl32
1103 enable_comdlg32
1104 enable_compstui
1105 enable_comsvcs
1106 enable_concrt140
1107 enable_connect
1108 enable_credui
1109 enable_crtdll
1110 enable_crypt32
1111 enable_cryptdlg
1112 enable_cryptdll
1113 enable_cryptext
1114 enable_cryptnet
1115 enable_cryptui
1116 enable_ctapi32
1117 enable_ctl3d32
1118 enable_d2d1
1119 enable_d3d10
1120 enable_d3d10_1
1121 enable_d3d10core
1122 enable_d3d11
1123 enable_d3d8
1124 enable_d3d9
1125 enable_d3dcompiler_33
1126 enable_d3dcompiler_34
1127 enable_d3dcompiler_35
1128 enable_d3dcompiler_36
1129 enable_d3dcompiler_37
1130 enable_d3dcompiler_38
1131 enable_d3dcompiler_39
1132 enable_d3dcompiler_40
1133 enable_d3dcompiler_41
1134 enable_d3dcompiler_42
1135 enable_d3dcompiler_43
1136 enable_d3dcompiler_46
1137 enable_d3dcompiler_47
1138 enable_d3dim
1139 enable_d3drm
1140 enable_d3dx10_33
1141 enable_d3dx10_34
1142 enable_d3dx10_35
1143 enable_d3dx10_36
1144 enable_d3dx10_37
1145 enable_d3dx10_38
1146 enable_d3dx10_39
1147 enable_d3dx10_40
1148 enable_d3dx10_41
1149 enable_d3dx10_42
1150 enable_d3dx10_43
1151 enable_d3dx11_42
1152 enable_d3dx11_43
1153 enable_d3dx9_24
1154 enable_d3dx9_25
1155 enable_d3dx9_26
1156 enable_d3dx9_27
1157 enable_d3dx9_28
1158 enable_d3dx9_29
1159 enable_d3dx9_30
1160 enable_d3dx9_31
1161 enable_d3dx9_32
1162 enable_d3dx9_33
1163 enable_d3dx9_34
1164 enable_d3dx9_35
1165 enable_d3dx9_36
1166 enable_d3dx9_37
1167 enable_d3dx9_38
1168 enable_d3dx9_39
1169 enable_d3dx9_40
1170 enable_d3dx9_41
1171 enable_d3dx9_42
1172 enable_d3dx9_43
1173 enable_d3dxof
1174 enable_davclnt
1175 enable_dbgeng
1176 enable_dbghelp
1177 enable_dciman32
1178 enable_ddraw
1179 enable_ddrawex
1180 enable_devenum
1181 enable_dhcpcsvc
1182 enable_difxapi
1183 enable_dinput
1184 enable_dinput8
1185 enable_dispex
1186 enable_dmband
1187 enable_dmcompos
1188 enable_dmime
1189 enable_dmloader
1190 enable_dmscript
1191 enable_dmstyle
1192 enable_dmsynth
1193 enable_dmusic
1194 enable_dmusic32
1195 enable_dnsapi
1196 enable_dplay
1197 enable_dplayx
1198 enable_dpnaddr
1199 enable_dpnet
1200 enable_dpnhpast
1201 enable_dpnlobby
1202 enable_dpvoice
1203 enable_dpwsockx
1204 enable_drmclien
1205 enable_dsound
1206 enable_dsquery
1207 enable_dssenh
1208 enable_dswave
1209 enable_dwmapi
1210 enable_dwrite
1211 enable_dx8vb
1212 enable_dxdiagn
1213 enable_dxgi
1214 enable_dxva2
1215 enable_esent
1216 enable_evr
1217 enable_explorerframe
1218 enable_ext_ms_win_authz_context_l1_1_0
1219 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1220 enable_ext_ms_win_gdi_dc_create_l1_1_1
1221 enable_ext_ms_win_gdi_dc_l1_2_0
1222 enable_ext_ms_win_gdi_devcaps_l1_1_0
1223 enable_ext_ms_win_gdi_draw_l1_1_1
1224 enable_ext_ms_win_gdi_render_l1_1_0
1225 enable_ext_ms_win_kernel32_package_current_l1_1_0
1226 enable_ext_ms_win_kernel32_package_l1_1_1
1227 enable_ext_ms_win_ntuser_message_l1_1_1
1228 enable_ext_ms_win_ntuser_private_l1_1_1
1229 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1230 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1231 enable_ext_ms_win_ntuser_window_l1_1_1
1232 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1233 enable_ext_ms_win_ras_rasapi32_l1_1_0
1234 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1235 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1236 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1238 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1239 enable_ext_ms_win_security_credui_l1_1_0
1240 enable_ext_ms_win_security_cryptui_l1_1_0
1241 enable_faultrep
1242 enable_fltlib
1243 enable_fltmgr_sys
1244 enable_fntcache
1245 enable_fontsub
1246 enable_fusion
1247 enable_fwpuclnt
1248 enable_gameux
1249 enable_gdi32
1250 enable_gdiplus
1251 enable_glu32
1252 enable_gphoto2_ds
1253 enable_gpkcsp
1254 enable_hal
1255 enable_hhctrl_ocx
1256 enable_hid
1257 enable_hidclass_sys
1258 enable_hlink
1259 enable_hnetcfg
1260 enable_httpapi
1261 enable_iccvid
1262 enable_icmp
1263 enable_ieframe
1264 enable_ieproxy
1265 enable_imaadp32_acm
1266 enable_imagehlp
1267 enable_imm32
1268 enable_inetcomm
1269 enable_inetcpl_cpl
1270 enable_inetmib1
1271 enable_infosoft
1272 enable_initpki
1273 enable_inkobj
1274 enable_inseng
1275 enable_iphlpapi
1276 enable_iprop
1277 enable_irprops_cpl
1278 enable_itircl
1279 enable_itss
1280 enable_joy_cpl
1281 enable_jscript
1282 enable_jsproxy
1283 enable_kerberos
1284 enable_kernel32
1285 enable_kernelbase
1286 enable_ksuser
1287 enable_ktmw32
1288 enable_l3codeca_acm
1289 enable_loadperf
1290 enable_localspl
1291 enable_localui
1292 enable_lz32
1293 enable_mapi32
1294 enable_mapistub
1295 enable_mciavi32
1296 enable_mcicda
1297 enable_mciqtz32
1298 enable_mciseq
1299 enable_mciwave
1300 enable_mf
1301 enable_mf3216
1302 enable_mfplat
1303 enable_mfreadwrite
1304 enable_mgmtapi
1305 enable_midimap
1306 enable_mlang
1307 enable_mmcndmgr
1308 enable_mmdevapi
1309 enable_mountmgr_sys
1310 enable_mpr
1311 enable_mprapi
1312 enable_msacm32_drv
1313 enable_msacm32
1314 enable_msadp32_acm
1315 enable_msasn1
1316 enable_mscat32
1317 enable_mscms
1318 enable_mscoree
1319 enable_msctf
1320 enable_msctfp
1321 enable_msdaps
1322 enable_msdelta
1323 enable_msdmo
1324 enable_msdrm
1325 enable_msftedit
1326 enable_msg711_acm
1327 enable_msgsm32_acm
1328 enable_mshtml_tlb
1329 enable_mshtml
1330 enable_msi
1331 enable_msident
1332 enable_msimg32
1333 enable_msimsg
1334 enable_msimtf
1335 enable_msisip
1336 enable_msisys_ocx
1337 enable_msls31
1338 enable_msnet32
1339 enable_mspatcha
1340 enable_msports
1341 enable_msrle32
1342 enable_msscript_ocx
1343 enable_mssign32
1344 enable_mssip32
1345 enable_mstask
1346 enable_msvcirt
1347 enable_msvcm80
1348 enable_msvcm90
1349 enable_msvcp100
1350 enable_msvcp110
1351 enable_msvcp120
1352 enable_msvcp120_app
1353 enable_msvcp140
1354 enable_msvcp60
1355 enable_msvcp70
1356 enable_msvcp71
1357 enable_msvcp80
1358 enable_msvcp90
1359 enable_msvcr100
1360 enable_msvcr110
1361 enable_msvcr120
1362 enable_msvcr120_app
1363 enable_msvcr70
1364 enable_msvcr71
1365 enable_msvcr80
1366 enable_msvcr90
1367 enable_msvcrt
1368 enable_msvcrt20
1369 enable_msvcrt40
1370 enable_msvcrtd
1371 enable_msvfw32
1372 enable_msvidc32
1373 enable_mswsock
1374 enable_msxml
1375 enable_msxml2
1376 enable_msxml3
1377 enable_msxml4
1378 enable_msxml6
1379 enable_mtxdm
1380 enable_ncrypt
1381 enable_nddeapi
1382 enable_ndis_sys
1383 enable_netapi32
1384 enable_netcfgx
1385 enable_netprofm
1386 enable_newdev
1387 enable_normaliz
1388 enable_npmshtml
1389 enable_npptools
1390 enable_ntdll
1391 enable_ntdsapi
1392 enable_ntoskrnl_exe
1393 enable_ntprint
1394 enable_objsel
1395 enable_odbc32
1396 enable_odbccp32
1397 enable_odbccu32
1398 enable_ole32
1399 enable_oleacc
1400 enable_oleaut32
1401 enable_olecli32
1402 enable_oledb32
1403 enable_oledlg
1404 enable_olepro32
1405 enable_olesvr32
1406 enable_olethk32
1407 enable_openal32
1408 enable_opencl
1409 enable_opengl32
1410 enable_packager
1411 enable_pdh
1412 enable_photometadatahandler
1413 enable_pidgen
1414 enable_powrprof
1415 enable_printui
1416 enable_prntvpt
1417 enable_propsys
1418 enable_psapi
1419 enable_pstorec
1420 enable_qcap
1421 enable_qedit
1422 enable_qmgr
1423 enable_qmgrprxy
1424 enable_quartz
1425 enable_query
1426 enable_rasapi32
1427 enable_rasdlg
1428 enable_regapi
1429 enable_resutils
1430 enable_riched20
1431 enable_riched32
1432 enable_rpcrt4
1433 enable_rsabase
1434 enable_rsaenh
1435 enable_rstrtmgr
1436 enable_rtutils
1437 enable_samlib
1438 enable_sane_ds
1439 enable_sapi
1440 enable_scarddlg
1441 enable_sccbase
1442 enable_schannel
1443 enable_schedsvc
1444 enable_scrobj
1445 enable_scrrun
1446 enable_scsiport_sys
1447 enable_secur32
1448 enable_security
1449 enable_sensapi
1450 enable_serialui
1451 enable_setupapi
1452 enable_sfc
1453 enable_sfc_os
1454 enable_shdoclc
1455 enable_shdocvw
1456 enable_shell32
1457 enable_shfolder
1458 enable_shlwapi
1459 enable_slbcsp
1460 enable_slc
1461 enable_snmpapi
1462 enable_softpub
1463 enable_spoolss
1464 enable_sspicli
1465 enable_stdole2_tlb
1466 enable_stdole32_tlb
1467 enable_sti
1468 enable_svrapi
1469 enable_sxs
1470 enable_t2embed
1471 enable_tapi32
1472 enable_taskschd
1473 enable_tdh
1474 enable_tdi_sys
1475 enable_traffic
1476 enable_twain_32
1477 enable_ucrtbase
1478 enable_uiautomationcore
1479 enable_uiribbon
1480 enable_unicows
1481 enable_updspapi
1482 enable_url
1483 enable_urlmon
1484 enable_usbd_sys
1485 enable_user32
1486 enable_userenv
1487 enable_usp10
1488 enable_uxtheme
1489 enable_vbscript
1490 enable_vcomp
1491 enable_vcomp100
1492 enable_vcomp110
1493 enable_vcomp120
1494 enable_vcomp140
1495 enable_vcomp90
1496 enable_vcruntime140
1497 enable_vdmdbg
1498 enable_version
1499 enable_virtdisk
1500 enable_vssapi
1501 enable_wbemdisp
1502 enable_wbemprox
1503 enable_webservices
1504 enable_wer
1505 enable_wevtapi
1506 enable_wiaservc
1507 enable_wimgapi
1508 enable_windowscodecs
1509 enable_windowscodecsext
1510 enable_winealsa_drv
1511 enable_wineandroid_drv
1512 enable_winebus_sys
1513 enable_winecoreaudio_drv
1514 enable_wined3d
1515 enable_winegstreamer
1516 enable_winehid_sys
1517 enable_winejoystick_drv
1518 enable_winemac_drv
1519 enable_winemapi
1520 enable_wineoss_drv
1521 enable_wineps_drv
1522 enable_winepulse_drv
1523 enable_wineqtdecoder
1524 enable_winex11_drv
1525 enable_wing32
1526 enable_winhttp
1527 enable_wininet
1528 enable_winmm
1529 enable_winnls32
1530 enable_winscard
1531 enable_winspool_drv
1532 enable_winsta
1533 enable_wintab32
1534 enable_wintrust
1535 enable_winusb
1536 enable_wlanapi
1537 enable_wldap32
1538 enable_wmasf
1539 enable_wmi
1540 enable_wmiutils
1541 enable_wmp
1542 enable_wmphoto
1543 enable_wmvcore
1544 enable_wnaspi32
1545 enable_wpc
1546 enable_wpcap
1547 enable_ws2_32
1548 enable_wsdapi
1549 enable_wshom_ocx
1550 enable_wsnmp32
1551 enable_wsock32
1552 enable_wtsapi32
1553 enable_wuapi
1554 enable_wuaueng
1555 enable_x3daudio1_0
1556 enable_x3daudio1_1
1557 enable_x3daudio1_2
1558 enable_x3daudio1_3
1559 enable_x3daudio1_4
1560 enable_x3daudio1_5
1561 enable_x3daudio1_6
1562 enable_x3daudio1_7
1563 enable_xapofx1_1
1564 enable_xapofx1_2
1565 enable_xapofx1_3
1566 enable_xapofx1_4
1567 enable_xapofx1_5
1568 enable_xaudio2_0
1569 enable_xaudio2_1
1570 enable_xaudio2_2
1571 enable_xaudio2_3
1572 enable_xaudio2_4
1573 enable_xaudio2_5
1574 enable_xaudio2_6
1575 enable_xaudio2_7
1576 enable_xaudio2_8
1577 enable_xaudio2_9
1578 enable_xinput1_1
1579 enable_xinput1_2
1580 enable_xinput1_3
1581 enable_xinput1_4
1582 enable_xinput9_1_0
1583 enable_xmllite
1584 enable_xolehlp
1585 enable_xpsprint
1586 enable_xpssvcs
1587 enable_fonts
1588 enable_include
1589 enable_libs_port
1590 enable_libs_wine
1591 enable_libs_wpp
1592 enable_loader
1593 enable_po
1594 enable_arp
1595 enable_aspnet_regiis
1596 enable_attrib
1597 enable_cabarc
1598 enable_cacls
1599 enable_clock
1600 enable_cmd
1601 enable_conhost
1602 enable_control
1603 enable_cscript
1604 enable_dpnsvr
1605 enable_dxdiag
1606 enable_eject
1607 enable_expand
1608 enable_explorer
1609 enable_extrac32
1610 enable_findstr
1611 enable_fsutil
1612 enable_hh
1613 enable_hostname
1614 enable_icacls
1615 enable_icinfo
1616 enable_iexplore
1617 enable_ipconfig
1618 enable_lodctr
1619 enable_mofcomp
1620 enable_mshta
1621 enable_msiexec
1622 enable_msinfo32
1623 enable_net
1624 enable_netsh
1625 enable_netstat
1626 enable_ngen
1627 enable_notepad
1628 enable_oleview
1629 enable_ping
1630 enable_plugplay
1631 enable_powershell
1632 enable_presentationfontcache
1633 enable_progman
1634 enable_reg
1635 enable_regasm
1636 enable_regedit
1637 enable_regsvcs
1638 enable_regsvr32
1639 enable_rpcss
1640 enable_rundll32
1641 enable_sc
1642 enable_schtasks
1643 enable_sdbinst
1644 enable_secedit
1645 enable_servicemodelreg
1646 enable_services
1647 enable_shutdown
1648 enable_spoolsv
1649 enable_start
1650 enable_subst
1651 enable_svchost
1652 enable_systeminfo
1653 enable_taskkill
1654 enable_tasklist
1655 enable_taskmgr
1656 enable_termsv
1657 enable_uninstaller
1658 enable_unlodctr
1659 enable_view
1660 enable_wevtutil
1661 enable_wineboot
1662 enable_winebrowser
1663 enable_winecfg
1664 enable_wineconsole
1665 enable_winedbg
1666 enable_winedevice
1667 enable_winefile
1668 enable_winemenubuilder
1669 enable_winemine
1670 enable_winemsibuilder
1671 enable_winepath
1672 enable_winetest
1673 enable_winhlp32
1674 enable_winver
1675 enable_wmic
1676 enable_wmplayer
1677 enable_wordpad
1678 enable_write
1679 enable_wscript
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1685 ac_precious_vars='build_alias
1686 host_alias
1687 target_alias
1689 CFLAGS
1690 LDFLAGS
1691 LIBS
1692 CPPFLAGS
1694 CXXFLAGS
1697 XMKMF
1698 XML2_CFLAGS
1699 XML2_LIBS
1700 XSLT_CFLAGS
1701 XSLT_LIBS
1702 DBUS_CFLAGS
1703 DBUS_LIBS
1704 HAL_CFLAGS
1705 HAL_LIBS
1706 GNUTLS_CFLAGS
1707 GNUTLS_LIBS
1708 SANE_CFLAGS
1709 SANE_LIBS
1710 GPHOTO2_CFLAGS
1711 GPHOTO2_LIBS
1712 GPHOTO2_PORT_CFLAGS
1713 GPHOTO2_PORT_LIBS
1714 LCMS2_CFLAGS
1715 LCMS2_LIBS
1716 FREETYPE_CFLAGS
1717 FREETYPE_LIBS
1718 PULSE_CFLAGS
1719 PULSE_LIBS
1720 GSTREAMER_CFLAGS
1721 GSTREAMER_LIBS
1722 UDEV_CFLAGS
1723 UDEV_LIBS
1724 CAPI20_CFLAGS
1725 CAPI20_LIBS
1726 CUPS_CFLAGS
1727 CUPS_LIBS
1728 FONTCONFIG_CFLAGS
1729 FONTCONFIG_LIBS
1730 KRB5_CFLAGS
1731 KRB5_LIBS
1732 JPEG_CFLAGS
1733 JPEG_LIBS
1734 PNG_CFLAGS
1735 PNG_LIBS
1736 TIFF_CFLAGS
1737 TIFF_LIBS
1738 MPG123_CFLAGS
1739 MPG123_LIBS
1740 NETAPI_CFLAGS
1741 NETAPI_LIBS
1742 LDAP_CFLAGS
1743 LDAP_LIBS'
1746 # Initialize some variables set by options.
1747 ac_init_help=
1748 ac_init_version=false
1749 ac_unrecognized_opts=
1750 ac_unrecognized_sep=
1751 # The variables have the same names as the options, with
1752 # dashes changed to underlines.
1753 cache_file=/dev/null
1754 exec_prefix=NONE
1755 no_create=
1756 no_recursion=
1757 prefix=NONE
1758 program_prefix=NONE
1759 program_suffix=NONE
1760 program_transform_name=s,x,x,
1761 silent=
1762 site=
1763 srcdir=
1764 verbose=
1765 x_includes=NONE
1766 x_libraries=NONE
1768 # Installation directory options.
1769 # These are left unexpanded so users can "make install exec_prefix=/foo"
1770 # and all the variables that are supposed to be based on exec_prefix
1771 # by default will actually change.
1772 # Use braces instead of parens because sh, perl, etc. also accept them.
1773 # (The list follows the same order as the GNU Coding Standards.)
1774 bindir='${exec_prefix}/bin'
1775 sbindir='${exec_prefix}/sbin'
1776 libexecdir='${exec_prefix}/libexec'
1777 datarootdir='${prefix}/share'
1778 datadir='${datarootdir}'
1779 sysconfdir='${prefix}/etc'
1780 sharedstatedir='${prefix}/com'
1781 localstatedir='${prefix}/var'
1782 runstatedir='${localstatedir}/run'
1783 includedir='${prefix}/include'
1784 oldincludedir='/usr/include'
1785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1786 infodir='${datarootdir}/info'
1787 htmldir='${docdir}'
1788 dvidir='${docdir}'
1789 pdfdir='${docdir}'
1790 psdir='${docdir}'
1791 libdir='${exec_prefix}/lib'
1792 localedir='${datarootdir}/locale'
1793 mandir='${datarootdir}/man'
1795 ac_prev=
1796 ac_dashdash=
1797 for ac_option
1799 # If the previous option needs an argument, assign it.
1800 if test -n "$ac_prev"; then
1801 eval $ac_prev=\$ac_option
1802 ac_prev=
1803 continue
1806 case $ac_option in
1807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1808 *=) ac_optarg= ;;
1809 *) ac_optarg=yes ;;
1810 esac
1812 # Accept the important Cygnus configure options, so we can diagnose typos.
1814 case $ac_dashdash$ac_option in
1816 ac_dashdash=yes ;;
1818 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1819 ac_prev=bindir ;;
1820 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1821 bindir=$ac_optarg ;;
1823 -build | --build | --buil | --bui | --bu)
1824 ac_prev=build_alias ;;
1825 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1826 build_alias=$ac_optarg ;;
1828 -cache-file | --cache-file | --cache-fil | --cache-fi \
1829 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1830 ac_prev=cache_file ;;
1831 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1832 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1833 cache_file=$ac_optarg ;;
1835 --config-cache | -C)
1836 cache_file=config.cache ;;
1838 -datadir | --datadir | --datadi | --datad)
1839 ac_prev=datadir ;;
1840 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1841 datadir=$ac_optarg ;;
1843 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1844 | --dataroo | --dataro | --datar)
1845 ac_prev=datarootdir ;;
1846 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1847 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1848 datarootdir=$ac_optarg ;;
1850 -disable-* | --disable-*)
1851 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1852 # Reject names that are not valid shell variable names.
1853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1854 as_fn_error $? "invalid feature name: $ac_useropt"
1855 ac_useropt_orig=$ac_useropt
1856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857 case $ac_user_opts in
1859 "enable_$ac_useropt"
1860 "*) ;;
1861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1862 ac_unrecognized_sep=', ';;
1863 esac
1864 eval enable_$ac_useropt=no ;;
1866 -docdir | --docdir | --docdi | --doc | --do)
1867 ac_prev=docdir ;;
1868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1869 docdir=$ac_optarg ;;
1871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1872 ac_prev=dvidir ;;
1873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1874 dvidir=$ac_optarg ;;
1876 -enable-* | --enable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: $ac_useropt"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=\$ac_optarg ;;
1892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1894 | --exec | --exe | --ex)
1895 ac_prev=exec_prefix ;;
1896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1898 | --exec=* | --exe=* | --ex=*)
1899 exec_prefix=$ac_optarg ;;
1901 -gas | --gas | --ga | --g)
1902 # Obsolete; use --with-gas.
1903 with_gas=yes ;;
1905 -help | --help | --hel | --he | -h)
1906 ac_init_help=long ;;
1907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1908 ac_init_help=recursive ;;
1909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1910 ac_init_help=short ;;
1912 -host | --host | --hos | --ho)
1913 ac_prev=host_alias ;;
1914 -host=* | --host=* | --hos=* | --ho=*)
1915 host_alias=$ac_optarg ;;
1917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1918 ac_prev=htmldir ;;
1919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1920 | --ht=*)
1921 htmldir=$ac_optarg ;;
1923 -includedir | --includedir | --includedi | --included | --include \
1924 | --includ | --inclu | --incl | --inc)
1925 ac_prev=includedir ;;
1926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1927 | --includ=* | --inclu=* | --incl=* | --inc=*)
1928 includedir=$ac_optarg ;;
1930 -infodir | --infodir | --infodi | --infod | --info | --inf)
1931 ac_prev=infodir ;;
1932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1933 infodir=$ac_optarg ;;
1935 -libdir | --libdir | --libdi | --libd)
1936 ac_prev=libdir ;;
1937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1938 libdir=$ac_optarg ;;
1940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1941 | --libexe | --libex | --libe)
1942 ac_prev=libexecdir ;;
1943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1944 | --libexe=* | --libex=* | --libe=*)
1945 libexecdir=$ac_optarg ;;
1947 -localedir | --localedir | --localedi | --localed | --locale)
1948 ac_prev=localedir ;;
1949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1950 localedir=$ac_optarg ;;
1952 -localstatedir | --localstatedir | --localstatedi | --localstated \
1953 | --localstate | --localstat | --localsta | --localst | --locals)
1954 ac_prev=localstatedir ;;
1955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1957 localstatedir=$ac_optarg ;;
1959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1960 ac_prev=mandir ;;
1961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1962 mandir=$ac_optarg ;;
1964 -nfp | --nfp | --nf)
1965 # Obsolete; use --without-fp.
1966 with_fp=no ;;
1968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1969 | --no-cr | --no-c | -n)
1970 no_create=yes ;;
1972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1974 no_recursion=yes ;;
1976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1978 | --oldin | --oldi | --old | --ol | --o)
1979 ac_prev=oldincludedir ;;
1980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1983 oldincludedir=$ac_optarg ;;
1985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1986 ac_prev=prefix ;;
1987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1988 prefix=$ac_optarg ;;
1990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1991 | --program-pre | --program-pr | --program-p)
1992 ac_prev=program_prefix ;;
1993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1995 program_prefix=$ac_optarg ;;
1997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1998 | --program-suf | --program-su | --program-s)
1999 ac_prev=program_suffix ;;
2000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2002 program_suffix=$ac_optarg ;;
2004 -program-transform-name | --program-transform-name \
2005 | --program-transform-nam | --program-transform-na \
2006 | --program-transform-n | --program-transform- \
2007 | --program-transform | --program-transfor \
2008 | --program-transfo | --program-transf \
2009 | --program-trans | --program-tran \
2010 | --progr-tra | --program-tr | --program-t)
2011 ac_prev=program_transform_name ;;
2012 -program-transform-name=* | --program-transform-name=* \
2013 | --program-transform-nam=* | --program-transform-na=* \
2014 | --program-transform-n=* | --program-transform-=* \
2015 | --program-transform=* | --program-transfor=* \
2016 | --program-transfo=* | --program-transf=* \
2017 | --program-trans=* | --program-tran=* \
2018 | --progr-tra=* | --program-tr=* | --program-t=*)
2019 program_transform_name=$ac_optarg ;;
2021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2022 ac_prev=pdfdir ;;
2023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2024 pdfdir=$ac_optarg ;;
2026 -psdir | --psdir | --psdi | --psd | --ps)
2027 ac_prev=psdir ;;
2028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2029 psdir=$ac_optarg ;;
2031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2032 | -silent | --silent | --silen | --sile | --sil)
2033 silent=yes ;;
2035 -runstatedir | --runstatedir | --runstatedi | --runstated \
2036 | --runstate | --runstat | --runsta | --runst | --runs \
2037 | --run | --ru | --r)
2038 ac_prev=runstatedir ;;
2039 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2040 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2041 | --run=* | --ru=* | --r=*)
2042 runstatedir=$ac_optarg ;;
2044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2045 ac_prev=sbindir ;;
2046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2047 | --sbi=* | --sb=*)
2048 sbindir=$ac_optarg ;;
2050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2052 | --sharedst | --shareds | --shared | --share | --shar \
2053 | --sha | --sh)
2054 ac_prev=sharedstatedir ;;
2055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2058 | --sha=* | --sh=*)
2059 sharedstatedir=$ac_optarg ;;
2061 -site | --site | --sit)
2062 ac_prev=site ;;
2063 -site=* | --site=* | --sit=*)
2064 site=$ac_optarg ;;
2066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2067 ac_prev=srcdir ;;
2068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2069 srcdir=$ac_optarg ;;
2071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2072 | --syscon | --sysco | --sysc | --sys | --sy)
2073 ac_prev=sysconfdir ;;
2074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2076 sysconfdir=$ac_optarg ;;
2078 -target | --target | --targe | --targ | --tar | --ta | --t)
2079 ac_prev=target_alias ;;
2080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2081 target_alias=$ac_optarg ;;
2083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2084 verbose=yes ;;
2086 -version | --version | --versio | --versi | --vers | -V)
2087 ac_init_version=: ;;
2089 -with-* | --with-*)
2090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2091 # Reject names that are not valid shell variable names.
2092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2093 as_fn_error $? "invalid package name: $ac_useropt"
2094 ac_useropt_orig=$ac_useropt
2095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096 case $ac_user_opts in
2098 "with_$ac_useropt"
2099 "*) ;;
2100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2101 ac_unrecognized_sep=', ';;
2102 esac
2103 eval with_$ac_useropt=\$ac_optarg ;;
2105 -without-* | --without-*)
2106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2107 # Reject names that are not valid shell variable names.
2108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2109 as_fn_error $? "invalid package name: $ac_useropt"
2110 ac_useropt_orig=$ac_useropt
2111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2112 case $ac_user_opts in
2114 "with_$ac_useropt"
2115 "*) ;;
2116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2117 ac_unrecognized_sep=', ';;
2118 esac
2119 eval with_$ac_useropt=no ;;
2121 --x)
2122 # Obsolete; use --with-x.
2123 with_x=yes ;;
2125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2126 | --x-incl | --x-inc | --x-in | --x-i)
2127 ac_prev=x_includes ;;
2128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2130 x_includes=$ac_optarg ;;
2132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2134 ac_prev=x_libraries ;;
2135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2137 x_libraries=$ac_optarg ;;
2139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2140 Try \`$0 --help' for more information"
2143 *=*)
2144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2145 # Reject names that are not valid shell variable names.
2146 case $ac_envvar in #(
2147 '' | [0-9]* | *[!_$as_cr_alnum]* )
2148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2149 esac
2150 eval $ac_envvar=\$ac_optarg
2151 export $ac_envvar ;;
2154 # FIXME: should be removed in autoconf 3.0.
2155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2161 esac
2162 done
2164 if test -n "$ac_prev"; then
2165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2166 as_fn_error $? "missing argument to $ac_option"
2169 if test -n "$ac_unrecognized_opts"; then
2170 case $enable_option_checking in
2171 no) ;;
2172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2174 esac
2177 # Check all directory arguments for consistency.
2178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2179 datadir sysconfdir sharedstatedir localstatedir includedir \
2180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2181 libdir localedir mandir runstatedir
2183 eval ac_val=\$$ac_var
2184 # Remove trailing slashes.
2185 case $ac_val in
2186 */ )
2187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2188 eval $ac_var=\$ac_val;;
2189 esac
2190 # Be sure to have absolute directory names.
2191 case $ac_val in
2192 [\\/$]* | ?:[\\/]* ) continue;;
2193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2194 esac
2195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2196 done
2198 # There might be people who depend on the old broken behavior: `$host'
2199 # used to hold the argument of --host etc.
2200 # FIXME: To remove some day.
2201 build=$build_alias
2202 host=$host_alias
2203 target=$target_alias
2205 # FIXME: To remove some day.
2206 if test "x$host_alias" != x; then
2207 if test "x$build_alias" = x; then
2208 cross_compiling=maybe
2209 elif test "x$build_alias" != "x$host_alias"; then
2210 cross_compiling=yes
2214 ac_tool_prefix=
2215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2217 test "$silent" = yes && exec 6>/dev/null
2220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2221 ac_ls_di=`ls -di .` &&
2222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2223 as_fn_error $? "working directory cannot be determined"
2224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2225 as_fn_error $? "pwd does not report name of working directory"
2228 # Find the source files, if location was not specified.
2229 if test -z "$srcdir"; then
2230 ac_srcdir_defaulted=yes
2231 # Try the directory containing this script, then the parent directory.
2232 ac_confdir=`$as_dirname -- "$as_myself" ||
2233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2234 X"$as_myself" : 'X\(//\)[^/]' \| \
2235 X"$as_myself" : 'X\(//\)$' \| \
2236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2237 $as_echo X"$as_myself" |
2238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2239 s//\1/
2242 /^X\(\/\/\)[^/].*/{
2243 s//\1/
2246 /^X\(\/\/\)$/{
2247 s//\1/
2250 /^X\(\/\).*/{
2251 s//\1/
2254 s/.*/./; q'`
2255 srcdir=$ac_confdir
2256 if test ! -r "$srcdir/$ac_unique_file"; then
2257 srcdir=..
2259 else
2260 ac_srcdir_defaulted=no
2262 if test ! -r "$srcdir/$ac_unique_file"; then
2263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2264 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2267 ac_abs_confdir=`(
2268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2269 pwd)`
2270 # When building in place, set srcdir=.
2271 if test "$ac_abs_confdir" = "$ac_pwd"; then
2272 srcdir=.
2274 # Remove unnecessary trailing slashes from srcdir.
2275 # Double slashes in file names in object file debugging info
2276 # mess up M-x gdb in Emacs.
2277 case $srcdir in
2278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2279 esac
2280 for ac_var in $ac_precious_vars; do
2281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2282 eval ac_env_${ac_var}_value=\$${ac_var}
2283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2285 done
2288 # Report the --help message.
2290 if test "$ac_init_help" = "long"; then
2291 # Omit some internal or obsolete options to make the list less imposing.
2292 # This message is too long to be a string in the A/UX 3.1 sh.
2293 cat <<_ACEOF
2294 \`configure' configures Wine 2.19 to adapt to many kinds of systems.
2296 Usage: $0 [OPTION]... [VAR=VALUE]...
2298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2299 VAR=VALUE. See below for descriptions of some of the useful variables.
2301 Defaults for the options are specified in brackets.
2303 Configuration:
2304 -h, --help display this help and exit
2305 --help=short display options specific to this package
2306 --help=recursive display the short help of all the included packages
2307 -V, --version display version information and exit
2308 -q, --quiet, --silent do not print \`checking ...' messages
2309 --cache-file=FILE cache test results in FILE [disabled]
2310 -C, --config-cache alias for \`--cache-file=config.cache'
2311 -n, --no-create do not create output files
2312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2314 Installation directories:
2315 --prefix=PREFIX install architecture-independent files in PREFIX
2316 [$ac_default_prefix]
2317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2318 [PREFIX]
2320 By default, \`make install' will install all the files in
2321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2323 for instance \`--prefix=\$HOME'.
2325 For better control, use the options below.
2327 Fine tuning of the installation directories:
2328 --bindir=DIR user executables [EPREFIX/bin]
2329 --sbindir=DIR system admin executables [EPREFIX/sbin]
2330 --libexecdir=DIR program executables [EPREFIX/libexec]
2331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2334 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2335 --libdir=DIR object code libraries [EPREFIX/lib]
2336 --includedir=DIR C header files [PREFIX/include]
2337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2340 --infodir=DIR info documentation [DATAROOTDIR/info]
2341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2342 --mandir=DIR man documentation [DATAROOTDIR/man]
2343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2344 --htmldir=DIR html documentation [DOCDIR]
2345 --dvidir=DIR dvi documentation [DOCDIR]
2346 --pdfdir=DIR pdf documentation [DOCDIR]
2347 --psdir=DIR ps documentation [DOCDIR]
2348 _ACEOF
2350 cat <<\_ACEOF
2352 X features:
2353 --x-includes=DIR X include files are in DIR
2354 --x-libraries=DIR X library files are in DIR
2356 System types:
2357 --build=BUILD configure for building on BUILD [guessed]
2358 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2359 _ACEOF
2362 if test -n "$ac_init_help"; then
2363 case $ac_init_help in
2364 short | recursive ) echo "Configuration of Wine 2.19:";;
2365 esac
2366 cat <<\_ACEOF
2368 Optional Features:
2369 --disable-option-checking ignore unrecognized --enable/--with options
2370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2372 --disable-win16 do not include Win16 support
2373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2374 binaries)
2375 --disable-tests do not build the regression tests
2376 --enable-maintainer-mode
2377 enable maintainer-specific build rules
2378 --disable-largefile omit support for large files
2380 Optional Packages:
2381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2383 --without-alsa do not use the Alsa sound support
2384 --without-capi do not use CAPI (ISDN support)
2385 --without-cms do not use CMS (color management support)
2386 --without-coreaudio do not use the CoreAudio sound support
2387 --without-cups do not use CUPS
2388 --without-curses do not use (n)curses
2389 --without-dbus do not use DBus (dynamic device support)
2390 --without-fontconfig do not use fontconfig
2391 --without-freetype do not use the FreeType library
2392 --without-gettext do not use gettext
2393 --with-gettextpo use the GetTextPO library to rebuild po files
2394 --without-gphoto do not use gphoto (Digital Camera support)
2395 --without-glu do not use the GLU library
2396 --without-gnutls do not use GnuTLS (schannel support)
2397 --without-gsm do not use libgsm (GSM 06.10 codec support)
2398 --without-gstreamer do not use GStreamer (codecs support)
2399 --without-hal do not use HAL (dynamic device support)
2400 --without-jpeg do not use JPEG
2401 --without-krb5 do not use krb5 (Kerberos)
2402 --without-ldap do not use LDAP
2403 --without-mpg123 do not use the mpg123 library
2404 --without-netapi do not use the Samba NetAPI library
2405 --without-openal do not use OpenAL
2406 --without-opencl do not use OpenCL
2407 --without-opengl do not use OpenGL
2408 --without-osmesa do not use the OSMesa library
2409 --without-oss do not use the OSS sound support
2410 --without-pcap do not use the Packet Capture library
2411 --without-png do not use PNG
2412 --without-pthread do not use the pthread library
2413 --without-pulse do not use PulseAudio sound support
2414 --without-sane do not use SANE (scanner support)
2415 --without-tiff do not use TIFF
2416 --without-udev do not use udev (plug and play support)
2417 --without-v4l do not use v4l1 (v4l support)
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xml do not use XML
2425 --without-xrandr do not use Xrandr (resolution changes)
2426 --without-xrender do not use the Xrender extension
2427 --without-xshape do not use the Xshape extension
2428 --without-xshm do not use XShm (shared memory extension)
2429 --without-xslt do not use XSLT
2430 --without-xxf86vm do not use XFree video mode extension
2431 --without-zlib do not use Zlib (data compression)
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 CPP C preprocessor
2447 XMKMF Path to xmkmf, Makefile generator for X Window System
2448 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2449 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2450 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2451 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2452 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2453 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2454 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2455 HAL_LIBS Linker flags for hal, overriding pkg-config
2456 GNUTLS_CFLAGS
2457 C compiler flags for gnutls, overriding pkg-config
2458 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2459 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2460 SANE_LIBS Linker flags for libsane, overriding pkg-config
2461 GPHOTO2_CFLAGS
2462 C compiler flags for libgphoto2, overriding pkg-config
2463 GPHOTO2_LIBS
2464 Linker flags for libgphoto2, overriding pkg-config
2465 GPHOTO2_PORT_CFLAGS
2466 C compiler flags for libgphoto2_port, overriding pkg-config
2467 GPHOTO2_PORT_LIBS
2468 Linker flags for libgphoto2_port, overriding pkg-config
2469 LCMS2_CFLAGS
2470 C compiler flags for lcms2, overriding pkg-config
2471 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2472 FREETYPE_CFLAGS
2473 C compiler flags for freetype2, overriding pkg-config
2474 FREETYPE_LIBS
2475 Linker flags for freetype2, overriding pkg-config
2476 PULSE_CFLAGS
2477 C compiler flags for libpulse, overriding pkg-config
2478 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2479 GSTREAMER_CFLAGS
2480 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2481 gstreamer-audio-1.0, overriding pkg-config
2482 GSTREAMER_LIBS
2483 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2484 gstreamer-audio-1.0, overriding pkg-config
2485 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2486 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2487 CAPI20_CFLAGS
2488 C compiler flags for capi20, overriding pkg-config
2489 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2490 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2491 CUPS_LIBS Linker flags for cups, overriding pkg-config
2492 FONTCONFIG_CFLAGS
2493 C compiler flags for fontconfig, overriding pkg-config
2494 FONTCONFIG_LIBS
2495 Linker flags for fontconfig, overriding pkg-config
2496 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2497 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2498 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2499 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2500 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2501 PNG_LIBS Linker flags for libpng, overriding pkg-config
2502 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2503 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2504 MPG123_CFLAGS
2505 C compiler flags for libmpg123, overriding pkg-config
2506 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2507 NETAPI_CFLAGS
2508 C compiler flags for netapi, overriding pkg-config
2509 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2510 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2511 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2513 Use these variables to override the choices made by `configure' or to help
2514 it to find libraries and programs with nonstandard names/locations.
2516 Report bugs to <wine-devel@winehq.org>.
2517 Wine home page: <http://www.winehq.org>.
2518 _ACEOF
2519 ac_status=$?
2522 if test "$ac_init_help" = "recursive"; then
2523 # If there are subdirs, report their specific --help.
2524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2525 test -d "$ac_dir" ||
2526 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2527 continue
2528 ac_builddir=.
2530 case "$ac_dir" in
2531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2534 # A ".." for each directory in $ac_dir_suffix.
2535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2536 case $ac_top_builddir_sub in
2537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2539 esac ;;
2540 esac
2541 ac_abs_top_builddir=$ac_pwd
2542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2543 # for backward compatibility:
2544 ac_top_builddir=$ac_top_build_prefix
2546 case $srcdir in
2547 .) # We are building in place.
2548 ac_srcdir=.
2549 ac_top_srcdir=$ac_top_builddir_sub
2550 ac_abs_top_srcdir=$ac_pwd ;;
2551 [\\/]* | ?:[\\/]* ) # Absolute name.
2552 ac_srcdir=$srcdir$ac_dir_suffix;
2553 ac_top_srcdir=$srcdir
2554 ac_abs_top_srcdir=$srcdir ;;
2555 *) # Relative name.
2556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2557 ac_top_srcdir=$ac_top_build_prefix$srcdir
2558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2559 esac
2560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2562 cd "$ac_dir" || { ac_status=$?; continue; }
2563 # Check for guested configure.
2564 if test -f "$ac_srcdir/configure.gnu"; then
2565 echo &&
2566 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2567 elif test -f "$ac_srcdir/configure"; then
2568 echo &&
2569 $SHELL "$ac_srcdir/configure" --help=recursive
2570 else
2571 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2572 fi || ac_status=$?
2573 cd "$ac_pwd" || { ac_status=$?; break; }
2574 done
2577 test -n "$ac_init_help" && exit $ac_status
2578 if $ac_init_version; then
2579 cat <<\_ACEOF
2580 Wine configure 2.19
2581 generated by GNU Autoconf 2.69
2583 Copyright (C) 2012 Free Software Foundation, Inc.
2584 This configure script is free software; the Free Software Foundation
2585 gives unlimited permission to copy, distribute and modify it.
2586 _ACEOF
2587 exit
2590 ## ------------------------ ##
2591 ## Autoconf initialization. ##
2592 ## ------------------------ ##
2594 # ac_fn_c_try_compile LINENO
2595 # --------------------------
2596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2597 ac_fn_c_try_compile ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 rm -f conftest.$ac_objext
2601 if { { ac_try="$ac_compile"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607 $as_echo "$ac_try_echo"; } >&5
2608 (eval "$ac_compile") 2>conftest.err
2609 ac_status=$?
2610 if test -s conftest.err; then
2611 grep -v '^ *+' conftest.err >conftest.er1
2612 cat conftest.er1 >&5
2613 mv -f conftest.er1 conftest.err
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; } && {
2617 test -z "$ac_c_werror_flag" ||
2618 test ! -s conftest.err
2619 } && test -s conftest.$ac_objext; then :
2620 ac_retval=0
2621 else
2622 $as_echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2625 ac_retval=1
2627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2628 as_fn_set_status $ac_retval
2630 } # ac_fn_c_try_compile
2632 # ac_fn_cxx_try_compile LINENO
2633 # ----------------------------
2634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2635 ac_fn_cxx_try_compile ()
2637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2638 rm -f conftest.$ac_objext
2639 if { { ac_try="$ac_compile"
2640 case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2643 esac
2644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_compile") 2>conftest.err
2647 ac_status=$?
2648 if test -s conftest.err; then
2649 grep -v '^ *+' conftest.err >conftest.er1
2650 cat conftest.er1 >&5
2651 mv -f conftest.er1 conftest.err
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; } && {
2655 test -z "$ac_cxx_werror_flag" ||
2656 test ! -s conftest.err
2657 } && test -s conftest.$ac_objext; then :
2658 ac_retval=0
2659 else
2660 $as_echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2663 ac_retval=1
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 as_fn_set_status $ac_retval
2668 } # ac_fn_cxx_try_compile
2670 # ac_fn_c_try_link LINENO
2671 # -----------------------
2672 # Try to link conftest.$ac_ext, and return whether this succeeded.
2673 ac_fn_c_try_link ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 rm -f conftest.$ac_objext conftest$ac_exeext
2677 if { { ac_try="$ac_link"
2678 case "(($ac_try" in
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2681 esac
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>conftest.err
2685 ac_status=$?
2686 if test -s conftest.err; then
2687 grep -v '^ *+' conftest.err >conftest.er1
2688 cat conftest.er1 >&5
2689 mv -f conftest.er1 conftest.err
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest$ac_exeext && {
2696 test "$cross_compiling" = yes ||
2697 test -x conftest$ac_exeext
2698 }; then :
2699 ac_retval=0
2700 else
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 ac_retval=1
2706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2708 # interfere with the next link command; also delete a directory that is
2709 # left behind by Apple's compiler. We do this before executing the actions.
2710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_link
2716 # ac_fn_c_try_cpp LINENO
2717 # ----------------------
2718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_cpp ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 if { { ac_try="$ac_cpp conftest.$ac_ext"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } > conftest.i && {
2738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2739 test ! -s conftest.err
2740 }; then :
2741 ac_retval=0
2742 else
2743 $as_echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2746 ac_retval=1
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2751 } # ac_fn_c_try_cpp
2753 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2754 # -------------------------------------------------------
2755 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2756 # the include files in INCLUDES and setting the cache variable VAR
2757 # accordingly.
2758 ac_fn_c_check_header_mongrel ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 if eval \${$3+:} false; then :
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \${$3+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 eval ac_res=\$$3
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2769 $as_echo "$ac_res" >&6; }
2770 else
2771 # Is the header compilable?
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2773 $as_echo_n "checking $2 usability... " >&6; }
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2777 #include <$2>
2778 _ACEOF
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_header_compiler=yes
2781 else
2782 ac_header_compiler=no
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2786 $as_echo "$ac_header_compiler" >&6; }
2788 # Is the header present?
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2790 $as_echo_n "checking $2 presence... " >&6; }
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2793 #include <$2>
2794 _ACEOF
2795 if ac_fn_c_try_cpp "$LINENO"; then :
2796 ac_header_preproc=yes
2797 else
2798 ac_header_preproc=no
2800 rm -f conftest.err conftest.i conftest.$ac_ext
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2802 $as_echo "$ac_header_preproc" >&6; }
2804 # So? What about this header?
2805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2806 yes:no: )
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2808 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2810 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2812 no:yes:* )
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2814 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2816 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2818 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2820 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2822 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2823 ( $as_echo "## ------------------------------------ ##
2824 ## Report this to wine-devel@winehq.org ##
2825 ## ------------------------------------ ##"
2826 ) | sed "s/^/$as_me: WARNING: /" >&2
2828 esac
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 eval "$3=\$ac_header_compiler"
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 } # ac_fn_c_check_header_mongrel
2844 # ac_fn_c_try_run LINENO
2845 # ----------------------
2846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2847 # that executables *can* be run.
2848 ac_fn_c_try_run ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 if { { ac_try="$ac_link"
2852 case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2857 $as_echo "$ac_try_echo"; } >&5
2858 (eval "$ac_link") 2>&5
2859 ac_status=$?
2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2862 { { case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_try") 2>&5
2869 ac_status=$?
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }; }; then :
2872 ac_retval=0
2873 else
2874 $as_echo "$as_me: program exited with status $ac_status" >&5
2875 $as_echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2878 ac_retval=$ac_status
2880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 as_fn_set_status $ac_retval
2884 } # ac_fn_c_try_run
2886 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2887 # -------------------------------------------------------
2888 # Tests whether HEADER exists and can be compiled using the include files in
2889 # INCLUDES, setting the cache variable VAR accordingly.
2890 ac_fn_c_check_header_compile ()
2892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2894 $as_echo_n "checking for $2... " >&6; }
2895 if eval \${$3+:} false; then :
2896 $as_echo_n "(cached) " >&6
2897 else
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2901 #include <$2>
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 eval "$3=yes"
2905 else
2906 eval "$3=no"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_header_compile
2917 # ac_fn_c_check_func LINENO FUNC VAR
2918 # ----------------------------------
2919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2920 ac_fn_c_check_func ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \${$3+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2932 #define $2 innocuous_$2
2934 /* System header to define __stub macros and hopefully few prototypes,
2935 which can conflict with char $2 (); below.
2936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2937 <limits.h> exists even on freestanding compilers. */
2939 #ifdef __STDC__
2940 # include <limits.h>
2941 #else
2942 # include <assert.h>
2943 #endif
2945 #undef $2
2947 /* Override any GCC internal prototype to avoid an error.
2948 Use char because int might match the return type of a GCC
2949 builtin and then its argument prototype would still apply. */
2950 #ifdef __cplusplus
2951 extern "C"
2952 #endif
2953 char $2 ();
2954 /* The GNU C library defines this for functions which it implements
2955 to always fail with ENOSYS. Some functions are actually named
2956 something starting with __ and the normal name is an alias. */
2957 #if defined __stub_$2 || defined __stub___$2
2958 choke me
2959 #endif
2962 main ()
2964 return $2 ();
2966 return 0;
2968 _ACEOF
2969 if ac_fn_c_try_link "$LINENO"; then :
2970 eval "$3=yes"
2971 else
2972 eval "$3=no"
2974 rm -f core conftest.err conftest.$ac_objext \
2975 conftest$ac_exeext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2985 # ----------------------------------------------------
2986 # Tries to find if the field MEMBER exists in type AGGR, after including
2987 # INCLUDES, setting cache variable VAR accordingly.
2988 ac_fn_c_check_member ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2992 $as_echo_n "checking for $2.$3... " >&6; }
2993 if eval \${$4+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3002 static $2 ac_aggr;
3003 if (ac_aggr.$3)
3004 return 0;
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 eval "$4=yes"
3011 else
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3018 static $2 ac_aggr;
3019 if (sizeof ac_aggr.$3)
3020 return 0;
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3026 eval "$4=yes"
3027 else
3028 eval "$4=no"
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 eval ac_res=\$$4
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_member
3041 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3042 # -------------------------------------------
3043 # Tests whether TYPE exists after having included INCLUDES, setting cache
3044 # variable VAR accordingly.
3045 ac_fn_c_check_type ()
3047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3049 $as_echo_n "checking for $2... " >&6; }
3050 if eval \${$3+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 eval "$3=no"
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main ()
3060 if (sizeof ($2))
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main ()
3073 if (sizeof (($2)))
3074 return 0;
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"; then :
3081 else
3082 eval "$3=yes"
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 eval ac_res=\$$3
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 $as_echo "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_type
3094 cat >config.log <<_ACEOF
3095 This file contains any messages produced by compilers while
3096 running configure, to aid debugging if configure makes a mistake.
3098 It was created by Wine $as_me 2.19, which was
3099 generated by GNU Autoconf 2.69. Invocation command line was
3101 $ $0 $@
3103 _ACEOF
3104 exec 5>>config.log
3106 cat <<_ASUNAME
3107 ## --------- ##
3108 ## Platform. ##
3109 ## --------- ##
3111 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3112 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3113 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3114 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3115 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3117 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3118 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3120 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3121 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3122 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3123 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3124 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3125 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3126 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3128 _ASUNAME
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3133 IFS=$as_save_IFS
3134 test -z "$as_dir" && as_dir=.
3135 $as_echo "PATH: $as_dir"
3136 done
3137 IFS=$as_save_IFS
3139 } >&5
3141 cat >&5 <<_ACEOF
3144 ## ----------- ##
3145 ## Core tests. ##
3146 ## ----------- ##
3148 _ACEOF
3151 # Keep a trace of the command line.
3152 # Strip out --no-create and --no-recursion so they do not pile up.
3153 # Strip out --silent because we don't want to record it for future runs.
3154 # Also quote any args containing shell meta-characters.
3155 # Make two passes to allow for proper duplicate-argument suppression.
3156 ac_configure_args=
3157 ac_configure_args0=
3158 ac_configure_args1=
3159 ac_must_keep_next=false
3160 for ac_pass in 1 2
3162 for ac_arg
3164 case $ac_arg in
3165 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3167 | -silent | --silent | --silen | --sile | --sil)
3168 continue ;;
3169 *\'*)
3170 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3171 esac
3172 case $ac_pass in
3173 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3175 as_fn_append ac_configure_args1 " '$ac_arg'"
3176 if test $ac_must_keep_next = true; then
3177 ac_must_keep_next=false # Got value, back to normal.
3178 else
3179 case $ac_arg in
3180 *=* | --config-cache | -C | -disable-* | --disable-* \
3181 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3182 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3183 | -with-* | --with-* | -without-* | --without-* | --x)
3184 case "$ac_configure_args0 " in
3185 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3186 esac
3188 -* ) ac_must_keep_next=true ;;
3189 esac
3191 as_fn_append ac_configure_args " '$ac_arg'"
3193 esac
3194 done
3195 done
3196 { ac_configure_args0=; unset ac_configure_args0;}
3197 { ac_configure_args1=; unset ac_configure_args1;}
3199 # When interrupted or exit'd, cleanup temporary files, and complete
3200 # config.log. We remove comments because anyway the quotes in there
3201 # would cause problems or look ugly.
3202 # WARNING: Use '\'' to represent an apostrophe within the trap.
3203 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3204 trap 'exit_status=$?
3205 # Save into config.log some information that might help in debugging.
3207 echo
3209 $as_echo "## ---------------- ##
3210 ## Cache variables. ##
3211 ## ---------------- ##"
3212 echo
3213 # The following way of writing the cache mishandles newlines in values,
3215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3216 eval ac_val=\$$ac_var
3217 case $ac_val in #(
3218 *${as_nl}*)
3219 case $ac_var in #(
3220 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3222 esac
3223 case $ac_var in #(
3224 _ | IFS | as_nl) ;; #(
3225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3226 *) { eval $ac_var=; unset $ac_var;} ;;
3227 esac ;;
3228 esac
3229 done
3230 (set) 2>&1 |
3231 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3232 *${as_nl}ac_space=\ *)
3233 sed -n \
3234 "s/'\''/'\''\\\\'\'''\''/g;
3235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3236 ;; #(
3238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3240 esac |
3241 sort
3243 echo
3245 $as_echo "## ----------------- ##
3246 ## Output variables. ##
3247 ## ----------------- ##"
3248 echo
3249 for ac_var in $ac_subst_vars
3251 eval ac_val=\$$ac_var
3252 case $ac_val in
3253 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3254 esac
3255 $as_echo "$ac_var='\''$ac_val'\''"
3256 done | sort
3257 echo
3259 if test -n "$ac_subst_files"; then
3260 $as_echo "## ------------------- ##
3261 ## File substitutions. ##
3262 ## ------------------- ##"
3263 echo
3264 for ac_var in $ac_subst_files
3266 eval ac_val=\$$ac_var
3267 case $ac_val in
3268 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3269 esac
3270 $as_echo "$ac_var='\''$ac_val'\''"
3271 done | sort
3272 echo
3275 if test -s confdefs.h; then
3276 $as_echo "## ----------- ##
3277 ## confdefs.h. ##
3278 ## ----------- ##"
3279 echo
3280 cat confdefs.h
3281 echo
3283 test "$ac_signal" != 0 &&
3284 $as_echo "$as_me: caught signal $ac_signal"
3285 $as_echo "$as_me: exit $exit_status"
3286 } >&5
3287 rm -f core *.core core.conftest.* &&
3288 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3289 exit $exit_status
3291 for ac_signal in 1 2 13 15; do
3292 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3293 done
3294 ac_signal=0
3296 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3297 rm -f -r conftest* confdefs.h
3299 $as_echo "/* confdefs.h */" > confdefs.h
3301 # Predefined preprocessor variables.
3303 cat >>confdefs.h <<_ACEOF
3304 #define PACKAGE_NAME "$PACKAGE_NAME"
3305 _ACEOF
3307 cat >>confdefs.h <<_ACEOF
3308 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3309 _ACEOF
3311 cat >>confdefs.h <<_ACEOF
3312 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3313 _ACEOF
3315 cat >>confdefs.h <<_ACEOF
3316 #define PACKAGE_STRING "$PACKAGE_STRING"
3317 _ACEOF
3319 cat >>confdefs.h <<_ACEOF
3320 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3321 _ACEOF
3323 cat >>confdefs.h <<_ACEOF
3324 #define PACKAGE_URL "$PACKAGE_URL"
3325 _ACEOF
3328 # Let the site file select an alternate cache file if it wants to.
3329 # Prefer an explicitly selected file to automatically selected ones.
3330 ac_site_file1=NONE
3331 ac_site_file2=NONE
3332 if test -n "$CONFIG_SITE"; then
3333 # We do not want a PATH search for config.site.
3334 case $CONFIG_SITE in #((
3335 -*) ac_site_file1=./$CONFIG_SITE;;
3336 */*) ac_site_file1=$CONFIG_SITE;;
3337 *) ac_site_file1=./$CONFIG_SITE;;
3338 esac
3339 elif test "x$prefix" != xNONE; then
3340 ac_site_file1=$prefix/share/config.site
3341 ac_site_file2=$prefix/etc/config.site
3342 else
3343 ac_site_file1=$ac_default_prefix/share/config.site
3344 ac_site_file2=$ac_default_prefix/etc/config.site
3346 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3348 test "x$ac_site_file" = xNONE && continue
3349 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3351 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3352 sed 's/^/| /' "$ac_site_file" >&5
3353 . "$ac_site_file" \
3354 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "failed to load site script $ac_site_file
3357 See \`config.log' for more details" "$LINENO" 5; }
3359 done
3361 if test -r "$cache_file"; then
3362 # Some versions of bash will fail to source /dev/null (special files
3363 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3364 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3366 $as_echo "$as_me: loading cache $cache_file" >&6;}
3367 case $cache_file in
3368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3369 *) . "./$cache_file";;
3370 esac
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3374 $as_echo "$as_me: creating cache $cache_file" >&6;}
3375 >$cache_file
3378 # Check that the precious variables saved in the cache have kept the same
3379 # value.
3380 ac_cache_corrupted=false
3381 for ac_var in $ac_precious_vars; do
3382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3383 eval ac_new_set=\$ac_env_${ac_var}_set
3384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3385 eval ac_new_val=\$ac_env_${ac_var}_value
3386 case $ac_old_set,$ac_new_set in
3387 set,)
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3389 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3390 ac_cache_corrupted=: ;;
3391 ,set)
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3393 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3394 ac_cache_corrupted=: ;;
3395 ,);;
3397 if test "x$ac_old_val" != "x$ac_new_val"; then
3398 # differences in whitespace do not lead to failure.
3399 ac_old_val_w=`echo x $ac_old_val`
3400 ac_new_val_w=`echo x $ac_new_val`
3401 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3403 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3404 ac_cache_corrupted=:
3405 else
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3407 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3408 eval $ac_var=\$ac_old_val
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3411 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3413 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3414 fi;;
3415 esac
3416 # Pass precious variables to config.status.
3417 if test "$ac_new_set" = set; then
3418 case $ac_new_val in
3419 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3420 *) ac_arg=$ac_var=$ac_new_val ;;
3421 esac
3422 case " $ac_configure_args " in
3423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3424 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3425 esac
3427 done
3428 if $ac_cache_corrupted; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3432 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3433 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3435 ## -------------------- ##
3436 ## Main body of script. ##
3437 ## -------------------- ##
3439 ac_ext=c
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 ac_config_headers="$ac_config_headers include/config.h"
3449 ac_aux_dir=
3450 for ac_dir in tools "$srcdir"/tools; do
3451 if test -f "$ac_dir/install-sh"; then
3452 ac_aux_dir=$ac_dir
3453 ac_install_sh="$ac_aux_dir/install-sh -c"
3454 break
3455 elif test -f "$ac_dir/install.sh"; then
3456 ac_aux_dir=$ac_dir
3457 ac_install_sh="$ac_aux_dir/install.sh -c"
3458 break
3459 elif test -f "$ac_dir/shtool"; then
3460 ac_aux_dir=$ac_dir
3461 ac_install_sh="$ac_aux_dir/shtool install -c"
3462 break
3464 done
3465 if test -z "$ac_aux_dir"; then
3466 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3469 # These three variables are undocumented and unsupported,
3470 # and are intended to be withdrawn in a future Autoconf release.
3471 # They can cause serious problems if a builder's source tree is in a directory
3472 # whose full name contains unusual characters.
3473 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3474 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3475 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3479 libwine_version="1.0"
3483 # Check whether --enable-win16 was given.
3484 if test "${enable_win16+set}" = set; then :
3485 enableval=$enable_win16;
3488 # Check whether --enable-win64 was given.
3489 if test "${enable_win64+set}" = set; then :
3490 enableval=$enable_win64;
3493 # Check whether --enable-tests was given.
3494 if test "${enable_tests+set}" = set; then :
3495 enableval=$enable_tests;
3498 # Check whether --enable-maintainer-mode was given.
3499 if test "${enable_maintainer_mode+set}" = set; then :
3500 enableval=$enable_maintainer_mode;
3505 # Check whether --with-alsa was given.
3506 if test "${with_alsa+set}" = set; then :
3507 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3511 # Check whether --with-capi was given.
3512 if test "${with_capi+set}" = set; then :
3513 withval=$with_capi;
3517 # Check whether --with-cms was given.
3518 if test "${with_cms+set}" = set; then :
3519 withval=$with_cms;
3523 # Check whether --with-coreaudio was given.
3524 if test "${with_coreaudio+set}" = set; then :
3525 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3529 # Check whether --with-cups was given.
3530 if test "${with_cups+set}" = set; then :
3531 withval=$with_cups;
3535 # Check whether --with-curses was given.
3536 if test "${with_curses+set}" = set; then :
3537 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3541 # Check whether --with-dbus was given.
3542 if test "${with_dbus+set}" = set; then :
3543 withval=$with_dbus;
3547 # Check whether --with-fontconfig was given.
3548 if test "${with_fontconfig+set}" = set; then :
3549 withval=$with_fontconfig;
3553 # Check whether --with-freetype was given.
3554 if test "${with_freetype+set}" = set; then :
3555 withval=$with_freetype;
3559 # Check whether --with-gettext was given.
3560 if test "${with_gettext+set}" = set; then :
3561 withval=$with_gettext;
3565 # Check whether --with-gettextpo was given.
3566 if test "${with_gettextpo+set}" = set; then :
3567 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3571 # Check whether --with-gphoto was given.
3572 if test "${with_gphoto+set}" = set; then :
3573 withval=$with_gphoto;
3577 # Check whether --with-glu was given.
3578 if test "${with_glu+set}" = set; then :
3579 withval=$with_glu;
3583 # Check whether --with-gnutls was given.
3584 if test "${with_gnutls+set}" = set; then :
3585 withval=$with_gnutls;
3589 # Check whether --with-gsm was given.
3590 if test "${with_gsm+set}" = set; then :
3591 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3595 # Check whether --with-gstreamer was given.
3596 if test "${with_gstreamer+set}" = set; then :
3597 withval=$with_gstreamer;
3601 # Check whether --with-hal was given.
3602 if test "${with_hal+set}" = set; then :
3603 withval=$with_hal;
3607 # Check whether --with-jpeg was given.
3608 if test "${with_jpeg+set}" = set; then :
3609 withval=$with_jpeg;
3613 # Check whether --with-krb5 was given.
3614 if test "${with_krb5+set}" = set; then :
3615 withval=$with_krb5;
3619 # Check whether --with-ldap was given.
3620 if test "${with_ldap+set}" = set; then :
3621 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3625 # Check whether --with-mpg123 was given.
3626 if test "${with_mpg123+set}" = set; then :
3627 withval=$with_mpg123;
3631 # Check whether --with-netapi was given.
3632 if test "${with_netapi+set}" = set; then :
3633 withval=$with_netapi;
3637 # Check whether --with-openal was given.
3638 if test "${with_openal+set}" = set; then :
3639 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3643 # Check whether --with-opencl was given.
3644 if test "${with_opencl+set}" = set; then :
3645 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3649 # Check whether --with-opengl was given.
3650 if test "${with_opengl+set}" = set; then :
3651 withval=$with_opengl;
3655 # Check whether --with-osmesa was given.
3656 if test "${with_osmesa+set}" = set; then :
3657 withval=$with_osmesa;
3661 # Check whether --with-oss was given.
3662 if test "${with_oss+set}" = set; then :
3663 withval=$with_oss;
3667 # Check whether --with-pcap was given.
3668 if test "${with_pcap+set}" = set; then :
3669 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3673 # Check whether --with-png was given.
3674 if test "${with_png+set}" = set; then :
3675 withval=$with_png;
3679 # Check whether --with-pthread was given.
3680 if test "${with_pthread+set}" = set; then :
3681 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3685 # Check whether --with-pulse was given.
3686 if test "${with_pulse+set}" = set; then :
3687 withval=$with_pulse;
3691 # Check whether --with-sane was given.
3692 if test "${with_sane+set}" = set; then :
3693 withval=$with_sane;
3697 # Check whether --with-tiff was given.
3698 if test "${with_tiff+set}" = set; then :
3699 withval=$with_tiff;
3703 # Check whether --with-udev was given.
3704 if test "${with_udev+set}" = set; then :
3705 withval=$with_udev;
3709 # Check whether --with-v4l was given.
3710 if test "${with_v4l+set}" = set; then :
3711 withval=$with_v4l;
3715 # Check whether --with-xcomposite was given.
3716 if test "${with_xcomposite+set}" = set; then :
3717 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3721 # Check whether --with-xcursor was given.
3722 if test "${with_xcursor+set}" = set; then :
3723 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3727 # Check whether --with-xfixes was given.
3728 if test "${with_xfixes+set}" = set; then :
3729 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3733 # Check whether --with-xinerama was given.
3734 if test "${with_xinerama+set}" = set; then :
3735 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3739 # Check whether --with-xinput was given.
3740 if test "${with_xinput+set}" = set; then :
3741 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3745 # Check whether --with-xinput2 was given.
3746 if test "${with_xinput2+set}" = set; then :
3747 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3751 # Check whether --with-xml was given.
3752 if test "${with_xml+set}" = set; then :
3753 withval=$with_xml;
3757 # Check whether --with-xrandr was given.
3758 if test "${with_xrandr+set}" = set; then :
3759 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3763 # Check whether --with-xrender was given.
3764 if test "${with_xrender+set}" = set; then :
3765 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3769 # Check whether --with-xshape was given.
3770 if test "${with_xshape+set}" = set; then :
3771 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3775 # Check whether --with-xshm was given.
3776 if test "${with_xshm+set}" = set; then :
3777 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3781 # Check whether --with-xslt was given.
3782 if test "${with_xslt+set}" = set; then :
3783 withval=$with_xslt;
3787 # Check whether --with-xxf86vm was given.
3788 if test "${with_xxf86vm+set}" = set; then :
3789 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
3793 # Check whether --with-zlib was given.
3794 if test "${with_zlib+set}" = set; then :
3795 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3800 # Check whether --with-wine-tools was given.
3801 if test "${with_wine_tools+set}" = set; then :
3802 withval=$with_wine_tools;
3806 # Check whether --with-wine64 was given.
3807 if test "${with_wine64+set}" = set; then :
3808 withval=$with_wine64;
3812 # Make sure we can run config.sub.
3813 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3814 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3817 $as_echo_n "checking build system type... " >&6; }
3818 if ${ac_cv_build+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 ac_build_alias=$build_alias
3822 test "x$ac_build_alias" = x &&
3823 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3824 test "x$ac_build_alias" = x &&
3825 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3826 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3827 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3831 $as_echo "$ac_cv_build" >&6; }
3832 case $ac_cv_build in
3833 *-*-*) ;;
3834 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3835 esac
3836 build=$ac_cv_build
3837 ac_save_IFS=$IFS; IFS='-'
3838 set x $ac_cv_build
3839 shift
3840 build_cpu=$1
3841 build_vendor=$2
3842 shift; shift
3843 # Remember, the first character of IFS is used to create $*,
3844 # except with old shells:
3845 build_os=$*
3846 IFS=$ac_save_IFS
3847 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3851 $as_echo_n "checking host system type... " >&6; }
3852 if ${ac_cv_host+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test "x$host_alias" = x; then
3856 ac_cv_host=$ac_cv_build
3857 else
3858 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3859 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3864 $as_echo "$ac_cv_host" >&6; }
3865 case $ac_cv_host in
3866 *-*-*) ;;
3867 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3868 esac
3869 host=$ac_cv_host
3870 ac_save_IFS=$IFS; IFS='-'
3871 set x $ac_cv_host
3872 shift
3873 host_cpu=$1
3874 host_vendor=$2
3875 shift; shift
3876 # Remember, the first character of IFS is used to create $*,
3877 # except with old shells:
3878 host_os=$*
3879 IFS=$ac_save_IFS
3880 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3884 case "$srcdir" in
3885 .) ;;
3886 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3887 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3888 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3889 fi ;;
3890 esac
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3894 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3895 set x ${MAKE-make}
3896 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3897 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 cat >conftest.make <<\_ACEOF
3901 SHELL = /bin/sh
3902 all:
3903 @echo '@@@%%%=$(MAKE)=@@@%%%'
3904 _ACEOF
3905 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3906 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3907 *@@@%%%=?*=@@@%%%*)
3908 eval ac_cv_prog_make_${ac_make}_set=yes;;
3910 eval ac_cv_prog_make_${ac_make}_set=no;;
3911 esac
3912 rm -f conftest.make
3914 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3916 $as_echo "yes" >&6; }
3917 SET_MAKE=
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 SET_MAKE="MAKE=${MAKE-make}"
3924 ac_ext=c
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 if test -n "$ac_tool_prefix"; then
3930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_CC+:} false; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC="$CC" # Let the user override the test.
3939 else
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 break 2
3951 done
3952 done
3953 IFS=$as_save_IFS
3957 CC=$ac_cv_prog_CC
3958 if test -n "$CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3960 $as_echo "$CC" >&6; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3968 if test -z "$ac_cv_prog_CC"; then
3969 ac_ct_CC=$CC
3970 # Extract the first word of "gcc", so it can be a program name with args.
3971 set dummy gcc; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$ac_ct_CC"; then
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_CC="gcc"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3998 if test -n "$ac_ct_CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4000 $as_echo "$ac_ct_CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4006 if test "x$ac_ct_CC" = x; then
4007 CC=""
4008 else
4009 case $cross_compiling:$ac_tool_warned in
4010 yes:)
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 ac_tool_warned=yes ;;
4014 esac
4015 CC=$ac_ct_CC
4017 else
4018 CC="$ac_cv_prog_CC"
4021 if test -z "$CC"; then
4022 if test -n "$ac_tool_prefix"; then
4023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4024 set dummy ${ac_tool_prefix}cc; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC="${ac_tool_prefix}cc"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4062 if test -z "$CC"; then
4063 # Extract the first word of "cc", so it can be a program name with args.
4064 set dummy cc; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_CC+:} false; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 if test -n "$CC"; then
4071 ac_cv_prog_CC="$CC" # Let the user override the test.
4072 else
4073 ac_prog_rejected=no
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4077 IFS=$as_save_IFS
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4082 ac_prog_rejected=yes
4083 continue
4085 ac_cv_prog_CC="cc"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4091 IFS=$as_save_IFS
4093 if test $ac_prog_rejected = yes; then
4094 # We found a bogon in the path, so make sure we never use it.
4095 set dummy $ac_cv_prog_CC
4096 shift
4097 if test $# != 0; then
4098 # We chose a different compiler from the bogus one.
4099 # However, it has the same basename, so the bogon will be chosen
4100 # first if we set CC to just the basename; use the full file name.
4101 shift
4102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4107 CC=$ac_cv_prog_CC
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4118 if test -z "$CC"; then
4119 if test -n "$ac_tool_prefix"; then
4120 for ac_prog in cl.exe
4122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if ${ac_cv_prog_CC+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC="$CC" # Let the user override the test.
4131 else
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH
4135 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4145 IFS=$as_save_IFS
4149 CC=$ac_cv_prog_CC
4150 if test -n "$CC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152 $as_echo "$CC" >&6; }
4153 else
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4159 test -n "$CC" && break
4160 done
4162 if test -z "$CC"; then
4163 ac_ct_CC=$CC
4164 for ac_prog in cl.exe
4166 # Extract the first word of "$ac_prog", so it can be a program name with args.
4167 set dummy $ac_prog; ac_word=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 if test -n "$ac_ct_CC"; then
4174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4175 else
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_ac_ct_CC="$ac_prog"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 break 2
4187 done
4188 done
4189 IFS=$as_save_IFS
4193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4194 if test -n "$ac_ct_CC"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4196 $as_echo "$ac_ct_CC" >&6; }
4197 else
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4203 test -n "$ac_ct_CC" && break
4204 done
4206 if test "x$ac_ct_CC" = x; then
4207 CC=""
4208 else
4209 case $cross_compiling:$ac_tool_warned in
4210 yes:)
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned=yes ;;
4214 esac
4215 CC=$ac_ct_CC
4222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4224 as_fn_error $? "no acceptable C compiler found in \$PATH
4225 See \`config.log' for more details" "$LINENO" 5; }
4227 # Provide some information about the compiler.
4228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4229 set X $ac_compile
4230 ac_compiler=$2
4231 for ac_option in --version -v -V -qversion; do
4232 { { ac_try="$ac_compiler $ac_option >&5"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4240 ac_status=$?
4241 if test -s conftest.err; then
4242 sed '10a\
4243 ... rest of stderr output deleted ...
4244 10q' conftest.err >conftest.er1
4245 cat conftest.er1 >&5
4247 rm -f conftest.er1 conftest.err
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }
4250 done
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 ac_clean_files_save=$ac_clean_files
4264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4265 # Try to create an executable without -o first, disregard a.out.
4266 # It will help us diagnose broken compilers, and finding out an intuition
4267 # of exeext.
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4269 $as_echo_n "checking whether the C compiler works... " >&6; }
4270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4272 # The possible output files:
4273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4275 ac_rmfiles=
4276 for ac_file in $ac_files
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4280 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4281 esac
4282 done
4283 rm -f $ac_rmfiles
4285 if { { ac_try="$ac_link_default"
4286 case "(($ac_try" in
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4289 esac
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_link_default") 2>&5
4293 ac_status=$?
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; then :
4296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4298 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4299 # so that the user can short-circuit this test for compilers unknown to
4300 # Autoconf.
4301 for ac_file in $ac_files ''
4303 test -f "$ac_file" || continue
4304 case $ac_file in
4305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4307 [ab].out )
4308 # We found the default executable, but exeext='' is most
4309 # certainly right.
4310 break;;
4311 *.* )
4312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4313 then :; else
4314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4316 # We set ac_cv_exeext here because the later test for it is not
4317 # safe: cross compilers may not add the suffix if given an `-o'
4318 # argument, so we may need to know it at that point already.
4319 # Even if this section looks crufty: it has the advantage of
4320 # actually working.
4321 break;;
4323 break;;
4324 esac
4325 done
4326 test "$ac_cv_exeext" = no && ac_cv_exeext=
4328 else
4329 ac_file=''
4331 if test -z "$ac_file"; then :
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4334 $as_echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.$ac_ext >&5
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error 77 "C compiler cannot create executables
4340 See \`config.log' for more details" "$LINENO" 5; }
4341 else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4343 $as_echo "yes" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4346 $as_echo_n "checking for C compiler default output file name... " >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4348 $as_echo "$ac_file" >&6; }
4349 ac_exeext=$ac_cv_exeext
4351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4352 ac_clean_files=$ac_clean_files_save
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4354 $as_echo_n "checking for suffix of executables... " >&6; }
4355 if { { ac_try="$ac_link"
4356 case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4359 esac
4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4361 $as_echo "$ac_try_echo"; } >&5
4362 (eval "$ac_link") 2>&5
4363 ac_status=$?
4364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4365 test $ac_status = 0; }; then :
4366 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4367 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4368 # work properly (i.e., refer to `conftest.exe'), while it won't with
4369 # `rm'.
4370 for ac_file in conftest.exe conftest conftest.*; do
4371 test -f "$ac_file" || continue
4372 case $ac_file in
4373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4374 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4375 break;;
4376 * ) break;;
4377 esac
4378 done
4379 else
4380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4383 See \`config.log' for more details" "$LINENO" 5; }
4385 rm -f conftest conftest$ac_cv_exeext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4387 $as_echo "$ac_cv_exeext" >&6; }
4389 rm -f conftest.$ac_ext
4390 EXEEXT=$ac_cv_exeext
4391 ac_exeext=$EXEEXT
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4394 #include <stdio.h>
4396 main ()
4398 FILE *f = fopen ("conftest.out", "w");
4399 return ferror (f) || fclose (f) != 0;
4402 return 0;
4404 _ACEOF
4405 ac_clean_files="$ac_clean_files conftest.out"
4406 # Check that the compiler produces executables we can run. If not, either
4407 # the compiler is broken, or we cross compile.
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4409 $as_echo_n "checking whether we are cross compiling... " >&6; }
4410 if test "$cross_compiling" != yes; then
4411 { { ac_try="$ac_link"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_link") 2>&5
4419 ac_status=$?
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }
4422 if { ac_try='./conftest$ac_cv_exeext'
4423 { { case "(($ac_try" in
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4426 esac
4427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4428 $as_echo "$ac_try_echo"; } >&5
4429 (eval "$ac_try") 2>&5
4430 ac_status=$?
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 test $ac_status = 0; }; }; then
4433 cross_compiling=no
4434 else
4435 if test "$cross_compiling" = maybe; then
4436 cross_compiling=yes
4437 else
4438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 as_fn_error $? "cannot run C compiled programs.
4441 If you meant to cross compile, use \`--host'.
4442 See \`config.log' for more details" "$LINENO" 5; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4447 $as_echo "$cross_compiling" >&6; }
4449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4450 ac_clean_files=$ac_clean_files_save
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4452 $as_echo_n "checking for suffix of object files... " >&6; }
4453 if ${ac_cv_objext+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4460 main ()
4464 return 0;
4466 _ACEOF
4467 rm -f conftest.o conftest.obj
4468 if { { ac_try="$ac_compile"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compile") 2>&5
4476 ac_status=$?
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; then :
4479 for ac_file in conftest.o conftest.obj conftest.*; do
4480 test -f "$ac_file" || continue;
4481 case $ac_file in
4482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4484 break;;
4485 esac
4486 done
4487 else
4488 $as_echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4493 as_fn_error $? "cannot compute suffix of object files: cannot compile
4494 See \`config.log' for more details" "$LINENO" 5; }
4496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4499 $as_echo "$ac_cv_objext" >&6; }
4500 OBJEXT=$ac_cv_objext
4501 ac_objext=$OBJEXT
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4504 if ${ac_cv_c_compiler_gnu+:} false; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4513 #ifndef __GNUC__
4514 choke me
4515 #endif
4518 return 0;
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_compiler_gnu=yes
4523 else
4524 ac_compiler_gnu=no
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4532 if test $ac_compiler_gnu = yes; then
4533 GCC=yes
4534 else
4535 GCC=
4537 ac_test_CFLAGS=${CFLAGS+set}
4538 ac_save_CFLAGS=$CFLAGS
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4541 if ${ac_cv_prog_cc_g+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 ac_save_c_werror_flag=$ac_c_werror_flag
4545 ac_c_werror_flag=yes
4546 ac_cv_prog_cc_g=no
4547 CFLAGS="-g"
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 main ()
4556 return 0;
4558 _ACEOF
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560 ac_cv_prog_cc_g=yes
4561 else
4562 CFLAGS=""
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 if ac_fn_c_try_compile "$LINENO"; then :
4576 else
4577 ac_c_werror_flag=$ac_save_c_werror_flag
4578 CFLAGS="-g"
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_g=yes
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_c_werror_flag=$ac_save_c_werror_flag
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4601 $as_echo "$ac_cv_prog_cc_g" >&6; }
4602 if test "$ac_test_CFLAGS" = set; then
4603 CFLAGS=$ac_save_CFLAGS
4604 elif test $ac_cv_prog_cc_g = yes; then
4605 if test "$GCC" = yes; then
4606 CFLAGS="-g -O2"
4607 else
4608 CFLAGS="-g"
4610 else
4611 if test "$GCC" = yes; then
4612 CFLAGS="-O2"
4613 else
4614 CFLAGS=
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4619 if ${ac_cv_prog_cc_c89+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 ac_cv_prog_cc_c89=no
4623 ac_save_CC=$CC
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #include <stdarg.h>
4627 #include <stdio.h>
4628 struct stat;
4629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4630 struct buf { int x; };
4631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4632 static char *e (p, i)
4633 char **p;
4634 int i;
4636 return p[i];
4638 static char *f (char * (*g) (char **, int), char **p, ...)
4640 char *s;
4641 va_list v;
4642 va_start (v,p);
4643 s = g (p, va_arg (v,int));
4644 va_end (v);
4645 return s;
4648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4649 function prototypes and stuff, but not '\xHH' hex character constants.
4650 These don't provoke an error unfortunately, instead are silently treated
4651 as 'x'. The following induces an error, until -std is added to get
4652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4653 array size at least. It's necessary to write '\x00'==0 to get something
4654 that's true only with -std. */
4655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4658 inside strings and character constants. */
4659 #define FOO(x) 'x'
4660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4662 int test (int i, double x);
4663 struct s1 {int (*f) (int a);};
4664 struct s2 {int (*f) (double a);};
4665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4666 int argc;
4667 char **argv;
4669 main ()
4671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4673 return 0;
4675 _ACEOF
4676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4679 CC="$ac_save_CC $ac_arg"
4680 if ac_fn_c_try_compile "$LINENO"; then :
4681 ac_cv_prog_cc_c89=$ac_arg
4683 rm -f core conftest.err conftest.$ac_objext
4684 test "x$ac_cv_prog_cc_c89" != "xno" && break
4685 done
4686 rm -f conftest.$ac_ext
4687 CC=$ac_save_CC
4690 # AC_CACHE_VAL
4691 case "x$ac_cv_prog_cc_c89" in
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4694 $as_echo "none needed" >&6; } ;;
4695 xno)
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4697 $as_echo "unsupported" >&6; } ;;
4699 CC="$CC $ac_cv_prog_cc_c89"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4702 esac
4703 if test "x$ac_cv_prog_cc_c89" != xno; then :
4707 ac_ext=c
4708 ac_cpp='$CPP $CPPFLAGS'
4709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4713 ac_ext=cpp
4714 ac_cpp='$CXXCPP $CPPFLAGS'
4715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4718 if test -z "$CXX"; then
4719 if test -n "$CCC"; then
4720 CXX=$CCC
4721 else
4722 if test -n "$ac_tool_prefix"; then
4723 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_CXX+:} false; then :
4730 $as_echo_n "(cached) " >&6
4731 else
4732 if test -n "$CXX"; then
4733 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4734 else
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH
4738 IFS=$as_save_IFS
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4742 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 break 2
4746 done
4747 done
4748 IFS=$as_save_IFS
4752 CXX=$ac_cv_prog_CXX
4753 if test -n "$CXX"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4755 $as_echo "$CXX" >&6; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 test -n "$CXX" && break
4763 done
4765 if test -z "$CXX"; then
4766 ac_ct_CXX=$CXX
4767 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4769 # Extract the first word of "$ac_prog", so it can be a program name with args.
4770 set dummy $ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4774 $as_echo_n "(cached) " >&6
4775 else
4776 if test -n "$ac_ct_CXX"; then
4777 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4778 else
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH
4782 IFS=$as_save_IFS
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_ac_ct_CXX="$ac_prog"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 break 2
4790 done
4791 done
4792 IFS=$as_save_IFS
4796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4797 if test -n "$ac_ct_CXX"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4799 $as_echo "$ac_ct_CXX" >&6; }
4800 else
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 test -n "$ac_ct_CXX" && break
4807 done
4809 if test "x$ac_ct_CXX" = x; then
4810 CXX="g++"
4811 else
4812 case $cross_compiling:$ac_tool_warned in
4813 yes:)
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4816 ac_tool_warned=yes ;;
4817 esac
4818 CXX=$ac_ct_CXX
4824 # Provide some information about the compiler.
4825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4826 set X $ac_compile
4827 ac_compiler=$2
4828 for ac_option in --version -v -V -qversion; do
4829 { { ac_try="$ac_compiler $ac_option >&5"
4830 case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4835 $as_echo "$ac_try_echo"; } >&5
4836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4837 ac_status=$?
4838 if test -s conftest.err; then
4839 sed '10a\
4840 ... rest of stderr output deleted ...
4841 10q' conftest.err >conftest.er1
4842 cat conftest.er1 >&5
4844 rm -f conftest.er1 conftest.err
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }
4847 done
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4850 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4851 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4852 $as_echo_n "(cached) " >&6
4853 else
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 main ()
4860 #ifndef __GNUC__
4861 choke me
4862 #endif
4865 return 0;
4867 _ACEOF
4868 if ac_fn_cxx_try_compile "$LINENO"; then :
4869 ac_compiler_gnu=yes
4870 else
4871 ac_compiler_gnu=no
4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4874 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4878 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4879 if test $ac_compiler_gnu = yes; then
4880 GXX=yes
4881 else
4882 GXX=
4884 ac_test_CXXFLAGS=${CXXFLAGS+set}
4885 ac_save_CXXFLAGS=$CXXFLAGS
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4887 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4888 if ${ac_cv_prog_cxx_g+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4892 ac_cxx_werror_flag=yes
4893 ac_cv_prog_cxx_g=no
4894 CXXFLAGS="-g"
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4899 main ()
4903 return 0;
4905 _ACEOF
4906 if ac_fn_cxx_try_compile "$LINENO"; then :
4907 ac_cv_prog_cxx_g=yes
4908 else
4909 CXXFLAGS=""
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4914 main ()
4918 return 0;
4920 _ACEOF
4921 if ac_fn_cxx_try_compile "$LINENO"; then :
4923 else
4924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4925 CXXFLAGS="-g"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_cxx_try_compile "$LINENO"; then :
4938 ac_cv_prog_cxx_g=yes
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4948 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4949 if test "$ac_test_CXXFLAGS" = set; then
4950 CXXFLAGS=$ac_save_CXXFLAGS
4951 elif test $ac_cv_prog_cxx_g = yes; then
4952 if test "$GXX" = yes; then
4953 CXXFLAGS="-g -O2"
4954 else
4955 CXXFLAGS="-g"
4957 else
4958 if test "$GXX" = yes; then
4959 CXXFLAGS="-O2"
4960 else
4961 CXXFLAGS=
4964 ac_ext=c
4965 ac_cpp='$CPP $CPPFLAGS'
4966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970 if test -n "$ac_tool_prefix"; then
4971 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4972 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_CPPBIN+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$CPPBIN"; then
4979 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 CPPBIN=$ac_cv_prog_CPPBIN
4999 if test -n "$CPPBIN"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5001 $as_echo "$CPPBIN" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5009 if test -z "$ac_cv_prog_CPPBIN"; then
5010 ac_ct_CPPBIN=$CPPBIN
5011 # Extract the first word of "cpp", so it can be a program name with args.
5012 set dummy cpp; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$ac_ct_CPPBIN"; then
5019 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_ac_ct_CPPBIN="cpp"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5039 if test -n "$ac_ct_CPPBIN"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5041 $as_echo "$ac_ct_CPPBIN" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5047 if test "x$ac_ct_CPPBIN" = x; then
5048 CPPBIN="cpp"
5049 else
5050 case $cross_compiling:$ac_tool_warned in
5051 yes:)
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054 ac_tool_warned=yes ;;
5055 esac
5056 CPPBIN=$ac_ct_CPPBIN
5058 else
5059 CPPBIN="$ac_cv_prog_CPPBIN"
5063 cat >>confdefs.h <<_ACEOF
5064 #define EXEEXT "$ac_exeext"
5065 _ACEOF
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ld; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_LD+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$LD"; then
5076 ac_cv_prog_LD="$LD" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_LD="${ac_tool_prefix}ld"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 LD=$ac_cv_prog_LD
5096 if test -n "$LD"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5098 $as_echo "$LD" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_LD"; then
5107 ac_ct_LD=$LD
5108 # Extract the first word of "ld", so it can be a program name with args.
5109 set dummy ld; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$ac_ct_LD"; then
5116 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_LD="ld"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5136 if test -n "$ac_ct_LD"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5138 $as_echo "$ac_ct_LD" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_LD" = x; then
5145 LD=""
5146 else
5147 case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153 LD=$ac_ct_LD
5155 else
5156 LD="$ac_cv_prog_LD"
5160 case $host in
5161 *-darwin*)
5162 with_fontconfig=${with_fontconfig:-no}
5164 *-mingw32*|*-cygwin*)
5165 enable_win16=${enable_win16:-no}
5166 CFLAGS="$CFLAGS -D_WIN32"
5168 esac
5170 case $host in
5171 x86_64*|amd64*)
5172 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5173 then
5174 CC="$CC -m32"
5175 CXX="$CXX -m32"
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5177 $as_echo_n "checking whether $CC works... " >&6; }
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5183 main ()
5187 return 0;
5189 _ACEOF
5190 if ac_fn_c_try_link "$LINENO"; then :
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 $as_echo "yes" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5198 rm -f core conftest.err conftest.$ac_objext \
5199 conftest$ac_exeext conftest.$ac_ext
5200 host_cpu="i386"
5201 notice_platform="32-bit "
5202 TARGETFLAGS="-m32"
5204 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5205 export PKG_CONFIG_PATH
5206 enable_win16=${enable_win16:-yes}
5207 else
5208 if test "x${GCC}" = "xyes"
5209 then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5211 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #include <stdarg.h>
5216 main ()
5218 void func(__builtin_ms_va_list *args);
5220 return 0;
5222 _ACEOF
5223 if ac_fn_c_try_compile "$LINENO"; then :
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5225 $as_echo "yes" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5233 CC="$CC -m64"
5234 CXX="$CXX -m64"
5235 host_cpu="x86_64"
5236 notice_platform="64-bit "
5237 TARGETFLAGS="-m64"
5241 arm*)
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5243 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5246 int ac_test(int i) { return i; }
5248 main ()
5250 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5252 return 0;
5254 _ACEOF
5255 if ac_fn_c_try_link "$LINENO"; then :
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5263 rm -f core conftest.err conftest.$ac_objext \
5264 conftest$ac_exeext conftest.$ac_ext
5265 CFLAGS="$CFLAGS -marm"
5266 TARGETFLAGS="-marm"
5269 i[3456789]86*)
5270 enable_win16=${enable_win16:-yes}
5272 esac
5274 enable_win16=${enable_win16:-no}
5275 enable_win64=${enable_win64:-no}
5277 enable_winetest=${enable_winetest:-$enable_tests}
5279 if test -n "$with_wine64"
5280 then
5281 if test "x$enable_win64" = "xyes"
5282 then
5283 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5284 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5286 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5287 You should create a separate build directory and run configure from there." "$LINENO" 5
5288 enable_fonts=${enable_fonts:-no}
5289 enable_server=${enable_server:-no}
5290 elif test "x$enable_win64" = "xyes"
5291 then
5292 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5296 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5297 if ${wine_cv_toolsdir+:} false; then :
5298 $as_echo_n "(cached) " >&6
5299 else
5300 wine_cv_toolsdir="$with_wine_tools"
5301 if test -z "$with_wine_tools"; then
5302 if test "$cross_compiling" = "yes"; then
5303 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5304 elif test -n "$with_wine64"; then
5305 wine_cv_toolsdir="$with_wine64"
5308 if test -z "$wine_cv_toolsdir"; then
5309 wine_makedep=tools/makedep
5310 wine_cv_toolsdir="\$(top_builddir)"
5311 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5312 wine_makedep=$wine_cv_toolsdir/tools/makedep
5313 case "$wine_cv_toolsdir" in
5314 /*) ;;
5315 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5316 esac
5317 enable_tools=${enable_tools:-no}
5318 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5319 else
5320 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5324 $as_echo "$wine_cv_toolsdir" >&6; }
5325 TOOLSDIR=$wine_cv_toolsdir
5327 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5328 then
5329 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5333 for ac_prog in flex
5335 # Extract the first word of "$ac_prog", so it can be a program name with args.
5336 set dummy $ac_prog; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_FLEX+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 if test -n "$FLEX"; then
5343 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_FLEX="$ac_prog"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 FLEX=$ac_cv_prog_FLEX
5363 if test -n "$FLEX"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5365 $as_echo "$FLEX" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 test -n "$FLEX" && break
5373 done
5374 test -n "$FLEX" || FLEX="none"
5376 if test "$FLEX" = "none"
5377 then
5378 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5381 $as_echo_n "checking whether flex is recent enough... " >&6; }
5382 cat >conftest.l <<EOF
5383 %top{
5384 #include "prediluvian.h"
5388 if $FLEX -t conftest.l >/dev/null 2>&5
5389 then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5391 $as_echo "yes" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5395 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5398 for ac_prog in bison
5400 # Extract the first word of "$ac_prog", so it can be a program name with args.
5401 set dummy $ac_prog; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_BISON+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$BISON"; then
5408 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_BISON="$ac_prog"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 BISON=$ac_cv_prog_BISON
5428 if test -n "$BISON"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5430 $as_echo "$BISON" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5437 test -n "$BISON" && break
5438 done
5439 test -n "$BISON" || BISON="none"
5441 if test "$BISON" = "none"
5442 then
5443 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5446 if test -n "$ac_tool_prefix"; then
5447 for ac_prog in ar gar
5449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_AR+:} false; then :
5454 $as_echo_n "(cached) " >&6
5455 else
5456 if test -n "$AR"; then
5457 ac_cv_prog_AR="$AR" # Let the user override the test.
5458 else
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH
5462 IFS=$as_save_IFS
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 break 2
5470 done
5471 done
5472 IFS=$as_save_IFS
5476 AR=$ac_cv_prog_AR
5477 if test -n "$AR"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5479 $as_echo "$AR" >&6; }
5480 else
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5486 test -n "$AR" && break
5487 done
5489 if test -z "$AR"; then
5490 ac_ct_AR=$AR
5491 for ac_prog in ar gar
5493 # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy $ac_prog; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$ac_ct_AR"; then
5501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_ac_ct_AR="$ac_prog"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5521 if test -n "$ac_ct_AR"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5523 $as_echo "$ac_ct_AR" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5530 test -n "$ac_ct_AR" && break
5531 done
5533 if test "x$ac_ct_AR" = x; then
5534 AR="ar"
5535 else
5536 case $cross_compiling:$ac_tool_warned in
5537 yes:)
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5541 esac
5542 AR=$ac_ct_AR
5546 if test -n "$ac_tool_prefix"; then
5547 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5548 set dummy ${ac_tool_prefix}strip; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_STRIP+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 if test -n "$STRIP"; then
5555 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5556 else
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 break 2
5568 done
5569 done
5570 IFS=$as_save_IFS
5574 STRIP=$ac_cv_prog_STRIP
5575 if test -n "$STRIP"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5577 $as_echo "$STRIP" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5585 if test -z "$ac_cv_prog_STRIP"; then
5586 ac_ct_STRIP=$STRIP
5587 # Extract the first word of "strip", so it can be a program name with args.
5588 set dummy strip; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$ac_ct_STRIP"; then
5595 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_ac_ct_STRIP="strip"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5615 if test -n "$ac_ct_STRIP"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5617 $as_echo "$ac_ct_STRIP" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5623 if test "x$ac_ct_STRIP" = x; then
5624 STRIP="strip"
5625 else
5626 case $cross_compiling:$ac_tool_warned in
5627 yes:)
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 STRIP=$ac_ct_STRIP
5634 else
5635 STRIP="$ac_cv_prog_STRIP"
5638 ARFLAGS=rc
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_RANLIB+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 RANLIB=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5671 $as_echo "$RANLIB" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_RANLIB="ranlib"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5711 $as_echo "$ac_ct_RANLIB" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x; then
5718 RANLIB=":"
5719 else
5720 case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724 ac_tool_warned=yes ;;
5725 esac
5726 RANLIB=$ac_ct_RANLIB
5728 else
5729 RANLIB="$ac_cv_prog_RANLIB"
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5733 $as_echo_n "checking whether ln -s works... " >&6; }
5734 LN_S=$as_ln_s
5735 if test "$LN_S" = "ln -s"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5737 $as_echo "yes" >&6; }
5738 else
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5740 $as_echo "no, using $LN_S" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5744 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5745 if ${ac_cv_path_GREP+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -z "$GREP"; then
5749 ac_path_GREP_found=false
5750 # Loop through the user's path and test for each of PROGNAME-LIST
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_prog in grep ggrep; do
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5759 as_fn_executable_p "$ac_path_GREP" || continue
5760 # Check for GNU ac_path_GREP and select it if it is found.
5761 # Check for GNU $ac_path_GREP
5762 case `"$ac_path_GREP" --version 2>&1` in
5763 *GNU*)
5764 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5766 ac_count=0
5767 $as_echo_n 0123456789 >"conftest.in"
5768 while :
5770 cat "conftest.in" "conftest.in" >"conftest.tmp"
5771 mv "conftest.tmp" "conftest.in"
5772 cp "conftest.in" "conftest.nl"
5773 $as_echo 'GREP' >> "conftest.nl"
5774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5775 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5776 as_fn_arith $ac_count + 1 && ac_count=$as_val
5777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5778 # Best one so far, save it but keep looking for a better one
5779 ac_cv_path_GREP="$ac_path_GREP"
5780 ac_path_GREP_max=$ac_count
5782 # 10*(2^10) chars as input seems more than enough
5783 test $ac_count -gt 10 && break
5784 done
5785 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5786 esac
5788 $ac_path_GREP_found && break 3
5789 done
5790 done
5791 done
5792 IFS=$as_save_IFS
5793 if test -z "$ac_cv_path_GREP"; then
5794 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5796 else
5797 ac_cv_path_GREP=$GREP
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5802 $as_echo "$ac_cv_path_GREP" >&6; }
5803 GREP="$ac_cv_path_GREP"
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5807 $as_echo_n "checking for egrep... " >&6; }
5808 if ${ac_cv_path_EGREP+:} false; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5812 then ac_cv_path_EGREP="$GREP -E"
5813 else
5814 if test -z "$EGREP"; then
5815 ac_path_EGREP_found=false
5816 # Loop through the user's path and test for each of PROGNAME-LIST
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_prog in egrep; do
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5825 as_fn_executable_p "$ac_path_EGREP" || continue
5826 # Check for GNU ac_path_EGREP and select it if it is found.
5827 # Check for GNU $ac_path_EGREP
5828 case `"$ac_path_EGREP" --version 2>&1` in
5829 *GNU*)
5830 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5832 ac_count=0
5833 $as_echo_n 0123456789 >"conftest.in"
5834 while :
5836 cat "conftest.in" "conftest.in" >"conftest.tmp"
5837 mv "conftest.tmp" "conftest.in"
5838 cp "conftest.in" "conftest.nl"
5839 $as_echo 'EGREP' >> "conftest.nl"
5840 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5841 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5842 as_fn_arith $ac_count + 1 && ac_count=$as_val
5843 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5844 # Best one so far, save it but keep looking for a better one
5845 ac_cv_path_EGREP="$ac_path_EGREP"
5846 ac_path_EGREP_max=$ac_count
5848 # 10*(2^10) chars as input seems more than enough
5849 test $ac_count -gt 10 && break
5850 done
5851 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5852 esac
5854 $ac_path_EGREP_found && break 3
5855 done
5856 done
5857 done
5858 IFS=$as_save_IFS
5859 if test -z "$ac_cv_path_EGREP"; then
5860 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5862 else
5863 ac_cv_path_EGREP=$EGREP
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5869 $as_echo "$ac_cv_path_EGREP" >&6; }
5870 EGREP="$ac_cv_path_EGREP"
5873 # Extract the first word of "ldconfig", so it can be a program name with args.
5874 set dummy ldconfig; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_path_LDCONFIG+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 case $LDCONFIG in
5881 [\\/]* | ?:[\\/]*)
5882 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in /sbin /usr/sbin $PATH
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 break 2
5896 done
5897 done
5898 IFS=$as_save_IFS
5900 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5902 esac
5904 LDCONFIG=$ac_cv_path_LDCONFIG
5905 if test -n "$LDCONFIG"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5907 $as_echo "$LDCONFIG" >&6; }
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5914 for ac_prog in msgfmt
5916 # Extract the first word of "$ac_prog", so it can be a program name with args.
5917 set dummy $ac_prog; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_MSGFMT+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if test -n "$MSGFMT"; then
5924 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_MSGFMT="$ac_prog"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 MSGFMT=$ac_cv_prog_MSGFMT
5944 if test -n "$MSGFMT"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5946 $as_echo "$MSGFMT" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5953 test -n "$MSGFMT" && break
5954 done
5955 test -n "$MSGFMT" || MSGFMT="false"
5957 if ${ac_tool_prefix+:} false; then :
5958 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5959 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$PKG_CONFIG"; then
5966 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5986 if test -n "$PKG_CONFIG"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5988 $as_echo "$PKG_CONFIG" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5996 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5997 if test "x$cross_compiling" = xyes; then :
5999 else
6000 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6001 # Extract the first word of "pkg-config", so it can be a program name with args.
6002 set dummy pkg-config; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$PKG_CONFIG"; then
6009 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_PKG_CONFIG="pkg-config"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6029 if test -n "$PKG_CONFIG"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6031 $as_echo "$PKG_CONFIG" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6039 else
6040 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6043 if test "x$enable_maintainer_mode" != "xyes"
6044 then
6045 FONTFORGE=""
6046 RSVG=""
6047 CONVERT=""
6048 ICOTOOL=""
6049 else
6050 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6051 for ac_prog in fontforge
6053 # Extract the first word of "$ac_prog", so it can be a program name with args.
6054 set dummy $ac_prog; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_FONTFORGE+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$FONTFORGE"; then
6061 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_FONTFORGE="$ac_prog"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 FONTFORGE=$ac_cv_prog_FONTFORGE
6081 if test -n "$FONTFORGE"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6083 $as_echo "$FONTFORGE" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6090 test -n "$FONTFORGE" && break
6091 done
6092 test -n "$FONTFORGE" || FONTFORGE="false"
6094 for ac_prog in rsvg-convert rsvg
6096 # Extract the first word of "$ac_prog", so it can be a program name with args.
6097 set dummy $ac_prog; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_RSVG+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$RSVG"; then
6104 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_RSVG="$ac_prog"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 RSVG=$ac_cv_prog_RSVG
6124 if test -n "$RSVG"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6126 $as_echo "$RSVG" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6133 test -n "$RSVG" && break
6134 done
6135 test -n "$RSVG" || RSVG="false"
6137 for ac_prog in convert
6139 # Extract the first word of "$ac_prog", so it can be a program name with args.
6140 set dummy $ac_prog; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_CONVERT+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -n "$CONVERT"; then
6147 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_CONVERT="$ac_prog"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 CONVERT=$ac_cv_prog_CONVERT
6167 if test -n "$CONVERT"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6169 $as_echo "$CONVERT" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6176 test -n "$CONVERT" && break
6177 done
6178 test -n "$CONVERT" || CONVERT="false"
6180 for ac_prog in icotool
6182 # Extract the first word of "$ac_prog", so it can be a program name with args.
6183 set dummy $ac_prog; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if ${ac_cv_prog_ICOTOOL+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$ICOTOOL"; then
6190 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_ICOTOOL="$ac_prog"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 ICOTOOL=$ac_cv_prog_ICOTOOL
6210 if test -n "$ICOTOOL"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6212 $as_echo "$ICOTOOL" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6219 test -n "$ICOTOOL" && break
6220 done
6221 test -n "$ICOTOOL" || ICOTOOL="false"
6223 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6224 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6226 if test "$CONVERT" = false
6227 then
6228 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6229 else
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6231 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6232 convert_version=`convert --version | head -n1`
6233 if test "x$convert_version" != "x"
6234 then
6235 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6236 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6237 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6238 then
6239 CONVERT=false
6242 if test "$CONVERT" = false
6243 then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6245 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6246 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6249 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6253 if test "$ICOTOOL" = false
6254 then
6255 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6258 $as_echo_n "checking for recent enough icotool... " >&6; }
6259 icotool_version=`icotool --version | head -n1`
6260 if test "x$icotool_version" != "x"
6261 then
6262 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6263 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6264 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6265 then
6266 ICOTOOL=false
6267 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6270 if test "$ICOTOOL" = false
6271 then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6273 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6274 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6275 else
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6277 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6281 with_gettext=yes
6282 with_gettextpo=yes
6283 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6286 test "x$with_gettext" != xno || MSGFMT=false
6287 if test "$MSGFMT" != "false"
6288 then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6290 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6291 cat >conftest.po <<EOF
6292 # comment
6293 msgctxt "ctxt"
6294 msgid "id"
6295 msgstr "str"
6297 if $MSGFMT -o /dev/null conftest.po 2>&5
6298 then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6300 $as_echo "yes" >&6; }
6301 else
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6304 MSGFMT=false
6307 if test "$MSGFMT" = false; then :
6308 case "x$with_gettext" in
6309 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6310 xno) ;;
6311 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6312 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6313 esac
6314 enable_po=${enable_po:-no}
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6319 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6320 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 ac_check_lib_save_LIBS=$LIBS
6324 LIBS="-li386 $LIBS"
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6328 /* Override any GCC internal prototype to avoid an error.
6329 Use char because int might match the return type of a GCC
6330 builtin and then its argument prototype would still apply. */
6331 #ifdef __cplusplus
6332 extern "C"
6333 #endif
6334 char i386_set_ldt ();
6336 main ()
6338 return i386_set_ldt ();
6340 return 0;
6342 _ACEOF
6343 if ac_fn_c_try_link "$LINENO"; then :
6344 ac_cv_lib_i386_i386_set_ldt=yes
6345 else
6346 ac_cv_lib_i386_i386_set_ldt=no
6348 rm -f core conftest.err conftest.$ac_objext \
6349 conftest$ac_exeext conftest.$ac_ext
6350 LIBS=$ac_check_lib_save_LIBS
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6353 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6354 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6355 cat >>confdefs.h <<_ACEOF
6356 #define HAVE_LIBI386 1
6357 _ACEOF
6359 LIBS="-li386 $LIBS"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6364 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6365 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6366 $as_echo_n "(cached) " >&6
6367 else
6368 ac_check_lib_save_LIBS=$LIBS
6369 LIBS="-lossaudio $LIBS"
6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371 /* end confdefs.h. */
6373 /* Override any GCC internal prototype to avoid an error.
6374 Use char because int might match the return type of a GCC
6375 builtin and then its argument prototype would still apply. */
6376 #ifdef __cplusplus
6377 extern "C"
6378 #endif
6379 char _oss_ioctl ();
6381 main ()
6383 return _oss_ioctl ();
6385 return 0;
6387 _ACEOF
6388 if ac_fn_c_try_link "$LINENO"; then :
6389 ac_cv_lib_ossaudio__oss_ioctl=yes
6390 else
6391 ac_cv_lib_ossaudio__oss_ioctl=no
6393 rm -f core conftest.err conftest.$ac_objext \
6394 conftest$ac_exeext conftest.$ac_ext
6395 LIBS=$ac_check_lib_save_LIBS
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6398 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6399 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6400 cat >>confdefs.h <<_ACEOF
6401 #define HAVE_LIBOSSAUDIO 1
6402 _ACEOF
6404 LIBS="-lossaudio $LIBS"
6409 OPENGL_LIBS=""
6413 # Check whether --enable-largefile was given.
6414 if test "${enable_largefile+set}" = set; then :
6415 enableval=$enable_largefile;
6418 if test "$enable_largefile" != no; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6421 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6422 if ${ac_cv_sys_largefile_CC+:} false; then :
6423 $as_echo_n "(cached) " >&6
6424 else
6425 ac_cv_sys_largefile_CC=no
6426 if test "$GCC" != yes; then
6427 ac_save_CC=$CC
6428 while :; do
6429 # IRIX 6.2 and later do not support large files by default,
6430 # so use the C compiler's -n32 option if that helps.
6431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432 /* end confdefs.h. */
6433 #include <sys/types.h>
6434 /* Check that off_t can represent 2**63 - 1 correctly.
6435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6436 since some C++ compilers masquerading as C compilers
6437 incorrectly reject 9223372036854775807. */
6438 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6440 && LARGE_OFF_T % 2147483647 == 1)
6441 ? 1 : -1];
6443 main ()
6447 return 0;
6449 _ACEOF
6450 if ac_fn_c_try_compile "$LINENO"; then :
6451 break
6453 rm -f core conftest.err conftest.$ac_objext
6454 CC="$CC -n32"
6455 if ac_fn_c_try_compile "$LINENO"; then :
6456 ac_cv_sys_largefile_CC=' -n32'; break
6458 rm -f core conftest.err conftest.$ac_objext
6459 break
6460 done
6461 CC=$ac_save_CC
6462 rm -f conftest.$ac_ext
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6466 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6467 if test "$ac_cv_sys_largefile_CC" != no; then
6468 CC=$CC$ac_cv_sys_largefile_CC
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6472 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6473 if ${ac_cv_sys_file_offset_bits+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 while :; do
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #include <sys/types.h>
6480 /* Check that off_t can represent 2**63 - 1 correctly.
6481 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6482 since some C++ compilers masquerading as C compilers
6483 incorrectly reject 9223372036854775807. */
6484 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6485 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6486 && LARGE_OFF_T % 2147483647 == 1)
6487 ? 1 : -1];
6489 main ()
6493 return 0;
6495 _ACEOF
6496 if ac_fn_c_try_compile "$LINENO"; then :
6497 ac_cv_sys_file_offset_bits=no; break
6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 #define _FILE_OFFSET_BITS 64
6503 #include <sys/types.h>
6504 /* Check that off_t can represent 2**63 - 1 correctly.
6505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6506 since some C++ compilers masquerading as C compilers
6507 incorrectly reject 9223372036854775807. */
6508 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6510 && LARGE_OFF_T % 2147483647 == 1)
6511 ? 1 : -1];
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 ac_cv_sys_file_offset_bits=64; break
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 ac_cv_sys_file_offset_bits=unknown
6525 break
6526 done
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6529 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6530 case $ac_cv_sys_file_offset_bits in #(
6531 no | unknown) ;;
6533 cat >>confdefs.h <<_ACEOF
6534 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6535 _ACEOF
6537 esac
6538 rm -rf conftest*
6539 if test $ac_cv_sys_file_offset_bits = unknown; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6541 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6542 if ${ac_cv_sys_large_files+:} false; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 while :; do
6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h. */
6548 #include <sys/types.h>
6549 /* Check that off_t can represent 2**63 - 1 correctly.
6550 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6551 since some C++ compilers masquerading as C compilers
6552 incorrectly reject 9223372036854775807. */
6553 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6554 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6555 && LARGE_OFF_T % 2147483647 == 1)
6556 ? 1 : -1];
6558 main ()
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_sys_large_files=no; break
6568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #define _LARGE_FILES 1
6572 #include <sys/types.h>
6573 /* Check that off_t can represent 2**63 - 1 correctly.
6574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6575 since some C++ compilers masquerading as C compilers
6576 incorrectly reject 9223372036854775807. */
6577 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6579 && LARGE_OFF_T % 2147483647 == 1)
6580 ? 1 : -1];
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_sys_large_files=1; break
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 ac_cv_sys_large_files=unknown
6594 break
6595 done
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6598 $as_echo "$ac_cv_sys_large_files" >&6; }
6599 case $ac_cv_sys_large_files in #(
6600 no | unknown) ;;
6602 cat >>confdefs.h <<_ACEOF
6603 #define _LARGE_FILES $ac_cv_sys_large_files
6604 _ACEOF
6606 esac
6607 rm -rf conftest*
6614 ac_ext=c
6615 ac_cpp='$CPP $CPPFLAGS'
6616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6621 # On Suns, sometimes $CPP names a directory.
6622 if test -n "$CPP" && test -d "$CPP"; then
6623 CPP=
6625 if test -z "$CPP"; then
6626 if ${ac_cv_prog_CPP+:} false; then :
6627 $as_echo_n "(cached) " >&6
6628 else
6629 # Double quotes because CPP needs to be expanded
6630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6632 ac_preproc_ok=false
6633 for ac_c_preproc_warn_flag in '' yes
6635 # Use a header file that comes with gcc, so configuring glibc
6636 # with a fresh cross-compiler works.
6637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6638 # <limits.h> exists even on freestanding compilers.
6639 # On the NeXT, cc -E runs the code through the compiler's parser,
6640 # not just through cpp. "Syntax error" is here to catch this case.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #ifdef __STDC__
6644 # include <limits.h>
6645 #else
6646 # include <assert.h>
6647 #endif
6648 Syntax error
6649 _ACEOF
6650 if ac_fn_c_try_cpp "$LINENO"; then :
6652 else
6653 # Broken: fails on valid input.
6654 continue
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 # OK, works on sane cases. Now check whether nonexistent headers
6659 # can be detected and how.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <ac_nonexistent.h>
6663 _ACEOF
6664 if ac_fn_c_try_cpp "$LINENO"; then :
6665 # Broken: success on invalid input.
6666 continue
6667 else
6668 # Passes both tests.
6669 ac_preproc_ok=:
6670 break
6672 rm -f conftest.err conftest.i conftest.$ac_ext
6674 done
6675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6676 rm -f conftest.i conftest.err conftest.$ac_ext
6677 if $ac_preproc_ok; then :
6678 break
6681 done
6682 ac_cv_prog_CPP=$CPP
6685 CPP=$ac_cv_prog_CPP
6686 else
6687 ac_cv_prog_CPP=$CPP
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6690 $as_echo "$CPP" >&6; }
6691 ac_preproc_ok=false
6692 for ac_c_preproc_warn_flag in '' yes
6694 # Use a header file that comes with gcc, so configuring glibc
6695 # with a fresh cross-compiler works.
6696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6697 # <limits.h> exists even on freestanding compilers.
6698 # On the NeXT, cc -E runs the code through the compiler's parser,
6699 # not just through cpp. "Syntax error" is here to catch this case.
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702 #ifdef __STDC__
6703 # include <limits.h>
6704 #else
6705 # include <assert.h>
6706 #endif
6707 Syntax error
6708 _ACEOF
6709 if ac_fn_c_try_cpp "$LINENO"; then :
6711 else
6712 # Broken: fails on valid input.
6713 continue
6715 rm -f conftest.err conftest.i conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether nonexistent headers
6718 # can be detected and how.
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 #include <ac_nonexistent.h>
6722 _ACEOF
6723 if ac_fn_c_try_cpp "$LINENO"; then :
6724 # Broken: success on invalid input.
6725 continue
6726 else
6727 # Passes both tests.
6728 ac_preproc_ok=:
6729 break
6731 rm -f conftest.err conftest.i conftest.$ac_ext
6733 done
6734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6735 rm -f conftest.i conftest.err conftest.$ac_ext
6736 if $ac_preproc_ok; then :
6738 else
6739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6741 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6742 See \`config.log' for more details" "$LINENO" 5; }
6745 ac_ext=c
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6753 $as_echo_n "checking for ANSI C header files... " >&6; }
6754 if ${ac_cv_header_stdc+:} false; then :
6755 $as_echo_n "(cached) " >&6
6756 else
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6759 #include <stdlib.h>
6760 #include <stdarg.h>
6761 #include <string.h>
6762 #include <float.h>
6765 main ()
6769 return 0;
6771 _ACEOF
6772 if ac_fn_c_try_compile "$LINENO"; then :
6773 ac_cv_header_stdc=yes
6774 else
6775 ac_cv_header_stdc=no
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6779 if test $ac_cv_header_stdc = yes; then
6780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6783 #include <string.h>
6785 _ACEOF
6786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6787 $EGREP "memchr" >/dev/null 2>&1; then :
6789 else
6790 ac_cv_header_stdc=no
6792 rm -f conftest*
6796 if test $ac_cv_header_stdc = yes; then
6797 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6800 #include <stdlib.h>
6802 _ACEOF
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "free" >/dev/null 2>&1; then :
6806 else
6807 ac_cv_header_stdc=no
6809 rm -f conftest*
6813 if test $ac_cv_header_stdc = yes; then
6814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6815 if test "$cross_compiling" = yes; then :
6817 else
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 #include <ctype.h>
6821 #include <stdlib.h>
6822 #if ((' ' & 0x0FF) == 0x020)
6823 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6824 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6825 #else
6826 # define ISLOWER(c) \
6827 (('a' <= (c) && (c) <= 'i') \
6828 || ('j' <= (c) && (c) <= 'r') \
6829 || ('s' <= (c) && (c) <= 'z'))
6830 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6831 #endif
6833 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6835 main ()
6837 int i;
6838 for (i = 0; i < 256; i++)
6839 if (XOR (islower (i), ISLOWER (i))
6840 || toupper (i) != TOUPPER (i))
6841 return 2;
6842 return 0;
6844 _ACEOF
6845 if ac_fn_c_try_run "$LINENO"; then :
6847 else
6848 ac_cv_header_stdc=no
6850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6851 conftest.$ac_objext conftest.beam conftest.$ac_ext
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6857 $as_echo "$ac_cv_header_stdc" >&6; }
6858 if test $ac_cv_header_stdc = yes; then
6860 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6866 inttypes.h stdint.h unistd.h
6867 do :
6868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 _ACEOF
6878 done
6881 for ac_header in \
6882 AL/al.h \
6883 ApplicationServices/ApplicationServices.h \
6884 AudioToolbox/AudioConverter.h \
6885 AudioUnit/AudioUnit.h \
6886 AudioUnit/AudioComponent.h \
6887 CL/cl.h \
6888 Carbon/Carbon.h \
6889 CommonCrypto/CommonDigest.h \
6890 CoreAudio/CoreAudio.h \
6891 CoreServices/CoreServices.h \
6892 DiskArbitration/DiskArbitration.h \
6893 EGL/egl.h \
6894 IOKit/IOKitLib.h \
6895 IOKit/hid/IOHIDLib.h \
6896 OpenAL/al.h \
6897 OpenCL/opencl.h \
6898 QuickTime/ImageCompression.h \
6899 Security/Security.h \
6900 alias.h \
6901 alsa/asoundlib.h \
6902 arpa/inet.h \
6903 arpa/nameser.h \
6904 asm/types.h \
6905 asm/user.h \
6906 curses.h \
6907 direct.h \
6908 dirent.h \
6909 dlfcn.h \
6910 elf.h \
6911 float.h \
6912 fnmatch.h \
6913 getopt.h \
6914 gettext-po.h \
6915 grp.h \
6916 gsm.h \
6917 gsm/gsm.h \
6918 ieeefp.h \
6919 inet/mib2.h \
6920 io.h \
6921 kstat.h \
6922 libproc.h \
6923 link.h \
6924 linux/cdrom.h \
6925 linux/compiler.h \
6926 linux/filter.h \
6927 linux/hdreg.h \
6928 linux/hidraw.h \
6929 linux/input.h \
6930 linux/ioctl.h \
6931 linux/joystick.h \
6932 linux/major.h \
6933 linux/param.h \
6934 linux/serial.h \
6935 linux/types.h \
6936 linux/ucdrom.h \
6937 lwp.h \
6938 mach-o/nlist.h \
6939 mach-o/loader.h \
6940 mach/mach.h \
6941 mach/machine.h \
6942 machine/cpu.h \
6943 machine/limits.h \
6944 machine/sysarch.h \
6945 mntent.h \
6946 ncurses.h \
6947 netdb.h \
6948 netinet/in.h \
6949 netinet/in_systm.h \
6950 netinet/tcp.h \
6951 netinet/tcp_fsm.h \
6952 pcap/pcap.h \
6953 poll.h \
6954 port.h \
6955 process.h \
6956 pthread.h \
6957 pwd.h \
6958 sched.h \
6959 scsi/scsi.h \
6960 scsi/scsi_ioctl.h \
6961 scsi/sg.h \
6962 stdbool.h \
6963 stdint.h \
6964 stropts.h \
6965 sys/asoundlib.h \
6966 sys/attr.h \
6967 sys/auxv.h \
6968 sys/cdio.h \
6969 sys/elf32.h \
6970 sys/epoll.h \
6971 sys/event.h \
6972 sys/exec_elf.h \
6973 sys/filio.h \
6974 sys/inotify.h \
6975 sys/ioctl.h \
6976 sys/ipc.h \
6977 sys/limits.h \
6978 sys/link.h \
6979 sys/mman.h \
6980 sys/modem.h \
6981 sys/msg.h \
6982 sys/mtio.h \
6983 sys/param.h \
6984 sys/poll.h \
6985 sys/prctl.h \
6986 sys/protosw.h \
6987 sys/ptrace.h \
6988 sys/queue.h \
6989 sys/resource.h \
6990 sys/scsiio.h \
6991 sys/shm.h \
6992 sys/signal.h \
6993 sys/socket.h \
6994 sys/socketvar.h \
6995 sys/sockio.h \
6996 sys/statvfs.h \
6997 sys/strtio.h \
6998 sys/syscall.h \
6999 sys/sysinfo.h \
7000 sys/tihdr.h \
7001 sys/time.h \
7002 sys/timeout.h \
7003 sys/times.h \
7004 sys/uio.h \
7005 sys/user.h \
7006 sys/utsname.h \
7007 sys/vm86.h \
7008 sys/vnode.h \
7009 sys/wait.h \
7010 syscall.h \
7011 termios.h \
7012 unistd.h \
7013 utime.h \
7014 valgrind/memcheck.h \
7015 valgrind/valgrind.h \
7016 zlib.h
7018 do :
7019 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7020 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7022 cat >>confdefs.h <<_ACEOF
7023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7024 _ACEOF
7028 done
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7031 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7032 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7033 $as_echo_n "(cached) " >&6
7034 else
7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7037 #include <sys/types.h>
7039 main ()
7041 return makedev(0, 0);
7043 return 0;
7045 _ACEOF
7046 if ac_fn_c_try_link "$LINENO"; then :
7047 ac_cv_header_sys_types_h_makedev=yes
7048 else
7049 ac_cv_header_sys_types_h_makedev=no
7051 rm -f core conftest.err conftest.$ac_objext \
7052 conftest$ac_exeext conftest.$ac_ext
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7056 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7058 if test $ac_cv_header_sys_types_h_makedev = no; then
7059 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7060 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7062 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7068 if test $ac_cv_header_sys_mkdev_h = no; then
7069 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7070 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7072 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7081 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7082 if ${ac_cv_header_stat_broken+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7086 /* end confdefs.h. */
7087 #include <sys/types.h>
7088 #include <sys/stat.h>
7090 #if defined S_ISBLK && defined S_IFDIR
7091 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7092 #endif
7094 #if defined S_ISBLK && defined S_IFCHR
7095 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7096 #endif
7098 #if defined S_ISLNK && defined S_IFREG
7099 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7100 #endif
7102 #if defined S_ISSOCK && defined S_IFREG
7103 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7104 #endif
7106 _ACEOF
7107 if ac_fn_c_try_compile "$LINENO"; then :
7108 ac_cv_header_stat_broken=no
7109 else
7110 ac_cv_header_stat_broken=yes
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7115 $as_echo "$ac_cv_header_stat_broken" >&6; }
7116 if test $ac_cv_header_stat_broken = yes; then
7118 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7124 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7125 do :
7126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7128 #ifdef HAVE_SYS_PARAM_H
7129 # include <sys/param.h>
7130 #endif
7132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7135 _ACEOF
7139 done
7142 for ac_header in \
7143 netinet/ip.h \
7144 net/if.h \
7145 net/if_arp.h \
7146 net/if_dl.h \
7147 net/if_types.h \
7148 net/route.h \
7149 netinet/if_ether.h \
7150 netinet/if_inarp.h \
7151 netinet/in_pcb.h \
7152 netinet/ip_icmp.h \
7153 netinet/ip_var.h \
7154 netinet/udp.h \
7155 netipx/ipx.h \
7156 sys/un.h \
7158 do :
7159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7161 #ifdef HAVE_SYS_SOCKET_H
7162 # include <sys/socket.h>
7163 #endif
7164 #ifdef HAVE_SYS_SOCKETVAR_H
7165 # include <sys/socketvar.h>
7166 #endif
7167 #ifdef HAVE_NET_ROUTE_H
7168 # include <net/route.h>
7169 #endif
7170 #ifdef HAVE_NETINET_IN_H
7171 # include <netinet/in.h>
7172 #endif
7173 #ifdef HAVE_NETINET_IN_SYSTM_H
7174 # include <netinet/in_systm.h>
7175 #endif
7176 #ifdef HAVE_NET_IF_H
7177 # include <net/if.h>
7178 #endif
7179 #ifdef HAVE_NETINET_IP_H
7180 # include <netinet/ip.h>
7181 #endif
7183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7184 cat >>confdefs.h <<_ACEOF
7185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7186 _ACEOF
7190 done
7193 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7194 do :
7195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7196 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7197 #ifdef HAVE_ALIAS_H
7198 # include <alias.h>
7199 #endif
7200 #ifdef HAVE_SYS_SOCKET_H
7201 # include <sys/socket.h>
7202 #endif
7203 #ifdef HAVE_SYS_SOCKETVAR_H
7204 # include <sys/socketvar.h>
7205 #endif
7206 #ifdef HAVE_SYS_TIMEOUT_H
7207 # include <sys/timeout.h>
7208 #endif
7209 #ifdef HAVE_NETINET_IN_H
7210 # include <netinet/in.h>
7211 #endif
7212 #ifdef HAVE_NETINET_IN_SYSTM_H
7213 # include <netinet/in_systm.h>
7214 #endif
7215 #ifdef HAVE_NETINET_IP_H
7216 # include <netinet/ip.h>
7217 #endif
7218 #ifdef HAVE_NETINET_IP_VAR_H
7219 # include <netinet/ip_var.h>
7220 #endif
7221 #ifdef HAVE_NETINET_IP_ICMP_H
7222 # include <netinet/ip_icmp.h>
7223 #endif
7224 #ifdef HAVE_NETINET_UDP_H
7225 # include <netinet/udp.h>
7226 #endif
7227 #ifdef HAVE_NETINET_TCP_H
7228 # include <netinet/tcp.h>
7229 #endif
7230 #ifdef HAVE_NETINET_TCP_TIMER_H
7231 #include <netinet/tcp_timer.h>
7232 #endif
7234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 _ACEOF
7241 done
7244 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7245 do :
7246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7248 #ifdef HAVE_ASM_TYPES_H
7249 # include <asm/types.h>
7250 #endif
7251 #ifdef HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7253 #endif
7254 #ifdef HAVE_LINUX_TYPES_H
7255 # include <linux/types.h>
7256 #endif
7258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7265 done
7268 for ac_header in mach-o/dyld_images.h
7269 do :
7270 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7271 # include <stdbool.h>
7272 #endif
7273 #ifdef HAVE_STDINT_H
7274 # include <stdint.h>
7275 #endif
7277 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7278 cat >>confdefs.h <<_ACEOF
7279 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7280 _ACEOF
7284 done
7287 for ac_header in resolv.h
7288 do :
7289 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7290 #ifdef HAVE_SYS_SOCKET_H
7291 # include <sys/socket.h>
7292 #endif
7293 #ifdef HAVE_NETINET_IN_H
7294 # include <netinet/in.h>
7295 #endif
7296 #ifdef HAVE_ARPA_NAMESER_H
7297 # include <arpa/nameser.h>
7298 #endif
7300 if test "x$ac_cv_header_resolv_h" = xyes; then :
7301 cat >>confdefs.h <<_ACEOF
7302 #define HAVE_RESOLV_H 1
7303 _ACEOF
7307 done
7310 for ac_header in ifaddrs.h
7311 do :
7312 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7314 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_IFADDRS_H 1
7317 _ACEOF
7321 done
7324 for ac_header in sys/ucontext.h
7325 do :
7326 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7328 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_SYS_UCONTEXT_H 1
7331 _ACEOF
7335 done
7338 for ac_header in sys/thr.h
7339 do :
7340 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7341 #ifdef HAVE_SYS_UCONTEXT_H
7342 #include <sys/ucontext.h>
7343 #endif
7345 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_SYS_THR_H 1
7348 _ACEOF
7352 done
7355 for ac_header in pthread_np.h
7356 do :
7357 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7358 #include <pthread.h>
7359 #endif
7361 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7362 cat >>confdefs.h <<_ACEOF
7363 #define HAVE_PTHREAD_NP_H 1
7364 _ACEOF
7368 done
7371 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7372 do :
7373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7374 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7375 #include <sys/time.h>
7376 #endif
7377 #include <sys/types.h>
7378 #ifdef HAVE_ASM_TYPES_H
7379 #include <asm/types.h>
7380 #endif
7382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7385 _ACEOF
7389 done
7392 for ac_header in libprocstat.h
7393 do :
7394 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7395 #include <sys/param.h>
7396 #endif
7397 #ifdef HAVE_SYS_QUEUE_H
7398 #include <sys/queue.h>
7399 #endif
7400 #ifdef HAVE_SYS_SOCKET_H
7401 #include <sys/socket.h>
7402 #endif
7404 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7405 cat >>confdefs.h <<_ACEOF
7406 #define HAVE_LIBPROCSTAT_H 1
7407 _ACEOF
7411 done
7415 dlldir="\${libdir}/wine"
7417 DLLFLAGS="-D_REENTRANT"
7419 LDRPATH_INSTALL=""
7421 LDRPATH_LOCAL=""
7423 LDEXECFLAGS=""
7425 WINELOADER_LDFLAGS=""
7427 LIBEXT="so"
7428 DLLEXT=".so"
7429 IMPLIBEXT="def"
7430 # Extract the first word of "ldd", so it can be a program name with args.
7431 set dummy ldd; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_path_LDD+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 case $LDD in
7438 [\\/]* | ?:[\\/]*)
7439 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 as_dummy="/sbin:/usr/sbin:$PATH"
7444 for as_dir in $as_dummy
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7458 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7460 esac
7462 LDD=$ac_cv_path_LDD
7463 if test -n "$LDD"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7465 $as_echo "$LDD" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7472 if test -n "$ac_tool_prefix"; then
7473 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}otool; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_OTOOL+:} false; then :
7478 $as_echo_n "(cached) " >&6
7479 else
7480 if test -n "$OTOOL"; then
7481 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7486 IFS=$as_save_IFS
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 break 2
7494 done
7495 done
7496 IFS=$as_save_IFS
7500 OTOOL=$ac_cv_prog_OTOOL
7501 if test -n "$OTOOL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7503 $as_echo "$OTOOL" >&6; }
7504 else
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7511 if test -z "$ac_cv_prog_OTOOL"; then
7512 ac_ct_OTOOL=$OTOOL
7513 # Extract the first word of "otool", so it can be a program name with args.
7514 set dummy otool; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7518 $as_echo_n "(cached) " >&6
7519 else
7520 if test -n "$ac_ct_OTOOL"; then
7521 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7526 IFS=$as_save_IFS
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_prog_ac_ct_OTOOL="otool"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 break 2
7534 done
7535 done
7536 IFS=$as_save_IFS
7540 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7541 if test -n "$ac_ct_OTOOL"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7543 $as_echo "$ac_ct_OTOOL" >&6; }
7544 else
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7549 if test "x$ac_ct_OTOOL" = x; then
7550 OTOOL="otool"
7551 else
7552 case $cross_compiling:$ac_tool_warned in
7553 yes:)
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7557 esac
7558 OTOOL=$ac_ct_OTOOL
7560 else
7561 OTOOL="$ac_cv_prog_OTOOL"
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_READELF+:} false; then :
7570 $as_echo_n "(cached) " >&6
7571 else
7572 if test -n "$READELF"; then
7573 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7578 IFS=$as_save_IFS
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 break 2
7586 done
7587 done
7588 IFS=$as_save_IFS
7592 READELF=$ac_cv_prog_READELF
7593 if test -n "$READELF"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7595 $as_echo "$READELF" >&6; }
7596 else
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_READELF"; then
7604 ac_ct_READELF=$READELF
7605 # Extract the first word of "readelf", so it can be a program name with args.
7606 set dummy readelf; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 if test -n "$ac_ct_READELF"; then
7613 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7614 else
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 for as_dir in $PATH
7618 IFS=$as_save_IFS
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_ac_ct_READELF="readelf"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 break 2
7626 done
7627 done
7628 IFS=$as_save_IFS
7632 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7633 if test -n "$ac_ct_READELF"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7635 $as_echo "$ac_ct_READELF" >&6; }
7636 else
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_READELF" = x; then
7642 READELF="true"
7643 else
7644 case $cross_compiling:$ac_tool_warned in
7645 yes:)
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7649 esac
7650 READELF=$ac_ct_READELF
7652 else
7653 READELF="$ac_cv_prog_READELF"
7656 wine_rules_file=conf$$rules.make
7657 rm -f $wine_rules_file
7658 SUBDIRS=""
7660 DISABLED_SUBDIRS=""
7662 CONFIGURE_TARGETS=""
7664 ALL_TEST_RESOURCES=""
7667 wine_fn_append_file ()
7669 as_fn_append $1 " \\$as_nl $2"
7672 wine_fn_append_rule ()
7674 $as_echo "$1" >>$wine_rules_file
7677 wine_fn_has_flag ()
7679 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7682 wine_fn_all_rules ()
7684 wine_fn_append_file SUBDIRS $ac_dir
7685 wine_fn_append_rule \
7686 "all: $ac_dir
7687 .PHONY: $ac_dir
7688 $ac_dir: dummy
7689 @cd $ac_dir && \$(MAKE)"
7692 wine_fn_install_rules ()
7694 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7696 wine_fn_append_rule \
7697 ".PHONY: $ac_dir/install $ac_dir/uninstall
7698 $ac_dir/install:: $ac_dir
7699 @cd $ac_dir && \$(MAKE) install
7700 $ac_dir/uninstall::
7701 @cd $ac_dir && \$(MAKE) uninstall
7702 install:: $ac_dir/install
7703 __uninstall__: $ac_dir/uninstall"
7705 if wine_fn_has_flag install-lib
7706 then
7707 wine_fn_append_rule \
7708 ".PHONY: $ac_dir/install-lib
7709 $ac_dir/install-lib:: $ac_dir
7710 @cd $ac_dir && \$(MAKE) install-lib
7711 install-lib:: $ac_dir/install-lib"
7714 if wine_fn_has_flag install-dev
7715 then
7716 wine_fn_append_rule \
7717 ".PHONY: $ac_dir/install-dev
7718 $ac_dir/install-dev:: $ac_dir
7719 @cd $ac_dir && \$(MAKE) install-dev
7720 install-dev:: $ac_dir/install-dev"
7724 wine_fn_clean_rules ()
7726 ac_clean=$@
7728 if wine_fn_has_flag clean
7729 then
7730 wine_fn_append_rule \
7731 "$ac_dir/clean: dummy
7732 @cd $ac_dir && \$(MAKE) clean"
7733 else
7734 wine_fn_append_rule \
7735 "$ac_dir/clean: dummy
7736 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7738 wine_fn_append_rule \
7739 "__clean__: $ac_dir/clean
7740 .PHONY: $ac_dir/clean"
7743 wine_fn_disabled_rules ()
7745 ac_clean=$@
7747 wine_fn_append_file SUBDIRS $ac_dir
7748 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7749 wine_fn_append_rule \
7750 "__clean__: $ac_dir/clean
7751 .PHONY: $ac_dir/clean
7752 $ac_dir/clean: dummy
7753 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7756 wine_fn_config_makefile ()
7758 ac_dir=$1
7759 ac_enable=$2
7760 ac_flags=$3
7762 case $ac_dir in
7763 fonts|server) test -z "$with_wine64" || return ;;
7764 esac
7765 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7766 wine_fn_disabled_rules; return
7768 wine_fn_all_rules
7769 wine_fn_install_rules
7770 wine_fn_clean_rules
7773 wine_fn_config_lib ()
7775 ac_name=$1
7776 ac_flags=$2
7777 ac_dir=dlls/$ac_name
7778 ac_deps="include"
7780 if test "x$enable_tools" = xno; then :
7782 else
7783 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7785 wine_fn_all_rules
7786 wine_fn_clean_rules
7788 wine_fn_append_rule \
7789 ".PHONY: $ac_dir/install $ac_dir/uninstall
7790 $ac_dir/install:: $ac_dir
7791 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7792 $ac_dir/uninstall::
7793 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7794 install install-dev:: $ac_dir/install
7795 __uninstall__: $ac_dir/uninstall
7796 __builddeps__: $ac_dir
7797 $ac_dir: $ac_deps"
7800 wine_fn_config_dll ()
7802 ac_name=$1
7803 ac_dir=dlls/$ac_name
7804 ac_enable=$2
7805 ac_flags=$3
7806 ac_implib=${4:-$ac_name}
7807 ac_file=$ac_dir/lib$ac_implib
7808 ac_dll=$ac_name
7809 ac_deps="include"
7810 ac_implibflags=""
7812 if test "x$enable_tools" = xno; then :
7814 else
7815 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7817 case $ac_name in
7818 *.*16) ac_implibflags=" -m16" ;;
7819 *.*) ;;
7820 *) ac_dll=$ac_dll.dll ;;
7821 esac
7823 ac_clean=
7824 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7825 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7827 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7828 if test "$ac_enable" != enable_win16
7829 then
7830 wine_fn_clean_rules $ac_clean
7831 wine_fn_append_file SUBDIRS $ac_dir
7832 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7833 else
7834 wine_fn_disabled_rules $ac_clean
7835 return
7837 else
7838 wine_fn_all_rules
7839 wine_fn_clean_rules $ac_clean
7840 wine_fn_append_rule \
7841 "$ac_dir: __builddeps__
7842 manpages htmlpages sgmlpages xmlpages::
7843 @cd $ac_dir && \$(MAKE) \$@
7844 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7845 install install-lib:: $ac_dir/install-lib
7846 __uninstall__: $ac_dir/uninstall"
7847 if test -n "$DLLEXT"
7848 then
7849 wine_fn_append_rule \
7850 "$ac_dir/install-lib:: $ac_dir
7851 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7852 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7853 $ac_dir/uninstall::
7854 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7855 else
7856 wine_fn_append_rule \
7857 "$ac_dir/install-lib:: $ac_dir
7858 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7859 $ac_dir/uninstall::
7860 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7864 if wine_fn_has_flag staticimplib
7865 then
7866 wine_fn_append_rule \
7867 "__builddeps__: $ac_file.a
7868 $ac_file.a $ac_file.cross.a: $ac_deps
7869 $ac_file.a: dummy
7870 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7871 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7872 $ac_dir/install-dev:: $ac_file.a
7873 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7874 $ac_dir/uninstall::
7875 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7876 install install-dev:: $ac_dir/install-dev
7877 __uninstall__: $ac_dir/uninstall"
7879 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7880 then
7881 wine_fn_append_rule \
7882 "__builddeps__: $ac_file.cross.a
7883 $ac_file.cross.a: dummy
7884 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7887 elif wine_fn_has_flag implib
7888 then
7889 wine_fn_append_rule \
7890 "__builddeps__: $ac_file.$IMPLIBEXT
7891 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7892 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7893 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7894 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7895 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7896 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7897 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7900 install install-dev:: $ac_dir/install-dev
7901 __uninstall__: $ac_dir/uninstall"
7902 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7903 then
7904 wine_fn_append_rule \
7905 "__builddeps__: $ac_file.cross.a
7906 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7907 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7912 wine_fn_config_program ()
7914 ac_name=$1
7915 ac_dir=programs/$ac_name
7916 ac_enable=$2
7917 ac_flags=$3
7918 ac_program=$ac_name
7920 case $ac_name in
7921 *.*) ;;
7922 *) ac_program=$ac_program.exe ;;
7923 esac
7925 ac_clean=
7926 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7927 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7929 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7930 wine_fn_disabled_rules $ac_clean; return
7933 wine_fn_all_rules
7934 wine_fn_clean_rules $ac_clean
7935 wine_fn_append_rule "$ac_dir: __builddeps__"
7937 wine_fn_has_flag install || return
7938 wine_fn_append_rule \
7939 ".PHONY: $ac_dir/install $ac_dir/uninstall
7940 install install-lib:: $ac_dir/install
7941 __uninstall__: $ac_dir/uninstall"
7943 if test -n "$DLLEXT"
7944 then
7945 wine_fn_append_rule \
7946 "$ac_dir/install:: $ac_dir
7947 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7948 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7949 $ac_dir/uninstall::
7950 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7952 if test -z "$with_wine64" && wine_fn_has_flag installbin
7953 then
7954 wine_fn_append_rule \
7955 "$ac_dir/install:: __tooldeps__
7956 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7957 $ac_dir/uninstall::
7958 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7960 else
7961 wine_fn_append_rule \
7962 "$ac_dir/install:: $ac_dir
7963 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7964 $ac_dir/uninstall::
7965 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7968 if test -z "$with_wine64" && wine_fn_has_flag manpage
7969 then
7970 wine_fn_append_rule \
7971 "$ac_dir/install:: $ac_dir
7972 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7973 $ac_dir/uninstall::
7974 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7978 wine_fn_config_test ()
7980 ac_dir=$1
7981 ac_name=$2
7982 ac_flags=$3
7984 ac_clean=
7985 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7986 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7988 if test "x$enable_tests" = xno; then :
7989 wine_fn_disabled_rules $ac_clean; return
7992 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7993 wine_fn_all_rules
7994 wine_fn_clean_rules $ac_clean
7996 wine_fn_append_rule \
7997 "$ac_dir: __builddeps__
7998 programs/winetest: $ac_dir
7999 check test: $ac_dir/test
8000 .PHONY: $ac_dir/test
8001 $ac_dir/test: dummy
8002 @cd $ac_dir && \$(MAKE) test
8003 testclean::
8004 \$(RM) $ac_dir/*.ok"
8006 if test -n "$CROSSTARGET"
8007 then
8008 wine_fn_append_rule \
8009 "crosstest: $ac_dir/crosstest
8010 .PHONY: $ac_dir/crosstest
8011 $ac_dir/crosstest: __builddeps__ dummy
8012 @cd $ac_dir && \$(MAKE) crosstest"
8016 wine_fn_config_tool ()
8018 ac_dir=$1
8019 ac_flags=$2
8020 if test "x$enable_tools" = xno; then :
8021 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8024 wine_fn_all_rules
8025 wine_fn_install_rules
8026 wine_fn_clean_rules
8028 wine_fn_append_rule "__tooldeps__: $ac_dir"
8029 wine_fn_append_rule "$ac_dir: libs/port"
8030 case $ac_dir in
8031 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8032 esac
8035 wine_fn_config_symlink ()
8037 ac_linkdir=
8038 if test "x$1" = "x-d"
8039 then
8040 ac_linkdir=$2
8041 shift; shift
8043 ac_links=$@
8044 wine_fn_append_rule \
8045 "$ac_links:
8046 @./config.status \$@"
8047 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8048 test -n "$ac_linkdir" || return
8049 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8052 wine_binary="wine"
8053 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8054 WINELOADER_PROGRAMS="$wine_binary"
8056 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8058 case $host_os in
8059 cygwin*|mingw32*)
8060 if test -n "$ac_tool_prefix"; then
8061 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8062 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_DLLTOOL+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 if test -n "$DLLTOOL"; then
8069 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8074 IFS=$as_save_IFS
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 break 2
8082 done
8083 done
8084 IFS=$as_save_IFS
8088 DLLTOOL=$ac_cv_prog_DLLTOOL
8089 if test -n "$DLLTOOL"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8091 $as_echo "$DLLTOOL" >&6; }
8092 else
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8099 if test -z "$ac_cv_prog_DLLTOOL"; then
8100 ac_ct_DLLTOOL=$DLLTOOL
8101 # Extract the first word of "dlltool", so it can be a program name with args.
8102 set dummy dlltool; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8106 $as_echo_n "(cached) " >&6
8107 else
8108 if test -n "$ac_ct_DLLTOOL"; then
8109 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8114 IFS=$as_save_IFS
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120 break 2
8122 done
8123 done
8124 IFS=$as_save_IFS
8128 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8129 if test -n "$ac_ct_DLLTOOL"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8131 $as_echo "$ac_ct_DLLTOOL" >&6; }
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8137 if test "x$ac_ct_DLLTOOL" = x; then
8138 DLLTOOL="false"
8139 else
8140 case $cross_compiling:$ac_tool_warned in
8141 yes:)
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8144 ac_tool_warned=yes ;;
8145 esac
8146 DLLTOOL=$ac_ct_DLLTOOL
8148 else
8149 DLLTOOL="$ac_cv_prog_DLLTOOL"
8152 LIBEXT="dll"
8153 DLLEXT=""
8154 IMPLIBEXT="a"
8155 enable_iphlpapi=${enable_iphlpapi:-no}
8156 enable_kernel32=${enable_kernel32:-no}
8157 enable_msvcrt=${enable_msvcrt:-no}
8158 enable_ntdll=${enable_ntdll:-no}
8159 enable_ws2_32=${enable_ws2_32:-no}
8160 enable_loader=${enable_loader:-no}
8161 enable_server=${enable_server:-no}
8162 with_x=${with_x:-no}
8163 with_pthread=${with_pthread:-no}
8165 crtlibs=""
8166 case $host_os in
8167 mingw32*)
8168 crtlibs="-lmsvcrt"
8169 SOCKET_LIBS="-lws2_32"
8171 esac
8173 LIBWINE_SHAREDLIB="libwine.dll"
8175 LIBWINE_IMPORTLIB="libwine.a"
8177 LIBWINE_INSTALL_LIB="libwine.dll"
8179 LIBWINE_INSTALL_DEV="libwine.a"
8181 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8183 LIBWINE_DEPENDS="wine.def"
8187 darwin*|macosx*)
8188 for ac_header in libunwind.h
8189 do :
8190 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_LIBUNWIND_H 1
8194 _ACEOF
8198 done
8200 LIBEXT="dylib"
8201 DLLFLAGS="$DLLFLAGS -fPIC"
8202 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8203 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8204 COREFOUNDATION_LIBS="-framework CoreFoundation"
8206 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8208 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8210 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8212 CORESERVICES_LIBS="-framework CoreServices"
8214 APPKIT_LIBS="-framework AppKit"
8216 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8218 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8219 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 ac_wine_try_cflags_saved=$CFLAGS
8223 CFLAGS="$CFLAGS -Wl,-no_pie"
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8226 int main(int argc, char **argv) { return 0; }
8227 _ACEOF
8228 if ac_fn_c_try_link "$LINENO"; then :
8229 ac_cv_cflags__Wl__no_pie=yes
8230 else
8231 ac_cv_cflags__Wl__no_pie=no
8233 rm -f core conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 CFLAGS=$ac_wine_try_cflags_saved
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8238 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8239 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8240 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8242 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8243 then
8244 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8247 if test "$ac_cv_header_Security_Security_h" = "yes"
8248 then
8249 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8251 ac_save_LIBS="$LIBS"
8252 LIBS="$LIBS $SECURITY_LIBS"
8253 for ac_func in SSLCopyPeerCertificates
8254 do :
8255 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8256 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8257 cat >>confdefs.h <<_ACEOF
8258 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8259 _ACEOF
8262 done
8264 LIBS="$ac_save_LIBS"
8265 with_gnutls=${with_gnutls:-no}
8267 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8268 then
8269 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8270 then
8271 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8273 else
8274 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8277 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8278 ac_save_LIBS="$LIBS"
8279 LIBS="$LIBS $COREAUDIO_LIBS"
8280 for ac_func in AUGraphAddNode
8281 do :
8282 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8283 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8284 cat >>confdefs.h <<_ACEOF
8285 #define HAVE_AUGRAPHADDNODE 1
8286 _ACEOF
8289 done
8291 LIBS="$ac_save_LIBS"
8293 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8294 then
8295 OPENAL_LIBS="-framework OpenAL"
8298 cat >>confdefs.h <<_ACEOF
8299 #define HAVE_OPENAL 1
8300 _ACEOF
8302 ac_cv_lib_openal=yes
8304 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8305 then
8306 OPENCL_LIBS="-framework OpenCL"
8308 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8310 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8311 then
8312 ac_save_LIBS="$LIBS"
8313 LIBS="$LIBS $IOKIT_LIBS"
8314 for ac_func in IOHIDManagerCreate
8315 do :
8316 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8317 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8318 cat >>confdefs.h <<_ACEOF
8319 #define HAVE_IOHIDMANAGERCREATE 1
8320 _ACEOF
8323 done
8325 LIBS="$ac_save_LIBS"
8327 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8328 then
8329 ac_save_LIBS="$LIBS"
8330 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8332 $as_echo_n "checking for the QuickTime framework... " >&6; }
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 #include <QuickTime/ImageCompression.h>
8337 main ()
8339 CodecManagerVersion(NULL);
8341 return 0;
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8346 $as_echo "yes" >&6; }
8347 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8349 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8350 else
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8353 ac_cv_header_QuickTime_ImageCompression_h=no
8355 rm -f core conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LIBS="$ac_save_LIBS"
8359 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8360 then
8361 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8363 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8364 then
8365 CARBON_LIBS="-framework Carbon"
8369 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8370 then
8371 ac_save_LIBS="$LIBS"
8372 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8373 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8374 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8375 enable_winemac_drv=${enable_winemac_drv:-yes}
8378 LIBS="$ac_save_LIBS"
8381 if test "x$enable_win16" = "xyes"
8382 then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8384 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8385 if test "$cross_compiling" = yes; then :
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8387 $as_echo "cross-compiling, assuming yes" >&6; }
8388 else
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 asm(".text\n"
8392 "bad:\tnop;nop\n"
8393 "good:\tnop;nop\n\t"
8394 ".globl _testfunc\n"
8395 "_testfunc:\tcallw good");
8396 extern void testfunc();
8398 main ()
8400 unsigned short *p = (unsigned short *)testfunc;
8401 return p[0] != 0xe866 || p[1] != 0xfffa
8403 return 0;
8405 _ACEOF
8406 if ac_fn_c_try_run "$LINENO"; then :
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8408 $as_echo "yes" >&6; }
8409 else
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8412 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
8414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8415 conftest.$ac_objext conftest.beam conftest.$ac_ext
8420 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8422 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8424 LIBWINE_INSTALL_DEV="libwine.dylib"
8426 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8428 WINELOADER_DEPENDS="wine_info.plist"
8432 linux-android*)
8433 DLLFLAGS="$DLLFLAGS -fPIC"
8434 LDEXECFLAGS="-Wl,-pie"
8435 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8437 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8438 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 int main(int argc, char **argv) { return 0; }
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8449 else
8450 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8457 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8458 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8459 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8461 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8463 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8464 if eval \${$as_ac_var+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 eval "$as_ac_var=yes"
8475 else
8476 eval "$as_ac_var=no"
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 eval ac_res=\$$as_ac_var
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8484 $as_echo "$ac_res" >&6; }
8485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8486 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8487 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8488 else
8489 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8491 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8492 if eval \${$as_ac_var+:} false; then :
8493 $as_echo_n "(cached) " >&6
8494 else
8495 ac_wine_try_cflags_saved=$CFLAGS
8496 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 int main(int argc, char **argv) { return 0; }
8500 _ACEOF
8501 if ac_fn_c_try_link "$LINENO"; then :
8502 eval "$as_ac_var=yes"
8503 else
8504 eval "$as_ac_var=no"
8506 rm -f core conftest.err conftest.$ac_objext \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 eval ac_res=\$$as_ac_var
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8512 $as_echo "$ac_res" >&6; }
8513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8514 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8515 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8519 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8520 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8527 int main(int argc, char **argv) { return 0; }
8528 _ACEOF
8529 if ac_fn_c_try_link "$LINENO"; then :
8530 ac_cv_cflags__Wl___enable_new_dtags=yes
8531 else
8532 ac_cv_cflags__Wl___enable_new_dtags=no
8534 rm -f core conftest.err conftest.$ac_objext \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8539 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8540 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8541 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8544 LIBWINE_SHAREDLIB="libwine.so"
8546 LIBWINE_INSTALL_LIB="libwine.so"
8548 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8552 $as_echo_n "checking for -lEGL... " >&6; }
8553 if ${ac_cv_lib_soname_EGL+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_check_soname_save_LIBS=$LIBS
8557 LIBS="-lEGL $LIBS"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8561 /* Override any GCC internal prototype to avoid an error.
8562 Use char because int might match the return type of a GCC
8563 builtin and then its argument prototype would still apply. */
8564 #ifdef __cplusplus
8565 extern "C"
8566 #endif
8567 char eglGetProcAddress ();
8569 main ()
8571 return eglGetProcAddress ();
8573 return 0;
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 case "$LIBEXT" in
8578 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8579 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'` ;;
8580 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8581 if ${ac_cv_lib_soname_EGL:+false} :; then :
8582 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8583 fi ;;
8584 esac
8586 rm -f core conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8588 LIBS=$ac_check_soname_save_LIBS
8590 if ${ac_cv_lib_soname_EGL:+false} :; then :
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8592 $as_echo "not found" >&6; }
8594 else
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8596 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8598 cat >>confdefs.h <<_ACEOF
8599 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8600 _ACEOF
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8605 $as_echo_n "checking for -lGLESv2... " >&6; }
8606 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_check_soname_save_LIBS=$LIBS
8610 LIBS="-lGLESv2 $LIBS"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8614 /* Override any GCC internal prototype to avoid an error.
8615 Use char because int might match the return type of a GCC
8616 builtin and then its argument prototype would still apply. */
8617 #ifdef __cplusplus
8618 extern "C"
8619 #endif
8620 char glFlush ();
8622 main ()
8624 return glFlush ();
8626 return 0;
8628 _ACEOF
8629 if ac_fn_c_try_link "$LINENO"; then :
8630 case "$LIBEXT" in
8631 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8632 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'` ;;
8633 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8634 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8635 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8636 fi ;;
8637 esac
8639 rm -f core conftest.err conftest.$ac_objext \
8640 conftest$ac_exeext conftest.$ac_ext
8641 LIBS=$ac_check_soname_save_LIBS
8643 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8645 $as_echo "not found" >&6; }
8647 else
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8649 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8651 cat >>confdefs.h <<_ACEOF
8652 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8653 _ACEOF
8658 if test "x$exec_prefix" = xNONE
8659 then
8660 case $host_cpu in
8661 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8662 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8663 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8664 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8665 esac
8670 DLLFLAGS="$DLLFLAGS -fPIC"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8672 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8673 if ${ac_cv_c_dll_gnuelf+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 void myfunc() {}
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_c_dll_gnuelf="yes"
8684 else
8685 ac_cv_c_dll_gnuelf="no"
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8692 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8693 if test "$ac_cv_c_dll_gnuelf" = "yes"
8694 then
8695 LIBWINE_LDFLAGS="-shared"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8697 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8698 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8709 else
8710 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8717 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8718 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8719 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8720 else
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8722 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8723 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int main(int argc, char **argv) { return 0; }
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8734 else
8735 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 CFLAGS=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8742 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8743 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8744 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8748 echo '{ global: *; };' >conftest.map
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8750 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8751 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8762 else
8763 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8770 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8771 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8772 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8774 rm -f conftest.map
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8777 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8778 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8789 else
8790 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8797 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8798 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8799 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8802 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8804 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8805 if eval \${$as_ac_var+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 eval "$as_ac_var=yes"
8816 else
8817 eval "$as_ac_var=no"
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 eval ac_res=\$$as_ac_var
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8825 $as_echo "$ac_res" >&6; }
8826 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8827 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8828 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8829 else
8830 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8832 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8833 if eval \${$as_ac_var+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 ac_wine_try_cflags_saved=$CFLAGS
8837 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8840 int main(int argc, char **argv) { return 0; }
8841 _ACEOF
8842 if ac_fn_c_try_link "$LINENO"; then :
8843 eval "$as_ac_var=yes"
8844 else
8845 eval "$as_ac_var=no"
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 eval ac_res=\$$as_ac_var
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8853 $as_echo "$ac_res" >&6; }
8854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8855 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8856 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8861 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8862 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__Wl___enable_new_dtags=yes
8873 else
8874 ac_cv_cflags__Wl___enable_new_dtags=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8881 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8882 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8883 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8886 case $host_cpu in
8887 *i[3456789]86* | x86_64)
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8889 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8890 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8897 int main(int argc, char **argv) { return 0; }
8898 _ACEOF
8899 if ac_fn_c_try_link "$LINENO"; then :
8900 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8901 else
8902 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 CFLAGS=$ac_wine_try_cflags_saved
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8909 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8910 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8911 case $host_os in
8912 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8913 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8914 esac
8915 else
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8917 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8918 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 ac_wine_try_cflags_saved=$CFLAGS
8922 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8925 int main(int argc, char **argv) { return 0; }
8926 _ACEOF
8927 if ac_fn_c_try_link "$LINENO"; then :
8928 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8929 else
8930 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8932 rm -f core conftest.err conftest.$ac_objext \
8933 conftest$ac_exeext conftest.$ac_ext
8934 CFLAGS=$ac_wine_try_cflags_saved
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8937 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8938 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8939 case $host_os in
8940 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8941 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8942 esac
8944 # Extract the first word of "prelink", so it can be a program name with args.
8945 set dummy prelink; ac_word=$2
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8947 $as_echo_n "checking for $ac_word... " >&6; }
8948 if ${ac_cv_path_PRELINK+:} false; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 case $PRELINK in
8952 [\\/]* | ?:[\\/]*)
8953 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8957 for as_dir in /sbin /usr/sbin $PATH
8959 IFS=$as_save_IFS
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8963 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 break 2
8967 done
8968 done
8969 IFS=$as_save_IFS
8971 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8973 esac
8975 PRELINK=$ac_cv_path_PRELINK
8976 if test -n "$PRELINK"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8978 $as_echo "$PRELINK" >&6; }
8979 else
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8985 if test "x$PRELINK" = xfalse
8986 then
8987 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8991 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8992 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 ac_wine_try_cflags_saved=$CFLAGS
8996 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
8999 int main(int argc, char **argv) { return 0; }
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9003 else
9004 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 CFLAGS=$ac_wine_try_cflags_saved
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9011 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9012 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9013 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9016 esac
9018 else
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9020 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9021 if ${ac_cv_c_dll_unixware+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 ac_wine_try_cflags_saved=$CFLAGS
9025 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9028 void myfunc() {}
9029 _ACEOF
9030 if ac_fn_c_try_link "$LINENO"; then :
9031 ac_cv_c_dll_unixware="yes"
9032 else
9033 ac_cv_c_dll_unixware="no"
9035 rm -f core conftest.err conftest.$ac_objext \
9036 conftest$ac_exeext conftest.$ac_ext
9037 CFLAGS=$ac_wine_try_cflags_saved
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9040 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9041 if test "$ac_cv_c_dll_unixware" = "yes"
9042 then
9043 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9046 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9048 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9050 LIBWINE_INSTALL_DEV="libwine.so"
9052 LIBWINE_DEPENDS="wine.map"
9055 esac
9057 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9058 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9059 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9060 enable_winemac_drv=${enable_winemac_drv:-no}
9061 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9063 CROSSTARGET=""
9065 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9066 then
9067 case "$host_cpu" in
9068 arm*)
9069 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9070 i[3456789]86*)
9071 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
9072 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9073 mingw32-gcc" ;;
9074 x86_64)
9075 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
9076 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9078 ac_prefix_list="" ;;
9079 esac
9080 for ac_prog in $ac_prefix_list
9082 # Extract the first word of "$ac_prog", so it can be a program name with args.
9083 set dummy $ac_prog; ac_word=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9085 $as_echo_n "checking for $ac_word... " >&6; }
9086 if ${ac_cv_prog_CROSSCC+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 if test -n "$CROSSCC"; then
9090 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9091 else
9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9093 for as_dir in $PATH
9095 IFS=$as_save_IFS
9096 test -z "$as_dir" && as_dir=.
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9099 ac_cv_prog_CROSSCC="$ac_prog"
9100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9101 break 2
9103 done
9104 done
9105 IFS=$as_save_IFS
9109 CROSSCC=$ac_cv_prog_CROSSCC
9110 if test -n "$CROSSCC"; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9112 $as_echo "$CROSSCC" >&6; }
9113 else
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9119 test -n "$CROSSCC" && break
9120 done
9121 test -n "$CROSSCC" || CROSSCC="false"
9123 if test "$CROSSCC" != "false"
9124 then
9125 ac_save_CC="$CC"
9126 CC="$CROSSCC"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9128 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9133 main ()
9137 return 0;
9139 _ACEOF
9140 if ac_fn_c_try_compile "$LINENO"; then :
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9142 $as_echo "yes" >&6; }
9143 set x $CROSSCC
9144 shift
9145 while test $# -ge 1
9147 case "$1" in
9148 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9149 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9150 esac
9151 shift
9152 done
9153 else
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9158 CC="$ac_save_CC"
9159 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9165 if test "$ac_cv_header_pthread_h" = "yes"
9166 then
9167 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9168 if test "x$ac_cv_func_pthread_create" = xyes; then :
9170 else
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9172 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9173 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_check_lib_save_LIBS=$LIBS
9177 LIBS="-lpthread $LIBS"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9181 /* Override any GCC internal prototype to avoid an error.
9182 Use char because int might match the return type of a GCC
9183 builtin and then its argument prototype would still apply. */
9184 #ifdef __cplusplus
9185 extern "C"
9186 #endif
9187 char pthread_create ();
9189 main ()
9191 return pthread_create ();
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 ac_cv_lib_pthread_pthread_create=yes
9198 else
9199 ac_cv_lib_pthread_pthread_create=no
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_lib_save_LIBS
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9206 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9207 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9208 PTHREAD_LIBS="-lpthread"
9215 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9216 case "x$with_pthread" in
9217 xno) ;;
9218 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9219 Wine cannot support threads without libpthread.
9220 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9221 esac
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9227 $as_echo_n "checking for X... " >&6; }
9230 # Check whether --with-x was given.
9231 if test "${with_x+set}" = set; then :
9232 withval=$with_x;
9235 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9236 if test "x$with_x" = xno; then
9237 # The user explicitly disabled X.
9238 have_x=disabled
9239 else
9240 case $x_includes,$x_libraries in #(
9241 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9242 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9243 $as_echo_n "(cached) " >&6
9244 else
9245 # One or both of the vars are not set, and there is no cached value.
9246 ac_x_includes=no ac_x_libraries=no
9247 rm -f -r conftest.dir
9248 if mkdir conftest.dir; then
9249 cd conftest.dir
9250 cat >Imakefile <<'_ACEOF'
9251 incroot:
9252 @echo incroot='${INCROOT}'
9253 usrlibdir:
9254 @echo usrlibdir='${USRLIBDIR}'
9255 libdir:
9256 @echo libdir='${LIBDIR}'
9257 _ACEOF
9258 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9259 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9260 for ac_var in incroot usrlibdir libdir; do
9261 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9262 done
9263 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9264 for ac_extension in a so sl dylib la dll; do
9265 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9266 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9267 ac_im_usrlibdir=$ac_im_libdir; break
9269 done
9270 # Screen out bogus values from the imake configuration. They are
9271 # bogus both because they are the default anyway, and because
9272 # using them would break gcc on systems where it needs fixed includes.
9273 case $ac_im_incroot in
9274 /usr/include) ac_x_includes= ;;
9275 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9276 esac
9277 case $ac_im_usrlibdir in
9278 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9279 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9280 esac
9282 cd ..
9283 rm -f -r conftest.dir
9286 # Standard set of common directories for X headers.
9287 # Check X11 before X11Rn because it is often a symlink to the current release.
9288 ac_x_header_dirs='
9289 /usr/X11/include
9290 /usr/X11R7/include
9291 /usr/X11R6/include
9292 /usr/X11R5/include
9293 /usr/X11R4/include
9295 /usr/include/X11
9296 /usr/include/X11R7
9297 /usr/include/X11R6
9298 /usr/include/X11R5
9299 /usr/include/X11R4
9301 /usr/local/X11/include
9302 /usr/local/X11R7/include
9303 /usr/local/X11R6/include
9304 /usr/local/X11R5/include
9305 /usr/local/X11R4/include
9307 /usr/local/include/X11
9308 /usr/local/include/X11R7
9309 /usr/local/include/X11R6
9310 /usr/local/include/X11R5
9311 /usr/local/include/X11R4
9313 /usr/X386/include
9314 /usr/x386/include
9315 /usr/XFree86/include/X11
9317 /usr/include
9318 /usr/local/include
9319 /usr/unsupported/include
9320 /usr/athena/include
9321 /usr/local/x11r5/include
9322 /usr/lpp/Xamples/include
9324 /usr/openwin/include
9325 /usr/openwin/share/include'
9327 if test "$ac_x_includes" = no; then
9328 # Guess where to find include files, by looking for Xlib.h.
9329 # First, try using that file with no special directory specified.
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 #include <X11/Xlib.h>
9333 _ACEOF
9334 if ac_fn_c_try_cpp "$LINENO"; then :
9335 # We can compile using X headers with no special include directory.
9336 ac_x_includes=
9337 else
9338 for ac_dir in $ac_x_header_dirs; do
9339 if test -r "$ac_dir/X11/Xlib.h"; then
9340 ac_x_includes=$ac_dir
9341 break
9343 done
9345 rm -f conftest.err conftest.i conftest.$ac_ext
9346 fi # $ac_x_includes = no
9348 if test "$ac_x_libraries" = no; then
9349 # Check for the libraries.
9350 # See if we find them without any special options.
9351 # Don't add to $LIBS permanently.
9352 ac_save_LIBS=$LIBS
9353 LIBS="-lX11 $LIBS"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9356 #include <X11/Xlib.h>
9358 main ()
9360 XrmInitialize ()
9362 return 0;
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 LIBS=$ac_save_LIBS
9367 # We can link X programs with no special library path.
9368 ac_x_libraries=
9369 else
9370 LIBS=$ac_save_LIBS
9371 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9373 # Don't even attempt the hair of trying to link an X program!
9374 for ac_extension in a so sl dylib la dll; do
9375 if test -r "$ac_dir/libX11.$ac_extension"; then
9376 ac_x_libraries=$ac_dir
9377 break 2
9379 done
9380 done
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 fi # $ac_x_libraries = no
9386 case $ac_x_includes,$ac_x_libraries in #(
9387 no,* | *,no | *\'*)
9388 # Didn't find X, or a directory has "'" in its name.
9389 ac_cv_have_x="have_x=no";; #(
9391 # Record where we found X for the cache.
9392 ac_cv_have_x="have_x=yes\
9393 ac_x_includes='$ac_x_includes'\
9394 ac_x_libraries='$ac_x_libraries'"
9395 esac
9397 ;; #(
9398 *) have_x=yes;;
9399 esac
9400 eval "$ac_cv_have_x"
9401 fi # $with_x != no
9403 if test "$have_x" != yes; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9405 $as_echo "$have_x" >&6; }
9406 no_x=yes
9407 else
9408 # If each of the values was on the command line, it overrides each guess.
9409 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9410 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9411 # Update the cache value to reflect the command line values.
9412 ac_cv_have_x="have_x=yes\
9413 ac_x_includes='$x_includes'\
9414 ac_x_libraries='$x_libraries'"
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9416 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9419 if test "$no_x" = yes; then
9420 # Not all programs may use this symbol, but it does not hurt to define it.
9422 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9424 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9425 else
9426 if test -n "$x_includes"; then
9427 X_CFLAGS="$X_CFLAGS -I$x_includes"
9430 # It would also be nice to do this for all -L options, not just this one.
9431 if test -n "$x_libraries"; then
9432 X_LIBS="$X_LIBS -L$x_libraries"
9433 # For Solaris; some versions of Sun CC require a space after -R and
9434 # others require no space. Words are not sufficient . . . .
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9436 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9437 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9438 ac_xsave_c_werror_flag=$ac_c_werror_flag
9439 ac_c_werror_flag=yes
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9444 main ()
9448 return 0;
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9453 $as_echo "no" >&6; }
9454 X_LIBS="$X_LIBS -R$x_libraries"
9455 else
9456 LIBS="$ac_xsave_LIBS -R $x_libraries"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9461 main ()
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9470 $as_echo "yes" >&6; }
9471 X_LIBS="$X_LIBS -R $x_libraries"
9472 else
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9474 $as_echo "neither works" >&6; }
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 ac_c_werror_flag=$ac_xsave_c_werror_flag
9482 LIBS=$ac_xsave_LIBS
9485 # Check for system-dependent libraries X programs must link with.
9486 # Do this before checking for the system-independent R6 libraries
9487 # (-lICE), since we may need -lsocket or whatever for X linking.
9489 if test "$ISC" = yes; then
9490 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9491 else
9492 # Martyn Johnson says this is needed for Ultrix, if the X
9493 # libraries were built with DECnet support. And Karl Berry says
9494 # the Alpha needs dnet_stub (dnet does not exist).
9495 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
9507 main ()
9509 return XOpenDisplay ();
9511 return 0;
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9516 else
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9518 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9519 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-ldnet $LIBS"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char dnet_ntoa ();
9535 main ()
9537 return dnet_ntoa ();
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 ac_cv_lib_dnet_dnet_ntoa=yes
9544 else
9545 ac_cv_lib_dnet_dnet_ntoa=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS=$ac_check_lib_save_LIBS
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9552 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9553 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9554 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9557 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9559 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9560 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-ldnet_stub $LIBS"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char dnet_ntoa ();
9576 main ()
9578 return dnet_ntoa ();
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9585 else
9586 ac_cv_lib_dnet_stub_dnet_ntoa=no
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 LIBS=$ac_check_lib_save_LIBS
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9593 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9594 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9595 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 LIBS="$ac_xsave_LIBS"
9604 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9605 # to get the SysV transport functions.
9606 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9607 # needs -lnsl.
9608 # The nsl library prevents programs from opening the X display
9609 # on Irix 5.2, according to T.E. Dickey.
9610 # The functions gethostbyname, getservbyname, and inet_addr are
9611 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9612 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9613 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9617 if test $ac_cv_func_gethostbyname = no; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9619 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9620 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lnsl $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char gethostbyname ();
9636 main ()
9638 return gethostbyname ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_nsl_gethostbyname=yes
9645 else
9646 ac_cv_lib_nsl_gethostbyname=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9653 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9654 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9658 if test $ac_cv_lib_nsl_gethostbyname = no; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9660 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9661 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_check_lib_save_LIBS=$LIBS
9665 LIBS="-lbsd $LIBS"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9672 #ifdef __cplusplus
9673 extern "C"
9674 #endif
9675 char gethostbyname ();
9677 main ()
9679 return gethostbyname ();
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685 ac_cv_lib_bsd_gethostbyname=yes
9686 else
9687 ac_cv_lib_bsd_gethostbyname=no
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_lib_save_LIBS
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9694 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9695 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9696 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9702 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9703 # socket/setsockopt and other routines are undefined under SCO ODT
9704 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9705 # on later versions), says Simon Leinen: it contains gethostby*
9706 # variants that don't use the name server (or something). -lsocket
9707 # must be given before -lnsl if both are needed. We assume that
9708 # if connect needs -lnsl, so does gethostbyname.
9709 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9710 if test "x$ac_cv_func_connect" = xyes; then :
9714 if test $ac_cv_func_connect = no; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9716 $as_echo_n "checking for connect in -lsocket... " >&6; }
9717 if ${ac_cv_lib_socket_connect+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 ac_check_lib_save_LIBS=$LIBS
9721 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9728 #ifdef __cplusplus
9729 extern "C"
9730 #endif
9731 char connect ();
9733 main ()
9735 return connect ();
9737 return 0;
9739 _ACEOF
9740 if ac_fn_c_try_link "$LINENO"; then :
9741 ac_cv_lib_socket_connect=yes
9742 else
9743 ac_cv_lib_socket_connect=no
9745 rm -f core conftest.err conftest.$ac_objext \
9746 conftest$ac_exeext conftest.$ac_ext
9747 LIBS=$ac_check_lib_save_LIBS
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9750 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9751 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9752 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9757 # Guillermo Gomez says -lposix is necessary on A/UX.
9758 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9759 if test "x$ac_cv_func_remove" = xyes; then :
9763 if test $ac_cv_func_remove = no; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9765 $as_echo_n "checking for remove in -lposix... " >&6; }
9766 if ${ac_cv_lib_posix_remove+:} false; then :
9767 $as_echo_n "(cached) " >&6
9768 else
9769 ac_check_lib_save_LIBS=$LIBS
9770 LIBS="-lposix $LIBS"
9771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9777 #ifdef __cplusplus
9778 extern "C"
9779 #endif
9780 char remove ();
9782 main ()
9784 return remove ();
9786 return 0;
9788 _ACEOF
9789 if ac_fn_c_try_link "$LINENO"; then :
9790 ac_cv_lib_posix_remove=yes
9791 else
9792 ac_cv_lib_posix_remove=no
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_lib_save_LIBS
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9799 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9800 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9801 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9806 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9807 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9808 if test "x$ac_cv_func_shmat" = xyes; then :
9812 if test $ac_cv_func_shmat = no; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9814 $as_echo_n "checking for shmat in -lipc... " >&6; }
9815 if ${ac_cv_lib_ipc_shmat+:} false; then :
9816 $as_echo_n "(cached) " >&6
9817 else
9818 ac_check_lib_save_LIBS=$LIBS
9819 LIBS="-lipc $LIBS"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9823 /* Override any GCC internal prototype to avoid an error.
9824 Use char because int might match the return type of a GCC
9825 builtin and then its argument prototype would still apply. */
9826 #ifdef __cplusplus
9827 extern "C"
9828 #endif
9829 char shmat ();
9831 main ()
9833 return shmat ();
9835 return 0;
9837 _ACEOF
9838 if ac_fn_c_try_link "$LINENO"; then :
9839 ac_cv_lib_ipc_shmat=yes
9840 else
9841 ac_cv_lib_ipc_shmat=no
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 LIBS=$ac_check_lib_save_LIBS
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9848 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9849 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9850 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9856 # Check for libraries that X11R6 Xt/Xaw programs need.
9857 ac_save_LDFLAGS=$LDFLAGS
9858 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9859 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9860 # check for ICE first), but we must link in the order -lSM -lICE or
9861 # we get undefined symbols. So assume we have SM if we have ICE.
9862 # These have to be linked with before -lX11, unlike the other
9863 # libraries we check for below, so use a different variable.
9864 # John Interrante, Karl Berry
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9866 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9867 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_check_lib_save_LIBS=$LIBS
9871 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9878 #ifdef __cplusplus
9879 extern "C"
9880 #endif
9881 char IceConnectionNumber ();
9883 main ()
9885 return IceConnectionNumber ();
9887 return 0;
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 ac_cv_lib_ICE_IceConnectionNumber=yes
9892 else
9893 ac_cv_lib_ICE_IceConnectionNumber=no
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 LIBS=$ac_check_lib_save_LIBS
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9900 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9901 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9902 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9905 LDFLAGS=$ac_save_LDFLAGS
9910 if test "$have_x" = "yes"
9911 then
9912 ac_save_CPPFLAGS="$CPPFLAGS"
9913 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9916 $as_echo_n "checking for -lX11... " >&6; }
9917 if ${ac_cv_lib_soname_X11+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_soname_save_LIBS=$LIBS
9921 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XCreateWindow ();
9933 main ()
9935 return XCreateWindow ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 case "$LIBEXT" in
9942 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_X11:+false} :; then :
9946 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 fi ;;
9948 esac
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_X11:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9958 else
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9960 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9962 cat >>confdefs.h <<_ACEOF
9963 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9964 _ACEOF
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9969 $as_echo_n "checking for -lXext... " >&6; }
9970 if ${ac_cv_lib_soname_Xext+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_check_soname_save_LIBS=$LIBS
9974 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9981 #ifdef __cplusplus
9982 extern "C"
9983 #endif
9984 char XextCreateExtension ();
9986 main ()
9988 return XextCreateExtension ();
9990 return 0;
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 case "$LIBEXT" in
9995 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9996 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'` ;;
9997 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9998 if ${ac_cv_lib_soname_Xext:+false} :; then :
9999 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10000 fi ;;
10001 esac
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 LIBS=$ac_check_soname_save_LIBS
10007 if ${ac_cv_lib_soname_Xext:+false} :; then :
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10009 $as_echo "not found" >&6; }
10011 else
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10013 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10015 cat >>confdefs.h <<_ACEOF
10016 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10017 _ACEOF
10019 X_LIBS="$X_LIBS -lXext"
10021 X_LIBS="$X_LIBS -lX11"
10023 for ac_header in X11/Xlib.h \
10024 X11/XKBlib.h \
10025 X11/Xutil.h \
10026 X11/Xcursor/Xcursor.h \
10027 X11/extensions/shape.h \
10028 X11/extensions/XInput.h \
10029 X11/extensions/XInput2.h \
10030 X11/extensions/XShm.h \
10031 X11/extensions/Xcomposite.h \
10032 X11/extensions/Xfixes.h \
10033 X11/extensions/Xinerama.h \
10034 X11/extensions/Xrandr.h \
10035 X11/extensions/Xrender.h \
10036 X11/extensions/xf86vmode.h \
10037 X11/extensions/xf86vmproto.h
10038 do :
10039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10040 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10041 # include <X11/Xlib.h>
10042 #endif
10043 #ifdef HAVE_X11_XUTIL_H
10044 # include <X11/Xutil.h>
10045 #endif
10047 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10048 cat >>confdefs.h <<_ACEOF
10049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10050 _ACEOF
10054 done
10057 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10058 then
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10060 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10061 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XkbQueryExtension ();
10077 main ()
10079 return XkbQueryExtension ();
10081 return 0;
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 ac_cv_lib_X11_XkbQueryExtension=yes
10086 else
10087 ac_cv_lib_X11_XkbQueryExtension=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_lib_save_LIBS
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10094 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10095 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10097 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10103 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10104 then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10106 $as_echo_n "checking for -lXcursor... " >&6; }
10107 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_soname_save_LIBS=$LIBS
10111 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char XcursorImageLoadCursor ();
10123 main ()
10125 return XcursorImageLoadCursor ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 case "$LIBEXT" in
10132 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10136 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10137 fi ;;
10138 esac
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10148 else
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10150 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10152 cat >>confdefs.h <<_ACEOF
10153 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10154 _ACEOF
10159 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10160 case "x$with_xcursor" in
10161 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10162 xno) ;;
10163 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10164 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10165 esac
10169 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10170 then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10172 $as_echo_n "checking for -lXi... " >&6; }
10173 if ${ac_cv_lib_soname_Xi+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char XOpenDevice ();
10189 main ()
10191 return XOpenDevice ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 case "$LIBEXT" in
10198 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xi:+false} :; then :
10202 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 fi ;;
10204 esac
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xi:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10214 else
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10216 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10218 cat >>confdefs.h <<_ACEOF
10219 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10220 _ACEOF
10225 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10226 case "x$with_xinput" in
10227 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10228 xno) ;;
10229 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10230 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10231 esac
10235 if test "x$ac_cv_lib_soname_Xi" != x
10236 then
10237 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10238 case "x$with_xinput2" in
10239 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10240 xno) ;;
10241 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10242 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10243 esac
10248 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10249 then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10251 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10252 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_lib_save_LIBS=$LIBS
10256 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XShmQueryExtension ();
10268 main ()
10270 return XShmQueryExtension ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 ac_cv_lib_Xext_XShmQueryExtension=yes
10277 else
10278 ac_cv_lib_Xext_XShmQueryExtension=no
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10285 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10286 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10288 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10293 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10294 case "x$with_xshm" in
10295 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10296 xno) ;;
10297 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10298 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10299 esac
10303 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10304 then
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10306 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10307 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char XShapeQueryExtension ();
10323 main ()
10325 return XShapeQueryExtension ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 ac_cv_lib_Xext_XShapeQueryExtension=yes
10332 else
10333 ac_cv_lib_Xext_XShapeQueryExtension=no
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_lib_save_LIBS
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10340 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10341 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10343 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10348 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10349 case "x$with_xshape" in
10350 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10351 xno) ;;
10352 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10353 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10354 esac
10358 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10359 then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10361 $as_echo_n "checking for -lXxf86vm... " >&6; }
10362 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10373 #ifdef __cplusplus
10374 extern "C"
10375 #endif
10376 char XF86VidModeQueryExtension ();
10378 main ()
10380 return XF86VidModeQueryExtension ();
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 case "$LIBEXT" in
10387 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10388 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'` ;;
10389 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10390 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10391 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10392 fi ;;
10393 esac
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 LIBS=$ac_check_soname_save_LIBS
10399 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10401 $as_echo "not found" >&6; }
10403 else
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10405 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10407 cat >>confdefs.h <<_ACEOF
10408 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10409 _ACEOF
10414 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10415 case "x$with_xxf86vm" in
10416 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10417 xno) ;;
10418 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10419 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10420 esac
10424 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10425 then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10427 $as_echo_n "checking for -lXrender... " >&6; }
10428 if ${ac_cv_lib_soname_Xrender+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_check_soname_save_LIBS=$LIBS
10432 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10439 #ifdef __cplusplus
10440 extern "C"
10441 #endif
10442 char XRenderQueryExtension ();
10444 main ()
10446 return XRenderQueryExtension ();
10448 return 0;
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"; then :
10452 case "$LIBEXT" in
10453 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10454 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'` ;;
10455 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10456 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10457 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10458 fi ;;
10459 esac
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_soname_save_LIBS
10465 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10467 $as_echo "not found" >&6; }
10469 else
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10471 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10473 cat >>confdefs.h <<_ACEOF
10474 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10475 _ACEOF
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10478 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10479 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10480 $as_echo_n "(cached) " >&6
10481 else
10482 ac_check_lib_save_LIBS=$LIBS
10483 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10487 /* Override any GCC internal prototype to avoid an error.
10488 Use char because int might match the return type of a GCC
10489 builtin and then its argument prototype would still apply. */
10490 #ifdef __cplusplus
10491 extern "C"
10492 #endif
10493 char XRenderSetPictureTransform ();
10495 main ()
10497 return XRenderSetPictureTransform ();
10499 return 0;
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10504 else
10505 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_lib_save_LIBS
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10512 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10513 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10515 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10520 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10521 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10532 #ifdef __cplusplus
10533 extern "C"
10534 #endif
10535 char XRenderCreateLinearGradient ();
10537 main ()
10539 return XRenderCreateLinearGradient ();
10541 return 0;
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10546 else
10547 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_lib_save_LIBS
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10554 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10555 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10557 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10564 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10565 case "x$with_xrender" in
10566 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10567 xno) ;;
10568 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10569 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10570 esac
10574 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10575 then
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 #include <X11/Xlib.h>
10579 #include <X11/extensions/Xrandr.h>
10581 main ()
10583 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_compile "$LINENO"; then :
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10590 $as_echo_n "checking for -lXrandr... " >&6; }
10591 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10592 $as_echo_n "(cached) " >&6
10593 else
10594 ac_check_soname_save_LIBS=$LIBS
10595 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10599 /* Override any GCC internal prototype to avoid an error.
10600 Use char because int might match the return type of a GCC
10601 builtin and then its argument prototype would still apply. */
10602 #ifdef __cplusplus
10603 extern "C"
10604 #endif
10605 char XRRQueryExtension ();
10607 main ()
10609 return XRRQueryExtension ();
10611 return 0;
10613 _ACEOF
10614 if ac_fn_c_try_link "$LINENO"; then :
10615 case "$LIBEXT" in
10616 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10617 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'` ;;
10618 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10619 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10620 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10621 fi ;;
10622 esac
10624 rm -f core conftest.err conftest.$ac_objext \
10625 conftest$ac_exeext conftest.$ac_ext
10626 LIBS=$ac_check_soname_save_LIBS
10628 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10630 $as_echo "not found" >&6; }
10632 else
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10634 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10636 cat >>confdefs.h <<_ACEOF
10637 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10638 _ACEOF
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 #include <X11/Xlib.h>
10643 #include <X11/extensions/Xrandr.h>
10645 main ()
10647 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_compile "$LINENO"; then :
10654 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10662 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10663 case "x$with_xrandr" in
10664 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10665 xno) ;;
10666 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10667 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10668 esac
10672 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10673 then
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10676 #include <X11/Xlib.h>
10677 #include <X11/extensions/Xfixes.h>
10679 main ()
10681 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_compile "$LINENO"; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10688 $as_echo_n "checking for -lXfixes... " >&6; }
10689 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10690 $as_echo_n "(cached) " >&6
10691 else
10692 ac_check_soname_save_LIBS=$LIBS
10693 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10700 #ifdef __cplusplus
10701 extern "C"
10702 #endif
10703 char XFixesQueryVersion ();
10705 main ()
10707 return XFixesQueryVersion ();
10709 return 0;
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 case "$LIBEXT" in
10714 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10715 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'` ;;
10716 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10717 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10718 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10719 fi ;;
10720 esac
10722 rm -f core conftest.err conftest.$ac_objext \
10723 conftest$ac_exeext conftest.$ac_ext
10724 LIBS=$ac_check_soname_save_LIBS
10726 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10728 $as_echo "not found" >&6; }
10730 else
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10732 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10734 cat >>confdefs.h <<_ACEOF
10735 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10736 _ACEOF
10741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10744 case "x$with_xfixes" in
10745 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10746 xno) ;;
10747 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10748 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10749 esac
10753 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10754 then
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 #include <X11/Xlib.h>
10758 #include <X11/extensions/Xinerama.h>
10760 main ()
10762 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_compile "$LINENO"; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10769 $as_echo_n "checking for -lXinerama... " >&6; }
10770 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10771 $as_echo_n "(cached) " >&6
10772 else
10773 ac_check_soname_save_LIBS=$LIBS
10774 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10781 #ifdef __cplusplus
10782 extern "C"
10783 #endif
10784 char XineramaQueryScreens ();
10786 main ()
10788 return XineramaQueryScreens ();
10790 return 0;
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 case "$LIBEXT" in
10795 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10796 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'` ;;
10797 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10798 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10799 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10800 fi ;;
10801 esac
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_soname_save_LIBS
10807 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10809 $as_echo "not found" >&6; }
10811 else
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10813 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10815 cat >>confdefs.h <<_ACEOF
10816 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10817 _ACEOF
10822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10824 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10825 case "x$with_xinerama" in
10826 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10827 xno) ;;
10828 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10829 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10830 esac
10834 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10835 then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10837 $as_echo_n "checking for -lXcomposite... " >&6; }
10838 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 ac_check_soname_save_LIBS=$LIBS
10842 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char XCompositeRedirectWindow ();
10854 main ()
10856 return XCompositeRedirectWindow ();
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 case "$LIBEXT" in
10863 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10864 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'` ;;
10865 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10866 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10867 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10868 fi ;;
10869 esac
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_soname_save_LIBS
10875 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10877 $as_echo "not found" >&6; }
10879 else
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10881 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10883 cat >>confdefs.h <<_ACEOF
10884 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10885 _ACEOF
10890 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10891 case "x$with_xcomposite" in
10892 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10893 xno) ;;
10894 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10895 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10896 esac
10900 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10901 #include <X11/Xlib.h>
10902 #endif
10904 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10906 cat >>confdefs.h <<_ACEOF
10907 #define HAVE_XICCALLBACK_CALLBACK 1
10908 _ACEOF
10912 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10913 #include <X11/Xlib.h>
10914 #endif
10916 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10918 cat >>confdefs.h <<_ACEOF
10919 #define HAVE_XEVENT_XCOOKIE 1
10920 _ACEOF
10927 opengl_msg=""
10928 if test "x$with_opengl" != "xno"
10929 then
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10931 $as_echo_n "checking for -lGL... " >&6; }
10932 if ${ac_cv_lib_soname_GL+:} false; then :
10933 $as_echo_n "(cached) " >&6
10934 else
10935 ac_check_soname_save_LIBS=$LIBS
10936 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char glXCreateContext ();
10948 main ()
10950 return glXCreateContext ();
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 case "$LIBEXT" in
10957 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10958 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'` ;;
10959 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10960 if ${ac_cv_lib_soname_GL:+false} :; then :
10961 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10962 fi ;;
10963 esac
10965 rm -f core conftest.err conftest.$ac_objext \
10966 conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_check_soname_save_LIBS
10969 if ${ac_cv_lib_soname_GL:+false} :; then :
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10971 $as_echo "not found" >&6; }
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10973 $as_echo_n "checking for -lGL... " >&6; }
10974 if ${ac_cv_lib_soname_GL+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_soname_save_LIBS=$LIBS
10978 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"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char glXCreateContext ();
10990 main ()
10992 return glXCreateContext ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 case "$LIBEXT" in
10999 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11000 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'` ;;
11001 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11002 if ${ac_cv_lib_soname_GL:+false} :; then :
11003 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11004 fi ;;
11005 esac
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_soname_save_LIBS
11011 if ${ac_cv_lib_soname_GL:+false} :; then :
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11013 $as_echo "not found" >&6; }
11014 if test -f /usr/X11R6/lib/libGL.a
11015 then
11016 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11017 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11018 else
11019 opengl_msg="No OpenGL library found on this system."
11021 else
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11023 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11025 cat >>confdefs.h <<_ACEOF
11026 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11027 _ACEOF
11029 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"
11031 else
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11033 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11035 cat >>confdefs.h <<_ACEOF
11036 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11037 _ACEOF
11039 OPENGL_LIBS="-lGL"
11041 if test "x$with_glu" != "xno"
11042 then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11044 $as_echo_n "checking for -lGLU... " >&6; }
11045 if ${ac_cv_lib_soname_GLU+:} false; then :
11046 $as_echo_n "(cached) " >&6
11047 else
11048 ac_check_soname_save_LIBS=$LIBS
11049 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11056 #ifdef __cplusplus
11057 extern "C"
11058 #endif
11059 char gluLookAt ();
11061 main ()
11063 return gluLookAt ();
11065 return 0;
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"; then :
11069 case "$LIBEXT" in
11070 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11073 if ${ac_cv_lib_soname_GLU:+false} :; then :
11074 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11075 fi ;;
11076 esac
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_soname_save_LIBS
11082 if ${ac_cv_lib_soname_GLU:+false} :; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11086 else
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11088 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11090 cat >>confdefs.h <<_ACEOF
11091 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11092 _ACEOF
11096 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11097 case "x$with_glu" in
11098 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11099 xno) ;;
11100 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11101 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11102 esac
11107 if test "x$with_osmesa" != "xno"
11108 then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11110 $as_echo_n "checking for -lOSMesa... " >&6; }
11111 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_soname_save_LIBS=$LIBS
11115 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char OSMesaGetProcAddress ();
11127 main ()
11129 return OSMesaGetProcAddress ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 case "$LIBEXT" in
11136 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11137 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'` ;;
11138 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11139 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11140 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11141 fi ;;
11142 esac
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_soname_save_LIBS
11148 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11150 $as_echo "not found" >&6; }
11152 else
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11154 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11156 cat >>confdefs.h <<_ACEOF
11157 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11158 _ACEOF
11162 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11163 case "x$with_osmesa" in
11164 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11165 xno) ;;
11166 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11167 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11168 esac
11173 if test -n "$opengl_msg"; then :
11174 case "x$with_opengl" in
11175 x) as_fn_append wine_warnings "|$opengl_msg
11176 OpenGL and Direct3D won't be supported." ;;
11177 xno) ;;
11178 *) as_fn_error $? "$opengl_msg
11179 OpenGL and Direct3D won't be supported.
11180 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11181 esac
11185 CPPFLAGS="$ac_save_CPPFLAGS"
11186 else
11187 X_CFLAGS=""
11188 X_LIBS=""
11191 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11192 then
11193 if test "x$X_LIBS" = "x"; then :
11194 case "x$with_x" in
11195 xno) ;;
11196 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11197 without X support, which probably isn't what you want. You will need
11198 to install ${notice_platform}development packages of Xlib at the very least.
11199 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11200 esac
11201 enable_winex11_drv=${enable_winex11_drv:-no}
11203 else
11204 if test "x$X_LIBS" = "x"; then :
11205 case "x$with_x" in
11206 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11207 xno) ;;
11208 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11209 This is an error since --with-x was requested." "$LINENO" 5 ;;
11210 esac
11211 enable_winex11_drv=${enable_winex11_drv:-no}
11215 if test "$ac_cv_header_CL_cl_h" = "yes"
11216 then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11218 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11219 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lOpenCL $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char clGetPlatformInfo ();
11235 main ()
11237 return clGetPlatformInfo ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11244 else
11245 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11252 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11253 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11254 OPENCL_LIBS="-lOpenCL"
11259 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11260 case "x$with_opencl" in
11261 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11262 xno) ;;
11263 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11264 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11265 esac
11266 enable_opencl=${enable_opencl:-no}
11269 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11270 then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11272 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11273 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lpcap $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char pcap_create ();
11289 main ()
11291 return pcap_create ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_pcap_pcap_create=yes
11298 else
11299 ac_cv_lib_pcap_pcap_create=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11306 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11307 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11308 PCAP_LIBS="-lpcap"
11313 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11314 case "x$with_pcap" in
11315 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11316 xno) ;;
11317 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11318 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11319 esac
11320 enable_wpcap=${enable_wpcap:-no}
11324 if test "x$with_xml" != "xno"
11325 then
11326 if ${XML2_CFLAGS:+false} :; then :
11327 if ${PKG_CONFIG+:} false; then :
11328 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11331 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11332 if ${XML2_LIBS:+false} :; then :
11333 if ${PKG_CONFIG+:} false; then :
11334 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11337 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11338 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11339 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11340 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11341 ac_save_CPPFLAGS=$CPPFLAGS
11342 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11343 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11344 do :
11345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11346 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11348 cat >>confdefs.h <<_ACEOF
11349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11350 _ACEOF
11354 done
11356 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"
11357 then
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11359 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11360 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11361 $as_echo_n "(cached) " >&6
11362 else
11363 ac_check_lib_save_LIBS=$LIBS
11364 LIBS="-lxml2 $XML2_LIBS $LIBS"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11368 /* Override any GCC internal prototype to avoid an error.
11369 Use char because int might match the return type of a GCC
11370 builtin and then its argument prototype would still apply. */
11371 #ifdef __cplusplus
11372 extern "C"
11373 #endif
11374 char xmlParseMemory ();
11376 main ()
11378 return xmlParseMemory ();
11380 return 0;
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"; then :
11384 ac_cv_lib_xml2_xmlParseMemory=yes
11385 else
11386 ac_cv_lib_xml2_xmlParseMemory=no
11388 rm -f core conftest.err conftest.$ac_objext \
11389 conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_lib_save_LIBS
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11393 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11394 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11396 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11398 else
11399 XML2_LIBS=""
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11403 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11404 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lxml2 $XML2_LIBS $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char xmlReadMemory ();
11420 main ()
11422 return xmlReadMemory ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_xml2_xmlReadMemory=yes
11429 else
11430 ac_cv_lib_xml2_xmlReadMemory=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11437 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11438 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11440 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11445 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11446 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11447 $as_echo_n "(cached) " >&6
11448 else
11449 ac_check_lib_save_LIBS=$LIBS
11450 LIBS="-lxml2 $XML2_LIBS $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char xmlNewDocPI ();
11462 main ()
11464 return xmlNewDocPI ();
11466 return 0;
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 ac_cv_lib_xml2_xmlNewDocPI=yes
11471 else
11472 ac_cv_lib_xml2_xmlNewDocPI=no
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11479 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11480 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11482 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11487 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11488 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_lib_save_LIBS=$LIBS
11492 LIBS="-lxml2 $XML2_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char xmlSchemaSetParserStructuredErrors ();
11504 main ()
11506 return xmlSchemaSetParserStructuredErrors ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11513 else
11514 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11516 rm -f core conftest.err conftest.$ac_objext \
11517 conftest$ac_exeext conftest.$ac_ext
11518 LIBS=$ac_check_lib_save_LIBS
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11521 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11522 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11524 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11529 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11530 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_lib_save_LIBS=$LIBS
11534 LIBS="-lxml2 $XML2_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char xmlSchemaSetValidStructuredErrors ();
11546 main ()
11548 return xmlSchemaSetValidStructuredErrors ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11555 else
11556 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11558 rm -f core conftest.err conftest.$ac_objext \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_lib_save_LIBS
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11563 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11564 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11566 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11571 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11572 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_lib_save_LIBS=$LIBS
11576 LIBS="-lxml2 $XML2_LIBS $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char xmlFirstElementChild ();
11588 main ()
11590 return xmlFirstElementChild ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 ac_cv_lib_xml2_xmlFirstElementChild=yes
11597 else
11598 ac_cv_lib_xml2_xmlFirstElementChild=no
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_lib_save_LIBS
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11605 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11606 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11608 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11612 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11614 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11616 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11620 else
11621 XML2_CFLAGS=""
11622 XML2_LIBS=""
11624 CPPFLAGS=$ac_save_CPPFLAGS
11625 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11626 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11629 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11630 case "x$with_xml" in
11631 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11632 xno) ;;
11633 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11634 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11635 esac
11639 if test "x$with_xslt" != "xno"
11640 then
11641 if ${XSLT_CFLAGS:+false} :; then :
11642 if ${PKG_CONFIG+:} false; then :
11643 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11646 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11647 if ${XSLT_LIBS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11652 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11653 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11654 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11655 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11656 ac_save_CPPFLAGS=$CPPFLAGS
11657 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11658 for ac_header in libxslt/pattern.h libxslt/transform.h
11659 do :
11660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11661 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11662 # include <libxslt/pattern.h>
11663 #endif
11665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11666 cat >>confdefs.h <<_ACEOF
11667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11668 _ACEOF
11672 done
11674 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11677 $as_echo_n "checking for -lxslt... " >&6; }
11678 if ${ac_cv_lib_soname_xslt+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lxslt $XSLT_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char xsltCompilePattern ();
11694 main ()
11696 return xsltCompilePattern ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11706 if ${ac_cv_lib_soname_xslt:+false} :; then :
11707 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11708 fi ;;
11709 esac
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_soname_save_LIBS
11715 if ${ac_cv_lib_soname_xslt:+false} :; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11721 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11723 cat >>confdefs.h <<_ACEOF
11724 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11725 _ACEOF
11729 else
11730 XSLT_CFLAGS=""
11732 CPPFLAGS=$ac_save_CPPFLAGS
11733 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11734 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11737 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11738 case "x$with_xslt" in
11739 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11742 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11743 esac
11747 if test "x$with_dbus" != "xno"
11748 then
11749 if ${DBUS_CFLAGS:+false} :; then :
11750 if ${PKG_CONFIG+:} false; then :
11751 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11755 if ${DBUS_LIBS:+false} :; then :
11756 if ${PKG_CONFIG+:} false; then :
11757 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11762 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11763 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11764 ac_save_CPPFLAGS=$CPPFLAGS
11765 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11766 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11767 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11769 $as_echo_n "checking for -ldbus-1... " >&6; }
11770 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11771 $as_echo_n "(cached) " >&6
11772 else
11773 ac_check_soname_save_LIBS=$LIBS
11774 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11781 #ifdef __cplusplus
11782 extern "C"
11783 #endif
11784 char dbus_connection_close ();
11786 main ()
11788 return dbus_connection_close ();
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_link "$LINENO"; then :
11794 case "$LIBEXT" in
11795 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11796 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'` ;;
11797 *) 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'`
11798 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11799 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11800 fi ;;
11801 esac
11803 rm -f core conftest.err conftest.$ac_objext \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_soname_save_LIBS
11807 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11809 $as_echo "not found" >&6; }
11810 DBUS_CFLAGS=""
11811 else
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11813 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11815 cat >>confdefs.h <<_ACEOF
11816 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11817 _ACEOF
11821 else
11822 DBUS_CFLAGS=""
11826 CPPFLAGS=$ac_save_CPPFLAGS
11827 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11828 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11831 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11832 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11833 case "x$with_dbus" in
11834 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11835 xno) ;;
11836 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11837 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11838 esac
11842 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11843 then
11844 if ${HAL_CFLAGS:+false} :; then :
11845 if ${PKG_CONFIG+:} false; then :
11846 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11850 if ${HAL_LIBS:+false} :; then :
11851 if ${PKG_CONFIG+:} false; then :
11852 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11856 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11857 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11858 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11859 ac_save_CPPFLAGS=$CPPFLAGS
11860 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11861 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11862 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11864 $as_echo_n "checking for -lhal... " >&6; }
11865 if ${ac_cv_lib_soname_hal+:} false; then :
11866 $as_echo_n "(cached) " >&6
11867 else
11868 ac_check_soname_save_LIBS=$LIBS
11869 LIBS="-lhal $HAL_LIBS $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char libhal_ctx_new ();
11881 main ()
11883 return libhal_ctx_new ();
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"; then :
11889 case "$LIBEXT" in
11890 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11891 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'` ;;
11892 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11893 if ${ac_cv_lib_soname_hal:+false} :; then :
11894 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11895 fi ;;
11896 esac
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_soname_save_LIBS
11902 if ${ac_cv_lib_soname_hal:+false} :; then :
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11904 $as_echo "not found" >&6; }
11905 HAL_CFLAGS=""
11906 else
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11908 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11910 cat >>confdefs.h <<_ACEOF
11911 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11912 _ACEOF
11916 else
11917 HAL_CFLAGS=""
11921 CPPFLAGS=$ac_save_CPPFLAGS
11922 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11923 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11925 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11926 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11927 case "x$with_hal" in
11928 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11929 xno) ;;
11930 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11931 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11932 esac
11937 if test "x$with_gnutls" != "xno"
11938 then
11939 if ${GNUTLS_CFLAGS:+false} :; then :
11940 if ${PKG_CONFIG+:} false; then :
11941 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11945 if ${GNUTLS_LIBS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11952 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11953 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11956 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11957 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 #include <gnutls/gnutls.h>
11961 #include <gnutls/crypto.h>
11963 main ()
11965 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_compile "$LINENO"; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11972 $as_echo_n "checking for -lgnutls... " >&6; }
11973 if ${ac_cv_lib_soname_gnutls+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_soname_save_LIBS=$LIBS
11977 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11984 #ifdef __cplusplus
11985 extern "C"
11986 #endif
11987 char gnutls_global_init ();
11989 main ()
11991 return gnutls_global_init ();
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"; then :
11997 case "$LIBEXT" in
11998 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11999 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'` ;;
12000 *) 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'`
12001 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12002 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'`
12003 fi ;;
12004 esac
12006 rm -f core conftest.err conftest.$ac_objext \
12007 conftest$ac_exeext conftest.$ac_ext
12008 LIBS=$ac_check_soname_save_LIBS
12010 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12012 $as_echo "not found" >&6; }
12013 GNUTLS_CFLAGS=""
12014 else
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12016 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12018 cat >>confdefs.h <<_ACEOF
12019 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12020 _ACEOF
12024 ac_wine_check_funcs_save_LIBS="$LIBS"
12025 LIBS="$LIBS $GNUTLS_LIBS"
12026 for ac_func in gnutls_cipher_init
12027 do :
12028 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12029 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12030 cat >>confdefs.h <<_ACEOF
12031 #define HAVE_GNUTLS_CIPHER_INIT 1
12032 _ACEOF
12034 else
12035 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12037 done
12039 LIBS="$ac_wine_check_funcs_save_LIBS"
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12042 else
12043 GNUTLS_CFLAGS=""
12047 CPPFLAGS=$ac_save_CPPFLAGS
12048 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12049 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12052 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12053 case "x$with_gnutls" in
12054 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12055 xno) ;;
12056 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12057 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12058 esac
12062 CURSES_LIBS=""
12063 if test "$ac_cv_header_ncurses_h" = "yes"
12064 then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12066 $as_echo_n "checking for -lncurses... " >&6; }
12067 if ${ac_cv_lib_soname_ncurses+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_soname_save_LIBS=$LIBS
12071 LIBS="-lncurses $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char waddch ();
12083 main ()
12085 return waddch ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 case "$LIBEXT" in
12092 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12093 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'` ;;
12094 *) 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'`
12095 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12096 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12097 fi ;;
12098 esac
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_soname_save_LIBS
12104 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12106 $as_echo "not found" >&6; }
12108 else
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12110 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12112 cat >>confdefs.h <<_ACEOF
12113 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12114 _ACEOF
12116 CURSES_LIBS="-lncurses"
12118 elif test "$ac_cv_header_curses_h" = "yes"
12119 then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12121 $as_echo_n "checking for -lcurses... " >&6; }
12122 if ${ac_cv_lib_soname_curses+:} false; then :
12123 $as_echo_n "(cached) " >&6
12124 else
12125 ac_check_soname_save_LIBS=$LIBS
12126 LIBS="-lcurses $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char waddch ();
12138 main ()
12140 return waddch ();
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 case "$LIBEXT" in
12147 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12148 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'` ;;
12149 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12150 if ${ac_cv_lib_soname_curses:+false} :; then :
12151 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12152 fi ;;
12153 esac
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_soname_save_LIBS
12159 if ${ac_cv_lib_soname_curses:+false} :; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12161 $as_echo "not found" >&6; }
12163 else
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12165 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12167 cat >>confdefs.h <<_ACEOF
12168 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12169 _ACEOF
12171 CURSES_LIBS="-lcurses"
12174 ac_save_LIBS="$LIBS"
12175 LIBS="$LIBS $CURSES_LIBS"
12176 for ac_func in mousemask
12177 do :
12178 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12179 if test "x$ac_cv_func_mousemask" = xyes; then :
12180 cat >>confdefs.h <<_ACEOF
12181 #define HAVE_MOUSEMASK 1
12182 _ACEOF
12185 done
12187 LIBS="$ac_save_LIBS"
12188 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12189 case "x$with_curses" in
12190 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12191 xno) ;;
12192 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12193 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12194 esac
12198 if test "x$with_sane" != "xno"
12199 then
12200 if ${SANE_CFLAGS:+false} :; then :
12201 if ${PKG_CONFIG+:} false; then :
12202 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12205 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12206 if ${SANE_LIBS:+false} :; then :
12207 if ${PKG_CONFIG+:} false; then :
12208 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12211 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12213 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12214 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12215 ac_save_CPPFLAGS=$CPPFLAGS
12216 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12217 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12218 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12220 $as_echo_n "checking for -lsane... " >&6; }
12221 if ${ac_cv_lib_soname_sane+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223 else
12224 ac_check_soname_save_LIBS=$LIBS
12225 LIBS="-lsane $SANE_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 #ifdef __cplusplus
12233 extern "C"
12234 #endif
12235 char sane_init ();
12237 main ()
12239 return sane_init ();
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 case "$LIBEXT" in
12246 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12247 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'` ;;
12248 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12249 if ${ac_cv_lib_soname_sane:+false} :; then :
12250 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12251 fi ;;
12252 esac
12254 rm -f core conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 LIBS=$ac_check_soname_save_LIBS
12258 if ${ac_cv_lib_soname_sane:+false} :; then :
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12260 $as_echo "not found" >&6; }
12261 SANE_CFLAGS=""
12262 else
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12264 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12266 cat >>confdefs.h <<_ACEOF
12267 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12268 _ACEOF
12272 else
12273 SANE_CFLAGS=""
12277 CPPFLAGS=$ac_save_CPPFLAGS
12278 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12279 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12282 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12283 case "x$with_sane" in
12284 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12285 xno) ;;
12286 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12287 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12288 esac
12292 if test "x$with_v4l" != "xno"
12293 then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12295 $as_echo_n "checking for -lv4l1... " >&6; }
12296 if ${ac_cv_lib_soname_v4l1+:} false; then :
12297 $as_echo_n "(cached) " >&6
12298 else
12299 ac_check_soname_save_LIBS=$LIBS
12300 LIBS="-lv4l1 $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 #ifdef __cplusplus
12308 extern "C"
12309 #endif
12310 char v4l1_open ();
12312 main ()
12314 return v4l1_open ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"; then :
12320 case "$LIBEXT" in
12321 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12322 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'` ;;
12323 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12324 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12325 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12326 fi ;;
12327 esac
12329 rm -f core conftest.err conftest.$ac_objext \
12330 conftest$ac_exeext conftest.$ac_ext
12331 LIBS=$ac_check_soname_save_LIBS
12333 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12335 $as_echo "not found" >&6; }
12337 else
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12339 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12341 cat >>confdefs.h <<_ACEOF
12342 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12343 _ACEOF
12348 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12349 case "x$with_v4l" in
12350 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12351 xno) ;;
12352 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12353 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12354 esac
12358 if test "x$with_gphoto" != "xno"
12359 then
12360 if ${GPHOTO2_CFLAGS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12365 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12366 if ${GPHOTO2_LIBS:+false} :; then :
12367 if ${PKG_CONFIG+:} false; then :
12368 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12371 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12372 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12373 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12374 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12377 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12378 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12380 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12381 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12382 $as_echo_n "(cached) " >&6
12383 else
12384 ac_check_lib_save_LIBS=$LIBS
12385 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12392 #ifdef __cplusplus
12393 extern "C"
12394 #endif
12395 char gp_camera_new ();
12397 main ()
12399 return gp_camera_new ();
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_link "$LINENO"; then :
12405 ac_cv_lib_gphoto2_gp_camera_new=yes
12406 else
12407 ac_cv_lib_gphoto2_gp_camera_new=no
12409 rm -f core conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411 LIBS=$ac_check_lib_save_LIBS
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12414 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12415 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12417 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12419 else
12420 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12423 else
12424 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12428 CPPFLAGS=$ac_save_CPPFLAGS
12429 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12430 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12432 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12433 if ${PKG_CONFIG+:} false; then :
12434 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12437 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12438 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12439 if ${PKG_CONFIG+:} false; then :
12440 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12443 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12444 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12445 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12446 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12447 ac_save_CPPFLAGS=$CPPFLAGS
12448 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12449 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12450 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12452 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12453 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_lib_save_LIBS=$LIBS
12457 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char gp_port_info_list_new ();
12469 main ()
12471 return gp_port_info_list_new ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12478 else
12479 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12486 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12487 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12489 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12491 else
12492 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12495 else
12496 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12500 CPPFLAGS=$ac_save_CPPFLAGS
12501 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12502 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12505 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12506 case "x$with_gphoto" in
12507 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12508 xno) ;;
12509 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12511 esac
12514 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12515 case "x$with_gphoto" in
12516 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12517 xno) ;;
12518 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12519 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12520 esac
12525 if test "$ac_cv_header_resolv_h" = "yes"
12526 then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12528 $as_echo_n "checking for resolver library... " >&6; }
12529 if ${ac_cv_have_resolv+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_save_LIBS="$LIBS"
12533 for lib in '' -lresolv
12535 LIBS="$lib $ac_save_LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #ifdef HAVE_NETINET_IN_H
12539 #include <netinet/in.h>
12540 #endif
12541 #include <resolv.h>
12543 main ()
12545 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 ac_cv_have_resolv=${lib:-"none required"}
12552 else
12553 ac_cv_have_resolv="not found"
12555 rm -f core conftest.err conftest.$ac_objext \
12556 conftest$ac_exeext conftest.$ac_ext
12557 test "x$ac_cv_have_resolv" = "xnot found" || break
12558 done
12559 LIBS="$ac_save_LIBS"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12562 $as_echo "$ac_cv_have_resolv" >&6; }
12564 case "$ac_cv_have_resolv" in
12565 "not found") ;;
12566 "none required")
12568 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12571 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12573 RESOLV_LIBS=$ac_cv_have_resolv
12575 esac
12578 if test "x$with_cms" != "xno"
12579 then
12580 if ${LCMS2_CFLAGS:+false} :; then :
12581 if ${PKG_CONFIG+:} false; then :
12582 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12586 if ${LCMS2_LIBS:+false} :; then :
12587 if ${PKG_CONFIG+:} false; then :
12588 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12592 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12593 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12594 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12595 ac_save_CPPFLAGS=$CPPFLAGS
12596 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12597 for ac_header in lcms2.h
12598 do :
12599 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12600 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12601 cat >>confdefs.h <<_ACEOF
12602 #define HAVE_LCMS2_H 1
12603 _ACEOF
12607 done
12609 if test "$ac_cv_header_lcms2_h" = "yes"
12610 then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12612 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12613 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_lib_save_LIBS=$LIBS
12617 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char cmsOpenProfileFromFile ();
12629 main ()
12631 return cmsOpenProfileFromFile ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12638 else
12639 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_lib_save_LIBS
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12646 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12647 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12649 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12651 else
12652 LCMS2_LIBS=""
12655 else
12656 LCMS2_CFLAGS=""
12657 LCMS2_LIBS=""
12659 CPPFLAGS=$ac_save_CPPFLAGS
12660 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12661 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12664 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12665 case "x$with_cms" in
12666 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12667 xno) ;;
12668 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12669 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12670 esac
12674 if test "x$with_freetype" != "xno"
12675 then
12676 if ${FREETYPE_CFLAGS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12681 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12682 if ${FREETYPE_LIBS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12687 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12688 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12689 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12691 ac_save_CPPFLAGS=$CPPFLAGS
12692 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12693 for ac_header in ft2build.h
12694 do :
12695 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12697 cat >>confdefs.h <<_ACEOF
12698 #define HAVE_FT2BUILD_H 1
12699 _ACEOF
12703 done
12705 if test "$ac_cv_header_ft2build_h" = "yes"
12706 then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12708 $as_echo_n "checking for -lfreetype... " >&6; }
12709 if ${ac_cv_lib_soname_freetype+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_soname_save_LIBS=$LIBS
12713 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char FT_Init_FreeType ();
12725 main ()
12727 return FT_Init_FreeType ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 case "$LIBEXT" in
12734 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12735 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'` ;;
12736 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12737 if ${ac_cv_lib_soname_freetype:+false} :; then :
12738 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12739 fi ;;
12740 esac
12742 rm -f core conftest.err conftest.$ac_objext \
12743 conftest$ac_exeext conftest.$ac_ext
12744 LIBS=$ac_check_soname_save_LIBS
12746 if ${ac_cv_lib_soname_freetype:+false} :; then :
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12748 $as_echo "not found" >&6; }
12749 FREETYPE_LIBS=""
12750 else
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12752 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12754 cat >>confdefs.h <<_ACEOF
12755 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12756 _ACEOF
12759 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12761 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12762 #include FT_MODULE_H
12764 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12766 cat >>confdefs.h <<_ACEOF
12767 #define HAVE_FT_TRUETYPEENGINETYPE 1
12768 _ACEOF
12774 else
12775 FREETYPE_CFLAGS=""
12776 FREETYPE_LIBS=""
12778 CPPFLAGS=$ac_save_CPPFLAGS
12779 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12780 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12783 if test "x$ac_cv_lib_soname_freetype" = x; then :
12784 case "x$with_freetype" in
12785 xno) ;;
12786 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12787 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12788 esac
12789 enable_fonts=${enable_fonts:-no}
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12793 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12794 if ${ac_cv_c_ppdev+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12799 #ifdef HAVE_SYS_IOCTL_H
12800 # include <sys/ioctl.h>
12801 #endif
12802 #include <linux/ppdev.h>
12804 main ()
12806 ioctl (1,PPCLAIM,0)
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_compile "$LINENO"; then :
12812 ac_cv_c_ppdev="yes"
12813 else
12814 ac_cv_c_ppdev="no"
12816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12819 $as_echo "$ac_cv_c_ppdev" >&6; }
12820 if test "$ac_cv_c_ppdev" = "yes"
12821 then
12823 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12827 ac_wine_check_funcs_save_LIBS="$LIBS"
12828 LIBS="$LIBS $PTHREAD_LIBS"
12829 for ac_func in \
12830 pthread_attr_get_np \
12831 pthread_getattr_np \
12832 pthread_getthreadid_np \
12833 pthread_get_stackaddr_np \
12834 pthread_get_stacksize_np
12835 do :
12836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12839 cat >>confdefs.h <<_ACEOF
12840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12841 _ACEOF
12844 done
12846 LIBS="$ac_wine_check_funcs_save_LIBS"
12848 if test "$ac_cv_header_zlib_h" = "yes"
12849 then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12851 $as_echo_n "checking for inflate in -lz... " >&6; }
12852 if ${ac_cv_lib_z_inflate+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lz $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char inflate ();
12868 main ()
12870 return inflate ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_z_inflate=yes
12877 else
12878 ac_cv_lib_z_inflate=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12885 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12886 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12888 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12890 Z_LIBS="-lz"
12895 if test "x$Z_LIBS" = "x"; then :
12896 case "x$with_zlib" in
12897 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12898 xno) ;;
12899 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12900 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12901 esac
12905 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12906 then
12907 if test "$ac_cv_header_gettext_po_h" = "yes"
12908 then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12910 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12911 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_lib_save_LIBS=$LIBS
12915 LIBS="-lgettextpo $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char po_message_msgctxt ();
12927 main ()
12929 return po_message_msgctxt ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12936 else
12937 ac_cv_lib_gettextpo_po_message_msgctxt=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 LIBS=$ac_check_lib_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12944 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12945 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12947 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12949 GETTEXTPO_LIBS="-lgettextpo"
12954 if test "x$GETTEXTPO_LIBS" = "x"; then :
12955 case "x$with_gettextpo" in
12956 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12957 xno) ;;
12958 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12959 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12960 esac
12963 if test "$srcdir" != .; then :
12964 case "x$with_gettextpo" in
12965 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12966 xno) ;;
12967 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12968 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12969 esac
12974 if test "x$with_pulse" != "xno";
12975 then
12976 if ${PULSE_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12982 if ${PULSE_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12991 ac_save_CPPFLAGS=$CPPFLAGS
12992 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12993 for ac_header in pulse/pulseaudio.h
12994 do :
12995 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12997 cat >>confdefs.h <<_ACEOF
12998 #define HAVE_PULSE_PULSEAUDIO_H 1
12999 _ACEOF
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13001 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13002 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13003 $as_echo_n "(cached) " >&6
13004 else
13005 ac_check_lib_save_LIBS=$LIBS
13006 LIBS="-lpulse $PULSE_LIBS $LIBS"
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char pa_stream_is_corked ();
13018 main ()
13020 return pa_stream_is_corked ();
13022 return 0;
13024 _ACEOF
13025 if ac_fn_c_try_link "$LINENO"; then :
13026 ac_cv_lib_pulse_pa_stream_is_corked=yes
13027 else
13028 ac_cv_lib_pulse_pa_stream_is_corked=no
13030 rm -f core conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13032 LIBS=$ac_check_lib_save_LIBS
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13035 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13036 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13038 else
13039 PULSE_LIBS=""
13042 else
13043 PULSE_LIBS=""
13046 done
13048 CPPFLAGS=$ac_save_CPPFLAGS
13049 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13050 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13053 if test -z "$PULSE_LIBS"; then :
13054 case "x$with_pulse" in
13055 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13056 xno) ;;
13057 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13058 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13059 esac
13060 enable_winepulse_drv=${enable_winepulse_drv:-no}
13063 if test "x$with_gstreamer" != "xno"
13064 then
13065 if ${GSTREAMER_CFLAGS:+false} :; then :
13066 if ${PKG_CONFIG+:} false; then :
13067 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13071 if ${GSTREAMER_LIBS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13078 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13080 ac_save_CPPFLAGS=$CPPFLAGS
13081 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13082 ac_gst_incl=""
13083 for i in $GSTREAMER_CFLAGS
13085 case "$i" in
13086 -I*) ac_gst_incl="$ac_gst_incl $i";;
13087 esac
13088 done
13089 GSTREAMER_CFLAGS=$ac_gst_incl
13090 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13091 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13092 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13094 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13097 #include <gst/gst.h>
13099 main ()
13101 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13103 return 0;
13105 _ACEOF
13106 if ac_fn_c_try_compile "$LINENO"; then :
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13108 $as_echo "yes" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13110 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13111 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_lib_save_LIBS=$LIBS
13115 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char gst_pad_new ();
13127 main ()
13129 return gst_pad_new ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13136 else
13137 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_lib_save_LIBS
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13144 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13145 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13149 else
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151 $as_echo "no" >&6; }
13152 ac_glib2_broken=yes
13153 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13159 CPPFLAGS=$ac_save_CPPFLAGS
13160 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13161 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13164 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 :
13165 case "x$with_gstreamer" in
13166 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13167 xno) ;;
13168 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13169 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13170 esac
13173 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13175 ALSA_LIBS=""
13177 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13178 then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13180 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13181 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_lib_save_LIBS=$LIBS
13185 LIBS="-lasound $LIBS"
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13192 #ifdef __cplusplus
13193 extern "C"
13194 #endif
13195 char snd_pcm_hw_params_get_access_mask ();
13197 main ()
13199 return snd_pcm_hw_params_get_access_mask ();
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13206 else
13207 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13209 rm -f core conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13214 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13215 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13218 #ifdef HAVE_ALSA_ASOUNDLIB_H
13219 #include <alsa/asoundlib.h>
13220 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13221 #include <sys/asoundlib.h>
13222 #endif
13224 main ()
13226 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_compile "$LINENO"; then :
13232 ALSA_LIBS="-lasound"
13234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13240 if test "x$with_oss" != xno
13241 then
13242 ac_save_CPPFLAGS="$CPPFLAGS"
13243 if test -f /etc/oss.conf
13244 then
13245 . /etc/oss.conf
13247 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13248 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13249 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13251 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13253 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13255 cat >>confdefs.h <<_ACEOF
13256 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13257 _ACEOF
13259 OSS4_CFLAGS="$ac_oss_incl"
13266 CPPFLAGS="$ac_save_CPPFLAGS"
13268 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13269 case "x$with_oss" in
13270 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13271 xno) ;;
13272 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13273 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13274 esac
13275 enable_wineoss_drv=${enable_wineoss_drv:-no}
13278 if test "x$with_udev" != "xno"
13279 then
13280 if ${UDEV_CFLAGS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13286 if ${UDEV_LIBS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13292 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13293 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13294 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13295 ac_save_CPPFLAGS=$CPPFLAGS
13296 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13297 for ac_header in libudev.h
13298 do :
13299 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13300 if test "x$ac_cv_header_libudev_h" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_LIBUDEV_H 1
13303 _ACEOF
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13305 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13306 if ${ac_cv_lib_udev_udev_new+:} false; then :
13307 $as_echo_n "(cached) " >&6
13308 else
13309 ac_check_lib_save_LIBS=$LIBS
13310 LIBS="-ludev $UDEV_LIBS $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 #ifdef __cplusplus
13318 extern "C"
13319 #endif
13320 char udev_new ();
13322 main ()
13324 return udev_new ();
13326 return 0;
13328 _ACEOF
13329 if ac_fn_c_try_link "$LINENO"; then :
13330 ac_cv_lib_udev_udev_new=yes
13331 else
13332 ac_cv_lib_udev_udev_new=no
13334 rm -f core conftest.err conftest.$ac_objext \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_lib_save_LIBS
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13339 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13340 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13342 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13344 else
13345 UDEV_LIBS=""
13348 else
13349 UDEV_LIBS=""
13352 done
13354 CPPFLAGS=$ac_save_CPPFLAGS
13355 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13356 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13359 if test "x$UDEV_LIBS" = "x"; then :
13360 case "x$with_udev" in
13361 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13362 xno) ;;
13363 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13364 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13365 esac
13369 if test "x$with_capi" != "xno"
13370 then
13371 if ${CAPI20_CFLAGS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13377 if ${CAPI20_LIBS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13384 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13388 for ac_header in capi20.h linux/capi.h
13389 do :
13390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13394 cat >>confdefs.h <<_ACEOF
13395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13396 _ACEOF
13400 done
13402 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13403 then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13405 $as_echo_n "checking for -lcapi20... " >&6; }
13406 if ${ac_cv_lib_soname_capi20+:} false; then :
13407 $as_echo_n "(cached) " >&6
13408 else
13409 ac_check_soname_save_LIBS=$LIBS
13410 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13417 #ifdef __cplusplus
13418 extern "C"
13419 #endif
13420 char capi20_register ();
13422 main ()
13424 return capi20_register ();
13426 return 0;
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 case "$LIBEXT" in
13431 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13432 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'` ;;
13433 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13434 if ${ac_cv_lib_soname_capi20:+false} :; then :
13435 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13436 fi ;;
13437 esac
13439 rm -f core conftest.err conftest.$ac_objext \
13440 conftest$ac_exeext conftest.$ac_ext
13441 LIBS=$ac_check_soname_save_LIBS
13443 if ${ac_cv_lib_soname_capi20:+false} :; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13445 $as_echo "not found" >&6; }
13447 else
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13449 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13451 cat >>confdefs.h <<_ACEOF
13452 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13453 _ACEOF
13458 CPPFLAGS=$ac_save_CPPFLAGS
13459 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13460 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13463 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13464 case "x$with_capi" in
13465 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13466 xno) ;;
13467 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13468 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13469 esac
13473 if test "x$with_cups" != "xno"
13474 then
13475 if ${CUPS_CFLAGS:+false} :; then :
13476 if ${PKG_CONFIG+:} false; then :
13477 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13480 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13481 if ${CUPS_LIBS:+false} :; then :
13482 if ${PKG_CONFIG+:} false; then :
13483 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13486 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13487 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13488 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13489 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13490 ac_save_CPPFLAGS=$CPPFLAGS
13491 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13492 for ac_header in cups/cups.h cups/ppd.h
13493 do :
13494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13495 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13496 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13497 cat >>confdefs.h <<_ACEOF
13498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13499 _ACEOF
13503 done
13505 if test "$ac_cv_header_cups_cups_h" = "yes"
13506 then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13508 $as_echo_n "checking for -lcups... " >&6; }
13509 if ${ac_cv_lib_soname_cups+:} false; then :
13510 $as_echo_n "(cached) " >&6
13511 else
13512 ac_check_soname_save_LIBS=$LIBS
13513 LIBS="-lcups $CUPS_LIBS $LIBS"
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13517 /* Override any GCC internal prototype to avoid an error.
13518 Use char because int might match the return type of a GCC
13519 builtin and then its argument prototype would still apply. */
13520 #ifdef __cplusplus
13521 extern "C"
13522 #endif
13523 char cupsGetDefault ();
13525 main ()
13527 return cupsGetDefault ();
13529 return 0;
13531 _ACEOF
13532 if ac_fn_c_try_link "$LINENO"; then :
13533 case "$LIBEXT" in
13534 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13535 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'` ;;
13536 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13537 if ${ac_cv_lib_soname_cups:+false} :; then :
13538 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13539 fi ;;
13540 esac
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_soname_save_LIBS
13546 if ${ac_cv_lib_soname_cups:+false} :; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13548 $as_echo "not found" >&6; }
13549 CUPS_LIBS=""
13550 else
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13552 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13554 cat >>confdefs.h <<_ACEOF
13555 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13556 _ACEOF
13560 else
13561 CUPS_CFLAGS=""
13562 CUPS_LIBS=""
13564 CPPFLAGS=$ac_save_CPPFLAGS
13565 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13566 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13569 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13570 case "x$with_cups" in
13571 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13572 xno) ;;
13573 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13574 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13575 esac
13579 if test "x$with_fontconfig" != "xno"
13580 then
13581 if ${FONTCONFIG_CFLAGS:+false} :; then :
13582 if ${PKG_CONFIG+:} false; then :
13583 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13586 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13587 if ${FONTCONFIG_LIBS:+false} :; then :
13588 if ${PKG_CONFIG+:} false; then :
13589 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13592 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13594 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13595 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13596 ac_save_CPPFLAGS=$CPPFLAGS
13597 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13598 for ac_header in fontconfig/fontconfig.h
13599 do :
13600 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13601 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13602 cat >>confdefs.h <<_ACEOF
13603 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13604 _ACEOF
13608 done
13610 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13611 then
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13613 $as_echo_n "checking for -lfontconfig... " >&6; }
13614 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_check_soname_save_LIBS=$LIBS
13618 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 /* Override any GCC internal prototype to avoid an error.
13623 Use char because int might match the return type of a GCC
13624 builtin and then its argument prototype would still apply. */
13625 #ifdef __cplusplus
13626 extern "C"
13627 #endif
13628 char FcInit ();
13630 main ()
13632 return FcInit ();
13634 return 0;
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 case "$LIBEXT" in
13639 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13640 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'` ;;
13641 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13642 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13643 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13644 fi ;;
13645 esac
13647 rm -f core conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649 LIBS=$ac_check_soname_save_LIBS
13651 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13653 $as_echo "not found" >&6; }
13654 FONTCONFIG_CFLAGS=""
13655 else
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13657 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13659 cat >>confdefs.h <<_ACEOF
13660 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13661 _ACEOF
13665 else
13666 FONTCONFIG_CFLAGS=""
13668 CPPFLAGS=$ac_save_CPPFLAGS
13669 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13670 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13673 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13674 case "x$with_fontconfig" in
13675 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13676 xno) ;;
13677 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13678 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13679 esac
13683 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13684 then
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13686 $as_echo_n "checking for -lgsm... " >&6; }
13687 if ${ac_cv_lib_soname_gsm+:} false; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 ac_check_soname_save_LIBS=$LIBS
13691 LIBS="-lgsm $LIBS"
13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13695 /* Override any GCC internal prototype to avoid an error.
13696 Use char because int might match the return type of a GCC
13697 builtin and then its argument prototype would still apply. */
13698 #ifdef __cplusplus
13699 extern "C"
13700 #endif
13701 char gsm_create ();
13703 main ()
13705 return gsm_create ();
13707 return 0;
13709 _ACEOF
13710 if ac_fn_c_try_link "$LINENO"; then :
13711 case "$LIBEXT" in
13712 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13713 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'` ;;
13714 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13715 if ${ac_cv_lib_soname_gsm:+false} :; then :
13716 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13717 fi ;;
13718 esac
13720 rm -f core conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_soname_save_LIBS
13724 if ${ac_cv_lib_soname_gsm:+false} :; then :
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13726 $as_echo "not found" >&6; }
13728 else
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13730 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13732 cat >>confdefs.h <<_ACEOF
13733 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13734 _ACEOF
13739 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13740 case "x$with_gsm" in
13741 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13742 xno) ;;
13743 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13744 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13745 esac
13749 if test "x$with_krb5" != "xno"
13750 then
13751 if ${KRB5_CFLAGS:+false} :; then :
13752 if ${PKG_CONFIG+:} false; then :
13753 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13756 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13757 if ${KRB5_LIBS:+false} :; then :
13758 if ${PKG_CONFIG+:} false; then :
13759 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13762 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13764 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13765 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13766 ac_save_CPPFLAGS=$CPPFLAGS
13767 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13768 for ac_header in krb5/krb5.h
13769 do :
13770 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13771 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13772 cat >>confdefs.h <<_ACEOF
13773 #define HAVE_KRB5_KRB5_H 1
13774 _ACEOF
13778 done
13780 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13781 then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13783 $as_echo_n "checking for -lkrb5... " >&6; }
13784 if ${ac_cv_lib_soname_krb5+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_check_soname_save_LIBS=$LIBS
13788 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 /* Override any GCC internal prototype to avoid an error.
13793 Use char because int might match the return type of a GCC
13794 builtin and then its argument prototype would still apply. */
13795 #ifdef __cplusplus
13796 extern "C"
13797 #endif
13798 char krb5_init_context ();
13800 main ()
13802 return krb5_init_context ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 case "$LIBEXT" in
13809 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13810 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'` ;;
13811 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13812 if ${ac_cv_lib_soname_krb5:+false} :; then :
13813 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13814 fi ;;
13815 esac
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 LIBS=$ac_check_soname_save_LIBS
13821 if ${ac_cv_lib_soname_krb5:+false} :; then :
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13823 $as_echo "not found" >&6; }
13824 KRB5_CFLAGS=""
13825 else
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13827 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13829 cat >>confdefs.h <<_ACEOF
13830 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13831 _ACEOF
13835 else
13836 KRB5_CFLAGS=""
13838 CPPFLAGS=$ac_save_CPPFLAGS
13839 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13840 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13843 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13844 case "x$with_krb5" in
13845 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13846 xno) ;;
13847 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13848 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13849 esac
13853 if test "x$with_jpeg" != "xno"
13854 then
13855 if ${JPEG_CFLAGS:+false} :; then :
13856 if ${PKG_CONFIG+:} false; then :
13857 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13861 if ${JPEG_LIBS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13870 ac_save_CPPFLAGS=$CPPFLAGS
13871 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13872 for ac_header in jpeglib.h
13873 do :
13874 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13875 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13876 cat >>confdefs.h <<_ACEOF
13877 #define HAVE_JPEGLIB_H 1
13878 _ACEOF
13882 done
13884 if test "$ac_cv_header_jpeglib_h" = "yes"
13885 then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13887 $as_echo_n "checking for -ljpeg... " >&6; }
13888 if ${ac_cv_lib_soname_jpeg+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_check_soname_save_LIBS=$LIBS
13892 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13896 /* Override any GCC internal prototype to avoid an error.
13897 Use char because int might match the return type of a GCC
13898 builtin and then its argument prototype would still apply. */
13899 #ifdef __cplusplus
13900 extern "C"
13901 #endif
13902 char jpeg_start_decompress ();
13904 main ()
13906 return jpeg_start_decompress ();
13908 return 0;
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"; then :
13912 case "$LIBEXT" in
13913 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13914 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'` ;;
13915 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13916 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13917 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13918 fi ;;
13919 esac
13921 rm -f core conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 LIBS=$ac_check_soname_save_LIBS
13925 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13927 $as_echo "not found" >&6; }
13928 JPEG_CFLAGS=""
13929 else
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13931 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13933 cat >>confdefs.h <<_ACEOF
13934 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13935 _ACEOF
13939 else
13940 JPEG_CFLAGS=""
13942 CPPFLAGS=$ac_save_CPPFLAGS
13943 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13944 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13947 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13948 case "x$with_jpeg" in
13949 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13950 xno) ;;
13951 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13952 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13953 esac
13957 if test "x$with_png" != "xno"
13958 then
13959 if ${PNG_CFLAGS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13964 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13965 if ${PNG_LIBS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13970 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13974 ac_save_CPPFLAGS=$CPPFLAGS
13975 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13976 for ac_header in png.h
13977 do :
13978 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13979 if test "x$ac_cv_header_png_h" = xyes; then :
13980 cat >>confdefs.h <<_ACEOF
13981 #define HAVE_PNG_H 1
13982 _ACEOF
13986 done
13988 if test "$ac_cv_header_png_h" = "yes"
13989 then
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13991 $as_echo_n "checking for -lpng... " >&6; }
13992 if ${ac_cv_lib_soname_png+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_check_soname_save_LIBS=$LIBS
13996 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 #ifdef __cplusplus
14004 extern "C"
14005 #endif
14006 char png_create_read_struct ();
14008 main ()
14010 return png_create_read_struct ();
14012 return 0;
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 case "$LIBEXT" in
14017 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14018 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'` ;;
14019 *) 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'`
14020 if ${ac_cv_lib_soname_png:+false} :; then :
14021 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14022 fi ;;
14023 esac
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_soname_save_LIBS
14029 if ${ac_cv_lib_soname_png:+false} :; then :
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14031 $as_echo "not found" >&6; }
14032 PNG_CFLAGS=""
14033 else
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14035 $as_echo "$ac_cv_lib_soname_png" >&6; }
14037 cat >>confdefs.h <<_ACEOF
14038 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14039 _ACEOF
14043 else
14044 PNG_CFLAGS=""
14046 CPPFLAGS=$ac_save_CPPFLAGS
14047 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14048 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14051 if test "x$ac_cv_lib_soname_png" = "x"; then :
14052 case "x$with_png" in
14053 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14054 xno) ;;
14055 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14056 This is an error since --with-png was requested." "$LINENO" 5 ;;
14057 esac
14061 if test "x$with_tiff" != "xno"
14062 then
14063 if ${TIFF_CFLAGS:+false} :; then :
14064 if ${PKG_CONFIG+:} false; then :
14065 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14069 if ${TIFF_LIBS:+false} :; then :
14070 if ${PKG_CONFIG+:} false; then :
14071 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14076 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14077 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14078 ac_save_CPPFLAGS=$CPPFLAGS
14079 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14080 for ac_header in tiffio.h
14081 do :
14082 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14083 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14084 cat >>confdefs.h <<_ACEOF
14085 #define HAVE_TIFFIO_H 1
14086 _ACEOF
14090 done
14092 if test "$ac_cv_header_tiffio_h" = "yes"
14093 then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14095 $as_echo_n "checking for -ltiff... " >&6; }
14096 if ${ac_cv_lib_soname_tiff+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 ac_check_soname_save_LIBS=$LIBS
14100 LIBS="-ltiff $TIFF_LIBS $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 #ifdef __cplusplus
14108 extern "C"
14109 #endif
14110 char TIFFClientOpen ();
14112 main ()
14114 return TIFFClientOpen ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 case "$LIBEXT" in
14121 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14122 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'` ;;
14123 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14124 if ${ac_cv_lib_soname_tiff:+false} :; then :
14125 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14126 fi ;;
14127 esac
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_soname_save_LIBS
14133 if ${ac_cv_lib_soname_tiff:+false} :; then :
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14135 $as_echo "not found" >&6; }
14137 else
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14139 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14141 cat >>confdefs.h <<_ACEOF
14142 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14143 _ACEOF
14148 CPPFLAGS=$ac_save_CPPFLAGS
14149 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14150 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14153 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14154 case "x$with_tiff" in
14155 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14156 xno) ;;
14157 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14158 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14159 esac
14163 if test "x$with_mpg123" != "xno"
14164 then
14165 if ${MPG123_CFLAGS:+false} :; then :
14166 if ${PKG_CONFIG+:} false; then :
14167 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14171 if ${MPG123_LIBS:+false} :; then :
14172 if ${PKG_CONFIG+:} false; then :
14173 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14177 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14178 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14179 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14180 ac_save_CPPFLAGS=$CPPFLAGS
14181 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14182 for ac_header in mpg123.h
14183 do :
14184 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14185 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14186 cat >>confdefs.h <<_ACEOF
14187 #define HAVE_MPG123_H 1
14188 _ACEOF
14192 done
14194 if test "$ac_cv_header_mpg123_h" = "yes"
14195 then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14197 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14198 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 ac_check_lib_save_LIBS=$LIBS
14202 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 #ifdef __cplusplus
14210 extern "C"
14211 #endif
14212 char mpg123_feed ();
14214 main ()
14216 return mpg123_feed ();
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"; then :
14222 ac_cv_lib_mpg123_mpg123_feed=yes
14223 else
14224 ac_cv_lib_mpg123_mpg123_feed=no
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 LIBS=$ac_check_lib_save_LIBS
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14231 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14232 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14234 else
14235 MPG123_LIBS=""
14238 else
14239 MPG123_CFLAGS=""
14240 MPG123_LIBS=""
14242 CPPFLAGS=$ac_save_CPPFLAGS
14243 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14244 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14247 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14248 case "x$with_mpg123" in
14249 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14250 xno) ;;
14251 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14252 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14253 esac
14254 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14257 if test "$ac_cv_header_AL_al_h" = "yes"
14258 then
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14260 $as_echo_n "checking for -lopenal... " >&6; }
14261 if ${ac_cv_lib_soname_openal+:} false; then :
14262 $as_echo_n "(cached) " >&6
14263 else
14264 ac_check_soname_save_LIBS=$LIBS
14265 LIBS="-lopenal $LIBS"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14269 /* Override any GCC internal prototype to avoid an error.
14270 Use char because int might match the return type of a GCC
14271 builtin and then its argument prototype would still apply. */
14272 #ifdef __cplusplus
14273 extern "C"
14274 #endif
14275 char alGetSource3i ();
14277 main ()
14279 return alGetSource3i ();
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 case "$LIBEXT" in
14286 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14287 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'` ;;
14288 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14289 if ${ac_cv_lib_soname_openal:+false} :; then :
14290 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14291 fi ;;
14292 esac
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_check_soname_save_LIBS
14298 if ${ac_cv_lib_soname_openal:+false} :; then :
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14300 $as_echo "not found" >&6; }
14302 else
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14304 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14306 cat >>confdefs.h <<_ACEOF
14307 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14308 _ACEOF
14310 OPENAL_LIBS="-lopenal"
14312 ac_cv_lib_openal=yes
14314 cat >>confdefs.h <<_ACEOF
14315 #define HAVE_OPENAL 1
14316 _ACEOF
14320 if test "x$ac_cv_lib_openal" != xyes; then :
14321 case "x$with_openal" in
14322 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14323 xno) ;;
14324 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14325 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14326 esac
14327 enable_openal32=${enable_openal32:-no}
14330 if test "x$ac_cv_lib_openal" = xyes
14331 then
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14333 $as_echo_n "checking for openal-soft... " >&6; }
14334 if ${ac_cv_have_openalsoft+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <AL/al.h>
14340 #include <AL/alc.h>
14341 #include <AL/alext.h>
14342 LPALCRENDERSAMPLESSOFT x;
14344 main ()
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_compile "$LINENO"; then :
14352 ac_cv_have_openalsoft=yes
14353 else
14354 ac_cv_have_openalsoft=no
14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14359 $as_echo "$ac_cv_have_openalsoft" >&6; }
14361 if test "x$ac_cv_have_openalsoft" != xyes
14362 then
14363 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14364 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14365 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14366 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14367 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14368 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14369 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14370 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14371 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14372 enable_xapofx1_1=${enable_xapofx1_1:-no}
14373 enable_xapofx1_2=${enable_xapofx1_2:-no}
14374 enable_xapofx1_3=${enable_xapofx1_3:-no}
14375 enable_xapofx1_4=${enable_xapofx1_4:-no}
14376 enable_xapofx1_5=${enable_xapofx1_5:-no}
14377 enable_xaudio2_0=${enable_xaudio2_0:-no}
14378 enable_xaudio2_1=${enable_xaudio2_1:-no}
14379 enable_xaudio2_2=${enable_xaudio2_2:-no}
14380 enable_xaudio2_3=${enable_xaudio2_3:-no}
14381 enable_xaudio2_4=${enable_xaudio2_4:-no}
14382 enable_xaudio2_5=${enable_xaudio2_5:-no}
14383 enable_xaudio2_6=${enable_xaudio2_6:-no}
14384 enable_xaudio2_7=${enable_xaudio2_7:-no}
14385 enable_xaudio2_8=${enable_xaudio2_8:-no}
14386 enable_xaudio2_9=${enable_xaudio2_9:-no}
14389 if test "$ac_cv_header_kstat_h" = "yes"
14390 then
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14392 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14393 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_check_lib_save_LIBS=$LIBS
14397 LIBS="-lkstat $LIBS"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14401 /* Override any GCC internal prototype to avoid an error.
14402 Use char because int might match the return type of a GCC
14403 builtin and then its argument prototype would still apply. */
14404 #ifdef __cplusplus
14405 extern "C"
14406 #endif
14407 char kstat_open ();
14409 main ()
14411 return kstat_open ();
14413 return 0;
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_lib_kstat_kstat_open=yes
14418 else
14419 ac_cv_lib_kstat_kstat_open=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_lib_save_LIBS
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14426 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14427 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14429 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14431 KSTAT_LIBS="-lkstat"
14437 if test "$ac_cv_header_libprocstat_h" = "yes"
14438 then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14440 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14441 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_check_lib_save_LIBS=$LIBS
14445 LIBS="-lprocstat $LIBS"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14449 /* Override any GCC internal prototype to avoid an error.
14450 Use char because int might match the return type of a GCC
14451 builtin and then its argument prototype would still apply. */
14452 #ifdef __cplusplus
14453 extern "C"
14454 #endif
14455 char procstat_open_sysctl ();
14457 main ()
14459 return procstat_open_sysctl ();
14461 return 0;
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"; then :
14465 ac_cv_lib_procstat_procstat_open_sysctl=yes
14466 else
14467 ac_cv_lib_procstat_procstat_open_sysctl=no
14469 rm -f core conftest.err conftest.$ac_objext \
14470 conftest$ac_exeext conftest.$ac_ext
14471 LIBS=$ac_check_lib_save_LIBS
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14474 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14475 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14477 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14479 PROCSTAT_LIBS="-lprocstat"
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14486 $as_echo_n "checking for -lodbc... " >&6; }
14487 if ${ac_cv_lib_soname_odbc+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_check_soname_save_LIBS=$LIBS
14491 LIBS="-lodbc $LIBS"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14495 /* Override any GCC internal prototype to avoid an error.
14496 Use char because int might match the return type of a GCC
14497 builtin and then its argument prototype would still apply. */
14498 #ifdef __cplusplus
14499 extern "C"
14500 #endif
14501 char SQLConnect ();
14503 main ()
14505 return SQLConnect ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"; then :
14511 case "$LIBEXT" in
14512 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14513 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'` ;;
14514 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14515 if ${ac_cv_lib_soname_odbc:+false} :; then :
14516 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14517 fi ;;
14518 esac
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_soname_save_LIBS
14524 if ${ac_cv_lib_soname_odbc:+false} :; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14526 $as_echo "not found" >&6; }
14527 cat >>confdefs.h <<_ACEOF
14528 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14529 _ACEOF
14531 else
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14533 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14535 cat >>confdefs.h <<_ACEOF
14536 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14537 _ACEOF
14542 if test "x$with_netapi" != "xno"
14543 then
14544 if ${NETAPI_CFLAGS:+false} :; then :
14545 if ${PKG_CONFIG+:} false; then :
14546 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14550 if ${NETAPI_LIBS:+false} :; then :
14551 if ${PKG_CONFIG+:} false; then :
14552 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14557 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14558 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14559 ac_save_CPPFLAGS=$CPPFLAGS
14560 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14562 $as_echo_n "checking for -lnetapi... " >&6; }
14563 if ${ac_cv_lib_soname_netapi+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 ac_check_soname_save_LIBS=$LIBS
14567 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14571 /* Override any GCC internal prototype to avoid an error.
14572 Use char because int might match the return type of a GCC
14573 builtin and then its argument prototype would still apply. */
14574 #ifdef __cplusplus
14575 extern "C"
14576 #endif
14577 char libnetapi_init ();
14579 main ()
14581 return libnetapi_init ();
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 case "$LIBEXT" in
14588 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14589 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'` ;;
14590 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14591 if ${ac_cv_lib_soname_netapi:+false} :; then :
14592 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14593 fi ;;
14594 esac
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14598 LIBS=$ac_check_soname_save_LIBS
14600 if ${ac_cv_lib_soname_netapi:+false} :; then :
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14602 $as_echo "not found" >&6; }
14603 cat >>confdefs.h <<_ACEOF
14604 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14605 _ACEOF
14607 else
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14609 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14611 cat >>confdefs.h <<_ACEOF
14612 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14613 _ACEOF
14617 CPPFLAGS=$ac_save_CPPFLAGS
14618 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14619 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14623 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14624 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14625 then
14626 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14630 EXTRACFLAGS=""
14632 if test "x${GCC}" = "xyes"
14633 then
14634 EXTRACFLAGS="-Wall -pipe"
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14637 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14638 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 if test "$cross_compiling" = yes; then :
14642 ac_cv_c_gcc_strength_bug="no"
14643 else
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 int L[4] = {0,1,2,3};
14648 main ()
14650 static int Array[3];
14651 unsigned int B = 3;
14652 int i;
14653 for(i=0; i<B; i++) Array[i] = i - 3;
14654 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14655 L[i] = 4;
14656 return (Array[1] != -2 || L[2] != 3)
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_run "$LINENO"; then :
14662 ac_cv_c_gcc_strength_bug="no"
14663 else
14664 ac_cv_c_gcc_strength_bug="yes"
14666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14667 conftest.$ac_objext conftest.beam conftest.$ac_ext
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14672 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14673 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14674 then
14675 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14679 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14680 if ${ac_cv_cflags__fno_builtin+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 ac_wine_try_cflags_saved=$CFLAGS
14684 CFLAGS="$CFLAGS -fno-builtin"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 int main(int argc, char **argv) { return 0; }
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_cv_cflags__fno_builtin=yes
14691 else
14692 ac_cv_cflags__fno_builtin=no
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14696 CFLAGS=$ac_wine_try_cflags_saved
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14699 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14700 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14701 BUILTINFLAG="-fno-builtin"
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14705 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14706 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_wine_try_cflags_saved=$CFLAGS
14710 CFLAGS="$CFLAGS -fno-strict-aliasing"
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14713 int main(int argc, char **argv) { return 0; }
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 ac_cv_cflags__fno_strict_aliasing=yes
14717 else
14718 ac_cv_cflags__fno_strict_aliasing=no
14720 rm -f core conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14722 CFLAGS=$ac_wine_try_cflags_saved
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14725 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14726 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14727 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14730 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14731 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_wine_try_cflags_saved=$CFLAGS
14735 CFLAGS="$CFLAGS -fexcess-precision=standard"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 int main(int argc, char **argv) { return 0; }
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_cflags__fexcess_precision_standard=yes
14742 else
14743 ac_cv_cflags__fexcess_precision_standard=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 CFLAGS=$ac_wine_try_cflags_saved
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14750 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14751 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14752 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14755 saved_CFLAGS=$CFLAGS
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14757 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14758 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_wine_try_cflags_saved=$CFLAGS
14762 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 int main(int argc, char **argv) { return 0; }
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_cflags__Werror_unknown_warning_option=yes
14769 else
14770 ac_cv_cflags__Werror_unknown_warning_option=no
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 CFLAGS=$ac_wine_try_cflags_saved
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14777 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14778 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14779 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14782 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14783 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 ac_wine_try_cflags_saved=$CFLAGS
14787 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 int main(int argc, char **argv) { return 0; }
14791 _ACEOF
14792 if ac_fn_c_try_link "$LINENO"; then :
14793 ac_cv_cflags__Wdeclaration_after_statement=yes
14794 else
14795 ac_cv_cflags__Wdeclaration_after_statement=no
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext conftest.$ac_ext
14799 CFLAGS=$ac_wine_try_cflags_saved
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14802 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14803 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14804 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14807 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14808 if ${ac_cv_cflags__Wempty_body+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_wine_try_cflags_saved=$CFLAGS
14812 CFLAGS="$CFLAGS -Wempty-body"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 int main(int argc, char **argv) { return 0; }
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_cflags__Wempty_body=yes
14819 else
14820 ac_cv_cflags__Wempty_body=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 CFLAGS=$ac_wine_try_cflags_saved
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14827 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14828 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14829 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14832 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14833 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14834 $as_echo_n "(cached) " >&6
14835 else
14836 ac_wine_try_cflags_saved=$CFLAGS
14837 CFLAGS="$CFLAGS -Wignored-qualifiers"
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14840 int main(int argc, char **argv) { return 0; }
14841 _ACEOF
14842 if ac_fn_c_try_link "$LINENO"; then :
14843 ac_cv_cflags__Wignored_qualifiers=yes
14844 else
14845 ac_cv_cflags__Wignored_qualifiers=no
14847 rm -f core conftest.err conftest.$ac_objext \
14848 conftest$ac_exeext conftest.$ac_ext
14849 CFLAGS=$ac_wine_try_cflags_saved
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14852 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14853 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14854 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14857 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14858 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_wine_try_cflags_saved=$CFLAGS
14862 CFLAGS="$CFLAGS -Wshift-overflow=2"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14865 int main(int argc, char **argv) { return 0; }
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_cflags__Wshift_overflow_2=yes
14869 else
14870 ac_cv_cflags__Wshift_overflow_2=no
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 CFLAGS=$ac_wine_try_cflags_saved
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14877 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14878 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14879 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14882 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14883 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885 else
14886 ac_wine_try_cflags_saved=$CFLAGS
14887 CFLAGS="$CFLAGS -Wstrict-prototypes"
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14890 int main(int argc, char **argv) { return 0; }
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_cflags__Wstrict_prototypes=yes
14894 else
14895 ac_cv_cflags__Wstrict_prototypes=no
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14899 CFLAGS=$ac_wine_try_cflags_saved
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14902 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14903 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14904 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14907 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14908 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 ac_wine_try_cflags_saved=$CFLAGS
14912 CFLAGS="$CFLAGS -Wtype-limits"
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14915 int main(int argc, char **argv) { return 0; }
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_cflags__Wtype_limits=yes
14919 else
14920 ac_cv_cflags__Wtype_limits=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923 conftest$ac_exeext conftest.$ac_ext
14924 CFLAGS=$ac_wine_try_cflags_saved
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14927 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14928 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14929 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14932 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14933 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 ac_wine_try_cflags_saved=$CFLAGS
14937 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 int main(int argc, char **argv) { return 0; }
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_cflags__Wunused_but_set_parameter=yes
14944 else
14945 ac_cv_cflags__Wunused_but_set_parameter=no
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14949 CFLAGS=$ac_wine_try_cflags_saved
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14952 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14953 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14954 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14957 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14958 if ${ac_cv_cflags__Wvla+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 ac_wine_try_cflags_saved=$CFLAGS
14962 CFLAGS="$CFLAGS -Wvla"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 int main(int argc, char **argv) { return 0; }
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 ac_cv_cflags__Wvla=yes
14969 else
14970 ac_cv_cflags__Wvla=no
14972 rm -f core conftest.err conftest.$ac_objext \
14973 conftest$ac_exeext conftest.$ac_ext
14974 CFLAGS=$ac_wine_try_cflags_saved
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14977 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14978 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14979 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14982 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14983 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 ac_wine_try_cflags_saved=$CFLAGS
14987 CFLAGS="$CFLAGS -Wwrite-strings"
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 int main(int argc, char **argv) { return 0; }
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 ac_cv_cflags__Wwrite_strings=yes
14994 else
14995 ac_cv_cflags__Wwrite_strings=no
14997 rm -f core conftest.err conftest.$ac_objext \
14998 conftest$ac_exeext conftest.$ac_ext
14999 CFLAGS=$ac_wine_try_cflags_saved
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15002 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15003 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15004 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15008 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15009 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_wine_try_cflags_saved=$CFLAGS
15013 CFLAGS="$CFLAGS -Wpointer-arith"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_cflags__Wpointer_arith=yes
15020 else
15021 ac_cv_cflags__Wpointer_arith=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15028 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15029 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15030 saved_string_h_CFLAGS=$CFLAGS
15031 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15033 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15034 if ${ac_cv_c_string_h_warnings+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #include <string.h>
15041 main ()
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_compile "$LINENO"; then :
15049 ac_cv_c_string_h_warnings=no
15050 else
15051 ac_cv_c_string_h_warnings=yes
15053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15056 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15057 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15058 CFLAGS=$saved_string_h_CFLAGS
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15062 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15063 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_wine_try_cflags_saved=$CFLAGS
15067 CFLAGS="$CFLAGS -Wlogical-op"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 int main(int argc, char **argv) { return 0; }
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_cflags__Wlogical_op=yes
15074 else
15075 ac_cv_cflags__Wlogical_op=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 CFLAGS=$ac_wine_try_cflags_saved
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15082 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15083 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15084 saved_string_h_CFLAGS=$CFLAGS
15085 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15087 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15088 if ${ac_cv_c_logicalop_noisy+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 #include <string.h>
15094 char*f(const char *h,char n) {return strchr(h,n);}
15096 main ()
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_compile "$LINENO"; then :
15104 ac_cv_c_logicalop_noisy=no
15105 else
15106 ac_cv_c_logicalop_noisy=yes
15108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15111 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15112 CFLAGS=$saved_string_h_CFLAGS
15113 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15116 CFLAGS=$saved_CFLAGS
15118 for ac_flag in $CFLAGS; do
15119 case $ac_flag in
15120 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15121 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15122 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_wine_try_cflags_saved=$CFLAGS
15126 CFLAGS="$CFLAGS -gdwarf-2"
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 int main(int argc, char **argv) { return 0; }
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"; then :
15132 ac_cv_cflags__gdwarf_2=yes
15133 else
15134 ac_cv_cflags__gdwarf_2=no
15136 rm -f core conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138 CFLAGS=$ac_wine_try_cflags_saved
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15141 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15142 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15143 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15146 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15147 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 ac_wine_try_cflags_saved=$CFLAGS
15151 CFLAGS="$CFLAGS -gstrict-dwarf"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154 int main(int argc, char **argv) { return 0; }
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"; then :
15157 ac_cv_cflags__gstrict_dwarf=yes
15158 else
15159 ac_cv_cflags__gstrict_dwarf=no
15161 rm -f core conftest.err conftest.$ac_objext \
15162 conftest$ac_exeext conftest.$ac_ext
15163 CFLAGS=$ac_wine_try_cflags_saved
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15166 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15167 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15168 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15169 fi ;;
15170 esac
15171 done
15173 case $host_cpu in
15174 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15175 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15176 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 ac_wine_try_cflags_saved=$CFLAGS
15180 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 int main(int argc, char **argv) { return 0; }
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_cflags__fno_omit_frame_pointer=yes
15187 else
15188 ac_cv_cflags__fno_omit_frame_pointer=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 CFLAGS=$ac_wine_try_cflags_saved
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15195 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15196 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15197 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15198 fi ;;
15199 esac
15201 case $host in
15202 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15203 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15204 if ${ac_cv_cflags__Wno_format+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 ac_wine_try_cflags_saved=$CFLAGS
15208 CFLAGS="$CFLAGS -Wno-format"
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15211 int main(int argc, char **argv) { return 0; }
15212 _ACEOF
15213 if ac_fn_c_try_link "$LINENO"; then :
15214 ac_cv_cflags__Wno_format=yes
15215 else
15216 ac_cv_cflags__Wno_format=no
15218 rm -f core conftest.err conftest.$ac_objext \
15219 conftest$ac_exeext conftest.$ac_ext
15220 CFLAGS=$ac_wine_try_cflags_saved
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15223 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15224 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15225 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15226 fi ;;
15227 esac
15229 if test "x$enable_maintainer_mode" = "xyes"
15230 then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15232 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15233 if ${ac_cv_cflags__Werror+:} false; then :
15234 $as_echo_n "(cached) " >&6
15235 else
15236 ac_wine_try_cflags_saved=$CFLAGS
15237 CFLAGS="$CFLAGS -Werror"
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15240 int main(int argc, char **argv) { return 0; }
15241 _ACEOF
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_cflags__Werror=yes
15244 else
15245 ac_cv_cflags__Werror=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15249 CFLAGS=$ac_wine_try_cflags_saved
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15252 $as_echo "$ac_cv_cflags__Werror" >&6; }
15253 if test "x$ac_cv_cflags__Werror" = xyes; then :
15254 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15258 saved_CFLAGS="$CFLAGS"
15259 CFLAGS="$CFLAGS -Werror"
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15261 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15262 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15269 main ()
15273 return 0;
15275 _ACEOF
15276 if ac_fn_c_try_compile "$LINENO"; then :
15277 ac_cv_have_ms_hook_prologue="yes"
15278 else
15279 ac_cv_have_ms_hook_prologue="no"
15281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15284 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15285 CFLAGS="$saved_CFLAGS"
15286 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15287 then
15289 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15291 else
15292 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15299 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15300 if ${ac_cv_c_fortify_enabled+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305 #include <string.h>
15307 main ()
15309 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15310 #error Fortify enabled
15311 #endif
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_compile "$LINENO"; then :
15317 ac_cv_c_fortify_enabled=no
15318 else
15319 ac_cv_c_fortify_enabled=yes
15321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15324 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15325 if test "$ac_cv_c_fortify_enabled" = yes
15326 then
15327 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15332 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15333 if ${ac_cv_c_extern_prefix+:} false; then :
15334 $as_echo_n "(cached) " >&6
15335 else
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 extern int ac_test;
15340 main ()
15342 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15344 return 0;
15346 _ACEOF
15347 if ac_fn_c_try_link "$LINENO"; then :
15348 ac_cv_c_extern_prefix="yes"
15349 else
15350 ac_cv_c_extern_prefix="no"
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15356 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15358 case $host_cpu in
15359 *i[3456789]86*)
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15361 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15362 if ${ac_cv_c_stdcall_suffix+:} false; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15367 #ifndef _MSC_VER
15368 #define __stdcall __attribute__((__stdcall__))
15369 #endif
15370 int __stdcall ac_test(int i) { return i; }
15372 main ()
15374 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15376 return 0;
15378 _ACEOF
15379 if ac_fn_c_try_link "$LINENO"; then :
15380 ac_cv_c_stdcall_suffix="yes"
15381 else
15382 ac_cv_c_stdcall_suffix="no"
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15388 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15389 *) ac_cv_c_stdcall_suffix="no" ;;
15390 esac
15393 if test "$ac_cv_c_extern_prefix" = "yes"
15394 then
15395 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15397 asm_name_prefix="_"
15398 else
15399 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15401 asm_name_prefix=""
15405 if test "$ac_cv_c_stdcall_suffix" = "yes"
15406 then
15407 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15409 else
15410 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15416 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15417 if ${ac_cv_asm_func_def+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15424 main ()
15426 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 ac_cv_asm_func_def=".def"
15433 else
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15438 main ()
15440 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 ac_cv_asm_func_def=".type @function"
15447 else
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15452 main ()
15454 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_link "$LINENO"; then :
15460 ac_cv_asm_func_def=".type 2"
15461 else
15462 ac_cv_asm_func_def="unknown"
15464 rm -f core conftest.err conftest.$ac_objext \
15465 conftest$ac_exeext conftest.$ac_ext
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15470 rm -f core conftest.err conftest.$ac_objext \
15471 conftest$ac_exeext conftest.$ac_ext
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15474 $as_echo "$ac_cv_asm_func_def" >&6; }
15477 case "$ac_cv_asm_func_def" in
15478 ".def")
15479 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15481 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15482 ".type @function")
15483 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15485 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15486 ".type 2")
15487 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15489 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15491 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15493 asm_func_header="" ;;
15494 esac
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15497 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15498 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15503 asm(".text\n\t.long 0");
15505 main ()
15509 return 0;
15511 _ACEOF
15512 if ac_fn_c_try_compile "$LINENO"; then :
15513 ac_cv_c_asm_outside_funcs="yes"
15514 else
15515 ac_cv_c_asm_outside_funcs="no"
15517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15520 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15523 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15524 if ${ac_cv_c_dot_previous+:} false; then :
15525 $as_echo_n "(cached) " >&6
15526 else
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15531 main ()
15533 asm(".text\nac_test:\t.long 0\n\t.previous");
15535 return 0;
15537 _ACEOF
15538 if ac_fn_c_try_link "$LINENO"; then :
15539 ac_cv_c_dot_previous="yes"
15540 else
15541 ac_cv_c_dot_previous="no"
15543 rm -f core conftest.err conftest.$ac_objext \
15544 conftest$ac_exeext conftest.$ac_ext
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15547 $as_echo "$ac_cv_c_dot_previous" >&6; }
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15550 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15551 if ${ac_cv_c_cfi_support+:} false; then :
15552 $as_echo_n "(cached) " >&6
15553 else
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15556 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15558 main ()
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_compile "$LINENO"; then :
15566 ac_cv_c_cfi_support="yes"
15567 else
15568 ac_cv_c_cfi_support="no"
15570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15573 $as_echo "$ac_cv_c_cfi_support" >&6; }
15575 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15576 asm_func_trailer=""
15577 if test "$ac_cv_c_dot_previous" = "yes"
15578 then
15579 asm_func_trailer="\\n\\t.previous"
15581 if test "$ac_cv_c_cfi_support" = "yes"
15582 then
15583 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15584 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15586 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15588 UNWINDFLAGS=-fasynchronous-unwind-tables
15590 else
15591 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15593 if test "x$enable_win64" = "xyes"
15594 then
15595 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15599 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15602 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15603 then
15604 cat >>confdefs.h <<_ACEOF
15605 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15606 _ACEOF
15608 else
15609 cat >>confdefs.h <<_ACEOF
15610 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15611 _ACEOF
15615 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15618 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15622 case $build_os in
15623 cygwin*|mingw32*) TOOLSEXT=".exe"
15625 esac
15627 case $host_os in
15628 linux*)
15629 case $host_cpu in
15630 *i[3456789]86*|x86_64*)
15631 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15632 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15634 esac
15636 esac
15639 ac_save_CFLAGS="$CFLAGS"
15640 CFLAGS="$CFLAGS $BUILTINFLAG"
15641 for ac_func in \
15642 __res_get_state \
15643 __res_getservers \
15644 _finite \
15645 _isnan \
15646 _pclose \
15647 _popen \
15648 _snprintf \
15649 _spawnvp \
15650 _strdup \
15651 _stricmp \
15652 _strnicmp \
15653 _strtoi64 \
15654 _strtoui64 \
15655 _vsnprintf \
15656 asctime_r \
15657 chsize \
15658 dlopen \
15659 epoll_create \
15660 ffs \
15661 finitef \
15662 fnmatch \
15663 fork \
15664 fpclass \
15665 fstatfs \
15666 fstatvfs \
15667 ftruncate \
15668 futimens \
15669 futimes \
15670 futimesat \
15671 getattrlist \
15672 getauxval \
15673 getifaddrs \
15674 getopt_long_only \
15675 getpwuid \
15676 gettimeofday \
15677 getuid \
15678 isnanf \
15679 kqueue \
15680 lstat \
15681 memmove \
15682 mmap \
15683 pclose \
15684 pipe2 \
15685 poll \
15686 popen \
15687 port_create \
15688 prctl \
15689 pread \
15690 proc_pidinfo \
15691 pwrite \
15692 readdir \
15693 readlink \
15694 sched_yield \
15695 select \
15696 setproctitle \
15697 setprogname \
15698 setrlimit \
15699 settimeofday \
15700 sigaltstack \
15701 sigprocmask \
15702 snprintf \
15703 statfs \
15704 statvfs \
15705 strcasecmp \
15706 strdup \
15707 strerror \
15708 strncasecmp \
15709 strtold \
15710 strtoll \
15711 strtoull \
15712 symlink \
15713 sysinfo \
15714 tcdrain \
15715 thr_kill2 \
15716 timegm \
15717 usleep \
15718 vsnprintf
15720 do :
15721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15726 _ACEOF
15729 done
15731 CFLAGS="$ac_save_CFLAGS"
15733 if test "$ac_cv_func_dlopen" = no
15734 then
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15736 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15737 if ${ac_cv_lib_dl_dlopen+:} false; then :
15738 $as_echo_n "(cached) " >&6
15739 else
15740 ac_check_lib_save_LIBS=$LIBS
15741 LIBS="-ldl $LIBS"
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15745 /* Override any GCC internal prototype to avoid an error.
15746 Use char because int might match the return type of a GCC
15747 builtin and then its argument prototype would still apply. */
15748 #ifdef __cplusplus
15749 extern "C"
15750 #endif
15751 char dlopen ();
15753 main ()
15755 return dlopen ();
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"; then :
15761 ac_cv_lib_dl_dlopen=yes
15762 else
15763 ac_cv_lib_dl_dlopen=no
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15767 LIBS=$ac_check_lib_save_LIBS
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15770 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15771 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15772 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15773 DL_LIBS="-ldl"
15778 ac_wine_check_funcs_save_LIBS="$LIBS"
15779 LIBS="$LIBS $DL_LIBS"
15780 for ac_func in dladdr
15781 do :
15782 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15783 if test "x$ac_cv_func_dladdr" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_DLADDR 1
15786 _ACEOF
15789 done
15791 LIBS="$ac_wine_check_funcs_save_LIBS"
15793 if test "$ac_cv_func_poll" = no
15794 then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15796 $as_echo_n "checking for poll in -lpoll... " >&6; }
15797 if ${ac_cv_lib_poll_poll+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 ac_check_lib_save_LIBS=$LIBS
15801 LIBS="-lpoll $LIBS"
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 #ifdef __cplusplus
15809 extern "C"
15810 #endif
15811 char poll ();
15813 main ()
15815 return poll ();
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 ac_cv_lib_poll_poll=yes
15822 else
15823 ac_cv_lib_poll_poll=no
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_lib_save_LIBS
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15830 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15831 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15832 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15833 POLL_LIBS="-lpoll"
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15840 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15841 if ${ac_cv_search_gethostbyname+:} false; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 ac_func_search_save_LIBS=$LIBS
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15848 /* Override any GCC internal prototype to avoid an error.
15849 Use char because int might match the return type of a GCC
15850 builtin and then its argument prototype would still apply. */
15851 #ifdef __cplusplus
15852 extern "C"
15853 #endif
15854 char gethostbyname ();
15856 main ()
15858 return gethostbyname ();
15860 return 0;
15862 _ACEOF
15863 for ac_lib in '' nsl; do
15864 if test -z "$ac_lib"; then
15865 ac_res="none required"
15866 else
15867 ac_res=-l$ac_lib
15868 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 ac_cv_search_gethostbyname=$ac_res
15873 rm -f core conftest.err conftest.$ac_objext \
15874 conftest$ac_exeext
15875 if ${ac_cv_search_gethostbyname+:} false; then :
15876 break
15878 done
15879 if ${ac_cv_search_gethostbyname+:} false; then :
15881 else
15882 ac_cv_search_gethostbyname=no
15884 rm conftest.$ac_ext
15885 LIBS=$ac_func_search_save_LIBS
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15888 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15889 ac_res=$ac_cv_search_gethostbyname
15890 if test "$ac_res" != no; then :
15891 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15897 $as_echo_n "checking for library containing connect... " >&6; }
15898 if ${ac_cv_search_connect+:} false; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 ac_func_search_save_LIBS=$LIBS
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 #ifdef __cplusplus
15909 extern "C"
15910 #endif
15911 char connect ();
15913 main ()
15915 return connect ();
15917 return 0;
15919 _ACEOF
15920 for ac_lib in '' socket; do
15921 if test -z "$ac_lib"; then
15922 ac_res="none required"
15923 else
15924 ac_res=-l$ac_lib
15925 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 ac_cv_search_connect=$ac_res
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext
15932 if ${ac_cv_search_connect+:} false; then :
15933 break
15935 done
15936 if ${ac_cv_search_connect+:} false; then :
15938 else
15939 ac_cv_search_connect=no
15941 rm conftest.$ac_ext
15942 LIBS=$ac_func_search_save_LIBS
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15945 $as_echo "$ac_cv_search_connect" >&6; }
15946 ac_res=$ac_cv_search_connect
15947 if test "$ac_res" != no; then :
15948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15954 $as_echo_n "checking for library containing inet_aton... " >&6; }
15955 if ${ac_cv_search_inet_aton+:} false; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 ac_func_search_save_LIBS=$LIBS
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15962 /* Override any GCC internal prototype to avoid an error.
15963 Use char because int might match the return type of a GCC
15964 builtin and then its argument prototype would still apply. */
15965 #ifdef __cplusplus
15966 extern "C"
15967 #endif
15968 char inet_aton ();
15970 main ()
15972 return inet_aton ();
15974 return 0;
15976 _ACEOF
15977 for ac_lib in '' resolv; do
15978 if test -z "$ac_lib"; then
15979 ac_res="none required"
15980 else
15981 ac_res=-l$ac_lib
15982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15984 if ac_fn_c_try_link "$LINENO"; then :
15985 ac_cv_search_inet_aton=$ac_res
15987 rm -f core conftest.err conftest.$ac_objext \
15988 conftest$ac_exeext
15989 if ${ac_cv_search_inet_aton+:} false; then :
15990 break
15992 done
15993 if ${ac_cv_search_inet_aton+:} false; then :
15995 else
15996 ac_cv_search_inet_aton=no
15998 rm conftest.$ac_ext
15999 LIBS=$ac_func_search_save_LIBS
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16002 $as_echo "$ac_cv_search_inet_aton" >&6; }
16003 ac_res=$ac_cv_search_inet_aton
16004 if test "$ac_res" != no; then :
16005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16010 for ac_func in \
16011 getaddrinfo \
16012 getnameinfo \
16013 getnetbyname \
16014 getprotobyname \
16015 getprotobynumber \
16016 getservbyport \
16017 inet_addr \
16018 inet_network \
16019 inet_ntop \
16020 inet_pton \
16021 sendmsg \
16022 socketpair \
16024 do :
16025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16030 _ACEOF
16033 done
16036 ac_save_LIBS=$LIBS
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16038 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16039 if ${ac_cv_search_clock_gettime+:} false; then :
16040 $as_echo_n "(cached) " >&6
16041 else
16042 ac_func_search_save_LIBS=$LIBS
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16049 #ifdef __cplusplus
16050 extern "C"
16051 #endif
16052 char clock_gettime ();
16054 main ()
16056 return clock_gettime ();
16058 return 0;
16060 _ACEOF
16061 for ac_lib in '' rt; do
16062 if test -z "$ac_lib"; then
16063 ac_res="none required"
16064 else
16065 ac_res=-l$ac_lib
16066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16068 if ac_fn_c_try_link "$LINENO"; then :
16069 ac_cv_search_clock_gettime=$ac_res
16071 rm -f core conftest.err conftest.$ac_objext \
16072 conftest$ac_exeext
16073 if ${ac_cv_search_clock_gettime+:} false; then :
16074 break
16076 done
16077 if ${ac_cv_search_clock_gettime+:} false; then :
16079 else
16080 ac_cv_search_clock_gettime=no
16082 rm conftest.$ac_ext
16083 LIBS=$ac_func_search_save_LIBS
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16086 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16087 ac_res=$ac_cv_search_clock_gettime
16088 if test "$ac_res" != no; then :
16089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16091 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16093 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16097 LIBS=$ac_save_LIBS
16099 if test "x$with_ldap" != "xno"
16100 then
16101 if ${LDAP_CFLAGS:+false} :; then :
16102 if ${PKG_CONFIG+:} false; then :
16103 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16107 if ${LDAP_LIBS:+false} :; then :
16108 if ${PKG_CONFIG+:} false; then :
16109 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16113 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16114 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16115 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16116 ac_save_CPPFLAGS=$CPPFLAGS
16117 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16118 for ac_header in ldap.h lber.h
16119 do :
16120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16121 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16122 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16125 _ACEOF
16129 done
16131 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16132 then
16133 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16135 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16137 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16138 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16139 $as_echo_n "(cached) " >&6
16140 else
16141 ac_check_lib_save_LIBS=$LIBS
16142 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char ldap_initialize ();
16154 main ()
16156 return ldap_initialize ();
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_link "$LINENO"; then :
16162 ac_cv_lib_ldap_r_ldap_initialize=yes
16163 else
16164 ac_cv_lib_ldap_r_ldap_initialize=no
16166 rm -f core conftest.err conftest.$ac_objext \
16167 conftest$ac_exeext conftest.$ac_ext
16168 LIBS=$ac_check_lib_save_LIBS
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16171 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16172 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16174 $as_echo_n "checking for ber_init in -llber... " >&6; }
16175 if ${ac_cv_lib_lber_ber_init+:} false; then :
16176 $as_echo_n "(cached) " >&6
16177 else
16178 ac_check_lib_save_LIBS=$LIBS
16179 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 /* Override any GCC internal prototype to avoid an error.
16184 Use char because int might match the return type of a GCC
16185 builtin and then its argument prototype would still apply. */
16186 #ifdef __cplusplus
16187 extern "C"
16188 #endif
16189 char ber_init ();
16191 main ()
16193 return ber_init ();
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_link "$LINENO"; then :
16199 ac_cv_lib_lber_ber_init=yes
16200 else
16201 ac_cv_lib_lber_ber_init=no
16203 rm -f core conftest.err conftest.$ac_objext \
16204 conftest$ac_exeext conftest.$ac_ext
16205 LIBS=$ac_check_lib_save_LIBS
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16208 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16209 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16211 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16213 else
16214 LDAP_LIBS=""
16217 else
16218 LDAP_LIBS=""
16221 else
16222 LDAP_LIBS=""
16225 ac_wine_check_funcs_save_LIBS="$LIBS"
16226 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16227 for ac_func in \
16228 ldap_count_references \
16229 ldap_first_reference \
16230 ldap_next_reference \
16231 ldap_parse_reference \
16232 ldap_parse_sort_control \
16233 ldap_parse_sortresponse_control \
16234 ldap_parse_vlv_control \
16235 ldap_parse_vlvresponse_control
16236 do :
16237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16242 _ACEOF
16245 done
16247 LIBS="$ac_wine_check_funcs_save_LIBS"
16248 else
16249 LDAP_LIBS=""
16251 CPPFLAGS=$ac_save_CPPFLAGS
16252 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16253 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16256 if test "x$LDAP_LIBS" = "x"; then :
16257 case "x$with_ldap" in
16258 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16259 xno) ;;
16260 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16261 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16262 esac
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16267 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16268 if ${wine_cv_one_arg_mkdir+:} false; then :
16269 $as_echo_n "(cached) " >&6
16270 else
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16273 #include <sys/stat.h>
16275 main ()
16277 mkdir("foo");
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_compile "$LINENO"; then :
16283 wine_cv_one_arg_mkdir=yes
16284 else
16285 wine_cv_one_arg_mkdir=no
16287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16290 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16291 if test "$wine_cv_one_arg_mkdir" = "yes"
16292 then
16294 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16299 $as_echo_n "checking for sched_setaffinity... " >&6; }
16300 if ${wine_cv_have_sched_setaffinity+:} false; then :
16301 $as_echo_n "(cached) " >&6
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16305 #define _GNU_SOURCE
16306 #include <sched.h>
16308 main ()
16310 sched_setaffinity(0, 0, 0);
16312 return 0;
16314 _ACEOF
16315 if ac_fn_c_try_link "$LINENO"; then :
16316 wine_cv_have_sched_setaffinity=yes
16317 else
16318 wine_cv_have_sched_setaffinity=no
16320 rm -f core conftest.err conftest.$ac_objext \
16321 conftest$ac_exeext conftest.$ac_ext
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16324 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16325 if test "$wine_cv_have_sched_setaffinity" = "yes"
16326 then
16328 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16333 $as_echo_n "checking for fallocate... " >&6; }
16334 if ${wine_cv_have_fallocate+:} false; then :
16335 $as_echo_n "(cached) " >&6
16336 else
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339 #define _GNU_SOURCE
16340 #include <fcntl.h>
16342 main ()
16344 fallocate(-1, 0, 0, 0);
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_link "$LINENO"; then :
16350 wine_cv_have_fallocate=yes
16351 else
16352 wine_cv_have_fallocate=no
16354 rm -f core conftest.err conftest.$ac_objext \
16355 conftest$ac_exeext conftest.$ac_ext
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16358 $as_echo "$wine_cv_have_fallocate" >&6; }
16359 if test "$wine_cv_have_fallocate" = "yes"
16360 then
16362 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16368 $as_echo_n "checking for inline... " >&6; }
16369 if ${ac_cv_c_inline+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 ac_cv_c_inline=no
16373 for ac_kw in inline __inline__ __inline; do
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #ifndef __cplusplus
16377 typedef int foo_t;
16378 static $ac_kw foo_t static_foo () {return 0; }
16379 $ac_kw foo_t foo () {return 0; }
16380 #endif
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 ac_cv_c_inline=$ac_kw
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16387 test "$ac_cv_c_inline" != no && break
16388 done
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16392 $as_echo "$ac_cv_c_inline" >&6; }
16394 case $ac_cv_c_inline in
16395 inline | yes) ;;
16397 case $ac_cv_c_inline in
16398 no) ac_val=;;
16399 *) ac_val=$ac_cv_c_inline;;
16400 esac
16401 cat >>confdefs.h <<_ACEOF
16402 #ifndef __cplusplus
16403 #define inline $ac_val
16404 #endif
16405 _ACEOF
16407 esac
16409 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16410 if test "x$ac_cv_type_mode_t" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_MODE_T 1
16414 _ACEOF
16418 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16419 if test "x$ac_cv_type_off_t" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_OFF_T 1
16423 _ACEOF
16427 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16428 if test "x$ac_cv_type_pid_t" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_PID_T 1
16432 _ACEOF
16436 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16437 if test "x$ac_cv_type_size_t" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_SIZE_T 1
16441 _ACEOF
16445 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16446 if test "x$ac_cv_type_ssize_t" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_SSIZE_T 1
16450 _ACEOF
16454 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16455 if test "x$ac_cv_type_long_long" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_LONG_LONG 1
16459 _ACEOF
16463 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16464 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_FSBLKCNT_T 1
16468 _ACEOF
16472 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16473 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_FSFILCNT_T 1
16477 _ACEOF
16482 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16483 #include <signal.h>
16485 if test "x$ac_cv_type_sigset_t" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_SIGSET_T 1
16489 _ACEOF
16494 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16496 if test "x$ac_cv_type_request_sense" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_REQUEST_SENSE 1
16500 _ACEOF
16506 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16507 #ifdef HAVE_SYS_SOCKET_H
16508 #include <sys/socket.h>
16509 #endif
16510 #ifdef HAVE_SYS_SOCKETVAR_H
16511 #include <sys/socketvar.h>
16512 #endif
16513 #ifdef HAVE_NET_ROUTE_H
16514 #include <net/route.h>
16515 #endif
16516 #ifdef HAVE_NETINET_IN_H
16517 #include <netinet/in.h>
16518 #endif
16519 #ifdef HAVE_NETINET_IN_SYSTM_H
16520 #include <netinet/in_systm.h>
16521 #endif
16522 #ifdef HAVE_NETINET_IP_H
16523 #include <netinet/ip.h>
16524 #endif
16525 #ifdef HAVE_NETINET_IN_PCB_H
16526 #include <netinet/in_pcb.h>
16527 #endif
16529 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT_XINPGEN 1
16533 _ACEOF
16539 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16540 #include <link.h>
16541 #endif
16542 #ifdef HAVE_SYS_LINK_H
16543 #include <sys/link.h>
16544 #endif
16546 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_R_DEBUG 1
16550 _ACEOF
16554 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16555 #include <link.h>
16556 #endif
16557 #ifdef HAVE_SYS_LINK_H
16558 #include <sys/link.h>
16559 #endif
16561 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_LINK_MAP 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16572 #include <linux/input.h>
16573 #endif
16575 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16579 _ACEOF
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16586 $as_echo_n "checking for if_nameindex... " >&6; }
16587 if ${wine_cv_have_if_nameindex+:} false; then :
16588 $as_echo_n "(cached) " >&6
16589 else
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #ifdef HAVE_SYS_TYPES_H
16593 #include <sys/types.h>
16594 #endif
16595 #ifdef HAVE_SYS_SOCKET_H
16596 #include <sys/socket.h>
16597 #endif
16598 #ifdef HAVE_NET_IF_H
16599 # include <net/if.h>
16600 #endif
16602 main ()
16604 struct if_nameindex *p = if_nameindex(); return p->if_index;
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 wine_cv_have_if_nameindex=yes
16611 else
16612 wine_cv_have_if_nameindex=no
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16618 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16619 if test "$wine_cv_have_if_nameindex" = "yes"
16620 then
16622 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16627 $as_echo_n "checking for sigaddset... " >&6; }
16628 if ${wine_cv_have_sigaddset+:} false; then :
16629 $as_echo_n "(cached) " >&6
16630 else
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 #include <signal.h>
16635 main ()
16637 sigset_t set; sigaddset(&set,SIGTERM);
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 wine_cv_have_sigaddset=yes
16644 else
16645 wine_cv_have_sigaddset=no
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16651 $as_echo "$wine_cv_have_sigaddset" >&6; }
16652 if test "$wine_cv_have_sigaddset" = "yes"
16653 then
16655 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16661 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16662 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #include <netdb.h>
16669 main ()
16672 char *name=0;
16673 struct hostent he;
16674 struct hostent *result;
16675 char *buf=0;
16676 int bufsize=0;
16677 int errnr;
16678 char *addr=0;
16679 int addrlen=0;
16680 int addrtype=0;
16681 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16682 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16685 return 0;
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 wine_cv_linux_gethostbyname_r_6=yes
16690 else
16691 wine_cv_linux_gethostbyname_r_6=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16699 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16700 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16701 then
16703 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16707 if test "$ac_cv_header_linux_joystick_h" = "yes"
16708 then
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16710 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16711 if ${wine_cv_linux_joystick_22_api+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 #include <sys/ioctl.h>
16718 #include <sys/types.h>
16719 #include <linux/joystick.h>
16721 struct js_event blub;
16722 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16723 #error "no 2.2 header"
16724 #endif
16727 main ()
16729 /*empty*/
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_compile "$LINENO"; then :
16735 wine_cv_linux_joystick_22_api=yes
16736 else
16737 wine_cv_linux_joystick_22_api=no
16739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16743 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16744 if test "$wine_cv_linux_joystick_22_api" = "yes"
16745 then
16747 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16753 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16754 #ifdef HAVE_SYS_PARAM_H
16755 # include <sys/param.h>
16756 #endif
16757 #ifdef HAVE_SYS_MOUNT_H
16758 # include <sys/mount.h>
16759 #endif
16760 #ifdef HAVE_SYS_VFS_H
16761 # include <sys/vfs.h>
16762 #endif
16763 #ifdef HAVE_SYS_STATFS_H
16764 # include <sys/statfs.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_STATFS_F_BFREE 1
16771 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16776 #ifdef HAVE_SYS_PARAM_H
16777 # include <sys/param.h>
16778 #endif
16779 #ifdef HAVE_SYS_MOUNT_H
16780 # include <sys/mount.h>
16781 #endif
16782 #ifdef HAVE_SYS_VFS_H
16783 # include <sys/vfs.h>
16784 #endif
16785 #ifdef HAVE_SYS_STATFS_H
16786 # include <sys/statfs.h>
16787 #endif
16789 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16791 cat >>confdefs.h <<_ACEOF
16792 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16793 _ACEOF
16797 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16798 #ifdef HAVE_SYS_PARAM_H
16799 # include <sys/param.h>
16800 #endif
16801 #ifdef HAVE_SYS_MOUNT_H
16802 # include <sys/mount.h>
16803 #endif
16804 #ifdef HAVE_SYS_VFS_H
16805 # include <sys/vfs.h>
16806 #endif
16807 #ifdef HAVE_SYS_STATFS_H
16808 # include <sys/statfs.h>
16809 #endif
16811 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16813 cat >>confdefs.h <<_ACEOF
16814 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16815 _ACEOF
16819 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16820 #ifdef HAVE_SYS_PARAM_H
16821 # include <sys/param.h>
16822 #endif
16823 #ifdef HAVE_SYS_MOUNT_H
16824 # include <sys/mount.h>
16825 #endif
16826 #ifdef HAVE_SYS_VFS_H
16827 # include <sys/vfs.h>
16828 #endif
16829 #ifdef HAVE_SYS_STATFS_H
16830 # include <sys/statfs.h>
16831 #endif
16833 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_STRUCT_STATFS_F_FFREE 1
16837 _ACEOF
16841 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16842 #ifdef HAVE_SYS_PARAM_H
16843 # include <sys/param.h>
16844 #endif
16845 #ifdef HAVE_SYS_MOUNT_H
16846 # include <sys/mount.h>
16847 #endif
16848 #ifdef HAVE_SYS_VFS_H
16849 # include <sys/vfs.h>
16850 #endif
16851 #ifdef HAVE_SYS_STATFS_H
16852 # include <sys/statfs.h>
16853 #endif
16855 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16857 cat >>confdefs.h <<_ACEOF
16858 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16859 _ACEOF
16863 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16864 #ifdef HAVE_SYS_PARAM_H
16865 # include <sys/param.h>
16866 #endif
16867 #ifdef HAVE_SYS_MOUNT_H
16868 # include <sys/mount.h>
16869 #endif
16870 #ifdef HAVE_SYS_VFS_H
16871 # include <sys/vfs.h>
16872 #endif
16873 #ifdef HAVE_SYS_STATFS_H
16874 # include <sys/statfs.h>
16875 #endif
16877 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16881 _ACEOF
16887 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16888 #include <sys/statvfs.h>
16889 #endif
16891 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16893 cat >>confdefs.h <<_ACEOF
16894 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16895 _ACEOF
16901 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16902 #include <dirent.h>
16903 #endif
16905 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16909 _ACEOF
16915 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16916 #ifdef HAVE_SYS_SOCKET_H
16917 # include <sys/socket.h>
16918 #endif
16919 #ifdef HAVE_SYS_UN_H
16920 # include <sys/un.h>
16921 #endif
16923 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16932 #ifdef HAVE_SYS_SOCKET_H
16933 # include <sys/socket.h>
16934 #endif
16935 #ifdef HAVE_SYS_UN_H
16936 # include <sys/un.h>
16937 #endif
16939 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16941 cat >>confdefs.h <<_ACEOF
16942 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16943 _ACEOF
16947 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16948 #ifdef HAVE_SYS_SOCKET_H
16949 # include <sys/socket.h>
16950 #endif
16951 #ifdef HAVE_SYS_UN_H
16952 # include <sys/un.h>
16953 #endif
16955 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16959 _ACEOF
16965 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16966 #ifdef HAVE_SCSI_SG_H
16967 #include <scsi/sg.h>
16968 #endif
16970 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_SCSIREQ_T_CMD 1
16974 _ACEOF
16978 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>
16979 #ifdef HAVE_SCSI_SG_H
16980 #include <scsi/sg.h>
16981 #endif
16983 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16987 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16995 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_SIGINFO_T_SI_FD 1
16999 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17006 #ifdef HAVE_SYS_MTIO_H
17007 #include <sys/mtio.h>
17008 #endif
17010 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17014 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17019 #ifdef HAVE_SYS_MTIO_H
17020 #include <sys/mtio.h>
17021 #endif
17023 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17027 _ACEOF
17031 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17032 #ifdef HAVE_SYS_MTIO_H
17033 #include <sys/mtio.h>
17034 #endif
17036 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17038 cat >>confdefs.h <<_ACEOF
17039 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17040 _ACEOF
17046 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17047 #include <getopt.h>
17048 #endif
17050 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_STRUCT_OPTION_NAME 1
17054 _ACEOF
17060 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17061 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17065 _ACEOF
17069 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17070 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_STRUCT_STAT_ST_MTIM 1
17074 _ACEOF
17078 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17079 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17083 _ACEOF
17087 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17088 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_STRUCT_STAT_ST_CTIM 1
17092 _ACEOF
17096 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17097 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17101 _ACEOF
17105 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17106 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17108 cat >>confdefs.h <<_ACEOF
17109 #define HAVE_STRUCT_STAT_ST_ATIM 1
17110 _ACEOF
17114 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17115 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17117 cat >>confdefs.h <<_ACEOF
17118 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17119 _ACEOF
17123 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17124 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17126 cat >>confdefs.h <<_ACEOF
17127 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17128 _ACEOF
17132 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17133 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17137 _ACEOF
17141 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17142 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17146 _ACEOF
17150 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17151 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17153 cat >>confdefs.h <<_ACEOF
17154 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17155 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17160 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17164 _ACEOF
17170 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
17171 #include <sys/types.h>
17172 #endif
17173 #ifdef HAVE_NETINET_IN_H
17174 #include <netinet/in.h>
17175 #endif
17177 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17181 _ACEOF
17187 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17188 #include <sys/types.h>
17189 #endif
17190 #ifdef HAVE_NETINET_IN_H
17191 #include <netinet/in.h>
17192 #endif
17193 #ifdef HAVE_RESOLV_H
17194 #include <resolv.h>
17195 #endif
17197 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_STRUCT___RES_STATE 1
17201 _ACEOF
17207 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
17208 #include <resolv.h>
17209 #endif
17211 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17215 _ACEOF
17221 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17222 #include <sys/types.h>
17223 #endif
17224 #ifdef HAVE_NETINET_IN_H
17225 # include <netinet/in.h>
17226 #endif
17227 #ifdef HAVE_ARPA_NAMESER_H
17228 # include <arpa/nameser.h>
17229 #endif
17231 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define HAVE_NS_MSG__MSG_PTR 1
17235 _ACEOF
17241 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17242 #include <sys/types.h>
17243 #endif
17244 #ifdef HAVE_NETINET_IN_H
17245 #include <netinet/in.h>
17246 #endif
17247 #ifdef HAVE_NETINET_IP_H
17248 #include <netinet/ip.h>
17249 #endif
17250 #ifdef HAVE_NETINET_IP_ICMP_H
17251 #include <netinet/ip_icmp.h>
17252 #endif
17253 #ifdef HAVE_NETINET_ICMP_VAR_H
17254 #include <netinet/icmp_var.h>
17255 #endif
17257 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17259 cat >>confdefs.h <<_ACEOF
17260 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17261 _ACEOF
17267 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17268 #include <sys/types.h>
17269 #endif
17270 #ifdef HAVE_ALIAS_H
17271 #include <alias.h>
17272 #endif
17273 #ifdef HAVE_SYS_SOCKET_H
17274 #include <sys/socket.h>
17275 #endif
17276 #ifdef HAVE_SYS_SOCKETVAR_H
17277 #include <sys/socketvar.h>
17278 #endif
17279 #ifdef HAVE_SYS_TIMEOUT_H
17280 #include <sys/timeout.h>
17281 #endif
17282 #ifdef HAVE_NETINET_IN_H
17283 #include <netinet/in.h>
17284 #endif
17285 #ifdef HAVE_NETINET_IN_SYSTM_H
17286 #include <netinet/in_systm.h>
17287 #endif
17288 #ifdef HAVE_NETINET_IP_H
17289 #include <netinet/ip.h>
17290 #endif
17291 #ifdef HAVE_NETINET_IP_VAR_H
17292 #include <netinet/ip_var.h>
17293 #endif
17294 #ifdef HAVE_NETINET_IP_ICMP_H
17295 #include <netinet/ip_icmp.h>
17296 #endif
17297 #ifdef HAVE_NETINET_ICMP_VAR_H
17298 #include <netinet/icmp_var.h>
17299 #endif
17301 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17305 _ACEOF
17311 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17312 #include <sys/types.h>
17313 #endif
17314 #ifdef HAVE_SYS_SOCKETVAR_H
17315 #include <sys/socketvar.h>
17316 #endif
17317 #ifdef HAVE_NETINET_IN_H
17318 #include <netinet/in.h>
17319 #endif
17320 #ifdef HAVE_NETINET_IP_VAR_H
17321 #include <netinet/ip_var.h>
17322 #endif
17324 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17328 _ACEOF
17334 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
17335 #include <netinet/ip_var.h>
17336 #endif
17338 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17340 cat >>confdefs.h <<_ACEOF
17341 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17342 _ACEOF
17348 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17349 #include <sys/types.h>
17350 #endif
17351 #ifdef HAVE_SYS_SOCKETVAR_H
17352 #include <sys/socketvar.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IN_H
17355 #include <netinet/in.h>
17356 #endif
17357 #ifdef HAVE_NETINET_TCP_H
17358 #include <netinet/tcp.h>
17359 #endif
17360 #ifdef HAVE_NETINET_TCP_VAR_H
17361 #include <netinet/tcp_var.h>
17362 #endif
17364 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17368 _ACEOF
17374 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
17375 #include <netinet/tcp_var.h>
17376 #endif
17378 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17380 cat >>confdefs.h <<_ACEOF
17381 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17382 _ACEOF
17388 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17389 #include <sys/types.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IN_H
17392 #include <netinet/in.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IP_VAR_H
17395 #include <netinet/ip_var.h>
17396 #endif
17397 #ifdef HAVE_NETINET_UDP_H
17398 #include <netinet/udp.h>
17399 #endif
17400 #ifdef HAVE_NETINET_UDP_VAR_H
17401 #include <netinet/udp_var.h>
17402 #endif
17404 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17408 _ACEOF
17414 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17416 #endif
17417 #ifdef HAVE_NET_IF_H
17418 # include <net/if.h>
17419 #endif
17421 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17425 _ACEOF
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17432 $as_echo_n "checking for timezone variable... " >&6; }
17433 if ${ac_cv_have_timezone+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #include <time.h>
17440 main ()
17442 timezone = 1
17444 return 0;
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"; then :
17448 ac_cv_have_timezone="yes"
17449 else
17450 ac_cv_have_timezone="no"
17452 rm -f core conftest.err conftest.$ac_objext \
17453 conftest$ac_exeext conftest.$ac_ext
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17456 $as_echo "$ac_cv_have_timezone" >&6; }
17457 if test "$ac_cv_have_timezone" = "yes"
17458 then
17460 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17464 $as_echo_n "checking for daylight variable... " >&6; }
17465 if ${ac_cv_have_daylight+:} false; then :
17466 $as_echo_n "(cached) " >&6
17467 else
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 #include <time.h>
17472 main ()
17474 daylight = 1
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_link "$LINENO"; then :
17480 ac_cv_have_daylight="yes"
17481 else
17482 ac_cv_have_daylight="no"
17484 rm -f core conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17488 $as_echo "$ac_cv_have_daylight" >&6; }
17489 if test "$ac_cv_have_daylight" = "yes"
17490 then
17492 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17496 ac_save_LIBS="$LIBS"
17497 LIBS="$LIBS -lm"
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17499 $as_echo_n "checking for isfinite... " >&6; }
17500 if ${ac_cv_have_isfinite+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 #define _GNU_SOURCE
17506 #include <math.h>
17508 main ()
17510 float f = 0.0; return isfinite(f)
17512 return 0;
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 ac_cv_have_isfinite="yes"
17517 else
17518 ac_cv_have_isfinite="no"
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17524 $as_echo "$ac_cv_have_isfinite" >&6; }
17525 if test "$ac_cv_have_isfinite" = "yes"
17526 then
17528 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17533 $as_echo_n "checking for isinf... " >&6; }
17534 if ${ac_cv_have_isinf+:} false; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 #include <math.h>
17541 main ()
17543 float f = 0.0; return isinf(f)
17545 return 0;
17547 _ACEOF
17548 if ac_fn_c_try_link "$LINENO"; then :
17549 ac_cv_have_isinf="yes"
17550 else
17551 ac_cv_have_isinf="no"
17553 rm -f core conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17557 $as_echo "$ac_cv_have_isinf" >&6; }
17558 if test "$ac_cv_have_isinf" = "yes"
17559 then
17561 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17566 $as_echo_n "checking for isnan... " >&6; }
17567 if ${ac_cv_have_isnan+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <math.h>
17574 main ()
17576 float f = 0.0; return isnan(f)
17578 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_have_isnan="yes"
17583 else
17584 ac_cv_have_isnan="no"
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17590 $as_echo "$ac_cv_have_isnan" >&6; }
17591 if test "$ac_cv_have_isnan" = "yes"
17592 then
17594 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17598 for ac_func in \
17599 acosh \
17600 acoshf \
17601 asinh \
17602 asinhf \
17603 atanh \
17604 atanhf \
17605 cbrt \
17606 cbrtf \
17607 erf \
17608 erfc \
17609 erfcf \
17610 erff \
17611 exp2 \
17612 exp2f \
17613 expm1 \
17614 expm1f \
17615 lgamma \
17616 lgammaf \
17617 llrint \
17618 llrintf \
17619 llround \
17620 llroundf \
17621 log1p \
17622 log1pf \
17623 log2 \
17624 log2f \
17625 lrint \
17626 lrintf \
17627 lround \
17628 lroundf \
17629 nearbyint \
17630 nearbyintf \
17631 powl \
17632 remainder \
17633 remainderf \
17634 rint \
17635 rintf \
17636 round \
17637 roundf \
17638 trunc \
17639 truncf
17641 do :
17642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17644 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17645 cat >>confdefs.h <<_ACEOF
17646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17647 _ACEOF
17650 done
17652 LIBS="$ac_save_LIBS"
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17655 $as_echo_n "checking for __builtin_clz... " >&6; }
17656 if ${ac_cv_have___builtin_clz+:} false; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17663 main ()
17665 return __builtin_clz(1)
17667 return 0;
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_have___builtin_clz="yes"
17672 else
17673 ac_cv_have___builtin_clz="no"
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17679 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17680 if test "$ac_cv_have___builtin_clz" = "yes"
17681 then
17683 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17688 $as_echo_n "checking for __builtin_popcount... " >&6; }
17689 if ${ac_cv_have___builtin_popcount+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17696 main ()
17698 return __builtin_popcount(1)
17700 return 0;
17702 _ACEOF
17703 if ac_fn_c_try_link "$LINENO"; then :
17704 ac_cv_have___builtin_popcount="yes"
17705 else
17706 ac_cv_have___builtin_popcount="no"
17708 rm -f core conftest.err conftest.$ac_objext \
17709 conftest$ac_exeext conftest.$ac_ext
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17712 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17713 if test "$ac_cv_have___builtin_popcount" = "yes"
17714 then
17716 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17721 case $host_cpu in
17722 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17723 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17724 if ${ac_cv_cpp_def___i386__+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #ifndef __i386__
17731 #endif
17732 _ACEOF
17733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17734 $EGREP "yes" >/dev/null 2>&1; then :
17735 ac_cv_cpp_def___i386__=yes
17736 else
17737 ac_cv_cpp_def___i386__=no
17739 rm -f conftest*
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17743 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17744 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17745 CFLAGS="$CFLAGS -D__i386__"
17746 LINTFLAGS="$LINTFLAGS -D__i386__"
17747 fi ;;
17748 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17749 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17750 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 #ifndef __x86_64__
17757 #endif
17758 _ACEOF
17759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17760 $EGREP "yes" >/dev/null 2>&1; then :
17761 ac_cv_cpp_def___x86_64__=yes
17762 else
17763 ac_cv_cpp_def___x86_64__=no
17765 rm -f conftest*
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17769 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17770 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17771 CFLAGS="$CFLAGS -D__x86_64__"
17772 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17773 fi ;;
17774 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17775 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17776 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17777 $as_echo_n "(cached) " >&6
17778 else
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #ifndef __sparc64__
17783 #endif
17784 _ACEOF
17785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17786 $EGREP "yes" >/dev/null 2>&1; then :
17787 ac_cv_cpp_def___sparc64__=yes
17788 else
17789 ac_cv_cpp_def___sparc64__=no
17791 rm -f conftest*
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17795 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17796 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17797 CFLAGS="$CFLAGS -D__sparc64__"
17798 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17799 fi ;;
17800 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17801 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17802 if ${ac_cv_cpp_def___sparc__+:} false; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17807 #ifndef __sparc__
17809 #endif
17810 _ACEOF
17811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17812 $EGREP "yes" >/dev/null 2>&1; then :
17813 ac_cv_cpp_def___sparc__=yes
17814 else
17815 ac_cv_cpp_def___sparc__=no
17817 rm -f conftest*
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17821 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17822 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17823 CFLAGS="$CFLAGS -D__sparc__"
17824 LINTFLAGS="$LINTFLAGS -D__sparc__"
17825 fi ;;
17826 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17827 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17828 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 #ifndef __powerpc64__
17835 #endif
17836 _ACEOF
17837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17838 $EGREP "yes" >/dev/null 2>&1; then :
17839 ac_cv_cpp_def___powerpc64__=yes
17840 else
17841 ac_cv_cpp_def___powerpc64__=no
17843 rm -f conftest*
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17847 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17848 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17849 CFLAGS="$CFLAGS -D__powerpc64__"
17850 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17851 fi ;;
17852 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17853 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17854 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #ifndef __powerpc__
17861 #endif
17862 _ACEOF
17863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17864 $EGREP "yes" >/dev/null 2>&1; then :
17865 ac_cv_cpp_def___powerpc__=yes
17866 else
17867 ac_cv_cpp_def___powerpc__=no
17869 rm -f conftest*
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17873 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17874 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17875 CFLAGS="$CFLAGS -D__powerpc__"
17876 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17877 fi ;;
17878 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17879 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17880 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #ifndef __aarch64__
17887 #endif
17888 _ACEOF
17889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17890 $EGREP "yes" >/dev/null 2>&1; then :
17891 ac_cv_cpp_def___aarch64__=yes
17892 else
17893 ac_cv_cpp_def___aarch64__=no
17895 rm -f conftest*
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17899 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17900 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17901 CFLAGS="$CFLAGS -D__aarch64__"
17902 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17903 fi ;;
17904 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17905 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17906 if ${ac_cv_cpp_def___arm__+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17911 #ifndef __arm__
17913 #endif
17914 _ACEOF
17915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17916 $EGREP "yes" >/dev/null 2>&1; then :
17917 ac_cv_cpp_def___arm__=yes
17918 else
17919 ac_cv_cpp_def___arm__=no
17921 rm -f conftest*
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17925 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17926 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17927 CFLAGS="$CFLAGS -D__arm__"
17928 LINTFLAGS="$LINTFLAGS -D__arm__"
17929 fi ;;
17930 esac
17932 case $host_vendor in
17933 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17934 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17935 if ${ac_cv_cpp_def___sun__+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #ifndef __sun__
17942 #endif
17943 _ACEOF
17944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17945 $EGREP "yes" >/dev/null 2>&1; then :
17946 ac_cv_cpp_def___sun__=yes
17947 else
17948 ac_cv_cpp_def___sun__=no
17950 rm -f conftest*
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17954 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17955 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17956 CFLAGS="$CFLAGS -D__sun__"
17957 LINTFLAGS="$LINTFLAGS -D__sun__"
17958 fi ;;
17959 esac
17965 ac_config_commands="$ac_config_commands include/stamp-h"
17967 $as_echo_n "creating Makefile rules..." >&6
17969 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17970 SOCKET_LIBS = $SOCKET_LIBS
17971 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17972 IOKIT_LIBS = $IOKIT_LIBS
17973 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17974 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17975 CORESERVICES_LIBS = $CORESERVICES_LIBS
17976 APPKIT_LIBS = $APPKIT_LIBS
17977 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17978 SECURITY_LIBS = $SECURITY_LIBS
17979 COREAUDIO_LIBS = $COREAUDIO_LIBS
17980 OPENAL_LIBS = $OPENAL_LIBS
17981 OPENCL_LIBS = $OPENCL_LIBS
17982 QUICKTIME_LIBS = $QUICKTIME_LIBS
17983 CARBON_LIBS = $CARBON_LIBS
17984 PTHREAD_LIBS = $PTHREAD_LIBS
17985 X_CFLAGS = $X_CFLAGS
17986 X_PRE_LIBS = $X_PRE_LIBS
17987 X_LIBS = $X_LIBS
17988 X_EXTRA_LIBS = $X_EXTRA_LIBS
17989 PCAP_LIBS = $PCAP_LIBS
17990 XML2_CFLAGS = $XML2_CFLAGS
17991 XML2_LIBS = $XML2_LIBS
17992 XSLT_CFLAGS = $XSLT_CFLAGS
17993 XSLT_LIBS = $XSLT_LIBS
17994 DBUS_CFLAGS = $DBUS_CFLAGS
17995 DBUS_LIBS = $DBUS_LIBS
17996 HAL_CFLAGS = $HAL_CFLAGS
17997 HAL_LIBS = $HAL_LIBS
17998 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17999 GNUTLS_LIBS = $GNUTLS_LIBS
18000 SANE_CFLAGS = $SANE_CFLAGS
18001 SANE_LIBS = $SANE_LIBS
18002 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18003 GPHOTO2_LIBS = $GPHOTO2_LIBS
18004 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18005 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18006 RESOLV_LIBS = $RESOLV_LIBS
18007 LCMS2_CFLAGS = $LCMS2_CFLAGS
18008 LCMS2_LIBS = $LCMS2_LIBS
18009 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18010 FREETYPE_LIBS = $FREETYPE_LIBS
18011 Z_LIBS = $Z_LIBS
18012 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18013 PULSE_CFLAGS = $PULSE_CFLAGS
18014 PULSE_LIBS = $PULSE_LIBS
18015 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18016 GSTREAMER_LIBS = $GSTREAMER_LIBS
18017 ALSA_LIBS = $ALSA_LIBS
18018 OSS4_CFLAGS = $OSS4_CFLAGS
18019 UDEV_CFLAGS = $UDEV_CFLAGS
18020 UDEV_LIBS = $UDEV_LIBS
18021 CAPI20_CFLAGS = $CAPI20_CFLAGS
18022 CAPI20_LIBS = $CAPI20_LIBS
18023 CUPS_CFLAGS = $CUPS_CFLAGS
18024 CUPS_LIBS = $CUPS_LIBS
18025 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18026 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18027 KRB5_CFLAGS = $KRB5_CFLAGS
18028 KRB5_LIBS = $KRB5_LIBS
18029 JPEG_CFLAGS = $JPEG_CFLAGS
18030 JPEG_LIBS = $JPEG_LIBS
18031 PNG_CFLAGS = $PNG_CFLAGS
18032 PNG_LIBS = $PNG_LIBS
18033 TIFF_CFLAGS = $TIFF_CFLAGS
18034 TIFF_LIBS = $TIFF_LIBS
18035 MPG123_CFLAGS = $MPG123_CFLAGS
18036 MPG123_LIBS = $MPG123_LIBS
18037 KSTAT_LIBS = $KSTAT_LIBS
18038 PROCSTAT_LIBS = $PROCSTAT_LIBS
18039 NETAPI_CFLAGS = $NETAPI_CFLAGS
18040 NETAPI_LIBS = $NETAPI_LIBS
18041 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18042 DL_LIBS = $DL_LIBS
18043 POLL_LIBS = $POLL_LIBS
18044 RT_LIBS = $RT_LIBS
18045 LDAP_CFLAGS = $LDAP_CFLAGS
18046 LDAP_LIBS = $LDAP_LIBS
18051 wine_fn_append_rule "
18052 # Rules automatically generated by configure
18054 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18056 .INIT: Makefile
18057 .MAKEFILEDEPS:
18058 all: Makefile
18059 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18060 @./config.status Make.tmp Makefile
18061 depend: \$(MAKEDEP) dummy
18062 \$(MAKEDEP)"
18064 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18065 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18067 if test "x$enable_fonts" != xno; then
18068 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18069 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18070 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18071 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18072 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18073 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18075 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18076 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18077 ac_config_links="$ac_config_links wine:tools/winewrapper"
18078 wine_fn_config_symlink wine
18079 if test "x$enable_win64" != xno; then
18080 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18081 wine_fn_config_symlink wine64
18084 wine_fn_config_dll acledit enable_acledit
18085 wine_fn_config_dll aclui enable_aclui implib
18086 wine_fn_config_dll activeds enable_activeds implib
18087 wine_fn_config_dll actxprxy enable_actxprxy clean
18088 wine_fn_config_lib adsiid
18089 wine_fn_config_dll adsldpc enable_adsldpc
18090 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18091 wine_fn_config_test dlls/advapi32/tests advapi32_test
18092 wine_fn_config_dll advpack enable_advpack implib
18093 wine_fn_config_test dlls/advpack/tests advpack_test
18094 wine_fn_config_dll amstream enable_amstream clean
18095 wine_fn_config_test dlls/amstream/tests amstream_test
18096 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18097 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18098 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18099 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18100 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18101 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18102 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18103 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18104 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18105 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18106 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18107 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18108 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18109 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18110 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18111 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18112 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18113 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18114 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18115 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18116 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18117 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18118 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18119 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18120 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18121 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18122 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18123 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18124 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18125 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18126 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18127 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18128 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18129 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18130 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18131 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18132 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18133 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18134 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18135 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18136 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18137 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18138 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18139 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18140 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18141 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18142 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18143 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18144 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18145 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18146 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18147 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18148 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18149 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18150 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18151 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18152 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18153 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18154 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18155 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18156 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18157 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18158 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18159 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18160 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18161 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18162 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18163 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18164 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18165 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18166 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18167 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18168 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18169 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18170 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18171 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18172 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18173 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18174 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18175 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18176 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18177 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18178 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18179 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18181 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18182 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18183 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18184 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18185 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18186 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18187 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18188 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18189 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18190 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18191 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18192 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18193 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18194 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18195 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18196 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18197 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18198 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18199 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18200 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18201 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18202 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18203 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18204 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18205 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18208 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18209 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18210 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18212 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18213 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18214 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18215 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18216 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18217 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18219 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18220 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18221 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18222 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18224 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18225 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18226 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18227 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18228 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18229 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18230 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18231 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18232 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18233 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18234 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18235 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18236 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18237 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18238 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18239 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18240 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18241 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18242 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18243 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18244 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18245 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18246 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18247 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18248 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18249 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18250 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18251 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18252 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18253 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18254 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18255 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18256 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18257 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18258 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18259 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18260 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18261 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18262 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18263 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18264 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18265 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18266 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18267 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18268 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18269 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18270 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18271 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18272 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18273 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18274 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18275 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18276 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18277 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18278 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18279 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18280 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18281 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18282 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18283 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18284 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18285 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18286 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18287 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18288 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18289 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18290 wine_fn_config_dll apphelp enable_apphelp
18291 wine_fn_config_test dlls/apphelp/tests apphelp_test
18292 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18293 wine_fn_config_dll atl enable_atl clean,implib
18294 wine_fn_config_test dlls/atl/tests atl_test
18295 wine_fn_config_dll atl100 enable_atl100 clean,implib
18296 wine_fn_config_test dlls/atl100/tests atl100_test
18297 wine_fn_config_dll atl110 enable_atl110 clean
18298 wine_fn_config_dll atl80 enable_atl80 clean,implib
18299 wine_fn_config_test dlls/atl80/tests atl80_test
18300 wine_fn_config_dll atl90 enable_atl90 clean
18301 wine_fn_config_dll authz enable_authz
18302 wine_fn_config_dll avicap32 enable_avicap32 implib
18303 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18304 wine_fn_config_test dlls/avifil32/tests avifil32_test
18305 wine_fn_config_dll avifile.dll16 enable_win16
18306 wine_fn_config_dll avrt enable_avrt implib
18307 wine_fn_config_dll bcrypt enable_bcrypt implib
18308 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18309 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18310 wine_fn_config_dll browseui enable_browseui clean
18311 wine_fn_config_test dlls/browseui/tests browseui_test
18312 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18313 wine_fn_config_dll cabinet enable_cabinet implib
18314 wine_fn_config_test dlls/cabinet/tests cabinet_test
18315 wine_fn_config_dll capi2032 enable_capi2032 implib
18316 wine_fn_config_dll cards enable_cards implib
18317 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18318 wine_fn_config_dll clusapi enable_clusapi implib
18319 wine_fn_config_dll combase enable_combase
18320 wine_fn_config_test dlls/combase/tests combase_test
18321 wine_fn_config_dll comcat enable_comcat
18322 wine_fn_config_test dlls/comcat/tests comcat_test
18323 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18324 wine_fn_config_test dlls/comctl32/tests comctl32_test
18325 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18326 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18327 wine_fn_config_dll comm.drv16 enable_win16
18328 wine_fn_config_dll commdlg.dll16 enable_win16
18329 wine_fn_config_dll compobj.dll16 enable_win16
18330 wine_fn_config_dll compstui enable_compstui implib
18331 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18332 wine_fn_config_dll concrt140 enable_concrt140
18333 wine_fn_config_dll connect enable_connect
18334 wine_fn_config_dll credui enable_credui clean,implib
18335 wine_fn_config_test dlls/credui/tests credui_test
18336 wine_fn_config_dll crtdll enable_crtdll
18337 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18338 wine_fn_config_test dlls/crypt32/tests crypt32_test
18339 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18340 wine_fn_config_dll cryptdll enable_cryptdll implib
18341 wine_fn_config_dll cryptext enable_cryptext
18342 wine_fn_config_dll cryptnet enable_cryptnet implib
18343 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18344 wine_fn_config_dll cryptui enable_cryptui clean,implib
18345 wine_fn_config_test dlls/cryptui/tests cryptui_test
18346 wine_fn_config_dll ctapi32 enable_ctapi32
18347 wine_fn_config_dll ctl3d.dll16 enable_win16
18348 wine_fn_config_dll ctl3d32 enable_ctl3d32
18349 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18350 wine_fn_config_dll d2d1 enable_d2d1 implib
18351 wine_fn_config_test dlls/d2d1/tests d2d1_test
18352 wine_fn_config_dll d3d10 enable_d3d10 implib
18353 wine_fn_config_test dlls/d3d10/tests d3d10_test
18354 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18355 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18356 wine_fn_config_dll d3d10core enable_d3d10core implib
18357 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18358 wine_fn_config_dll d3d11 enable_d3d11 implib
18359 wine_fn_config_test dlls/d3d11/tests d3d11_test
18360 wine_fn_config_dll d3d8 enable_d3d8 implib
18361 wine_fn_config_test dlls/d3d8/tests d3d8_test
18362 wine_fn_config_dll d3d9 enable_d3d9 implib
18363 wine_fn_config_test dlls/d3d9/tests d3d9_test
18364 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18365 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18366 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18367 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18368 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18369 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18370 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18371 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18372 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18373 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18374 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18375 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18376 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18377 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18378 wine_fn_config_dll d3dim enable_d3dim
18379 wine_fn_config_dll d3drm enable_d3drm implib
18380 wine_fn_config_test dlls/d3drm/tests d3drm_test
18381 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18382 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18383 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18384 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18385 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18386 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18387 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18388 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18389 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18390 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18391 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18392 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18393 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18394 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18395 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18396 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18397 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18398 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18399 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18400 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18401 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18402 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18403 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18404 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18405 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18406 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18407 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18408 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18409 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18410 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18411 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18412 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18413 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18414 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18415 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18416 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18417 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18418 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18419 wine_fn_config_dll davclnt enable_davclnt
18420 wine_fn_config_dll dbgeng enable_dbgeng implib
18421 wine_fn_config_dll dbghelp enable_dbghelp implib
18422 wine_fn_config_dll dciman32 enable_dciman32 implib
18423 wine_fn_config_dll ddeml.dll16 enable_win16
18424 wine_fn_config_dll ddraw enable_ddraw clean,implib
18425 wine_fn_config_test dlls/ddraw/tests ddraw_test
18426 wine_fn_config_dll ddrawex enable_ddrawex clean
18427 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18428 wine_fn_config_dll devenum enable_devenum clean
18429 wine_fn_config_test dlls/devenum/tests devenum_test
18430 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18431 wine_fn_config_dll difxapi enable_difxapi
18432 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18433 wine_fn_config_test dlls/dinput/tests dinput_test
18434 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18435 wine_fn_config_test dlls/dinput8/tests dinput8_test
18436 wine_fn_config_dll dispdib.dll16 enable_win16
18437 wine_fn_config_dll dispex enable_dispex clean
18438 wine_fn_config_test dlls/dispex/tests dispex_test
18439 wine_fn_config_dll display.drv16 enable_win16
18440 wine_fn_config_dll dmband enable_dmband clean
18441 wine_fn_config_test dlls/dmband/tests dmband_test
18442 wine_fn_config_dll dmcompos enable_dmcompos clean
18443 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18444 wine_fn_config_dll dmime enable_dmime clean
18445 wine_fn_config_test dlls/dmime/tests dmime_test
18446 wine_fn_config_dll dmloader enable_dmloader clean
18447 wine_fn_config_test dlls/dmloader/tests dmloader_test
18448 wine_fn_config_dll dmscript enable_dmscript clean
18449 wine_fn_config_test dlls/dmscript/tests dmscript_test
18450 wine_fn_config_dll dmstyle enable_dmstyle clean
18451 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18452 wine_fn_config_dll dmsynth enable_dmsynth clean
18453 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18454 wine_fn_config_dll dmusic enable_dmusic clean
18455 wine_fn_config_test dlls/dmusic/tests dmusic_test
18456 wine_fn_config_dll dmusic32 enable_dmusic32
18457 wine_fn_config_dll dnsapi enable_dnsapi implib
18458 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18459 wine_fn_config_dll dplay enable_dplay
18460 wine_fn_config_dll dplayx enable_dplayx clean,implib
18461 wine_fn_config_test dlls/dplayx/tests dplayx_test
18462 wine_fn_config_dll dpnaddr enable_dpnaddr
18463 wine_fn_config_dll dpnet enable_dpnet clean,implib
18464 wine_fn_config_test dlls/dpnet/tests dpnet_test
18465 wine_fn_config_dll dpnhpast enable_dpnhpast
18466 wine_fn_config_dll dpnlobby enable_dpnlobby
18467 wine_fn_config_dll dpvoice enable_dpvoice clean
18468 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18469 wine_fn_config_dll dpwsockx enable_dpwsockx
18470 wine_fn_config_dll drmclien enable_drmclien
18471 wine_fn_config_dll dsound enable_dsound clean,implib
18472 wine_fn_config_test dlls/dsound/tests dsound_test
18473 wine_fn_config_dll dsquery enable_dsquery clean
18474 wine_fn_config_dll dssenh enable_dssenh
18475 wine_fn_config_test dlls/dssenh/tests dssenh_test
18476 wine_fn_config_dll dswave enable_dswave clean
18477 wine_fn_config_test dlls/dswave/tests dswave_test
18478 wine_fn_config_dll dwmapi enable_dwmapi implib
18479 wine_fn_config_dll dwrite enable_dwrite implib
18480 wine_fn_config_test dlls/dwrite/tests dwrite_test
18481 wine_fn_config_dll dx8vb enable_dx8vb
18482 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18483 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18484 wine_fn_config_lib dxerr8
18485 wine_fn_config_lib dxerr9
18486 wine_fn_config_dll dxgi enable_dxgi implib
18487 wine_fn_config_test dlls/dxgi/tests dxgi_test
18488 wine_fn_config_lib dxguid
18489 wine_fn_config_dll dxva2 enable_dxva2
18490 wine_fn_config_dll esent enable_esent
18491 wine_fn_config_dll evr enable_evr clean
18492 wine_fn_config_test dlls/evr/tests evr_test
18493 wine_fn_config_dll explorerframe enable_explorerframe clean
18494 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18495 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18496 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18497 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18498 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18499 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18500 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18501 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18502 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18503 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18504 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18505 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18506 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18507 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18508 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18509 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18510 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18511 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18512 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18513 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
18514 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18515 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18516 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18517 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18518 wine_fn_config_dll faultrep enable_faultrep implib
18519 wine_fn_config_test dlls/faultrep/tests faultrep_test
18520 wine_fn_config_dll fltlib enable_fltlib
18521 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18522 wine_fn_config_dll fntcache enable_fntcache
18523 wine_fn_config_dll fontsub enable_fontsub
18524 wine_fn_config_dll fusion enable_fusion
18525 wine_fn_config_test dlls/fusion/tests fusion_test
18526 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18527 wine_fn_config_dll gameux enable_gameux clean
18528 wine_fn_config_test dlls/gameux/tests gameux_test
18529 wine_fn_config_dll gdi.exe16 enable_win16
18530 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18531 wine_fn_config_test dlls/gdi32/tests gdi32_test
18532 wine_fn_config_dll gdiplus enable_gdiplus implib
18533 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18534 wine_fn_config_dll glu32 enable_glu32 implib
18535 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18536 wine_fn_config_dll gpkcsp enable_gpkcsp
18537 wine_fn_config_dll hal enable_hal
18538 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18539 wine_fn_config_dll hid enable_hid implib
18540 wine_fn_config_test dlls/hid/tests hid_test
18541 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18542 wine_fn_config_dll hlink enable_hlink clean,implib
18543 wine_fn_config_test dlls/hlink/tests hlink_test
18544 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18545 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18546 wine_fn_config_dll httpapi enable_httpapi
18547 wine_fn_config_dll iccvid enable_iccvid clean
18548 wine_fn_config_dll icmp enable_icmp
18549 wine_fn_config_dll ieframe enable_ieframe clean,implib
18550 wine_fn_config_test dlls/ieframe/tests ieframe_test
18551 wine_fn_config_dll ieproxy enable_ieproxy clean
18552 wine_fn_config_dll ifsmgr.vxd enable_win16
18553 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18554 wine_fn_config_dll imagehlp enable_imagehlp implib
18555 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18556 wine_fn_config_dll imm.dll16 enable_win16
18557 wine_fn_config_dll imm32 enable_imm32 implib
18558 wine_fn_config_test dlls/imm32/tests imm32_test
18559 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18560 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18561 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18562 wine_fn_config_dll inetmib1 enable_inetmib1
18563 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18564 wine_fn_config_dll infosoft enable_infosoft clean
18565 wine_fn_config_test dlls/infosoft/tests infosoft_test
18566 wine_fn_config_dll initpki enable_initpki
18567 wine_fn_config_dll inkobj enable_inkobj
18568 wine_fn_config_dll inseng enable_inseng clean
18569 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18570 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18571 wine_fn_config_dll iprop enable_iprop
18572 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18573 wine_fn_config_dll itircl enable_itircl
18574 wine_fn_config_dll itss enable_itss clean
18575 wine_fn_config_test dlls/itss/tests itss_test
18576 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18577 wine_fn_config_dll jscript enable_jscript clean
18578 wine_fn_config_test dlls/jscript/tests jscript_test
18579 wine_fn_config_dll jsproxy enable_jsproxy implib
18580 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18581 wine_fn_config_dll kerberos enable_kerberos
18582 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18583 wine_fn_config_test dlls/kernel32/tests kernel32_test
18584 wine_fn_config_dll kernelbase enable_kernelbase
18585 wine_fn_config_dll keyboard.drv16 enable_win16
18586 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18587 wine_fn_config_dll ksuser enable_ksuser
18588 wine_fn_config_dll ktmw32 enable_ktmw32
18589 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18590 wine_fn_config_dll loadperf enable_loadperf implib
18591 wine_fn_config_dll localspl enable_localspl clean
18592 wine_fn_config_test dlls/localspl/tests localspl_test
18593 wine_fn_config_dll localui enable_localui clean
18594 wine_fn_config_test dlls/localui/tests localui_test
18595 wine_fn_config_dll lz32 enable_lz32 implib
18596 wine_fn_config_test dlls/lz32/tests lz32_test
18597 wine_fn_config_dll lzexpand.dll16 enable_win16
18598 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18599 wine_fn_config_test dlls/mapi32/tests mapi32_test
18600 wine_fn_config_dll mapistub enable_mapistub
18601 wine_fn_config_dll mciavi32 enable_mciavi32
18602 wine_fn_config_dll mcicda enable_mcicda
18603 wine_fn_config_dll mciqtz32 enable_mciqtz32
18604 wine_fn_config_dll mciseq enable_mciseq
18605 wine_fn_config_dll mciwave enable_mciwave
18606 wine_fn_config_dll mf enable_mf implib
18607 wine_fn_config_test dlls/mf/tests mf_test
18608 wine_fn_config_dll mf3216 enable_mf3216
18609 wine_fn_config_dll mfplat enable_mfplat implib
18610 wine_fn_config_test dlls/mfplat/tests mfplat_test
18611 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18612 wine_fn_config_lib mfuuid
18613 wine_fn_config_dll mgmtapi enable_mgmtapi
18614 wine_fn_config_dll midimap enable_midimap
18615 wine_fn_config_dll mlang enable_mlang clean,implib
18616 wine_fn_config_test dlls/mlang/tests mlang_test
18617 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18618 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18619 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18620 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18621 wine_fn_config_dll mmdevldr.vxd enable_win16
18622 wine_fn_config_dll mmsystem.dll16 enable_win16
18623 wine_fn_config_dll monodebg.vxd enable_win16
18624 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18625 wine_fn_config_dll mouse.drv16 enable_win16
18626 wine_fn_config_dll mpr enable_mpr clean,implib
18627 wine_fn_config_test dlls/mpr/tests mpr_test
18628 wine_fn_config_dll mprapi enable_mprapi implib
18629 wine_fn_config_dll msacm.dll16 enable_win16
18630 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18631 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18632 wine_fn_config_test dlls/msacm32/tests msacm32_test
18633 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18634 wine_fn_config_dll msasn1 enable_msasn1 implib
18635 wine_fn_config_dll mscat32 enable_mscat32
18636 wine_fn_config_dll mscms enable_mscms implib
18637 wine_fn_config_test dlls/mscms/tests mscms_test
18638 wine_fn_config_dll mscoree enable_mscoree clean
18639 wine_fn_config_test dlls/mscoree/tests mscoree_test
18640 wine_fn_config_dll msctf enable_msctf clean
18641 wine_fn_config_test dlls/msctf/tests msctf_test
18642 wine_fn_config_dll msctfp enable_msctfp clean
18643 wine_fn_config_dll msdaps enable_msdaps clean
18644 wine_fn_config_dll msdelta enable_msdelta
18645 wine_fn_config_dll msdmo enable_msdmo implib
18646 wine_fn_config_test dlls/msdmo/tests msdmo_test
18647 wine_fn_config_dll msdrm enable_msdrm
18648 wine_fn_config_dll msftedit enable_msftedit
18649 wine_fn_config_dll msg711.acm enable_msg711_acm
18650 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18651 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18652 wine_fn_config_dll mshtml enable_mshtml clean,implib
18653 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18654 wine_fn_config_dll msi enable_msi clean,implib
18655 wine_fn_config_test dlls/msi/tests msi_test
18656 wine_fn_config_dll msident enable_msident clean
18657 wine_fn_config_dll msimg32 enable_msimg32 implib
18658 wine_fn_config_dll msimsg enable_msimsg
18659 wine_fn_config_dll msimtf enable_msimtf clean
18660 wine_fn_config_dll msisip enable_msisip
18661 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18662 wine_fn_config_dll msls31 enable_msls31
18663 wine_fn_config_dll msnet32 enable_msnet32
18664 wine_fn_config_dll mspatcha enable_mspatcha implib
18665 wine_fn_config_dll msports enable_msports
18666 wine_fn_config_dll msrle32 enable_msrle32 clean
18667 wine_fn_config_test dlls/msrle32/tests msrle32_test
18668 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18669 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18670 wine_fn_config_dll mssign32 enable_mssign32
18671 wine_fn_config_dll mssip32 enable_mssip32
18672 wine_fn_config_dll mstask enable_mstask clean
18673 wine_fn_config_test dlls/mstask/tests mstask_test
18674 wine_fn_config_dll msvcirt enable_msvcirt
18675 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18676 wine_fn_config_dll msvcm80 enable_msvcm80
18677 wine_fn_config_dll msvcm90 enable_msvcm90
18678 wine_fn_config_dll msvcp100 enable_msvcp100
18679 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18680 wine_fn_config_dll msvcp110 enable_msvcp110
18681 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18682 wine_fn_config_dll msvcp120 enable_msvcp120
18683 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18684 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18685 wine_fn_config_dll msvcp140 enable_msvcp140
18686 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18687 wine_fn_config_dll msvcp60 enable_msvcp60
18688 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18689 wine_fn_config_dll msvcp70 enable_msvcp70
18690 wine_fn_config_dll msvcp71 enable_msvcp71
18691 wine_fn_config_dll msvcp80 enable_msvcp80
18692 wine_fn_config_dll msvcp90 enable_msvcp90
18693 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18694 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18695 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18696 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18697 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18698 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18699 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18700 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18701 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18702 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18703 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18704 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18705 wine_fn_config_dll msvcrt enable_msvcrt implib
18706 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18707 wine_fn_config_dll msvcrt20 enable_msvcrt20
18708 wine_fn_config_dll msvcrt40 enable_msvcrt40
18709 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18710 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18711 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18712 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18713 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18714 wine_fn_config_dll msvideo.dll16 enable_win16
18715 wine_fn_config_dll mswsock enable_mswsock implib
18716 wine_fn_config_dll msxml enable_msxml clean
18717 wine_fn_config_dll msxml2 enable_msxml2 clean
18718 wine_fn_config_dll msxml3 enable_msxml3 clean
18719 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18720 wine_fn_config_dll msxml4 enable_msxml4 clean
18721 wine_fn_config_dll msxml6 enable_msxml6 clean
18722 wine_fn_config_dll mtxdm enable_mtxdm
18723 wine_fn_config_dll ncrypt enable_ncrypt
18724 wine_fn_config_dll nddeapi enable_nddeapi implib
18725 wine_fn_config_dll ndis.sys enable_ndis_sys
18726 wine_fn_config_dll netapi32 enable_netapi32 implib
18727 wine_fn_config_test dlls/netapi32/tests netapi32_test
18728 wine_fn_config_dll netcfgx enable_netcfgx clean
18729 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18730 wine_fn_config_dll netprofm enable_netprofm clean
18731 wine_fn_config_test dlls/netprofm/tests netprofm_test
18732 wine_fn_config_dll newdev enable_newdev implib
18733 wine_fn_config_dll normaliz enable_normaliz implib
18734 wine_fn_config_dll npmshtml enable_npmshtml
18735 wine_fn_config_dll npptools enable_npptools
18736 wine_fn_config_dll ntdll enable_ntdll implib
18737 wine_fn_config_test dlls/ntdll/tests ntdll_test
18738 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18739 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18740 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18741 wine_fn_config_dll ntprint enable_ntprint
18742 wine_fn_config_test dlls/ntprint/tests ntprint_test
18743 wine_fn_config_dll objsel enable_objsel clean
18744 wine_fn_config_dll odbc32 enable_odbc32 implib
18745 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18746 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18747 wine_fn_config_dll odbccu32 enable_odbccu32
18748 wine_fn_config_dll ole2.dll16 enable_win16
18749 wine_fn_config_dll ole2conv.dll16 enable_win16
18750 wine_fn_config_dll ole2disp.dll16 enable_win16
18751 wine_fn_config_dll ole2nls.dll16 enable_win16
18752 wine_fn_config_dll ole2prox.dll16 enable_win16
18753 wine_fn_config_dll ole2thk.dll16 enable_win16
18754 wine_fn_config_dll ole32 enable_ole32 clean,implib
18755 wine_fn_config_test dlls/ole32/tests ole32_test
18756 wine_fn_config_dll oleacc enable_oleacc clean,implib
18757 wine_fn_config_test dlls/oleacc/tests oleacc_test
18758 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18759 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18760 wine_fn_config_dll olecli.dll16 enable_win16
18761 wine_fn_config_dll olecli32 enable_olecli32 implib
18762 wine_fn_config_dll oledb32 enable_oledb32 clean
18763 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18764 wine_fn_config_dll oledlg enable_oledlg clean,implib
18765 wine_fn_config_test dlls/oledlg/tests oledlg_test
18766 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18767 wine_fn_config_dll olesvr.dll16 enable_win16
18768 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18769 wine_fn_config_dll olethk32 enable_olethk32
18770 wine_fn_config_dll openal32 enable_openal32
18771 wine_fn_config_dll opencl enable_opencl
18772 wine_fn_config_dll opengl32 enable_opengl32 implib
18773 wine_fn_config_test dlls/opengl32/tests opengl32_test
18774 wine_fn_config_dll packager enable_packager clean
18775 wine_fn_config_test dlls/packager/tests packager_test
18776 wine_fn_config_dll pdh enable_pdh implib
18777 wine_fn_config_test dlls/pdh/tests pdh_test
18778 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18779 wine_fn_config_dll pidgen enable_pidgen
18780 wine_fn_config_dll powrprof enable_powrprof implib
18781 wine_fn_config_dll printui enable_printui
18782 wine_fn_config_dll prntvpt enable_prntvpt
18783 wine_fn_config_dll propsys enable_propsys clean,implib
18784 wine_fn_config_test dlls/propsys/tests propsys_test
18785 wine_fn_config_dll psapi enable_psapi implib
18786 wine_fn_config_test dlls/psapi/tests psapi_test
18787 wine_fn_config_dll pstorec enable_pstorec clean
18788 wine_fn_config_test dlls/pstorec/tests pstorec_test
18789 wine_fn_config_dll qcap enable_qcap
18790 wine_fn_config_test dlls/qcap/tests qcap_test
18791 wine_fn_config_dll qedit enable_qedit clean
18792 wine_fn_config_test dlls/qedit/tests qedit_test
18793 wine_fn_config_dll qmgr enable_qmgr clean
18794 wine_fn_config_test dlls/qmgr/tests qmgr_test
18795 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18796 wine_fn_config_dll quartz enable_quartz clean,implib
18797 wine_fn_config_test dlls/quartz/tests quartz_test clean
18798 wine_fn_config_dll query enable_query
18799 wine_fn_config_dll rasapi16.dll16 enable_win16
18800 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18801 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18802 wine_fn_config_dll rasdlg enable_rasdlg implib
18803 wine_fn_config_dll regapi enable_regapi
18804 wine_fn_config_dll resutils enable_resutils implib
18805 wine_fn_config_dll riched20 enable_riched20 clean,implib
18806 wine_fn_config_test dlls/riched20/tests riched20_test
18807 wine_fn_config_dll riched32 enable_riched32
18808 wine_fn_config_test dlls/riched32/tests riched32_test
18809 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18810 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18811 wine_fn_config_dll rsabase enable_rsabase
18812 wine_fn_config_dll rsaenh enable_rsaenh implib
18813 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18814 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18815 wine_fn_config_dll rtutils enable_rtutils implib
18816 wine_fn_config_dll samlib enable_samlib
18817 wine_fn_config_dll sane.ds enable_sane_ds clean
18818 wine_fn_config_dll sapi enable_sapi clean
18819 wine_fn_config_test dlls/sapi/tests sapi_test
18820 wine_fn_config_dll scarddlg enable_scarddlg
18821 wine_fn_config_dll sccbase enable_sccbase
18822 wine_fn_config_dll schannel enable_schannel
18823 wine_fn_config_test dlls/schannel/tests schannel_test
18824 wine_fn_config_dll schedsvc enable_schedsvc clean
18825 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18826 wine_fn_config_dll scrobj enable_scrobj clean
18827 wine_fn_config_dll scrrun enable_scrrun clean
18828 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18829 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18830 wine_fn_config_dll secur32 enable_secur32 implib
18831 wine_fn_config_test dlls/secur32/tests secur32_test
18832 wine_fn_config_dll security enable_security
18833 wine_fn_config_dll sensapi enable_sensapi implib
18834 wine_fn_config_dll serialui enable_serialui clean
18835 wine_fn_config_test dlls/serialui/tests serialui_test
18836 wine_fn_config_dll setupapi enable_setupapi clean,implib
18837 wine_fn_config_test dlls/setupapi/tests setupapi_test
18838 wine_fn_config_dll setupx.dll16 enable_win16
18839 wine_fn_config_dll sfc enable_sfc implib
18840 wine_fn_config_dll sfc_os enable_sfc_os implib
18841 wine_fn_config_dll shdoclc enable_shdoclc clean
18842 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18843 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18844 wine_fn_config_dll shell.dll16 enable_win16
18845 wine_fn_config_dll shell32 enable_shell32 clean,implib
18846 wine_fn_config_test dlls/shell32/tests shell32_test
18847 wine_fn_config_dll shfolder enable_shfolder implib
18848 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18849 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18850 wine_fn_config_dll slbcsp enable_slbcsp
18851 wine_fn_config_dll slc enable_slc implib
18852 wine_fn_config_test dlls/slc/tests slc_test
18853 wine_fn_config_dll snmpapi enable_snmpapi implib
18854 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18855 wine_fn_config_dll softpub enable_softpub
18856 wine_fn_config_dll sound.drv16 enable_win16
18857 wine_fn_config_dll spoolss enable_spoolss implib
18858 wine_fn_config_test dlls/spoolss/tests spoolss_test
18859 wine_fn_config_dll sspicli enable_sspicli
18860 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18861 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18862 wine_fn_config_dll sti enable_sti clean,implib
18863 wine_fn_config_test dlls/sti/tests sti_test
18864 wine_fn_config_dll storage.dll16 enable_win16
18865 wine_fn_config_dll stress.dll16 enable_win16
18866 wine_fn_config_lib strmbase
18867 wine_fn_config_lib strmiids
18868 wine_fn_config_dll svrapi enable_svrapi
18869 wine_fn_config_dll sxs enable_sxs implib
18870 wine_fn_config_test dlls/sxs/tests sxs_test
18871 wine_fn_config_dll system.drv16 enable_win16
18872 wine_fn_config_dll t2embed enable_t2embed implib
18873 wine_fn_config_test dlls/t2embed/tests t2embed_test
18874 wine_fn_config_dll tapi32 enable_tapi32 implib
18875 wine_fn_config_dll taskschd enable_taskschd clean
18876 wine_fn_config_test dlls/taskschd/tests taskschd_test
18877 wine_fn_config_dll tdh enable_tdh
18878 wine_fn_config_dll tdi.sys enable_tdi_sys
18879 wine_fn_config_dll toolhelp.dll16 enable_win16
18880 wine_fn_config_dll traffic enable_traffic
18881 wine_fn_config_dll twain.dll16 enable_win16
18882 wine_fn_config_dll twain_32 enable_twain_32
18883 wine_fn_config_test dlls/twain_32/tests twain_32_test
18884 wine_fn_config_dll typelib.dll16 enable_win16
18885 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18886 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18887 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18888 wine_fn_config_dll uiribbon enable_uiribbon clean
18889 wine_fn_config_dll unicows enable_unicows implib
18890 wine_fn_config_dll updspapi enable_updspapi
18891 wine_fn_config_dll url enable_url implib
18892 wine_fn_config_dll urlmon enable_urlmon clean,implib
18893 wine_fn_config_test dlls/urlmon/tests urlmon_test
18894 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18895 wine_fn_config_dll user.exe16 enable_win16
18896 wine_fn_config_dll user32 enable_user32 clean,implib
18897 wine_fn_config_test dlls/user32/tests user32_test
18898 wine_fn_config_dll userenv enable_userenv implib
18899 wine_fn_config_test dlls/userenv/tests userenv_test
18900 wine_fn_config_dll usp10 enable_usp10 implib
18901 wine_fn_config_test dlls/usp10/tests usp10_test
18902 wine_fn_config_lib uuid
18903 wine_fn_config_dll uxtheme enable_uxtheme implib
18904 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18905 wine_fn_config_dll vbscript enable_vbscript clean
18906 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18907 wine_fn_config_dll vcomp enable_vcomp
18908 wine_fn_config_test dlls/vcomp/tests vcomp_test
18909 wine_fn_config_dll vcomp100 enable_vcomp100
18910 wine_fn_config_dll vcomp110 enable_vcomp110
18911 wine_fn_config_dll vcomp120 enable_vcomp120
18912 wine_fn_config_dll vcomp140 enable_vcomp140
18913 wine_fn_config_dll vcomp90 enable_vcomp90
18914 wine_fn_config_dll vcruntime140 enable_vcruntime140
18915 wine_fn_config_dll vdhcp.vxd enable_win16
18916 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18917 wine_fn_config_dll ver.dll16 enable_win16
18918 wine_fn_config_dll version enable_version implib
18919 wine_fn_config_test dlls/version/tests version_test
18920 wine_fn_config_dll virtdisk enable_virtdisk
18921 wine_fn_config_dll vmm.vxd enable_win16
18922 wine_fn_config_dll vnbt.vxd enable_win16
18923 wine_fn_config_dll vnetbios.vxd enable_win16
18924 wine_fn_config_dll vssapi enable_vssapi
18925 wine_fn_config_dll vtdapi.vxd enable_win16
18926 wine_fn_config_dll vwin32.vxd enable_win16
18927 wine_fn_config_dll w32skrnl enable_win16
18928 wine_fn_config_dll w32sys.dll16 enable_win16
18929 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18930 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18931 wine_fn_config_dll wbemprox enable_wbemprox clean
18932 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18933 wine_fn_config_dll webservices enable_webservices implib
18934 wine_fn_config_test dlls/webservices/tests webservices_test
18935 wine_fn_config_dll wer enable_wer implib
18936 wine_fn_config_test dlls/wer/tests wer_test
18937 wine_fn_config_dll wevtapi enable_wevtapi
18938 wine_fn_config_dll wiaservc enable_wiaservc clean
18939 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18940 wine_fn_config_dll wimgapi enable_wimgapi
18941 wine_fn_config_dll win32s16.dll16 enable_win16
18942 wine_fn_config_dll win87em.dll16 enable_win16
18943 wine_fn_config_dll winaspi.dll16 enable_win16
18944 wine_fn_config_dll windebug.dll16 enable_win16
18945 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18946 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18947 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18948 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18949 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18950 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18951 wine_fn_config_dll winebus.sys enable_winebus_sys
18952 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18953 wine_fn_config_lib winecrt0
18954 wine_fn_config_dll wined3d enable_wined3d implib
18955 wine_fn_config_dll winegstreamer enable_winegstreamer
18956 wine_fn_config_dll winehid.sys enable_winehid_sys
18957 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18958 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18959 wine_fn_config_dll winemapi enable_winemapi
18960 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18961 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18962 wine_fn_config_dll wineps16.drv16 enable_win16
18963 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18964 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18965 wine_fn_config_dll winex11.drv enable_winex11_drv
18966 wine_fn_config_dll wing.dll16 enable_win16
18967 wine_fn_config_dll wing32 enable_wing32
18968 wine_fn_config_dll winhttp enable_winhttp clean,implib
18969 wine_fn_config_test dlls/winhttp/tests winhttp_test
18970 wine_fn_config_dll wininet enable_wininet clean,implib
18971 wine_fn_config_test dlls/wininet/tests wininet_test
18972 wine_fn_config_dll winmm enable_winmm clean,implib
18973 wine_fn_config_test dlls/winmm/tests winmm_test
18974 wine_fn_config_dll winnls.dll16 enable_win16
18975 wine_fn_config_dll winnls32 enable_winnls32 implib
18976 wine_fn_config_dll winscard enable_winscard implib
18977 wine_fn_config_dll winsock.dll16 enable_win16
18978 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18979 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18980 wine_fn_config_dll winsta enable_winsta
18981 wine_fn_config_dll wintab.dll16 enable_win16
18982 wine_fn_config_dll wintab32 enable_wintab32 implib
18983 wine_fn_config_test dlls/wintab32/tests wintab32_test
18984 wine_fn_config_dll wintrust enable_wintrust implib
18985 wine_fn_config_test dlls/wintrust/tests wintrust_test
18986 wine_fn_config_dll winusb enable_winusb
18987 wine_fn_config_dll wlanapi enable_wlanapi implib
18988 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18989 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18990 wine_fn_config_test dlls/wldap32/tests wldap32_test
18991 wine_fn_config_dll wmasf enable_wmasf
18992 wine_fn_config_dll wmi enable_wmi
18993 wine_fn_config_dll wmiutils enable_wmiutils clean
18994 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18995 wine_fn_config_dll wmp enable_wmp clean
18996 wine_fn_config_test dlls/wmp/tests wmp_test
18997 wine_fn_config_dll wmphoto enable_wmphoto clean
18998 wine_fn_config_dll wmvcore enable_wmvcore implib
18999 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19000 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19001 wine_fn_config_dll wow32 enable_win16 implib
19002 wine_fn_config_dll wpc enable_wpc clean
19003 wine_fn_config_test dlls/wpc/tests wpc_test
19004 wine_fn_config_dll wpcap enable_wpcap
19005 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19006 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19007 wine_fn_config_dll wsdapi enable_wsdapi implib
19008 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19009 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19010 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19011 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19012 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19013 wine_fn_config_dll wsock32 enable_wsock32 implib
19014 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19015 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19016 wine_fn_config_dll wuapi enable_wuapi clean
19017 wine_fn_config_dll wuaueng enable_wuaueng
19018 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19019 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19020 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19021 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19022 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19023 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19024 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19025 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19026 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19027 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19028 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19029 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19030 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19031 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19032 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19033 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19034 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19035 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19036 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19037 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19038 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19039 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19040 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19041 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19042 wine_fn_config_dll xinput1_1 enable_xinput1_1
19043 wine_fn_config_dll xinput1_2 enable_xinput1_2
19044 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19045 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19046 wine_fn_config_dll xinput1_4 enable_xinput1_4
19047 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19048 wine_fn_config_dll xmllite enable_xmllite implib
19049 wine_fn_config_test dlls/xmllite/tests xmllite_test
19050 wine_fn_config_dll xolehlp enable_xolehlp
19051 wine_fn_config_dll xpsprint enable_xpsprint
19052 wine_fn_config_dll xpssvcs enable_xpssvcs
19053 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19054 wine_fn_config_makefile include enable_include clean,install-dev
19055 wine_fn_config_makefile libs/port enable_libs_port
19056 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19057 wine_fn_config_makefile libs/wpp enable_libs_wpp
19058 wine_fn_config_makefile loader enable_loader clean,install-lib
19059 wine_fn_config_makefile po enable_po clean
19060 wine_fn_config_program arp enable_arp install
19061 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19062 wine_fn_config_program attrib enable_attrib clean,install
19063 wine_fn_config_program cabarc enable_cabarc install
19064 wine_fn_config_program cacls enable_cacls install
19065 wine_fn_config_program clock enable_clock clean,install
19066 wine_fn_config_program cmd enable_cmd clean,install
19067 wine_fn_config_test programs/cmd/tests cmd.exe_test
19068 wine_fn_config_program conhost enable_conhost install
19069 wine_fn_config_program control enable_control install
19070 wine_fn_config_program cscript enable_cscript clean,install
19071 wine_fn_config_program dpnsvr enable_dpnsvr install
19072 wine_fn_config_program dxdiag enable_dxdiag clean,install
19073 wine_fn_config_program eject enable_eject install
19074 wine_fn_config_program expand enable_expand install
19075 wine_fn_config_program explorer enable_explorer clean,install
19076 wine_fn_config_program extrac32 enable_extrac32 install
19077 wine_fn_config_program findstr enable_findstr install
19078 wine_fn_config_program fsutil enable_fsutil install
19079 wine_fn_config_program hh enable_hh install
19080 wine_fn_config_program hostname enable_hostname clean,install
19081 wine_fn_config_program icacls enable_icacls install
19082 wine_fn_config_program icinfo enable_icinfo install
19083 wine_fn_config_program iexplore enable_iexplore install
19084 wine_fn_config_program ipconfig enable_ipconfig clean,install
19085 wine_fn_config_program lodctr enable_lodctr install
19086 wine_fn_config_program mofcomp enable_mofcomp install
19087 wine_fn_config_program mshta enable_mshta install
19088 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19089 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19090 wine_fn_config_program net enable_net clean,install
19091 wine_fn_config_program netsh enable_netsh install
19092 wine_fn_config_program netstat enable_netstat clean,install
19093 wine_fn_config_program ngen enable_ngen install
19094 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19095 wine_fn_config_program oleview enable_oleview clean,install
19096 wine_fn_config_program ping enable_ping install
19097 wine_fn_config_program plugplay enable_plugplay install
19098 wine_fn_config_program powershell enable_powershell install
19099 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19100 wine_fn_config_program progman enable_progman clean,install
19101 wine_fn_config_program reg enable_reg clean,install
19102 wine_fn_config_test programs/reg/tests reg.exe_test
19103 wine_fn_config_program regasm enable_regasm install
19104 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19105 wine_fn_config_test programs/regedit/tests regedit.exe_test
19106 wine_fn_config_program regsvcs enable_regsvcs install
19107 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19108 wine_fn_config_program rpcss enable_rpcss clean,install
19109 wine_fn_config_program rundll.exe16 enable_win16 install
19110 wine_fn_config_program rundll32 enable_rundll32 install
19111 wine_fn_config_program sc enable_sc install
19112 wine_fn_config_program schtasks enable_schtasks install
19113 wine_fn_config_program sdbinst enable_sdbinst install
19114 wine_fn_config_program secedit enable_secedit install
19115 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19116 wine_fn_config_program services enable_services clean,install
19117 wine_fn_config_test programs/services/tests services.exe_test
19118 wine_fn_config_program shutdown enable_shutdown install
19119 wine_fn_config_program spoolsv enable_spoolsv install
19120 wine_fn_config_program start enable_start clean,install
19121 wine_fn_config_program subst enable_subst install
19122 wine_fn_config_program svchost enable_svchost install
19123 wine_fn_config_program systeminfo enable_systeminfo install
19124 wine_fn_config_program taskkill enable_taskkill clean,install
19125 wine_fn_config_program tasklist enable_tasklist install
19126 wine_fn_config_program taskmgr enable_taskmgr clean,install
19127 wine_fn_config_program termsv enable_termsv install
19128 wine_fn_config_program uninstaller enable_uninstaller clean,install
19129 wine_fn_config_program unlodctr enable_unlodctr install
19130 wine_fn_config_program view enable_view clean,install
19131 wine_fn_config_program wevtutil enable_wevtutil install
19132 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19133 wine_fn_config_program winebrowser enable_winebrowser install
19134 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19135 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19136 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19137 wine_fn_config_program winedevice enable_winedevice install
19138 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19139 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19140 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19141 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19142 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19143 wine_fn_config_program winetest enable_winetest clean
19144 wine_fn_config_program winevdm enable_win16 install
19145 wine_fn_config_program winhelp.exe16 enable_win16 install
19146 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19147 wine_fn_config_program winoldap.mod16 enable_win16 install
19148 wine_fn_config_program winver enable_winver install
19149 wine_fn_config_program wmic enable_wmic clean,install
19150 wine_fn_config_program wmplayer enable_wmplayer install
19151 wine_fn_config_program wordpad enable_wordpad clean,install
19152 wine_fn_config_program write enable_write clean,install
19153 wine_fn_config_program wscript enable_wscript clean,install
19154 wine_fn_config_test programs/wscript/tests wscript.exe_test
19155 wine_fn_config_program wusa enable_wusa install
19156 wine_fn_config_program xcopy enable_xcopy clean,install
19157 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19158 wine_fn_config_makefile server enable_server clean,install-lib
19159 wine_fn_config_tool tools clean
19160 wine_fn_config_tool tools/sfnt2fon clean
19161 wine_fn_config_tool tools/widl clean,install-dev
19162 wine_fn_config_tool tools/winebuild clean,install-dev
19163 wine_fn_config_tool tools/winedump clean,install-dev
19164 wine_fn_config_tool tools/winegcc clean,install-dev
19165 wine_fn_config_tool tools/winemaker clean,install-dev
19166 wine_fn_config_tool tools/wmc clean,install-dev
19167 wine_fn_config_tool tools/wrc clean,install-dev
19170 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19171 wine_fn_append_file CONFIGURE_TARGETS "tags"
19172 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19173 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19174 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19175 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19176 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19177 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19179 if test "x$enable_tools" != xno
19180 then
19181 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19182 ac_config_commands="$ac_config_commands tools/makedep"
19186 ac_config_commands="$ac_config_commands Makefile"
19189 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19193 if test "x$enable_maintainer_mode" = xyes
19194 then
19195 wine_fn_append_rule "configure: configure.ac aclocal.m4
19196 autoconf --warnings=all
19197 include/config.h.in: include/stamp-h.in
19198 include/stamp-h.in: configure.ac aclocal.m4
19199 autoheader --warnings=all
19200 @echo timestamp > \$@"
19203 if test "x$enable_tools" != xno
19204 then
19205 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19206 @./config.status tools/makedep
19207 Makefile: tools/makedep$ac_exeext"
19208 else
19209 wine_fn_append_rule "\$(MAKEDEP):
19210 @echo \"You need to run make in $TOOLSDIR first\" && false"
19213 if test -n "$with_wine64"
19214 then
19215 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19216 fonts server:
19217 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19218 $with_wine64/loader/wine:
19219 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19220 $with_wine64/loader/wine-preloader:
19221 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19222 clean::
19223 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19224 else
19225 WINELOADER_INSTALL="wine.inf"
19227 wine_fn_append_rule "install install-lib::
19228 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19229 uninstall::
19230 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19231 case $host_os in
19232 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19233 *) wine_fn_append_rule "install install-lib::
19234 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19235 uninstall::
19236 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19237 esac
19240 $as_echo " done" >&6
19241 cat >confcache <<\_ACEOF
19242 # This file is a shell script that caches the results of configure
19243 # tests run on this system so they can be shared between configure
19244 # scripts and configure runs, see configure's option --config-cache.
19245 # It is not useful on other systems. If it contains results you don't
19246 # want to keep, you may remove or edit it.
19248 # config.status only pays attention to the cache file if you give it
19249 # the --recheck option to rerun configure.
19251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19253 # following values.
19255 _ACEOF
19257 # The following way of writing the cache mishandles newlines in values,
19258 # but we know of no workaround that is simple, portable, and efficient.
19259 # So, we kill variables containing newlines.
19260 # Ultrix sh set writes to stderr and can't be redirected directly,
19261 # and sets the high bit in the cache file unless we assign to the vars.
19263 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19264 eval ac_val=\$$ac_var
19265 case $ac_val in #(
19266 *${as_nl}*)
19267 case $ac_var in #(
19268 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19270 esac
19271 case $ac_var in #(
19272 _ | IFS | as_nl) ;; #(
19273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19274 *) { eval $ac_var=; unset $ac_var;} ;;
19275 esac ;;
19276 esac
19277 done
19279 (set) 2>&1 |
19280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19281 *${as_nl}ac_space=\ *)
19282 # `set' does not quote correctly, so add quotes: double-quote
19283 # substitution turns \\\\ into \\, and sed turns \\ into \.
19284 sed -n \
19285 "s/'/'\\\\''/g;
19286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19287 ;; #(
19289 # `set' quotes correctly as required by POSIX, so do not add quotes.
19290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19292 esac |
19293 sort
19295 sed '
19296 /^ac_cv_env_/b end
19297 t clear
19298 :clear
19299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19300 t end
19301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19302 :end' >>confcache
19303 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19304 if test -w "$cache_file"; then
19305 if test "x$cache_file" != "x/dev/null"; then
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19307 $as_echo "$as_me: updating cache $cache_file" >&6;}
19308 if test ! -f "$cache_file" || test -h "$cache_file"; then
19309 cat confcache >"$cache_file"
19310 else
19311 case $cache_file in #(
19312 */* | ?:*)
19313 mv -f confcache "$cache_file"$$ &&
19314 mv -f "$cache_file"$$ "$cache_file" ;; #(
19316 mv -f confcache "$cache_file" ;;
19317 esac
19320 else
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19322 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19325 rm -f confcache
19327 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19328 # Let make expand exec_prefix.
19329 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19331 DEFS=-DHAVE_CONFIG_H
19333 ac_libobjs=
19334 ac_ltlibobjs=
19336 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19337 # 1. Remove the extension, and $U if already installed.
19338 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19339 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19341 # will be set to the directory where LIBOBJS objects are built.
19342 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19343 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19344 done
19345 LIBOBJS=$ac_libobjs
19347 LTLIBOBJS=$ac_ltlibobjs
19351 : "${CONFIG_STATUS=./config.status}"
19352 ac_write_fail=0
19353 ac_clean_files_save=$ac_clean_files
19354 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19357 as_write_fail=0
19358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19359 #! $SHELL
19360 # Generated by $as_me.
19361 # Run this file to recreate the current configuration.
19362 # Compiler output produced by configure, useful for debugging
19363 # configure, is in config.log if it exists.
19365 debug=false
19366 ac_cs_recheck=false
19367 ac_cs_silent=false
19369 SHELL=\${CONFIG_SHELL-$SHELL}
19370 export SHELL
19371 _ASEOF
19372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19373 ## -------------------- ##
19374 ## M4sh Initialization. ##
19375 ## -------------------- ##
19377 # Be more Bourne compatible
19378 DUALCASE=1; export DUALCASE # for MKS sh
19379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19380 emulate sh
19381 NULLCMD=:
19382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19383 # is contrary to our usage. Disable this feature.
19384 alias -g '${1+"$@"}'='"$@"'
19385 setopt NO_GLOB_SUBST
19386 else
19387 case `(set -o) 2>/dev/null` in #(
19388 *posix*) :
19389 set -o posix ;; #(
19390 *) :
19392 esac
19396 as_nl='
19398 export as_nl
19399 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19400 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19403 # Prefer a ksh shell builtin over an external printf program on Solaris,
19404 # but without wasting forks for bash or zsh.
19405 if test -z "$BASH_VERSION$ZSH_VERSION" \
19406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19407 as_echo='print -r --'
19408 as_echo_n='print -rn --'
19409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19410 as_echo='printf %s\n'
19411 as_echo_n='printf %s'
19412 else
19413 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19414 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19415 as_echo_n='/usr/ucb/echo -n'
19416 else
19417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19418 as_echo_n_body='eval
19419 arg=$1;
19420 case $arg in #(
19421 *"$as_nl"*)
19422 expr "X$arg" : "X\\(.*\\)$as_nl";
19423 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19424 esac;
19425 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19427 export as_echo_n_body
19428 as_echo_n='sh -c $as_echo_n_body as_echo'
19430 export as_echo_body
19431 as_echo='sh -c $as_echo_body as_echo'
19434 # The user is always right.
19435 if test "${PATH_SEPARATOR+set}" != set; then
19436 PATH_SEPARATOR=:
19437 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19438 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19439 PATH_SEPARATOR=';'
19444 # IFS
19445 # We need space, tab and new line, in precisely that order. Quoting is
19446 # there to prevent editors from complaining about space-tab.
19447 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19448 # splitting by setting IFS to empty value.)
19449 IFS=" "" $as_nl"
19451 # Find who we are. Look in the path if we contain no directory separator.
19452 as_myself=
19453 case $0 in #((
19454 *[\\/]* ) as_myself=$0 ;;
19455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19456 for as_dir in $PATH
19458 IFS=$as_save_IFS
19459 test -z "$as_dir" && as_dir=.
19460 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19461 done
19462 IFS=$as_save_IFS
19465 esac
19466 # We did not find ourselves, most probably we were run as `sh COMMAND'
19467 # in which case we are not to be found in the path.
19468 if test "x$as_myself" = x; then
19469 as_myself=$0
19471 if test ! -f "$as_myself"; then
19472 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19473 exit 1
19476 # Unset variables that we do not need and which cause bugs (e.g. in
19477 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19478 # suppresses any "Segmentation fault" message there. '((' could
19479 # trigger a bug in pdksh 5.2.14.
19480 for as_var in BASH_ENV ENV MAIL MAILPATH
19481 do eval test x\${$as_var+set} = xset \
19482 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19483 done
19484 PS1='$ '
19485 PS2='> '
19486 PS4='+ '
19488 # NLS nuisances.
19489 LC_ALL=C
19490 export LC_ALL
19491 LANGUAGE=C
19492 export LANGUAGE
19494 # CDPATH.
19495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19498 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19499 # ----------------------------------------
19500 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19501 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19502 # script with STATUS, using 1 if that was 0.
19503 as_fn_error ()
19505 as_status=$1; test $as_status -eq 0 && as_status=1
19506 if test "$4"; then
19507 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19508 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19510 $as_echo "$as_me: error: $2" >&2
19511 as_fn_exit $as_status
19512 } # as_fn_error
19515 # as_fn_set_status STATUS
19516 # -----------------------
19517 # Set $? to STATUS, without forking.
19518 as_fn_set_status ()
19520 return $1
19521 } # as_fn_set_status
19523 # as_fn_exit STATUS
19524 # -----------------
19525 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19526 as_fn_exit ()
19528 set +e
19529 as_fn_set_status $1
19530 exit $1
19531 } # as_fn_exit
19533 # as_fn_unset VAR
19534 # ---------------
19535 # Portably unset VAR.
19536 as_fn_unset ()
19538 { eval $1=; unset $1;}
19540 as_unset=as_fn_unset
19541 # as_fn_append VAR VALUE
19542 # ----------------------
19543 # Append the text in VALUE to the end of the definition contained in VAR. Take
19544 # advantage of any shell optimizations that allow amortized linear growth over
19545 # repeated appends, instead of the typical quadratic growth present in naive
19546 # implementations.
19547 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19548 eval 'as_fn_append ()
19550 eval $1+=\$2
19552 else
19553 as_fn_append ()
19555 eval $1=\$$1\$2
19557 fi # as_fn_append
19559 # as_fn_arith ARG...
19560 # ------------------
19561 # Perform arithmetic evaluation on the ARGs, and store the result in the
19562 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19563 # must be portable across $(()) and expr.
19564 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19565 eval 'as_fn_arith ()
19567 as_val=$(( $* ))
19569 else
19570 as_fn_arith ()
19572 as_val=`expr "$@" || test $? -eq 1`
19574 fi # as_fn_arith
19577 if expr a : '\(a\)' >/dev/null 2>&1 &&
19578 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19579 as_expr=expr
19580 else
19581 as_expr=false
19584 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19585 as_basename=basename
19586 else
19587 as_basename=false
19590 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19591 as_dirname=dirname
19592 else
19593 as_dirname=false
19596 as_me=`$as_basename -- "$0" ||
19597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19598 X"$0" : 'X\(//\)$' \| \
19599 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19600 $as_echo X/"$0" |
19601 sed '/^.*\/\([^/][^/]*\)\/*$/{
19602 s//\1/
19605 /^X\/\(\/\/\)$/{
19606 s//\1/
19609 /^X\/\(\/\).*/{
19610 s//\1/
19613 s/.*/./; q'`
19615 # Avoid depending upon Character Ranges.
19616 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19617 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19618 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19619 as_cr_digits='0123456789'
19620 as_cr_alnum=$as_cr_Letters$as_cr_digits
19622 ECHO_C= ECHO_N= ECHO_T=
19623 case `echo -n x` in #(((((
19624 -n*)
19625 case `echo 'xy\c'` in
19626 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19627 xy) ECHO_C='\c';;
19628 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19629 ECHO_T=' ';;
19630 esac;;
19632 ECHO_N='-n';;
19633 esac
19635 rm -f conf$$ conf$$.exe conf$$.file
19636 if test -d conf$$.dir; then
19637 rm -f conf$$.dir/conf$$.file
19638 else
19639 rm -f conf$$.dir
19640 mkdir conf$$.dir 2>/dev/null
19642 if (echo >conf$$.file) 2>/dev/null; then
19643 if ln -s conf$$.file conf$$ 2>/dev/null; then
19644 as_ln_s='ln -s'
19645 # ... but there are two gotchas:
19646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19648 # In both cases, we have to default to `cp -pR'.
19649 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19650 as_ln_s='cp -pR'
19651 elif ln conf$$.file conf$$ 2>/dev/null; then
19652 as_ln_s=ln
19653 else
19654 as_ln_s='cp -pR'
19656 else
19657 as_ln_s='cp -pR'
19659 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19660 rmdir conf$$.dir 2>/dev/null
19663 # as_fn_mkdir_p
19664 # -------------
19665 # Create "$as_dir" as a directory, including parents if necessary.
19666 as_fn_mkdir_p ()
19669 case $as_dir in #(
19670 -*) as_dir=./$as_dir;;
19671 esac
19672 test -d "$as_dir" || eval $as_mkdir_p || {
19673 as_dirs=
19674 while :; do
19675 case $as_dir in #(
19676 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19677 *) as_qdir=$as_dir;;
19678 esac
19679 as_dirs="'$as_qdir' $as_dirs"
19680 as_dir=`$as_dirname -- "$as_dir" ||
19681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19682 X"$as_dir" : 'X\(//\)[^/]' \| \
19683 X"$as_dir" : 'X\(//\)$' \| \
19684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19685 $as_echo X"$as_dir" |
19686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19687 s//\1/
19690 /^X\(\/\/\)[^/].*/{
19691 s//\1/
19694 /^X\(\/\/\)$/{
19695 s//\1/
19698 /^X\(\/\).*/{
19699 s//\1/
19702 s/.*/./; q'`
19703 test -d "$as_dir" && break
19704 done
19705 test -z "$as_dirs" || eval "mkdir $as_dirs"
19706 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19709 } # as_fn_mkdir_p
19710 if mkdir -p . 2>/dev/null; then
19711 as_mkdir_p='mkdir -p "$as_dir"'
19712 else
19713 test -d ./-p && rmdir ./-p
19714 as_mkdir_p=false
19718 # as_fn_executable_p FILE
19719 # -----------------------
19720 # Test if FILE is an executable regular file.
19721 as_fn_executable_p ()
19723 test -f "$1" && test -x "$1"
19724 } # as_fn_executable_p
19725 as_test_x='test -x'
19726 as_executable_p=as_fn_executable_p
19728 # Sed expression to map a string onto a valid CPP name.
19729 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19731 # Sed expression to map a string onto a valid variable name.
19732 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19735 exec 6>&1
19736 ## ----------------------------------- ##
19737 ## Main body of $CONFIG_STATUS script. ##
19738 ## ----------------------------------- ##
19739 _ASEOF
19740 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19743 # Save the log message, to keep $0 and so on meaningful, and to
19744 # report actual input values of CONFIG_FILES etc. instead of their
19745 # values after options handling.
19746 ac_log="
19747 This file was extended by Wine $as_me 2.19, which was
19748 generated by GNU Autoconf 2.69. Invocation command line was
19750 CONFIG_FILES = $CONFIG_FILES
19751 CONFIG_HEADERS = $CONFIG_HEADERS
19752 CONFIG_LINKS = $CONFIG_LINKS
19753 CONFIG_COMMANDS = $CONFIG_COMMANDS
19754 $ $0 $@
19756 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19759 _ACEOF
19761 case $ac_config_files in *"
19762 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19763 esac
19765 case $ac_config_headers in *"
19766 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19767 esac
19770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19771 # Files that config.status was made for.
19772 config_files="$ac_config_files"
19773 config_headers="$ac_config_headers"
19774 config_links="$ac_config_links"
19775 config_commands="$ac_config_commands"
19777 _ACEOF
19779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19780 ac_cs_usage="\
19781 \`$as_me' instantiates files and other configuration actions
19782 from templates according to the current configuration. Unless the files
19783 and actions are specified as TAGs, all are instantiated by default.
19785 Usage: $0 [OPTION]... [TAG]...
19787 -h, --help print this help, then exit
19788 -V, --version print version number and configuration settings, then exit
19789 --config print configuration, then exit
19790 -q, --quiet, --silent
19791 do not print progress messages
19792 -d, --debug don't remove temporary files
19793 --recheck update $as_me by reconfiguring in the same conditions
19794 --file=FILE[:TEMPLATE]
19795 instantiate the configuration file FILE
19796 --header=FILE[:TEMPLATE]
19797 instantiate the configuration header FILE
19799 Configuration files:
19800 $config_files
19802 Configuration headers:
19803 $config_headers
19805 Configuration links:
19806 $config_links
19808 Configuration commands:
19809 $config_commands
19811 Report bugs to <wine-devel@winehq.org>.
19812 Wine home page: <http://www.winehq.org>."
19814 _ACEOF
19815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19817 ac_cs_version="\\
19818 Wine config.status 2.19
19819 configured by $0, generated by GNU Autoconf 2.69,
19820 with options \\"\$ac_cs_config\\"
19822 Copyright (C) 2012 Free Software Foundation, Inc.
19823 This config.status script is free software; the Free Software Foundation
19824 gives unlimited permission to copy, distribute and modify it."
19826 ac_pwd='$ac_pwd'
19827 srcdir='$srcdir'
19828 test -n "\$AWK" || AWK=awk
19829 _ACEOF
19831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19832 # The default lists apply if the user does not specify any file.
19833 ac_need_defaults=:
19834 while test $# != 0
19836 case $1 in
19837 --*=?*)
19838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19840 ac_shift=:
19842 --*=)
19843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19844 ac_optarg=
19845 ac_shift=:
19848 ac_option=$1
19849 ac_optarg=$2
19850 ac_shift=shift
19852 esac
19854 case $ac_option in
19855 # Handling of the options.
19856 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19857 ac_cs_recheck=: ;;
19858 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19859 $as_echo "$ac_cs_version"; exit ;;
19860 --config | --confi | --conf | --con | --co | --c )
19861 $as_echo "$ac_cs_config"; exit ;;
19862 --debug | --debu | --deb | --de | --d | -d )
19863 debug=: ;;
19864 --file | --fil | --fi | --f )
19865 $ac_shift
19866 case $ac_optarg in
19867 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19868 '') as_fn_error $? "missing file argument" ;;
19869 esac
19870 as_fn_append CONFIG_FILES " '$ac_optarg'"
19871 ac_need_defaults=false;;
19872 --header | --heade | --head | --hea )
19873 $ac_shift
19874 case $ac_optarg in
19875 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19876 esac
19877 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19878 ac_need_defaults=false;;
19879 --he | --h)
19880 # Conflict between --help and --header
19881 as_fn_error $? "ambiguous option: \`$1'
19882 Try \`$0 --help' for more information.";;
19883 --help | --hel | -h )
19884 $as_echo "$ac_cs_usage"; exit ;;
19885 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19886 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19887 ac_cs_silent=: ;;
19889 # This is an error.
19890 -*) as_fn_error $? "unrecognized option: \`$1'
19891 Try \`$0 --help' for more information." ;;
19893 *) as_fn_append ac_config_targets " $1"
19894 ac_need_defaults=false ;;
19896 esac
19897 shift
19898 done
19900 ac_configure_extra_args=
19902 if $ac_cs_silent; then
19903 exec 6>/dev/null
19904 ac_configure_extra_args="$ac_configure_extra_args --silent"
19907 _ACEOF
19908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19909 if \$ac_cs_recheck; then
19910 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19911 shift
19912 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19913 CONFIG_SHELL='$SHELL'
19914 export CONFIG_SHELL
19915 exec "\$@"
19918 _ACEOF
19919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19920 exec 5>>config.log
19922 echo
19923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19924 ## Running $as_me. ##
19925 _ASBOX
19926 $as_echo "$ac_log"
19927 } >&5
19929 _ACEOF
19930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19932 # INIT-COMMANDS
19934 wine_fn_output_makedep ()
19936 as_dir=tools; as_fn_mkdir_p
19937 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19939 wine_fn_output_makefile ()
19941 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19942 `cat $wine_rules_file`
19943 _WINE_EOF
19944 as_fn_error $? "could not create Makefile" "$LINENO" 5
19947 _ACEOF
19949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19951 # Handling of arguments.
19952 for ac_config_target in $ac_config_targets
19954 case $ac_config_target in
19955 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19956 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19957 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19958 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19959 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19960 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19961 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19962 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19963 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19964 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19965 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19966 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19967 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19969 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19970 esac
19971 done
19974 # If the user did not use the arguments to specify the items to instantiate,
19975 # then the envvar interface is used. Set only those that are not.
19976 # We use the long form for the default assignment because of an extremely
19977 # bizarre bug on SunOS 4.1.3.
19978 if $ac_need_defaults; then
19979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19981 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19982 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19985 # Have a temporary directory for convenience. Make it in the build tree
19986 # simply because there is no reason against having it here, and in addition,
19987 # creating and moving files from /tmp can sometimes cause problems.
19988 # Hook for its removal unless debugging.
19989 # Note that there is a small window in which the directory will not be cleaned:
19990 # after its creation but before its name has been assigned to `$tmp'.
19991 $debug ||
19993 tmp= ac_tmp=
19994 trap 'exit_status=$?
19995 : "${ac_tmp:=$tmp}"
19996 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19998 trap 'as_fn_exit 1' 1 2 13 15
20000 # Create a (secure) tmp directory for tmp files.
20003 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20004 test -d "$tmp"
20005 } ||
20007 tmp=./conf$$-$RANDOM
20008 (umask 077 && mkdir "$tmp")
20009 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20010 ac_tmp=$tmp
20012 # Set up the scripts for CONFIG_FILES section.
20013 # No need to generate them if there are no CONFIG_FILES.
20014 # This happens for instance with `./config.status config.h'.
20015 if test -n "$CONFIG_FILES"; then
20018 ac_cr=`echo X | tr X '\015'`
20019 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20020 # But we know of no other shell where ac_cr would be empty at this
20021 # point, so we can use a bashism as a fallback.
20022 if test "x$ac_cr" = x; then
20023 eval ac_cr=\$\'\\r\'
20025 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20026 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20027 ac_cs_awk_cr='\\r'
20028 else
20029 ac_cs_awk_cr=$ac_cr
20032 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20033 _ACEOF
20037 echo "cat >conf$$subs.awk <<_ACEOF" &&
20038 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20039 echo "_ACEOF"
20040 } >conf$$subs.sh ||
20041 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20042 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20043 ac_delim='%!_!# '
20044 for ac_last_try in false false false false false :; do
20045 . ./conf$$subs.sh ||
20046 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20048 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20049 if test $ac_delim_n = $ac_delim_num; then
20050 break
20051 elif $ac_last_try; then
20052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20053 else
20054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20056 done
20057 rm -f conf$$subs.sh
20059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20060 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20061 _ACEOF
20062 sed -n '
20064 s/^/S["/; s/!.*/"]=/
20067 s/^[^!]*!//
20068 :repl
20069 t repl
20070 s/'"$ac_delim"'$//
20071 t delim
20074 s/\(.\{148\}\)..*/\1/
20075 t more1
20076 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20079 b repl
20080 :more1
20081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20084 s/.\{148\}//
20085 t nl
20086 :delim
20088 s/\(.\{148\}\)..*/\1/
20089 t more2
20090 s/["\\]/\\&/g; s/^/"/; s/$/"/
20093 :more2
20094 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20097 s/.\{148\}//
20098 t delim
20099 ' <conf$$subs.awk | sed '
20100 /^[^""]/{
20102 s/\n//
20104 ' >>$CONFIG_STATUS || ac_write_fail=1
20105 rm -f conf$$subs.awk
20106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20107 _ACAWK
20108 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20109 for (key in S) S_is_set[key] = 1
20110 FS = "\a"
20114 line = $ 0
20115 nfields = split(line, field, "@")
20116 substed = 0
20117 len = length(field[1])
20118 for (i = 2; i < nfields; i++) {
20119 key = field[i]
20120 keylen = length(key)
20121 if (S_is_set[key]) {
20122 value = S[key]
20123 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20124 len += length(value) + length(field[++i])
20125 substed = 1
20126 } else
20127 len += 1 + keylen
20130 print line
20133 _ACAWK
20134 _ACEOF
20135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20137 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20138 else
20140 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20141 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20142 _ACEOF
20144 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20145 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20146 # trailing colons and then remove the whole line if VPATH becomes empty
20147 # (actually we leave an empty line to preserve line numbers).
20148 if test "x$srcdir" = x.; then
20149 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20151 s///
20152 s/^/:/
20153 s/[ ]*$/:/
20154 s/:\$(srcdir):/:/g
20155 s/:\${srcdir}:/:/g
20156 s/:@srcdir@:/:/g
20157 s/^:*//
20158 s/:*$//
20160 s/\(=[ ]*\).*/\1/
20162 s/\n//
20163 s/^[^=]*=[ ]*$//
20167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20168 fi # test -n "$CONFIG_FILES"
20170 # Set up the scripts for CONFIG_HEADERS section.
20171 # No need to generate them if there are no CONFIG_HEADERS.
20172 # This happens for instance with `./config.status Makefile'.
20173 if test -n "$CONFIG_HEADERS"; then
20174 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20175 BEGIN {
20176 _ACEOF
20178 # Transform confdefs.h into an awk script `defines.awk', embedded as
20179 # here-document in config.status, that substitutes the proper values into
20180 # config.h.in to produce config.h.
20182 # Create a delimiter string that does not exist in confdefs.h, to ease
20183 # handling of long lines.
20184 ac_delim='%!_!# '
20185 for ac_last_try in false false :; do
20186 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20187 if test -z "$ac_tt"; then
20188 break
20189 elif $ac_last_try; then
20190 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20191 else
20192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20194 done
20196 # For the awk script, D is an array of macro values keyed by name,
20197 # likewise P contains macro parameters if any. Preserve backslash
20198 # newline sequences.
20200 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20201 sed -n '
20202 s/.\{148\}/&'"$ac_delim"'/g
20203 t rset
20204 :rset
20205 s/^[ ]*#[ ]*define[ ][ ]*/ /
20206 t def
20208 :def
20209 s/\\$//
20210 t bsnl
20211 s/["\\]/\\&/g
20212 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20213 D["\1"]=" \3"/p
20214 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20216 :bsnl
20217 s/["\\]/\\&/g
20218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20219 D["\1"]=" \3\\\\\\n"\\/p
20220 t cont
20221 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20222 t cont
20224 :cont
20226 s/.\{148\}/&'"$ac_delim"'/g
20227 t clear
20228 :clear
20229 s/\\$//
20230 t bsnlc
20231 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20233 :bsnlc
20234 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20235 b cont
20236 ' <confdefs.h | sed '
20237 s/'"$ac_delim"'/"\\\
20238 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20241 for (key in D) D_is_set[key] = 1
20242 FS = "\a"
20244 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20245 line = \$ 0
20246 split(line, arg, " ")
20247 if (arg[1] == "#") {
20248 defundef = arg[2]
20249 mac1 = arg[3]
20250 } else {
20251 defundef = substr(arg[1], 2)
20252 mac1 = arg[2]
20254 split(mac1, mac2, "(") #)
20255 macro = mac2[1]
20256 prefix = substr(line, 1, index(line, defundef) - 1)
20257 if (D_is_set[macro]) {
20258 # Preserve the white space surrounding the "#".
20259 print prefix "define", macro P[macro] D[macro]
20260 next
20261 } else {
20262 # Replace #undef with comments. This is necessary, for example,
20263 # in the case of _POSIX_SOURCE, which is predefined and required
20264 # on some systems where configure will not decide to define it.
20265 if (defundef == "undef") {
20266 print "/*", prefix defundef, macro, "*/"
20267 next
20271 { print }
20272 _ACAWK
20273 _ACEOF
20274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20275 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20276 fi # test -n "$CONFIG_HEADERS"
20279 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20280 shift
20281 for ac_tag
20283 case $ac_tag in
20284 :[FHLC]) ac_mode=$ac_tag; continue;;
20285 esac
20286 case $ac_mode$ac_tag in
20287 :[FHL]*:*);;
20288 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20289 :[FH]-) ac_tag=-:-;;
20290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20291 esac
20292 ac_save_IFS=$IFS
20293 IFS=:
20294 set x $ac_tag
20295 IFS=$ac_save_IFS
20296 shift
20297 ac_file=$1
20298 shift
20300 case $ac_mode in
20301 :L) ac_source=$1;;
20302 :[FH])
20303 ac_file_inputs=
20304 for ac_f
20306 case $ac_f in
20307 -) ac_f="$ac_tmp/stdin";;
20308 *) # Look for the file first in the build tree, then in the source tree
20309 # (if the path is not absolute). The absolute path cannot be DOS-style,
20310 # because $ac_f cannot contain `:'.
20311 test -f "$ac_f" ||
20312 case $ac_f in
20313 [\\/$]*) false;;
20314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20315 esac ||
20316 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20317 esac
20318 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20319 as_fn_append ac_file_inputs " '$ac_f'"
20320 done
20322 # Let's still pretend it is `configure' which instantiates (i.e., don't
20323 # use $as_me), people would be surprised to read:
20324 # /* config.h. Generated by config.status. */
20325 configure_input='Generated from '`
20326 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20327 `' by configure.'
20328 if test x"$ac_file" != x-; then
20329 configure_input="$ac_file. $configure_input"
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20331 $as_echo "$as_me: creating $ac_file" >&6;}
20333 # Neutralize special characters interpreted by sed in replacement strings.
20334 case $configure_input in #(
20335 *\&* | *\|* | *\\* )
20336 ac_sed_conf_input=`$as_echo "$configure_input" |
20337 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20338 *) ac_sed_conf_input=$configure_input;;
20339 esac
20341 case $ac_tag in
20342 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20344 esac
20346 esac
20348 ac_dir=`$as_dirname -- "$ac_file" ||
20349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20350 X"$ac_file" : 'X\(//\)[^/]' \| \
20351 X"$ac_file" : 'X\(//\)$' \| \
20352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20353 $as_echo X"$ac_file" |
20354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20355 s//\1/
20358 /^X\(\/\/\)[^/].*/{
20359 s//\1/
20362 /^X\(\/\/\)$/{
20363 s//\1/
20366 /^X\(\/\).*/{
20367 s//\1/
20370 s/.*/./; q'`
20371 as_dir="$ac_dir"; as_fn_mkdir_p
20372 ac_builddir=.
20374 case "$ac_dir" in
20375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20378 # A ".." for each directory in $ac_dir_suffix.
20379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20380 case $ac_top_builddir_sub in
20381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20383 esac ;;
20384 esac
20385 ac_abs_top_builddir=$ac_pwd
20386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20387 # for backward compatibility:
20388 ac_top_builddir=$ac_top_build_prefix
20390 case $srcdir in
20391 .) # We are building in place.
20392 ac_srcdir=.
20393 ac_top_srcdir=$ac_top_builddir_sub
20394 ac_abs_top_srcdir=$ac_pwd ;;
20395 [\\/]* | ?:[\\/]* ) # Absolute name.
20396 ac_srcdir=$srcdir$ac_dir_suffix;
20397 ac_top_srcdir=$srcdir
20398 ac_abs_top_srcdir=$srcdir ;;
20399 *) # Relative name.
20400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20401 ac_top_srcdir=$ac_top_build_prefix$srcdir
20402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20403 esac
20404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20407 case $ac_mode in
20410 # CONFIG_FILE
20413 _ACEOF
20415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20416 # If the template does not know about datarootdir, expand it.
20417 # FIXME: This hack should be removed a few years after 2.60.
20418 ac_datarootdir_hack=; ac_datarootdir_seen=
20419 ac_sed_dataroot='
20420 /datarootdir/ {
20424 /@datadir@/p
20425 /@docdir@/p
20426 /@infodir@/p
20427 /@localedir@/p
20428 /@mandir@/p'
20429 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20430 *datarootdir*) ac_datarootdir_seen=yes;;
20431 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20433 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20434 _ACEOF
20435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20436 ac_datarootdir_hack='
20437 s&@datadir@&$datadir&g
20438 s&@docdir@&$docdir&g
20439 s&@infodir@&$infodir&g
20440 s&@localedir@&$localedir&g
20441 s&@mandir@&$mandir&g
20442 s&\\\${datarootdir}&$datarootdir&g' ;;
20443 esac
20444 _ACEOF
20446 # Neutralize VPATH when `$srcdir' = `.'.
20447 # Shell code in configure.ac might set extrasub.
20448 # FIXME: do we really want to maintain this feature?
20449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20450 ac_sed_extra="$ac_vpsub
20451 $extrasub
20452 _ACEOF
20453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20455 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20456 s|@configure_input@|$ac_sed_conf_input|;t t
20457 s&@top_builddir@&$ac_top_builddir_sub&;t t
20458 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20459 s&@srcdir@&$ac_srcdir&;t t
20460 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20461 s&@top_srcdir@&$ac_top_srcdir&;t t
20462 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20463 s&@builddir@&$ac_builddir&;t t
20464 s&@abs_builddir@&$ac_abs_builddir&;t t
20465 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20466 $ac_datarootdir_hack
20468 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20469 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20471 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20472 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20473 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20474 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20476 which seems to be undefined. Please make sure it is defined" >&5
20477 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20478 which seems to be undefined. Please make sure it is defined" >&2;}
20480 rm -f "$ac_tmp/stdin"
20481 case $ac_file in
20482 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20483 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20484 esac \
20485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20489 # CONFIG_HEADER
20491 if test x"$ac_file" != x-; then
20493 $as_echo "/* $configure_input */" \
20494 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20495 } >"$ac_tmp/config.h" \
20496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20497 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20499 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20500 else
20501 rm -f "$ac_file"
20502 mv "$ac_tmp/config.h" "$ac_file" \
20503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20505 else
20506 $as_echo "/* $configure_input */" \
20507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20508 || as_fn_error $? "could not create -" "$LINENO" 5
20513 # CONFIG_LINK
20516 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20518 else
20519 # Prefer the file from the source tree if names are identical.
20520 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20521 ac_source=$srcdir/$ac_source
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20525 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20527 if test ! -r "$ac_source"; then
20528 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20530 rm -f "$ac_file"
20532 # Try a relative symlink, then a hard link, then a copy.
20533 case $ac_source in
20534 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20535 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20536 esac
20537 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20538 ln "$ac_source" "$ac_file" 2>/dev/null ||
20539 cp -p "$ac_source" "$ac_file" ||
20540 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20543 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20544 $as_echo "$as_me: executing $ac_file commands" >&6;}
20546 esac
20549 case $ac_file$ac_mode in
20550 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20551 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20552 "Makefile":C) wine_fn_output_makefile Makefile ;;
20554 esac
20555 done # for ac_tag
20558 as_fn_exit 0
20559 _ACEOF
20560 ac_clean_files=$ac_clean_files_save
20562 test $ac_write_fail = 0 ||
20563 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20566 # configure is writing to config.log, and then calls config.status.
20567 # config.status does its own redirection, appending to config.log.
20568 # Unfortunately, on DOS this fails, as config.log is still kept open
20569 # by configure, so config.status won't be able to write to it; its
20570 # output is simply discarded. So we exec the FD to /dev/null,
20571 # effectively closing config.log, so it can be properly (re)opened and
20572 # appended to by config.status. When coming back to configure, we
20573 # need to make the FD available again.
20574 if test "$no_create" != yes; then
20575 ac_cs_success=:
20576 ac_config_status_args=
20577 test "$silent" = yes &&
20578 ac_config_status_args="$ac_config_status_args --quiet"
20579 exec 5>/dev/null
20580 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20581 exec 5>>config.log
20582 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20583 # would make configure fail if this is the last instruction.
20584 $ac_cs_success || as_fn_exit 1
20586 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20588 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20592 if test "$no_create" = "yes"
20593 then
20594 exit 0
20597 ac_save_IFS="$IFS"
20598 if test "x$wine_notices" != x; then
20599 echo >&6
20600 IFS="|"
20601 for msg in $wine_notices; do
20602 IFS="$ac_save_IFS"
20603 if ${msg:+false} :; then :
20605 else
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20607 $as_echo "$as_me: $msg" >&6;}
20609 done
20611 IFS="|"
20612 for msg in $wine_warnings; do
20613 IFS="$ac_save_IFS"
20614 if ${msg:+false} :; then :
20616 else
20617 echo >&2
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20619 $as_echo "$as_me: WARNING: $msg" >&2;}
20621 done
20622 IFS="$ac_save_IFS"
20624 $as_echo "
20625 $as_me: Finished. Do '${ac_make}' to compile Wine.
20626 " >&6