msacm32: Don't add a format entry if it is decode-only.
[wine.git] / configure
blobc1e3c2a009cc29ce5de73ad1ee000adf6e4b1b9b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.10.
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.10'
584 PACKAGE_STRING='Wine 2.10'
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 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_adsldpc
877 enable_advapi32
878 enable_advpack
879 enable_amstream
880 enable_api_ms_win_appmodel_identity_l1_1_0
881 enable_api_ms_win_appmodel_runtime_l1_1_1
882 enable_api_ms_win_core_apiquery_l1_1_0
883 enable_api_ms_win_core_appcompat_l1_1_1
884 enable_api_ms_win_core_appinit_l1_1_0
885 enable_api_ms_win_core_atoms_l1_1_0
886 enable_api_ms_win_core_bem_l1_1_0
887 enable_api_ms_win_core_com_l1_1_0
888 enable_api_ms_win_core_com_l1_1_1
889 enable_api_ms_win_core_com_private_l1_1_0
890 enable_api_ms_win_core_console_l1_1_0
891 enable_api_ms_win_core_console_l2_1_0
892 enable_api_ms_win_core_datetime_l1_1_0
893 enable_api_ms_win_core_datetime_l1_1_1
894 enable_api_ms_win_core_debug_l1_1_0
895 enable_api_ms_win_core_debug_l1_1_1
896 enable_api_ms_win_core_delayload_l1_1_0
897 enable_api_ms_win_core_delayload_l1_1_1
898 enable_api_ms_win_core_errorhandling_l1_1_0
899 enable_api_ms_win_core_errorhandling_l1_1_1
900 enable_api_ms_win_core_errorhandling_l1_1_2
901 enable_api_ms_win_core_fibers_l1_1_0
902 enable_api_ms_win_core_fibers_l1_1_1
903 enable_api_ms_win_core_file_l1_1_0
904 enable_api_ms_win_core_file_l1_2_0
905 enable_api_ms_win_core_file_l1_2_1
906 enable_api_ms_win_core_file_l2_1_0
907 enable_api_ms_win_core_file_l2_1_1
908 enable_api_ms_win_core_handle_l1_1_0
909 enable_api_ms_win_core_heap_l1_1_0
910 enable_api_ms_win_core_heap_l1_2_0
911 enable_api_ms_win_core_heap_obsolete_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_1_0
913 enable_api_ms_win_core_interlocked_l1_2_0
914 enable_api_ms_win_core_io_l1_1_0
915 enable_api_ms_win_core_io_l1_1_1
916 enable_api_ms_win_core_job_l1_1_0
917 enable_api_ms_win_core_job_l2_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_0
919 enable_api_ms_win_core_kernel32_legacy_l1_1_1
920 enable_api_ms_win_core_kernel32_private_l1_1_1
921 enable_api_ms_win_core_libraryloader_l1_1_0
922 enable_api_ms_win_core_libraryloader_l1_1_1
923 enable_api_ms_win_core_libraryloader_l1_2_0
924 enable_api_ms_win_core_libraryloader_l1_2_2
925 enable_api_ms_win_core_localization_l1_1_0
926 enable_api_ms_win_core_localization_l1_2_0
927 enable_api_ms_win_core_localization_l1_2_1
928 enable_api_ms_win_core_localization_l2_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_1_0
930 enable_api_ms_win_core_localization_obsolete_l1_2_0
931 enable_api_ms_win_core_localization_private_l1_1_0
932 enable_api_ms_win_core_localregistry_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_0
934 enable_api_ms_win_core_memory_l1_1_1
935 enable_api_ms_win_core_memory_l1_1_2
936 enable_api_ms_win_core_misc_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_1_0
938 enable_api_ms_win_core_namedpipe_l1_2_0
939 enable_api_ms_win_core_namespace_l1_1_0
940 enable_api_ms_win_core_normalization_l1_1_0
941 enable_api_ms_win_core_path_l1_1_0
942 enable_api_ms_win_core_privateprofile_l1_1_1
943 enable_api_ms_win_core_processenvironment_l1_1_0
944 enable_api_ms_win_core_processenvironment_l1_2_0
945 enable_api_ms_win_core_processthreads_l1_1_0
946 enable_api_ms_win_core_processthreads_l1_1_1
947 enable_api_ms_win_core_processthreads_l1_1_2
948 enable_api_ms_win_core_profile_l1_1_0
949 enable_api_ms_win_core_psapi_l1_1_0
950 enable_api_ms_win_core_psapi_obsolete_l1_1_0
951 enable_api_ms_win_core_quirks_l1_1_0
952 enable_api_ms_win_core_realtime_l1_1_0
953 enable_api_ms_win_core_registry_l1_1_0
954 enable_api_ms_win_core_registry_l2_1_0
955 enable_api_ms_win_core_registryuserspecific_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_1_0
957 enable_api_ms_win_core_rtlsupport_l1_2_0
958 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
959 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
960 enable_api_ms_win_core_sidebyside_l1_1_0
961 enable_api_ms_win_core_string_l1_1_0
962 enable_api_ms_win_core_string_l2_1_0
963 enable_api_ms_win_core_string_obsolete_l1_1_0
964 enable_api_ms_win_core_stringansi_l1_1_0
965 enable_api_ms_win_core_synch_l1_1_0
966 enable_api_ms_win_core_synch_l1_2_0
967 enable_api_ms_win_core_sysinfo_l1_1_0
968 enable_api_ms_win_core_sysinfo_l1_2_0
969 enable_api_ms_win_core_sysinfo_l1_2_1
970 enable_api_ms_win_core_threadpool_l1_1_0
971 enable_api_ms_win_core_threadpool_l1_2_0
972 enable_api_ms_win_core_threadpool_legacy_l1_1_0
973 enable_api_ms_win_core_threadpool_private_l1_1_0
974 enable_api_ms_win_core_timezone_l1_1_0
975 enable_api_ms_win_core_toolhelp_l1_1_0
976 enable_api_ms_win_core_url_l1_1_0
977 enable_api_ms_win_core_util_l1_1_0
978 enable_api_ms_win_core_version_l1_1_0
979 enable_api_ms_win_core_version_private_l1_1_0
980 enable_api_ms_win_core_versionansi_l1_1_0
981 enable_api_ms_win_core_windowserrorreporting_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_0
983 enable_api_ms_win_core_winrt_error_l1_1_1
984 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
985 enable_api_ms_win_core_winrt_l1_1_0
986 enable_api_ms_win_core_winrt_registration_l1_1_0
987 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
988 enable_api_ms_win_core_winrt_string_l1_1_0
989 enable_api_ms_win_core_wow64_l1_1_0
990 enable_api_ms_win_core_xstate_l1_1_0
991 enable_api_ms_win_core_xstate_l2_1_0
992 enable_api_ms_win_crt_conio_l1_1_0
993 enable_api_ms_win_crt_convert_l1_1_0
994 enable_api_ms_win_crt_environment_l1_1_0
995 enable_api_ms_win_crt_filesystem_l1_1_0
996 enable_api_ms_win_crt_heap_l1_1_0
997 enable_api_ms_win_crt_locale_l1_1_0
998 enable_api_ms_win_crt_math_l1_1_0
999 enable_api_ms_win_crt_multibyte_l1_1_0
1000 enable_api_ms_win_crt_private_l1_1_0
1001 enable_api_ms_win_crt_process_l1_1_0
1002 enable_api_ms_win_crt_runtime_l1_1_0
1003 enable_api_ms_win_crt_stdio_l1_1_0
1004 enable_api_ms_win_crt_string_l1_1_0
1005 enable_api_ms_win_crt_time_l1_1_0
1006 enable_api_ms_win_crt_utility_l1_1_0
1007 enable_api_ms_win_devices_config_l1_1_1
1008 enable_api_ms_win_devices_query_l1_1_1
1009 enable_api_ms_win_downlevel_advapi32_l1_1_0
1010 enable_api_ms_win_downlevel_advapi32_l2_1_0
1011 enable_api_ms_win_downlevel_normaliz_l1_1_0
1012 enable_api_ms_win_downlevel_ole32_l1_1_0
1013 enable_api_ms_win_downlevel_shell32_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1015 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1016 enable_api_ms_win_downlevel_user32_l1_1_0
1017 enable_api_ms_win_downlevel_version_l1_1_0
1018 enable_api_ms_win_dx_d3dkmt_l1_1_0
1019 enable_api_ms_win_eventing_classicprovider_l1_1_0
1020 enable_api_ms_win_eventing_consumer_l1_1_0
1021 enable_api_ms_win_eventing_controller_l1_1_0
1022 enable_api_ms_win_eventing_provider_l1_1_0
1023 enable_api_ms_win_eventlog_legacy_l1_1_0
1024 enable_api_ms_win_mm_misc_l1_1_1
1025 enable_api_ms_win_mm_mme_l1_1_0
1026 enable_api_ms_win_ntuser_dc_access_l1_1_0
1027 enable_api_ms_win_power_base_l1_1_0
1028 enable_api_ms_win_power_setting_l1_1_0
1029 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1030 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1031 enable_api_ms_win_security_audit_l1_1_1
1032 enable_api_ms_win_security_base_l1_1_0
1033 enable_api_ms_win_security_base_l1_2_0
1034 enable_api_ms_win_security_base_private_l1_1_1
1035 enable_api_ms_win_security_credentials_l1_1_0
1036 enable_api_ms_win_security_grouppolicy_l1_1_0
1037 enable_api_ms_win_security_lsalookup_l1_1_0
1038 enable_api_ms_win_security_lsalookup_l1_1_1
1039 enable_api_ms_win_security_lsalookup_l2_1_1
1040 enable_api_ms_win_security_lsapolicy_l1_1_0
1041 enable_api_ms_win_security_sddl_l1_1_0
1042 enable_api_ms_win_security_systemfunctions_l1_1_0
1043 enable_api_ms_win_service_core_l1_1_0
1044 enable_api_ms_win_service_core_l1_1_1
1045 enable_api_ms_win_service_management_l1_1_0
1046 enable_api_ms_win_service_management_l2_1_0
1047 enable_api_ms_win_service_private_l1_1_1
1048 enable_api_ms_win_service_winsvc_l1_1_0
1049 enable_api_ms_win_service_winsvc_l1_2_0
1050 enable_api_ms_win_shell_shellcom_l1_1_0
1051 enable_api_ms_win_shell_shellfolders_l1_1_0
1052 enable_apphelp
1053 enable_appwiz_cpl
1054 enable_atl
1055 enable_atl100
1056 enable_atl110
1057 enable_atl80
1058 enable_atl90
1059 enable_authz
1060 enable_avicap32
1061 enable_avifil32
1062 enable_avrt
1063 enable_bcrypt
1064 enable_bluetoothapis
1065 enable_browseui
1066 enable_bthprops_cpl
1067 enable_cabinet
1068 enable_capi2032
1069 enable_cards
1070 enable_cfgmgr32
1071 enable_clusapi
1072 enable_combase
1073 enable_comcat
1074 enable_comctl32
1075 enable_comdlg32
1076 enable_compstui
1077 enable_comsvcs
1078 enable_concrt140
1079 enable_connect
1080 enable_credui
1081 enable_crtdll
1082 enable_crypt32
1083 enable_cryptdlg
1084 enable_cryptdll
1085 enable_cryptext
1086 enable_cryptnet
1087 enable_cryptui
1088 enable_ctapi32
1089 enable_ctl3d32
1090 enable_d2d1
1091 enable_d3d10
1092 enable_d3d10_1
1093 enable_d3d10core
1094 enable_d3d11
1095 enable_d3d8
1096 enable_d3d9
1097 enable_d3dcompiler_33
1098 enable_d3dcompiler_34
1099 enable_d3dcompiler_35
1100 enable_d3dcompiler_36
1101 enable_d3dcompiler_37
1102 enable_d3dcompiler_38
1103 enable_d3dcompiler_39
1104 enable_d3dcompiler_40
1105 enable_d3dcompiler_41
1106 enable_d3dcompiler_42
1107 enable_d3dcompiler_43
1108 enable_d3dcompiler_46
1109 enable_d3dcompiler_47
1110 enable_d3dim
1111 enable_d3drm
1112 enable_d3dx10_33
1113 enable_d3dx10_34
1114 enable_d3dx10_35
1115 enable_d3dx10_36
1116 enable_d3dx10_37
1117 enable_d3dx10_38
1118 enable_d3dx10_39
1119 enable_d3dx10_40
1120 enable_d3dx10_41
1121 enable_d3dx10_42
1122 enable_d3dx10_43
1123 enable_d3dx11_42
1124 enable_d3dx11_43
1125 enable_d3dx9_24
1126 enable_d3dx9_25
1127 enable_d3dx9_26
1128 enable_d3dx9_27
1129 enable_d3dx9_28
1130 enable_d3dx9_29
1131 enable_d3dx9_30
1132 enable_d3dx9_31
1133 enable_d3dx9_32
1134 enable_d3dx9_33
1135 enable_d3dx9_34
1136 enable_d3dx9_35
1137 enable_d3dx9_36
1138 enable_d3dx9_37
1139 enable_d3dx9_38
1140 enable_d3dx9_39
1141 enable_d3dx9_40
1142 enable_d3dx9_41
1143 enable_d3dx9_42
1144 enable_d3dx9_43
1145 enable_d3dxof
1146 enable_davclnt
1147 enable_dbgeng
1148 enable_dbghelp
1149 enable_dciman32
1150 enable_ddraw
1151 enable_ddrawex
1152 enable_devenum
1153 enable_dhcpcsvc
1154 enable_difxapi
1155 enable_dinput
1156 enable_dinput8
1157 enable_dispex
1158 enable_dmband
1159 enable_dmcompos
1160 enable_dmime
1161 enable_dmloader
1162 enable_dmscript
1163 enable_dmstyle
1164 enable_dmsynth
1165 enable_dmusic
1166 enable_dmusic32
1167 enable_dnsapi
1168 enable_dplay
1169 enable_dplayx
1170 enable_dpnaddr
1171 enable_dpnet
1172 enable_dpnhpast
1173 enable_dpnlobby
1174 enable_dpvoice
1175 enable_dpwsockx
1176 enable_drmclien
1177 enable_dsound
1178 enable_dssenh
1179 enable_dswave
1180 enable_dwmapi
1181 enable_dwrite
1182 enable_dxdiagn
1183 enable_dxgi
1184 enable_dxva2
1185 enable_esent
1186 enable_evr
1187 enable_explorerframe
1188 enable_ext_ms_win_authz_context_l1_1_0
1189 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1190 enable_ext_ms_win_gdi_dc_create_l1_1_1
1191 enable_ext_ms_win_gdi_dc_l1_2_0
1192 enable_ext_ms_win_gdi_devcaps_l1_1_0
1193 enable_ext_ms_win_gdi_draw_l1_1_1
1194 enable_ext_ms_win_gdi_render_l1_1_0
1195 enable_ext_ms_win_kernel32_package_current_l1_1_0
1196 enable_ext_ms_win_ntuser_message_l1_1_1
1197 enable_ext_ms_win_ntuser_private_l1_1_1
1198 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1199 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1200 enable_ext_ms_win_ntuser_window_l1_1_1
1201 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1202 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1203 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1204 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1205 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1206 enable_faultrep
1207 enable_fltlib
1208 enable_fltmgr_sys
1209 enable_fntcache
1210 enable_fontsub
1211 enable_fusion
1212 enable_fwpuclnt
1213 enable_gameux
1214 enable_gdi32
1215 enable_gdiplus
1216 enable_glu32
1217 enable_gphoto2_ds
1218 enable_gpkcsp
1219 enable_hal
1220 enable_hhctrl_ocx
1221 enable_hid
1222 enable_hidclass_sys
1223 enable_hlink
1224 enable_hnetcfg
1225 enable_httpapi
1226 enable_iccvid
1227 enable_icmp
1228 enable_ieframe
1229 enable_imaadp32_acm
1230 enable_imagehlp
1231 enable_imm32
1232 enable_inetcomm
1233 enable_inetcpl_cpl
1234 enable_inetmib1
1235 enable_infosoft
1236 enable_initpki
1237 enable_inkobj
1238 enable_inseng
1239 enable_iphlpapi
1240 enable_iprop
1241 enable_irprops_cpl
1242 enable_itircl
1243 enable_itss
1244 enable_joy_cpl
1245 enable_jscript
1246 enable_jsproxy
1247 enable_kernel32
1248 enable_kernelbase
1249 enable_ksuser
1250 enable_ktmw32
1251 enable_loadperf
1252 enable_localspl
1253 enable_localui
1254 enable_lz32
1255 enable_mapi32
1256 enable_mapistub
1257 enable_mciavi32
1258 enable_mcicda
1259 enable_mciqtz32
1260 enable_mciseq
1261 enable_mciwave
1262 enable_mf
1263 enable_mf3216
1264 enable_mfplat
1265 enable_mfreadwrite
1266 enable_mgmtapi
1267 enable_midimap
1268 enable_mlang
1269 enable_mmcndmgr
1270 enable_mmdevapi
1271 enable_mountmgr_sys
1272 enable_mpr
1273 enable_mprapi
1274 enable_msacm32_drv
1275 enable_msacm32
1276 enable_msadp32_acm
1277 enable_msasn1
1278 enable_mscat32
1279 enable_mscms
1280 enable_mscoree
1281 enable_msctf
1282 enable_msctfp
1283 enable_msdaps
1284 enable_msdelta
1285 enable_msdmo
1286 enable_msdrm
1287 enable_msftedit
1288 enable_msg711_acm
1289 enable_msgsm32_acm
1290 enable_mshtml_tlb
1291 enable_mshtml
1292 enable_msi
1293 enable_msident
1294 enable_msimg32
1295 enable_msimsg
1296 enable_msimtf
1297 enable_msisip
1298 enable_msisys_ocx
1299 enable_msls31
1300 enable_msnet32
1301 enable_mspatcha
1302 enable_msports
1303 enable_msrle32
1304 enable_msscript_ocx
1305 enable_mssign32
1306 enable_mssip32
1307 enable_mstask
1308 enable_msvcirt
1309 enable_msvcm80
1310 enable_msvcm90
1311 enable_msvcp100
1312 enable_msvcp110
1313 enable_msvcp120
1314 enable_msvcp120_app
1315 enable_msvcp140
1316 enable_msvcp60
1317 enable_msvcp70
1318 enable_msvcp71
1319 enable_msvcp80
1320 enable_msvcp90
1321 enable_msvcr100
1322 enable_msvcr110
1323 enable_msvcr120
1324 enable_msvcr120_app
1325 enable_msvcr70
1326 enable_msvcr71
1327 enable_msvcr80
1328 enable_msvcr90
1329 enable_msvcrt
1330 enable_msvcrt20
1331 enable_msvcrt40
1332 enable_msvcrtd
1333 enable_msvfw32
1334 enable_msvidc32
1335 enable_mswsock
1336 enable_msxml
1337 enable_msxml2
1338 enable_msxml3
1339 enable_msxml4
1340 enable_msxml6
1341 enable_mtxdm
1342 enable_ncrypt
1343 enable_nddeapi
1344 enable_ndis_sys
1345 enable_netapi32
1346 enable_netcfgx
1347 enable_netprofm
1348 enable_newdev
1349 enable_normaliz
1350 enable_npmshtml
1351 enable_npptools
1352 enable_ntdll
1353 enable_ntdsapi
1354 enable_ntoskrnl_exe
1355 enable_ntprint
1356 enable_objsel
1357 enable_odbc32
1358 enable_odbccp32
1359 enable_odbccu32
1360 enable_ole32
1361 enable_oleacc
1362 enable_oleaut32
1363 enable_olecli32
1364 enable_oledb32
1365 enable_oledlg
1366 enable_olepro32
1367 enable_olesvr32
1368 enable_olethk32
1369 enable_openal32
1370 enable_opencl
1371 enable_opengl32
1372 enable_packager
1373 enable_pdh
1374 enable_photometadatahandler
1375 enable_pidgen
1376 enable_powrprof
1377 enable_printui
1378 enable_prntvpt
1379 enable_propsys
1380 enable_psapi
1381 enable_pstorec
1382 enable_qcap
1383 enable_qedit
1384 enable_qmgr
1385 enable_qmgrprxy
1386 enable_quartz
1387 enable_query
1388 enable_rasapi32
1389 enable_rasdlg
1390 enable_regapi
1391 enable_resutils
1392 enable_riched20
1393 enable_riched32
1394 enable_rpcrt4
1395 enable_rsabase
1396 enable_rsaenh
1397 enable_rstrtmgr
1398 enable_rtutils
1399 enable_samlib
1400 enable_sane_ds
1401 enable_scarddlg
1402 enable_sccbase
1403 enable_schannel
1404 enable_schedsvc
1405 enable_scrobj
1406 enable_scrrun
1407 enable_scsiport_sys
1408 enable_secur32
1409 enable_security
1410 enable_sensapi
1411 enable_serialui
1412 enable_setupapi
1413 enable_sfc
1414 enable_sfc_os
1415 enable_shdoclc
1416 enable_shdocvw
1417 enable_shell32
1418 enable_shfolder
1419 enable_shlwapi
1420 enable_slbcsp
1421 enable_slc
1422 enable_snmpapi
1423 enable_softpub
1424 enable_spoolss
1425 enable_sspicli
1426 enable_stdole2_tlb
1427 enable_stdole32_tlb
1428 enable_sti
1429 enable_svrapi
1430 enable_sxs
1431 enable_t2embed
1432 enable_tapi32
1433 enable_taskschd
1434 enable_tdh
1435 enable_tdi_sys
1436 enable_traffic
1437 enable_twain_32
1438 enable_ucrtbase
1439 enable_uiautomationcore
1440 enable_unicows
1441 enable_updspapi
1442 enable_url
1443 enable_urlmon
1444 enable_usbd_sys
1445 enable_user32
1446 enable_userenv
1447 enable_usp10
1448 enable_uxtheme
1449 enable_vbscript
1450 enable_vcomp
1451 enable_vcomp100
1452 enable_vcomp110
1453 enable_vcomp120
1454 enable_vcomp140
1455 enable_vcomp90
1456 enable_vcruntime140
1457 enable_vdmdbg
1458 enable_version
1459 enable_virtdisk
1460 enable_vssapi
1461 enable_wbemdisp
1462 enable_wbemprox
1463 enable_webservices
1464 enable_wer
1465 enable_wevtapi
1466 enable_wiaservc
1467 enable_wimgapi
1468 enable_windowscodecs
1469 enable_windowscodecsext
1470 enable_winealsa_drv
1471 enable_wineandroid_drv
1472 enable_winebus_sys
1473 enable_winecoreaudio_drv
1474 enable_wined3d
1475 enable_winegstreamer
1476 enable_winehid_sys
1477 enable_winejoystick_drv
1478 enable_winemac_drv
1479 enable_winemapi
1480 enable_winemp3_acm
1481 enable_wineoss_drv
1482 enable_wineps_drv
1483 enable_winepulse_drv
1484 enable_wineqtdecoder
1485 enable_winex11_drv
1486 enable_wing32
1487 enable_winhttp
1488 enable_wininet
1489 enable_winmm
1490 enable_winnls32
1491 enable_winscard
1492 enable_winspool_drv
1493 enable_winsta
1494 enable_wintab32
1495 enable_wintrust
1496 enable_winusb
1497 enable_wlanapi
1498 enable_wldap32
1499 enable_wmasf
1500 enable_wmi
1501 enable_wmiutils
1502 enable_wmp
1503 enable_wmvcore
1504 enable_wnaspi32
1505 enable_wpc
1506 enable_wpcap
1507 enable_ws2_32
1508 enable_wsdapi
1509 enable_wshom_ocx
1510 enable_wsnmp32
1511 enable_wsock32
1512 enable_wtsapi32
1513 enable_wuapi
1514 enable_wuaueng
1515 enable_x3daudio1_0
1516 enable_x3daudio1_1
1517 enable_x3daudio1_2
1518 enable_x3daudio1_3
1519 enable_x3daudio1_4
1520 enable_x3daudio1_5
1521 enable_x3daudio1_6
1522 enable_x3daudio1_7
1523 enable_xapofx1_1
1524 enable_xapofx1_2
1525 enable_xapofx1_3
1526 enable_xapofx1_4
1527 enable_xapofx1_5
1528 enable_xaudio2_0
1529 enable_xaudio2_1
1530 enable_xaudio2_2
1531 enable_xaudio2_3
1532 enable_xaudio2_4
1533 enable_xaudio2_5
1534 enable_xaudio2_6
1535 enable_xaudio2_7
1536 enable_xaudio2_8
1537 enable_xaudio2_9
1538 enable_xinput1_1
1539 enable_xinput1_2
1540 enable_xinput1_3
1541 enable_xinput1_4
1542 enable_xinput9_1_0
1543 enable_xmllite
1544 enable_xolehlp
1545 enable_xpsprint
1546 enable_xpssvcs
1547 enable_fonts
1548 enable_include
1549 enable_libs_port
1550 enable_libs_wine
1551 enable_libs_wpp
1552 enable_loader
1553 enable_po
1554 enable_arp
1555 enable_aspnet_regiis
1556 enable_attrib
1557 enable_cabarc
1558 enable_cacls
1559 enable_clock
1560 enable_cmd
1561 enable_conhost
1562 enable_control
1563 enable_cscript
1564 enable_dpnsvr
1565 enable_dxdiag
1566 enable_eject
1567 enable_expand
1568 enable_explorer
1569 enable_extrac32
1570 enable_findstr
1571 enable_fsutil
1572 enable_hh
1573 enable_hostname
1574 enable_icacls
1575 enable_icinfo
1576 enable_iexplore
1577 enable_ipconfig
1578 enable_lodctr
1579 enable_mofcomp
1580 enable_mshta
1581 enable_msiexec
1582 enable_msinfo32
1583 enable_net
1584 enable_netsh
1585 enable_netstat
1586 enable_ngen
1587 enable_notepad
1588 enable_oleview
1589 enable_ping
1590 enable_plugplay
1591 enable_presentationfontcache
1592 enable_progman
1593 enable_reg
1594 enable_regasm
1595 enable_regedit
1596 enable_regsvcs
1597 enable_regsvr32
1598 enable_rpcss
1599 enable_rundll32
1600 enable_sc
1601 enable_schtasks
1602 enable_sdbinst
1603 enable_secedit
1604 enable_servicemodelreg
1605 enable_services
1606 enable_shutdown
1607 enable_spoolsv
1608 enable_start
1609 enable_subst
1610 enable_svchost
1611 enable_systeminfo
1612 enable_taskkill
1613 enable_tasklist
1614 enable_taskmgr
1615 enable_termsv
1616 enable_uninstaller
1617 enable_unlodctr
1618 enable_view
1619 enable_wevtutil
1620 enable_wineboot
1621 enable_winebrowser
1622 enable_winecfg
1623 enable_wineconsole
1624 enable_winedbg
1625 enable_winedevice
1626 enable_winefile
1627 enable_winemenubuilder
1628 enable_winemine
1629 enable_winemsibuilder
1630 enable_winepath
1631 enable_winetest
1632 enable_winhlp32
1633 enable_winver
1634 enable_wmic
1635 enable_wmplayer
1636 enable_wordpad
1637 enable_write
1638 enable_wscript
1639 enable_wusa
1640 enable_xcopy
1641 enable_server
1642 enable_tools
1644 ac_precious_vars='build_alias
1645 host_alias
1646 target_alias
1648 CFLAGS
1649 LDFLAGS
1650 LIBS
1651 CPPFLAGS
1653 CXXFLAGS
1656 XMKMF
1657 XML2_CFLAGS
1658 XML2_LIBS
1659 XSLT_CFLAGS
1660 XSLT_LIBS
1661 DBUS_CFLAGS
1662 DBUS_LIBS
1663 HAL_CFLAGS
1664 HAL_LIBS
1665 GNUTLS_CFLAGS
1666 GNUTLS_LIBS
1667 SANE_CFLAGS
1668 SANE_LIBS
1669 GPHOTO2_CFLAGS
1670 GPHOTO2_LIBS
1671 GPHOTO2_PORT_CFLAGS
1672 GPHOTO2_PORT_LIBS
1673 LCMS2_CFLAGS
1674 LCMS2_LIBS
1675 FREETYPE_CFLAGS
1676 FREETYPE_LIBS
1677 PULSE_CFLAGS
1678 PULSE_LIBS
1679 GSTREAMER_CFLAGS
1680 GSTREAMER_LIBS
1681 UDEV_CFLAGS
1682 UDEV_LIBS
1683 CAPI20_CFLAGS
1684 CAPI20_LIBS
1685 FONTCONFIG_CFLAGS
1686 FONTCONFIG_LIBS
1687 JPEG_CFLAGS
1688 JPEG_LIBS
1689 PNG_CFLAGS
1690 PNG_LIBS
1691 TIFF_CFLAGS
1692 TIFF_LIBS
1693 MPG123_CFLAGS
1694 MPG123_LIBS
1695 NETAPI_CFLAGS
1696 NETAPI_LIBS'
1699 # Initialize some variables set by options.
1700 ac_init_help=
1701 ac_init_version=false
1702 ac_unrecognized_opts=
1703 ac_unrecognized_sep=
1704 # The variables have the same names as the options, with
1705 # dashes changed to underlines.
1706 cache_file=/dev/null
1707 exec_prefix=NONE
1708 no_create=
1709 no_recursion=
1710 prefix=NONE
1711 program_prefix=NONE
1712 program_suffix=NONE
1713 program_transform_name=s,x,x,
1714 silent=
1715 site=
1716 srcdir=
1717 verbose=
1718 x_includes=NONE
1719 x_libraries=NONE
1721 # Installation directory options.
1722 # These are left unexpanded so users can "make install exec_prefix=/foo"
1723 # and all the variables that are supposed to be based on exec_prefix
1724 # by default will actually change.
1725 # Use braces instead of parens because sh, perl, etc. also accept them.
1726 # (The list follows the same order as the GNU Coding Standards.)
1727 bindir='${exec_prefix}/bin'
1728 sbindir='${exec_prefix}/sbin'
1729 libexecdir='${exec_prefix}/libexec'
1730 datarootdir='${prefix}/share'
1731 datadir='${datarootdir}'
1732 sysconfdir='${prefix}/etc'
1733 sharedstatedir='${prefix}/com'
1734 localstatedir='${prefix}/var'
1735 runstatedir='${localstatedir}/run'
1736 includedir='${prefix}/include'
1737 oldincludedir='/usr/include'
1738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1739 infodir='${datarootdir}/info'
1740 htmldir='${docdir}'
1741 dvidir='${docdir}'
1742 pdfdir='${docdir}'
1743 psdir='${docdir}'
1744 libdir='${exec_prefix}/lib'
1745 localedir='${datarootdir}/locale'
1746 mandir='${datarootdir}/man'
1748 ac_prev=
1749 ac_dashdash=
1750 for ac_option
1752 # If the previous option needs an argument, assign it.
1753 if test -n "$ac_prev"; then
1754 eval $ac_prev=\$ac_option
1755 ac_prev=
1756 continue
1759 case $ac_option in
1760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1761 *=) ac_optarg= ;;
1762 *) ac_optarg=yes ;;
1763 esac
1765 # Accept the important Cygnus configure options, so we can diagnose typos.
1767 case $ac_dashdash$ac_option in
1769 ac_dashdash=yes ;;
1771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1772 ac_prev=bindir ;;
1773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1774 bindir=$ac_optarg ;;
1776 -build | --build | --buil | --bui | --bu)
1777 ac_prev=build_alias ;;
1778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1779 build_alias=$ac_optarg ;;
1781 -cache-file | --cache-file | --cache-fil | --cache-fi \
1782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1783 ac_prev=cache_file ;;
1784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1786 cache_file=$ac_optarg ;;
1788 --config-cache | -C)
1789 cache_file=config.cache ;;
1791 -datadir | --datadir | --datadi | --datad)
1792 ac_prev=datadir ;;
1793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1794 datadir=$ac_optarg ;;
1796 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1797 | --dataroo | --dataro | --datar)
1798 ac_prev=datarootdir ;;
1799 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1800 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1801 datarootdir=$ac_optarg ;;
1803 -disable-* | --disable-*)
1804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1807 as_fn_error $? "invalid feature name: $ac_useropt"
1808 ac_useropt_orig=$ac_useropt
1809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1812 "enable_$ac_useropt"
1813 "*) ;;
1814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1815 ac_unrecognized_sep=', ';;
1816 esac
1817 eval enable_$ac_useropt=no ;;
1819 -docdir | --docdir | --docdi | --doc | --do)
1820 ac_prev=docdir ;;
1821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1822 docdir=$ac_optarg ;;
1824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1825 ac_prev=dvidir ;;
1826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1827 dvidir=$ac_optarg ;;
1829 -enable-* | --enable-*)
1830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1831 # Reject names that are not valid shell variable names.
1832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1833 as_fn_error $? "invalid feature name: $ac_useropt"
1834 ac_useropt_orig=$ac_useropt
1835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1836 case $ac_user_opts in
1838 "enable_$ac_useropt"
1839 "*) ;;
1840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1841 ac_unrecognized_sep=', ';;
1842 esac
1843 eval enable_$ac_useropt=\$ac_optarg ;;
1845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1847 | --exec | --exe | --ex)
1848 ac_prev=exec_prefix ;;
1849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1851 | --exec=* | --exe=* | --ex=*)
1852 exec_prefix=$ac_optarg ;;
1854 -gas | --gas | --ga | --g)
1855 # Obsolete; use --with-gas.
1856 with_gas=yes ;;
1858 -help | --help | --hel | --he | -h)
1859 ac_init_help=long ;;
1860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1861 ac_init_help=recursive ;;
1862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1863 ac_init_help=short ;;
1865 -host | --host | --hos | --ho)
1866 ac_prev=host_alias ;;
1867 -host=* | --host=* | --hos=* | --ho=*)
1868 host_alias=$ac_optarg ;;
1870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1871 ac_prev=htmldir ;;
1872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1873 | --ht=*)
1874 htmldir=$ac_optarg ;;
1876 -includedir | --includedir | --includedi | --included | --include \
1877 | --includ | --inclu | --incl | --inc)
1878 ac_prev=includedir ;;
1879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1880 | --includ=* | --inclu=* | --incl=* | --inc=*)
1881 includedir=$ac_optarg ;;
1883 -infodir | --infodir | --infodi | --infod | --info | --inf)
1884 ac_prev=infodir ;;
1885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1886 infodir=$ac_optarg ;;
1888 -libdir | --libdir | --libdi | --libd)
1889 ac_prev=libdir ;;
1890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1891 libdir=$ac_optarg ;;
1893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1894 | --libexe | --libex | --libe)
1895 ac_prev=libexecdir ;;
1896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1897 | --libexe=* | --libex=* | --libe=*)
1898 libexecdir=$ac_optarg ;;
1900 -localedir | --localedir | --localedi | --localed | --locale)
1901 ac_prev=localedir ;;
1902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1903 localedir=$ac_optarg ;;
1905 -localstatedir | --localstatedir | --localstatedi | --localstated \
1906 | --localstate | --localstat | --localsta | --localst | --locals)
1907 ac_prev=localstatedir ;;
1908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1910 localstatedir=$ac_optarg ;;
1912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1913 ac_prev=mandir ;;
1914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1915 mandir=$ac_optarg ;;
1917 -nfp | --nfp | --nf)
1918 # Obsolete; use --without-fp.
1919 with_fp=no ;;
1921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1922 | --no-cr | --no-c | -n)
1923 no_create=yes ;;
1925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1927 no_recursion=yes ;;
1929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1931 | --oldin | --oldi | --old | --ol | --o)
1932 ac_prev=oldincludedir ;;
1933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1936 oldincludedir=$ac_optarg ;;
1938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1939 ac_prev=prefix ;;
1940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1941 prefix=$ac_optarg ;;
1943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1944 | --program-pre | --program-pr | --program-p)
1945 ac_prev=program_prefix ;;
1946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1948 program_prefix=$ac_optarg ;;
1950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1951 | --program-suf | --program-su | --program-s)
1952 ac_prev=program_suffix ;;
1953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1955 program_suffix=$ac_optarg ;;
1957 -program-transform-name | --program-transform-name \
1958 | --program-transform-nam | --program-transform-na \
1959 | --program-transform-n | --program-transform- \
1960 | --program-transform | --program-transfor \
1961 | --program-transfo | --program-transf \
1962 | --program-trans | --program-tran \
1963 | --progr-tra | --program-tr | --program-t)
1964 ac_prev=program_transform_name ;;
1965 -program-transform-name=* | --program-transform-name=* \
1966 | --program-transform-nam=* | --program-transform-na=* \
1967 | --program-transform-n=* | --program-transform-=* \
1968 | --program-transform=* | --program-transfor=* \
1969 | --program-transfo=* | --program-transf=* \
1970 | --program-trans=* | --program-tran=* \
1971 | --progr-tra=* | --program-tr=* | --program-t=*)
1972 program_transform_name=$ac_optarg ;;
1974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1975 ac_prev=pdfdir ;;
1976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1977 pdfdir=$ac_optarg ;;
1979 -psdir | --psdir | --psdi | --psd | --ps)
1980 ac_prev=psdir ;;
1981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1982 psdir=$ac_optarg ;;
1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1985 | -silent | --silent | --silen | --sile | --sil)
1986 silent=yes ;;
1988 -runstatedir | --runstatedir | --runstatedi | --runstated \
1989 | --runstate | --runstat | --runsta | --runst | --runs \
1990 | --run | --ru | --r)
1991 ac_prev=runstatedir ;;
1992 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1993 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1994 | --run=* | --ru=* | --r=*)
1995 runstatedir=$ac_optarg ;;
1997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1998 ac_prev=sbindir ;;
1999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2000 | --sbi=* | --sb=*)
2001 sbindir=$ac_optarg ;;
2003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2005 | --sharedst | --shareds | --shared | --share | --shar \
2006 | --sha | --sh)
2007 ac_prev=sharedstatedir ;;
2008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2011 | --sha=* | --sh=*)
2012 sharedstatedir=$ac_optarg ;;
2014 -site | --site | --sit)
2015 ac_prev=site ;;
2016 -site=* | --site=* | --sit=*)
2017 site=$ac_optarg ;;
2019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2020 ac_prev=srcdir ;;
2021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2022 srcdir=$ac_optarg ;;
2024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2025 | --syscon | --sysco | --sysc | --sys | --sy)
2026 ac_prev=sysconfdir ;;
2027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2029 sysconfdir=$ac_optarg ;;
2031 -target | --target | --targe | --targ | --tar | --ta | --t)
2032 ac_prev=target_alias ;;
2033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2034 target_alias=$ac_optarg ;;
2036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2037 verbose=yes ;;
2039 -version | --version | --versio | --versi | --vers | -V)
2040 ac_init_version=: ;;
2042 -with-* | --with-*)
2043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2044 # Reject names that are not valid shell variable names.
2045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2046 as_fn_error $? "invalid package name: $ac_useropt"
2047 ac_useropt_orig=$ac_useropt
2048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2049 case $ac_user_opts in
2051 "with_$ac_useropt"
2052 "*) ;;
2053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2054 ac_unrecognized_sep=', ';;
2055 esac
2056 eval with_$ac_useropt=\$ac_optarg ;;
2058 -without-* | --without-*)
2059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2060 # Reject names that are not valid shell variable names.
2061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2062 as_fn_error $? "invalid package name: $ac_useropt"
2063 ac_useropt_orig=$ac_useropt
2064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2065 case $ac_user_opts in
2067 "with_$ac_useropt"
2068 "*) ;;
2069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2070 ac_unrecognized_sep=', ';;
2071 esac
2072 eval with_$ac_useropt=no ;;
2074 --x)
2075 # Obsolete; use --with-x.
2076 with_x=yes ;;
2078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2079 | --x-incl | --x-inc | --x-in | --x-i)
2080 ac_prev=x_includes ;;
2081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2083 x_includes=$ac_optarg ;;
2085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2087 ac_prev=x_libraries ;;
2088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2090 x_libraries=$ac_optarg ;;
2092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2093 Try \`$0 --help' for more information"
2096 *=*)
2097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2098 # Reject names that are not valid shell variable names.
2099 case $ac_envvar in #(
2100 '' | [0-9]* | *[!_$as_cr_alnum]* )
2101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2102 esac
2103 eval $ac_envvar=\$ac_optarg
2104 export $ac_envvar ;;
2107 # FIXME: should be removed in autoconf 3.0.
2108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2114 esac
2115 done
2117 if test -n "$ac_prev"; then
2118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2119 as_fn_error $? "missing argument to $ac_option"
2122 if test -n "$ac_unrecognized_opts"; then
2123 case $enable_option_checking in
2124 no) ;;
2125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2127 esac
2130 # Check all directory arguments for consistency.
2131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2132 datadir sysconfdir sharedstatedir localstatedir includedir \
2133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2134 libdir localedir mandir runstatedir
2136 eval ac_val=\$$ac_var
2137 # Remove trailing slashes.
2138 case $ac_val in
2139 */ )
2140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2141 eval $ac_var=\$ac_val;;
2142 esac
2143 # Be sure to have absolute directory names.
2144 case $ac_val in
2145 [\\/$]* | ?:[\\/]* ) continue;;
2146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2147 esac
2148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2149 done
2151 # There might be people who depend on the old broken behavior: `$host'
2152 # used to hold the argument of --host etc.
2153 # FIXME: To remove some day.
2154 build=$build_alias
2155 host=$host_alias
2156 target=$target_alias
2158 # FIXME: To remove some day.
2159 if test "x$host_alias" != x; then
2160 if test "x$build_alias" = x; then
2161 cross_compiling=maybe
2162 elif test "x$build_alias" != "x$host_alias"; then
2163 cross_compiling=yes
2167 ac_tool_prefix=
2168 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2170 test "$silent" = yes && exec 6>/dev/null
2173 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2174 ac_ls_di=`ls -di .` &&
2175 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2176 as_fn_error $? "working directory cannot be determined"
2177 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2178 as_fn_error $? "pwd does not report name of working directory"
2181 # Find the source files, if location was not specified.
2182 if test -z "$srcdir"; then
2183 ac_srcdir_defaulted=yes
2184 # Try the directory containing this script, then the parent directory.
2185 ac_confdir=`$as_dirname -- "$as_myself" ||
2186 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2187 X"$as_myself" : 'X\(//\)[^/]' \| \
2188 X"$as_myself" : 'X\(//\)$' \| \
2189 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2190 $as_echo X"$as_myself" |
2191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2192 s//\1/
2195 /^X\(\/\/\)[^/].*/{
2196 s//\1/
2199 /^X\(\/\/\)$/{
2200 s//\1/
2203 /^X\(\/\).*/{
2204 s//\1/
2207 s/.*/./; q'`
2208 srcdir=$ac_confdir
2209 if test ! -r "$srcdir/$ac_unique_file"; then
2210 srcdir=..
2212 else
2213 ac_srcdir_defaulted=no
2215 if test ! -r "$srcdir/$ac_unique_file"; then
2216 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2217 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2219 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2220 ac_abs_confdir=`(
2221 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2222 pwd)`
2223 # When building in place, set srcdir=.
2224 if test "$ac_abs_confdir" = "$ac_pwd"; then
2225 srcdir=.
2227 # Remove unnecessary trailing slashes from srcdir.
2228 # Double slashes in file names in object file debugging info
2229 # mess up M-x gdb in Emacs.
2230 case $srcdir in
2231 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2232 esac
2233 for ac_var in $ac_precious_vars; do
2234 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2235 eval ac_env_${ac_var}_value=\$${ac_var}
2236 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2237 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2238 done
2241 # Report the --help message.
2243 if test "$ac_init_help" = "long"; then
2244 # Omit some internal or obsolete options to make the list less imposing.
2245 # This message is too long to be a string in the A/UX 3.1 sh.
2246 cat <<_ACEOF
2247 \`configure' configures Wine 2.10 to adapt to many kinds of systems.
2249 Usage: $0 [OPTION]... [VAR=VALUE]...
2251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2252 VAR=VALUE. See below for descriptions of some of the useful variables.
2254 Defaults for the options are specified in brackets.
2256 Configuration:
2257 -h, --help display this help and exit
2258 --help=short display options specific to this package
2259 --help=recursive display the short help of all the included packages
2260 -V, --version display version information and exit
2261 -q, --quiet, --silent do not print \`checking ...' messages
2262 --cache-file=FILE cache test results in FILE [disabled]
2263 -C, --config-cache alias for \`--cache-file=config.cache'
2264 -n, --no-create do not create output files
2265 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2267 Installation directories:
2268 --prefix=PREFIX install architecture-independent files in PREFIX
2269 [$ac_default_prefix]
2270 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2271 [PREFIX]
2273 By default, \`make install' will install all the files in
2274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2276 for instance \`--prefix=\$HOME'.
2278 For better control, use the options below.
2280 Fine tuning of the installation directories:
2281 --bindir=DIR user executables [EPREFIX/bin]
2282 --sbindir=DIR system admin executables [EPREFIX/sbin]
2283 --libexecdir=DIR program executables [EPREFIX/libexec]
2284 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2285 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2286 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2287 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2288 --libdir=DIR object code libraries [EPREFIX/lib]
2289 --includedir=DIR C header files [PREFIX/include]
2290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2293 --infodir=DIR info documentation [DATAROOTDIR/info]
2294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2295 --mandir=DIR man documentation [DATAROOTDIR/man]
2296 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2297 --htmldir=DIR html documentation [DOCDIR]
2298 --dvidir=DIR dvi documentation [DOCDIR]
2299 --pdfdir=DIR pdf documentation [DOCDIR]
2300 --psdir=DIR ps documentation [DOCDIR]
2301 _ACEOF
2303 cat <<\_ACEOF
2305 X features:
2306 --x-includes=DIR X include files are in DIR
2307 --x-libraries=DIR X library files are in DIR
2309 System types:
2310 --build=BUILD configure for building on BUILD [guessed]
2311 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2312 _ACEOF
2315 if test -n "$ac_init_help"; then
2316 case $ac_init_help in
2317 short | recursive ) echo "Configuration of Wine 2.10:";;
2318 esac
2319 cat <<\_ACEOF
2321 Optional Features:
2322 --disable-option-checking ignore unrecognized --enable/--with options
2323 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2324 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2325 --disable-win16 do not include Win16 support
2326 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2327 binaries)
2328 --disable-tests do not build the regression tests
2329 --enable-maintainer-mode
2330 enable maintainer-specific build rules
2331 --disable-largefile omit support for large files
2333 Optional Packages:
2334 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2335 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2336 --without-alsa do not use the Alsa sound support
2337 --without-capi do not use CAPI (ISDN support)
2338 --without-cms do not use CMS (color management support)
2339 --without-coreaudio do not use the CoreAudio sound support
2340 --without-cups do not use CUPS
2341 --without-curses do not use (n)curses
2342 --without-dbus do not use DBus (dynamic device support)
2343 --without-fontconfig do not use fontconfig
2344 --without-freetype do not use the FreeType library
2345 --without-gettext do not use gettext
2346 --with-gettextpo use the GetTextPO library to rebuild po files
2347 --without-gphoto do not use gphoto (Digital Camera support)
2348 --without-glu do not use the GLU library
2349 --without-gnutls do not use GnuTLS (schannel support)
2350 --without-gsm do not use libgsm (GSM 06.10 codec support)
2351 --without-gstreamer do not use GStreamer (codecs support)
2352 --without-hal do not use HAL (dynamic device support)
2353 --without-jpeg do not use JPEG
2354 --without-ldap do not use LDAP
2355 --without-mpg123 do not use the mpg123 library
2356 --without-netapi do not use the Samba NetAPI library
2357 --without-openal do not use OpenAL
2358 --without-opencl do not use OpenCL
2359 --without-opengl do not use OpenGL
2360 --without-osmesa do not use the OSMesa library
2361 --without-oss do not use the OSS sound support
2362 --without-pcap do not use the Packet Capture library
2363 --without-png do not use PNG
2364 --without-pthread do not use the pthread library
2365 --without-pulse do not use PulseAudio sound support
2366 --without-sane do not use SANE (scanner support)
2367 --without-tiff do not use TIFF
2368 --without-udev do not use udev (plug and play support)
2369 --without-v4l do not use v4l1 (v4l support)
2370 --without-xcomposite do not use the Xcomposite extension
2371 --without-xcursor do not use the Xcursor extension
2372 --without-xfixes do not use Xfixes for clipboard change notifications
2373 --without-xinerama do not use Xinerama (multi-monitor support)
2374 --without-xinput do not use the Xinput extension
2375 --without-xinput2 do not use the Xinput 2 extension
2376 --without-xml do not use XML
2377 --without-xrandr do not use Xrandr (resolution changes)
2378 --without-xrender do not use the Xrender extension
2379 --without-xshape do not use the Xshape extension
2380 --without-xshm do not use XShm (shared memory extension)
2381 --without-xslt do not use XSLT
2382 --without-xxf86vm do not use XFree video mode extension
2383 --without-zlib do not use Zlib (data compression)
2384 --with-wine-tools=DIR use Wine tools from directory DIR
2385 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2386 --with-x use the X Window System
2388 Some influential environment variables:
2389 CC C compiler command
2390 CFLAGS C compiler flags
2391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2392 nonstandard directory <lib dir>
2393 LIBS libraries to pass to the linker, e.g. -l<library>
2394 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2395 you have headers in a nonstandard directory <include dir>
2396 CXX C++ compiler command
2397 CXXFLAGS C++ compiler flags
2398 CPP C preprocessor
2399 XMKMF Path to xmkmf, Makefile generator for X Window System
2400 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2401 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2402 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2403 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2404 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2405 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2406 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2407 HAL_LIBS Linker flags for hal, overriding pkg-config
2408 GNUTLS_CFLAGS
2409 C compiler flags for gnutls, overriding pkg-config
2410 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2411 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2412 SANE_LIBS Linker flags for libsane, overriding pkg-config
2413 GPHOTO2_CFLAGS
2414 C compiler flags for libgphoto2, overriding pkg-config
2415 GPHOTO2_LIBS
2416 Linker flags for libgphoto2, overriding pkg-config
2417 GPHOTO2_PORT_CFLAGS
2418 C compiler flags for libgphoto2_port, overriding pkg-config
2419 GPHOTO2_PORT_LIBS
2420 Linker flags for libgphoto2_port, overriding pkg-config
2421 LCMS2_CFLAGS
2422 C compiler flags for lcms2, overriding pkg-config
2423 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2424 FREETYPE_CFLAGS
2425 C compiler flags for freetype2, overriding pkg-config
2426 FREETYPE_LIBS
2427 Linker flags for freetype2, overriding pkg-config
2428 PULSE_CFLAGS
2429 C compiler flags for libpulse, overriding pkg-config
2430 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2431 GSTREAMER_CFLAGS
2432 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2433 gstreamer-audio-1.0, overriding pkg-config
2434 GSTREAMER_LIBS
2435 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2436 gstreamer-audio-1.0, overriding pkg-config
2437 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2438 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2439 CAPI20_CFLAGS
2440 C compiler flags for capi20, overriding pkg-config
2441 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2442 FONTCONFIG_CFLAGS
2443 C compiler flags for fontconfig, overriding pkg-config
2444 FONTCONFIG_LIBS
2445 Linker flags for fontconfig, overriding pkg-config
2446 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2447 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2448 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2449 PNG_LIBS Linker flags for libpng, overriding pkg-config
2450 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2451 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2452 MPG123_CFLAGS
2453 C compiler flags for libmpg123, overriding pkg-config
2454 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2455 NETAPI_CFLAGS
2456 C compiler flags for netapi, overriding pkg-config
2457 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2459 Use these variables to override the choices made by `configure' or to help
2460 it to find libraries and programs with nonstandard names/locations.
2462 Report bugs to <wine-devel@winehq.org>.
2463 Wine home page: <http://www.winehq.org>.
2464 _ACEOF
2465 ac_status=$?
2468 if test "$ac_init_help" = "recursive"; then
2469 # If there are subdirs, report their specific --help.
2470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2471 test -d "$ac_dir" ||
2472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2473 continue
2474 ac_builddir=.
2476 case "$ac_dir" in
2477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2480 # A ".." for each directory in $ac_dir_suffix.
2481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2482 case $ac_top_builddir_sub in
2483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2485 esac ;;
2486 esac
2487 ac_abs_top_builddir=$ac_pwd
2488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2489 # for backward compatibility:
2490 ac_top_builddir=$ac_top_build_prefix
2492 case $srcdir in
2493 .) # We are building in place.
2494 ac_srcdir=.
2495 ac_top_srcdir=$ac_top_builddir_sub
2496 ac_abs_top_srcdir=$ac_pwd ;;
2497 [\\/]* | ?:[\\/]* ) # Absolute name.
2498 ac_srcdir=$srcdir$ac_dir_suffix;
2499 ac_top_srcdir=$srcdir
2500 ac_abs_top_srcdir=$srcdir ;;
2501 *) # Relative name.
2502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2503 ac_top_srcdir=$ac_top_build_prefix$srcdir
2504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2505 esac
2506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2508 cd "$ac_dir" || { ac_status=$?; continue; }
2509 # Check for guested configure.
2510 if test -f "$ac_srcdir/configure.gnu"; then
2511 echo &&
2512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2513 elif test -f "$ac_srcdir/configure"; then
2514 echo &&
2515 $SHELL "$ac_srcdir/configure" --help=recursive
2516 else
2517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2518 fi || ac_status=$?
2519 cd "$ac_pwd" || { ac_status=$?; break; }
2520 done
2523 test -n "$ac_init_help" && exit $ac_status
2524 if $ac_init_version; then
2525 cat <<\_ACEOF
2526 Wine configure 2.10
2527 generated by GNU Autoconf 2.69
2529 Copyright (C) 2012 Free Software Foundation, Inc.
2530 This configure script is free software; the Free Software Foundation
2531 gives unlimited permission to copy, distribute and modify it.
2532 _ACEOF
2533 exit
2536 ## ------------------------ ##
2537 ## Autoconf initialization. ##
2538 ## ------------------------ ##
2540 # ac_fn_c_try_compile LINENO
2541 # --------------------------
2542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2543 ac_fn_c_try_compile ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 rm -f conftest.$ac_objext
2547 if { { ac_try="$ac_compile"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_compile") 2>conftest.err
2555 ac_status=$?
2556 if test -s conftest.err; then
2557 grep -v '^ *+' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2559 mv -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } && {
2563 test -z "$ac_c_werror_flag" ||
2564 test ! -s conftest.err
2565 } && test -s conftest.$ac_objext; then :
2566 ac_retval=0
2567 else
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_retval=1
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status $ac_retval
2576 } # ac_fn_c_try_compile
2578 # ac_fn_cxx_try_compile LINENO
2579 # ----------------------------
2580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2581 ac_fn_cxx_try_compile ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 rm -f conftest.$ac_objext
2585 if { { ac_try="$ac_compile"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_compile") 2>conftest.err
2593 ac_status=$?
2594 if test -s conftest.err; then
2595 grep -v '^ *+' conftest.err >conftest.er1
2596 cat conftest.er1 >&5
2597 mv -f conftest.er1 conftest.err
2599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600 test $ac_status = 0; } && {
2601 test -z "$ac_cxx_werror_flag" ||
2602 test ! -s conftest.err
2603 } && test -s conftest.$ac_objext; then :
2604 ac_retval=0
2605 else
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2609 ac_retval=1
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 as_fn_set_status $ac_retval
2614 } # ac_fn_cxx_try_compile
2616 # ac_fn_c_try_link LINENO
2617 # -----------------------
2618 # Try to link conftest.$ac_ext, and return whether this succeeded.
2619 ac_fn_c_try_link ()
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 rm -f conftest.$ac_objext conftest$ac_exeext
2623 if { { ac_try="$ac_link"
2624 case "(($ac_try" in
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2627 esac
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_link") 2>conftest.err
2631 ac_status=$?
2632 if test -s conftest.err; then
2633 grep -v '^ *+' conftest.err >conftest.er1
2634 cat conftest.er1 >&5
2635 mv -f conftest.er1 conftest.err
2637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2638 test $ac_status = 0; } && {
2639 test -z "$ac_c_werror_flag" ||
2640 test ! -s conftest.err
2641 } && test -s conftest$ac_exeext && {
2642 test "$cross_compiling" = yes ||
2643 test -x conftest$ac_exeext
2644 }; then :
2645 ac_retval=0
2646 else
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2650 ac_retval=1
2652 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2653 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2654 # interfere with the next link command; also delete a directory that is
2655 # left behind by Apple's compiler. We do this before executing the actions.
2656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 as_fn_set_status $ac_retval
2660 } # ac_fn_c_try_link
2662 # ac_fn_c_try_cpp LINENO
2663 # ----------------------
2664 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2665 ac_fn_c_try_cpp ()
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 if { { ac_try="$ac_cpp conftest.$ac_ext"
2669 case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672 esac
2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674 $as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2676 ac_status=$?
2677 if test -s conftest.err; then
2678 grep -v '^ *+' conftest.err >conftest.er1
2679 cat conftest.er1 >&5
2680 mv -f conftest.er1 conftest.err
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } > conftest.i && {
2684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2685 test ! -s conftest.err
2686 }; then :
2687 ac_retval=0
2688 else
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 ac_retval=1
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 as_fn_set_status $ac_retval
2697 } # ac_fn_c_try_cpp
2699 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2700 # -------------------------------------------------------
2701 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2702 # the include files in INCLUDES and setting the cache variable VAR
2703 # accordingly.
2704 ac_fn_c_check_header_mongrel ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 if eval \${$3+:} false; then :
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2709 $as_echo_n "checking for $2... " >&6; }
2710 if eval \${$3+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 eval ac_res=\$$3
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2716 else
2717 # Is the header compilable?
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2719 $as_echo_n "checking $2 usability... " >&6; }
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 ac_header_compiler=yes
2727 else
2728 ac_header_compiler=no
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2732 $as_echo "$ac_header_compiler" >&6; }
2734 # Is the header present?
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2736 $as_echo_n "checking $2 presence... " >&6; }
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2739 #include <$2>
2740 _ACEOF
2741 if ac_fn_c_try_cpp "$LINENO"; then :
2742 ac_header_preproc=yes
2743 else
2744 ac_header_preproc=no
2746 rm -f conftest.err conftest.i conftest.$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2748 $as_echo "$ac_header_preproc" >&6; }
2750 # So? What about this header?
2751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2752 yes:no: )
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2754 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2756 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2758 no:yes:* )
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2760 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2762 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2764 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2766 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2769 ( $as_echo "## ------------------------------------ ##
2770 ## Report this to wine-devel@winehq.org ##
2771 ## ------------------------------------ ##"
2772 ) | sed "s/^/$as_me: WARNING: /" >&2
2774 esac
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778 $as_echo_n "(cached) " >&6
2779 else
2780 eval "$3=\$ac_header_compiler"
2782 eval ac_res=\$$3
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 } # ac_fn_c_check_header_mongrel
2790 # ac_fn_c_try_run LINENO
2791 # ----------------------
2792 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2793 # that executables *can* be run.
2794 ac_fn_c_try_run ()
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 if { { ac_try="$ac_link"
2798 case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_link") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2808 { { case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 $as_echo "$ac_try_echo"; } >&5
2814 (eval "$ac_try") 2>&5
2815 ac_status=$?
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; }; }; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: program exited with status $ac_status" >&5
2821 $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 ac_retval=$ac_status
2826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_run
2832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2833 # -------------------------------------------------------
2834 # Tests whether HEADER exists and can be compiled using the include files in
2835 # INCLUDES, setting the cache variable VAR accordingly.
2836 ac_fn_c_check_header_compile ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2840 $as_echo_n "checking for $2... " >&6; }
2841 if eval \${$3+:} false; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2847 #include <$2>
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850 eval "$3=yes"
2851 else
2852 eval "$3=no"
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 eval ac_res=\$$3
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_header_compile
2863 # ac_fn_c_check_func LINENO FUNC VAR
2864 # ----------------------------------
2865 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2866 ac_fn_c_check_func ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2870 $as_echo_n "checking for $2... " >&6; }
2871 if eval \${$3+:} false; then :
2872 $as_echo_n "(cached) " >&6
2873 else
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2876 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2878 #define $2 innocuous_$2
2880 /* System header to define __stub macros and hopefully few prototypes,
2881 which can conflict with char $2 (); below.
2882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2883 <limits.h> exists even on freestanding compilers. */
2885 #ifdef __STDC__
2886 # include <limits.h>
2887 #else
2888 # include <assert.h>
2889 #endif
2891 #undef $2
2893 /* Override any GCC internal prototype to avoid an error.
2894 Use char because int might match the return type of a GCC
2895 builtin and then its argument prototype would still apply. */
2896 #ifdef __cplusplus
2897 extern "C"
2898 #endif
2899 char $2 ();
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined __stub_$2 || defined __stub___$2
2904 choke me
2905 #endif
2908 main ()
2910 return $2 ();
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_link "$LINENO"; then :
2916 eval "$3=yes"
2917 else
2918 eval "$3=no"
2920 rm -f core conftest.err conftest.$ac_objext \
2921 conftest$ac_exeext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_func
2930 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2931 # ----------------------------------------------------
2932 # Tries to find if the field MEMBER exists in type AGGR, after including
2933 # INCLUDES, setting cache variable VAR accordingly.
2934 ac_fn_c_check_member ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2938 $as_echo_n "checking for $2.$3... " >&6; }
2939 if eval \${$4+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2946 main ()
2948 static $2 ac_aggr;
2949 if (ac_aggr.$3)
2950 return 0;
2952 return 0;
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 eval "$4=yes"
2957 else
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 main ()
2964 static $2 ac_aggr;
2965 if (sizeof ac_aggr.$3)
2966 return 0;
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 eval "$4=yes"
2973 else
2974 eval "$4=no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 eval ac_res=\$$4
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_member
2987 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2988 # -------------------------------------------
2989 # Tests whether TYPE exists after having included INCLUDES, setting cache
2990 # variable VAR accordingly.
2991 ac_fn_c_check_type ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2995 $as_echo_n "checking for $2... " >&6; }
2996 if eval \${$3+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 eval "$3=no"
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main ()
3006 if (sizeof ($2))
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3019 if (sizeof (($2)))
3020 return 0;
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3027 else
3028 eval "$3=yes"
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=\$$3
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_type
3040 cat >config.log <<_ACEOF
3041 This file contains any messages produced by compilers while
3042 running configure, to aid debugging if configure makes a mistake.
3044 It was created by Wine $as_me 2.10, which was
3045 generated by GNU Autoconf 2.69. Invocation command line was
3047 $ $0 $@
3049 _ACEOF
3050 exec 5>>config.log
3052 cat <<_ASUNAME
3053 ## --------- ##
3054 ## Platform. ##
3055 ## --------- ##
3057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3074 _ASUNAME
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3079 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=.
3081 $as_echo "PATH: $as_dir"
3082 done
3083 IFS=$as_save_IFS
3085 } >&5
3087 cat >&5 <<_ACEOF
3090 ## ----------- ##
3091 ## Core tests. ##
3092 ## ----------- ##
3094 _ACEOF
3097 # Keep a trace of the command line.
3098 # Strip out --no-create and --no-recursion so they do not pile up.
3099 # Strip out --silent because we don't want to record it for future runs.
3100 # Also quote any args containing shell meta-characters.
3101 # Make two passes to allow for proper duplicate-argument suppression.
3102 ac_configure_args=
3103 ac_configure_args0=
3104 ac_configure_args1=
3105 ac_must_keep_next=false
3106 for ac_pass in 1 2
3108 for ac_arg
3110 case $ac_arg in
3111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3113 | -silent | --silent | --silen | --sile | --sil)
3114 continue ;;
3115 *\'*)
3116 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3117 esac
3118 case $ac_pass in
3119 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3121 as_fn_append ac_configure_args1 " '$ac_arg'"
3122 if test $ac_must_keep_next = true; then
3123 ac_must_keep_next=false # Got value, back to normal.
3124 else
3125 case $ac_arg in
3126 *=* | --config-cache | -C | -disable-* | --disable-* \
3127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3129 | -with-* | --with-* | -without-* | --without-* | --x)
3130 case "$ac_configure_args0 " in
3131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3132 esac
3134 -* ) ac_must_keep_next=true ;;
3135 esac
3137 as_fn_append ac_configure_args " '$ac_arg'"
3139 esac
3140 done
3141 done
3142 { ac_configure_args0=; unset ac_configure_args0;}
3143 { ac_configure_args1=; unset ac_configure_args1;}
3145 # When interrupted or exit'd, cleanup temporary files, and complete
3146 # config.log. We remove comments because anyway the quotes in there
3147 # would cause problems or look ugly.
3148 # WARNING: Use '\'' to represent an apostrophe within the trap.
3149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3150 trap 'exit_status=$?
3151 # Save into config.log some information that might help in debugging.
3153 echo
3155 $as_echo "## ---------------- ##
3156 ## Cache variables. ##
3157 ## ---------------- ##"
3158 echo
3159 # The following way of writing the cache mishandles newlines in values,
3161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3162 eval ac_val=\$$ac_var
3163 case $ac_val in #(
3164 *${as_nl}*)
3165 case $ac_var in #(
3166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3167 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3168 esac
3169 case $ac_var in #(
3170 _ | IFS | as_nl) ;; #(
3171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3172 *) { eval $ac_var=; unset $ac_var;} ;;
3173 esac ;;
3174 esac
3175 done
3176 (set) 2>&1 |
3177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3178 *${as_nl}ac_space=\ *)
3179 sed -n \
3180 "s/'\''/'\''\\\\'\'''\''/g;
3181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3182 ;; #(
3184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3186 esac |
3187 sort
3189 echo
3191 $as_echo "## ----------------- ##
3192 ## Output variables. ##
3193 ## ----------------- ##"
3194 echo
3195 for ac_var in $ac_subst_vars
3197 eval ac_val=\$$ac_var
3198 case $ac_val in
3199 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3200 esac
3201 $as_echo "$ac_var='\''$ac_val'\''"
3202 done | sort
3203 echo
3205 if test -n "$ac_subst_files"; then
3206 $as_echo "## ------------------- ##
3207 ## File substitutions. ##
3208 ## ------------------- ##"
3209 echo
3210 for ac_var in $ac_subst_files
3212 eval ac_val=\$$ac_var
3213 case $ac_val in
3214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3215 esac
3216 $as_echo "$ac_var='\''$ac_val'\''"
3217 done | sort
3218 echo
3221 if test -s confdefs.h; then
3222 $as_echo "## ----------- ##
3223 ## confdefs.h. ##
3224 ## ----------- ##"
3225 echo
3226 cat confdefs.h
3227 echo
3229 test "$ac_signal" != 0 &&
3230 $as_echo "$as_me: caught signal $ac_signal"
3231 $as_echo "$as_me: exit $exit_status"
3232 } >&5
3233 rm -f core *.core core.conftest.* &&
3234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3235 exit $exit_status
3237 for ac_signal in 1 2 13 15; do
3238 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3239 done
3240 ac_signal=0
3242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3243 rm -f -r conftest* confdefs.h
3245 $as_echo "/* confdefs.h */" > confdefs.h
3247 # Predefined preprocessor variables.
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_NAME "$PACKAGE_NAME"
3251 _ACEOF
3253 cat >>confdefs.h <<_ACEOF
3254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3255 _ACEOF
3257 cat >>confdefs.h <<_ACEOF
3258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3259 _ACEOF
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_STRING "$PACKAGE_STRING"
3263 _ACEOF
3265 cat >>confdefs.h <<_ACEOF
3266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3267 _ACEOF
3269 cat >>confdefs.h <<_ACEOF
3270 #define PACKAGE_URL "$PACKAGE_URL"
3271 _ACEOF
3274 # Let the site file select an alternate cache file if it wants to.
3275 # Prefer an explicitly selected file to automatically selected ones.
3276 ac_site_file1=NONE
3277 ac_site_file2=NONE
3278 if test -n "$CONFIG_SITE"; then
3279 # We do not want a PATH search for config.site.
3280 case $CONFIG_SITE in #((
3281 -*) ac_site_file1=./$CONFIG_SITE;;
3282 */*) ac_site_file1=$CONFIG_SITE;;
3283 *) ac_site_file1=./$CONFIG_SITE;;
3284 esac
3285 elif test "x$prefix" != xNONE; then
3286 ac_site_file1=$prefix/share/config.site
3287 ac_site_file2=$prefix/etc/config.site
3288 else
3289 ac_site_file1=$ac_default_prefix/share/config.site
3290 ac_site_file2=$ac_default_prefix/etc/config.site
3292 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3294 test "x$ac_site_file" = xNONE && continue
3295 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3297 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3298 sed 's/^/| /' "$ac_site_file" >&5
3299 . "$ac_site_file" \
3300 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $? "failed to load site script $ac_site_file
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 done
3307 if test -r "$cache_file"; then
3308 # Some versions of bash will fail to source /dev/null (special files
3309 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3310 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3312 $as_echo "$as_me: loading cache $cache_file" >&6;}
3313 case $cache_file in
3314 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3315 *) . "./$cache_file";;
3316 esac
3318 else
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3320 $as_echo "$as_me: creating cache $cache_file" >&6;}
3321 >$cache_file
3324 # Check that the precious variables saved in the cache have kept the same
3325 # value.
3326 ac_cache_corrupted=false
3327 for ac_var in $ac_precious_vars; do
3328 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3329 eval ac_new_set=\$ac_env_${ac_var}_set
3330 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3331 eval ac_new_val=\$ac_env_${ac_var}_value
3332 case $ac_old_set,$ac_new_set in
3333 set,)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3335 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3336 ac_cache_corrupted=: ;;
3337 ,set)
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3339 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3340 ac_cache_corrupted=: ;;
3341 ,);;
3343 if test "x$ac_old_val" != "x$ac_new_val"; then
3344 # differences in whitespace do not lead to failure.
3345 ac_old_val_w=`echo x $ac_old_val`
3346 ac_new_val_w=`echo x $ac_new_val`
3347 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3349 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3350 ac_cache_corrupted=:
3351 else
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3353 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3354 eval $ac_var=\$ac_old_val
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3357 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3359 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3360 fi;;
3361 esac
3362 # Pass precious variables to config.status.
3363 if test "$ac_new_set" = set; then
3364 case $ac_new_val in
3365 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3366 *) ac_arg=$ac_var=$ac_new_val ;;
3367 esac
3368 case " $ac_configure_args " in
3369 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3370 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3371 esac
3373 done
3374 if $ac_cache_corrupted; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3378 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3379 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3381 ## -------------------- ##
3382 ## Main body of script. ##
3383 ## -------------------- ##
3385 ac_ext=c
3386 ac_cpp='$CPP $CPPFLAGS'
3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 ac_config_headers="$ac_config_headers include/config.h"
3395 ac_aux_dir=
3396 for ac_dir in tools "$srcdir"/tools; do
3397 if test -f "$ac_dir/install-sh"; then
3398 ac_aux_dir=$ac_dir
3399 ac_install_sh="$ac_aux_dir/install-sh -c"
3400 break
3401 elif test -f "$ac_dir/install.sh"; then
3402 ac_aux_dir=$ac_dir
3403 ac_install_sh="$ac_aux_dir/install.sh -c"
3404 break
3405 elif test -f "$ac_dir/shtool"; then
3406 ac_aux_dir=$ac_dir
3407 ac_install_sh="$ac_aux_dir/shtool install -c"
3408 break
3410 done
3411 if test -z "$ac_aux_dir"; then
3412 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3415 # These three variables are undocumented and unsupported,
3416 # and are intended to be withdrawn in a future Autoconf release.
3417 # They can cause serious problems if a builder's source tree is in a directory
3418 # whose full name contains unusual characters.
3419 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3420 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3421 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3425 libwine_version="1.0"
3429 # Check whether --enable-win16 was given.
3430 if test "${enable_win16+set}" = set; then :
3431 enableval=$enable_win16;
3434 # Check whether --enable-win64 was given.
3435 if test "${enable_win64+set}" = set; then :
3436 enableval=$enable_win64;
3439 # Check whether --enable-tests was given.
3440 if test "${enable_tests+set}" = set; then :
3441 enableval=$enable_tests;
3444 # Check whether --enable-maintainer-mode was given.
3445 if test "${enable_maintainer_mode+set}" = set; then :
3446 enableval=$enable_maintainer_mode;
3451 # Check whether --with-alsa was given.
3452 if test "${with_alsa+set}" = set; then :
3453 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3457 # Check whether --with-capi was given.
3458 if test "${with_capi+set}" = set; then :
3459 withval=$with_capi;
3463 # Check whether --with-cms was given.
3464 if test "${with_cms+set}" = set; then :
3465 withval=$with_cms;
3469 # Check whether --with-coreaudio was given.
3470 if test "${with_coreaudio+set}" = set; then :
3471 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3475 # Check whether --with-cups was given.
3476 if test "${with_cups+set}" = set; then :
3477 withval=$with_cups;
3481 # Check whether --with-curses was given.
3482 if test "${with_curses+set}" = set; then :
3483 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3487 # Check whether --with-dbus was given.
3488 if test "${with_dbus+set}" = set; then :
3489 withval=$with_dbus;
3493 # Check whether --with-fontconfig was given.
3494 if test "${with_fontconfig+set}" = set; then :
3495 withval=$with_fontconfig;
3499 # Check whether --with-freetype was given.
3500 if test "${with_freetype+set}" = set; then :
3501 withval=$with_freetype;
3505 # Check whether --with-gettext was given.
3506 if test "${with_gettext+set}" = set; then :
3507 withval=$with_gettext;
3511 # Check whether --with-gettextpo was given.
3512 if test "${with_gettextpo+set}" = set; then :
3513 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3517 # Check whether --with-gphoto was given.
3518 if test "${with_gphoto+set}" = set; then :
3519 withval=$with_gphoto;
3523 # Check whether --with-glu was given.
3524 if test "${with_glu+set}" = set; then :
3525 withval=$with_glu;
3529 # Check whether --with-gnutls was given.
3530 if test "${with_gnutls+set}" = set; then :
3531 withval=$with_gnutls;
3535 # Check whether --with-gsm was given.
3536 if test "${with_gsm+set}" = set; then :
3537 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3541 # Check whether --with-gstreamer was given.
3542 if test "${with_gstreamer+set}" = set; then :
3543 withval=$with_gstreamer;
3547 # Check whether --with-hal was given.
3548 if test "${with_hal+set}" = set; then :
3549 withval=$with_hal;
3553 # Check whether --with-jpeg was given.
3554 if test "${with_jpeg+set}" = set; then :
3555 withval=$with_jpeg;
3559 # Check whether --with-ldap was given.
3560 if test "${with_ldap+set}" = set; then :
3561 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3565 # Check whether --with-mpg123 was given.
3566 if test "${with_mpg123+set}" = set; then :
3567 withval=$with_mpg123;
3571 # Check whether --with-netapi was given.
3572 if test "${with_netapi+set}" = set; then :
3573 withval=$with_netapi;
3577 # Check whether --with-openal was given.
3578 if test "${with_openal+set}" = set; then :
3579 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3583 # Check whether --with-opencl was given.
3584 if test "${with_opencl+set}" = set; then :
3585 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3589 # Check whether --with-opengl was given.
3590 if test "${with_opengl+set}" = set; then :
3591 withval=$with_opengl;
3595 # Check whether --with-osmesa was given.
3596 if test "${with_osmesa+set}" = set; then :
3597 withval=$with_osmesa;
3601 # Check whether --with-oss was given.
3602 if test "${with_oss+set}" = set; then :
3603 withval=$with_oss;
3607 # Check whether --with-pcap was given.
3608 if test "${with_pcap+set}" = set; then :
3609 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3613 # Check whether --with-png was given.
3614 if test "${with_png+set}" = set; then :
3615 withval=$with_png;
3619 # Check whether --with-pthread was given.
3620 if test "${with_pthread+set}" = set; then :
3621 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3625 # Check whether --with-pulse was given.
3626 if test "${with_pulse+set}" = set; then :
3627 withval=$with_pulse;
3631 # Check whether --with-sane was given.
3632 if test "${with_sane+set}" = set; then :
3633 withval=$with_sane;
3637 # Check whether --with-tiff was given.
3638 if test "${with_tiff+set}" = set; then :
3639 withval=$with_tiff;
3643 # Check whether --with-udev was given.
3644 if test "${with_udev+set}" = set; then :
3645 withval=$with_udev;
3649 # Check whether --with-v4l was given.
3650 if test "${with_v4l+set}" = set; then :
3651 withval=$with_v4l;
3655 # Check whether --with-xcomposite was given.
3656 if test "${with_xcomposite+set}" = set; then :
3657 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3661 # Check whether --with-xcursor was given.
3662 if test "${with_xcursor+set}" = set; then :
3663 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3667 # Check whether --with-xfixes was given.
3668 if test "${with_xfixes+set}" = set; then :
3669 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3673 # Check whether --with-xinerama was given.
3674 if test "${with_xinerama+set}" = set; then :
3675 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3679 # Check whether --with-xinput was given.
3680 if test "${with_xinput+set}" = set; then :
3681 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3685 # Check whether --with-xinput2 was given.
3686 if test "${with_xinput2+set}" = set; then :
3687 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3691 # Check whether --with-xml was given.
3692 if test "${with_xml+set}" = set; then :
3693 withval=$with_xml;
3697 # Check whether --with-xrandr was given.
3698 if test "${with_xrandr+set}" = set; then :
3699 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3703 # Check whether --with-xrender was given.
3704 if test "${with_xrender+set}" = set; then :
3705 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3709 # Check whether --with-xshape was given.
3710 if test "${with_xshape+set}" = set; then :
3711 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3715 # Check whether --with-xshm was given.
3716 if test "${with_xshm+set}" = set; then :
3717 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3721 # Check whether --with-xslt was given.
3722 if test "${with_xslt+set}" = set; then :
3723 withval=$with_xslt;
3727 # Check whether --with-xxf86vm was given.
3728 if test "${with_xxf86vm+set}" = set; then :
3729 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
3733 # Check whether --with-zlib was given.
3734 if test "${with_zlib+set}" = set; then :
3735 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3740 # Check whether --with-wine-tools was given.
3741 if test "${with_wine_tools+set}" = set; then :
3742 withval=$with_wine_tools;
3746 # Check whether --with-wine64 was given.
3747 if test "${with_wine64+set}" = set; then :
3748 withval=$with_wine64;
3752 # Make sure we can run config.sub.
3753 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3754 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3757 $as_echo_n "checking build system type... " >&6; }
3758 if ${ac_cv_build+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 ac_build_alias=$build_alias
3762 test "x$ac_build_alias" = x &&
3763 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3764 test "x$ac_build_alias" = x &&
3765 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3766 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3767 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3771 $as_echo "$ac_cv_build" >&6; }
3772 case $ac_cv_build in
3773 *-*-*) ;;
3774 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3775 esac
3776 build=$ac_cv_build
3777 ac_save_IFS=$IFS; IFS='-'
3778 set x $ac_cv_build
3779 shift
3780 build_cpu=$1
3781 build_vendor=$2
3782 shift; shift
3783 # Remember, the first character of IFS is used to create $*,
3784 # except with old shells:
3785 build_os=$*
3786 IFS=$ac_save_IFS
3787 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3791 $as_echo_n "checking host system type... " >&6; }
3792 if ${ac_cv_host+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test "x$host_alias" = x; then
3796 ac_cv_host=$ac_cv_build
3797 else
3798 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3799 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3804 $as_echo "$ac_cv_host" >&6; }
3805 case $ac_cv_host in
3806 *-*-*) ;;
3807 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3808 esac
3809 host=$ac_cv_host
3810 ac_save_IFS=$IFS; IFS='-'
3811 set x $ac_cv_host
3812 shift
3813 host_cpu=$1
3814 host_vendor=$2
3815 shift; shift
3816 # Remember, the first character of IFS is used to create $*,
3817 # except with old shells:
3818 host_os=$*
3819 IFS=$ac_save_IFS
3820 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3824 case "$srcdir" in
3825 .) ;;
3826 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3827 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3828 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3829 fi ;;
3830 esac
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3834 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3835 set x ${MAKE-make}
3836 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3837 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 cat >conftest.make <<\_ACEOF
3841 SHELL = /bin/sh
3842 all:
3843 @echo '@@@%%%=$(MAKE)=@@@%%%'
3844 _ACEOF
3845 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3846 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3847 *@@@%%%=?*=@@@%%%*)
3848 eval ac_cv_prog_make_${ac_make}_set=yes;;
3850 eval ac_cv_prog_make_${ac_make}_set=no;;
3851 esac
3852 rm -f conftest.make
3854 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3856 $as_echo "yes" >&6; }
3857 SET_MAKE=
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3861 SET_MAKE="MAKE=${MAKE-make}"
3864 ac_ext=c
3865 ac_cpp='$CPP $CPPFLAGS'
3866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 if test -n "$ac_tool_prefix"; then
3870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3871 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 CC=$ac_cv_prog_CC
3898 if test -n "$CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900 $as_echo "$CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3908 if test -z "$ac_cv_prog_CC"; then
3909 ac_ct_CC=$CC
3910 # Extract the first word of "gcc", so it can be a program name with args.
3911 set dummy gcc; ac_word=$2
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3913 $as_echo_n "checking for $ac_word... " >&6; }
3914 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3915 $as_echo_n "(cached) " >&6
3916 else
3917 if test -n "$ac_ct_CC"; then
3918 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3919 else
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 for as_dir in $PATH
3923 IFS=$as_save_IFS
3924 test -z "$as_dir" && as_dir=.
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3927 ac_cv_prog_ac_ct_CC="gcc"
3928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 break 2
3931 done
3932 done
3933 IFS=$as_save_IFS
3937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3938 if test -n "$ac_ct_CC"; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3940 $as_echo "$ac_ct_CC" >&6; }
3941 else
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3946 if test "x$ac_ct_CC" = x; then
3947 CC=""
3948 else
3949 case $cross_compiling:$ac_tool_warned in
3950 yes:)
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3953 ac_tool_warned=yes ;;
3954 esac
3955 CC=$ac_ct_CC
3957 else
3958 CC="$ac_cv_prog_CC"
3961 if test -z "$CC"; then
3962 if test -n "$ac_tool_prefix"; then
3963 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964 set dummy ${ac_tool_prefix}cc; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_CC+:} false; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 if test -n "$CC"; then
3971 ac_cv_prog_CC="$CC" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_CC="${ac_tool_prefix}cc"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 break 2
3984 done
3985 done
3986 IFS=$as_save_IFS
3990 CC=$ac_cv_prog_CC
3991 if test -n "$CC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3993 $as_echo "$CC" >&6; }
3994 else
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4002 if test -z "$CC"; then
4003 # Extract the first word of "cc", so it can be a program name with args.
4004 set dummy cc; ac_word=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CC+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009 else
4010 if test -n "$CC"; then
4011 ac_cv_prog_CC="$CC" # Let the user override the test.
4012 else
4013 ac_prog_rejected=no
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4017 IFS=$as_save_IFS
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4022 ac_prog_rejected=yes
4023 continue
4025 ac_cv_prog_CC="cc"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 break 2
4029 done
4030 done
4031 IFS=$as_save_IFS
4033 if test $ac_prog_rejected = yes; then
4034 # We found a bogon in the path, so make sure we never use it.
4035 set dummy $ac_cv_prog_CC
4036 shift
4037 if test $# != 0; then
4038 # We chose a different compiler from the bogus one.
4039 # However, it has the same basename, so the bogon will be chosen
4040 # first if we set CC to just the basename; use the full file name.
4041 shift
4042 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4047 CC=$ac_cv_prog_CC
4048 if test -n "$CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050 $as_echo "$CC" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4058 if test -z "$CC"; then
4059 if test -n "$ac_tool_prefix"; then
4060 for ac_prog in cl.exe
4062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_CC+:} false; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 if test -n "$CC"; then
4070 ac_cv_prog_CC="$CC" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4085 IFS=$as_save_IFS
4089 CC=$ac_cv_prog_CC
4090 if test -n "$CC"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4092 $as_echo "$CC" >&6; }
4093 else
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4099 test -n "$CC" && break
4100 done
4102 if test -z "$CC"; then
4103 ac_ct_CC=$CC
4104 for ac_prog in cl.exe
4106 # Extract the first word of "$ac_prog", so it can be a program name with args.
4107 set dummy $ac_prog; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 if test -n "$ac_ct_CC"; then
4114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_ac_ct_CC="$ac_prog"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4127 done
4128 done
4129 IFS=$as_save_IFS
4133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4134 if test -n "$ac_ct_CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4136 $as_echo "$ac_ct_CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4143 test -n "$ac_ct_CC" && break
4144 done
4146 if test "x$ac_ct_CC" = x; then
4147 CC=""
4148 else
4149 case $cross_compiling:$ac_tool_warned in
4150 yes:)
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4153 ac_tool_warned=yes ;;
4154 esac
4155 CC=$ac_ct_CC
4162 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "no acceptable C compiler found in \$PATH
4165 See \`config.log' for more details" "$LINENO" 5; }
4167 # Provide some information about the compiler.
4168 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4169 set X $ac_compile
4170 ac_compiler=$2
4171 for ac_option in --version -v -V -qversion; do
4172 { { ac_try="$ac_compiler $ac_option >&5"
4173 case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4180 ac_status=$?
4181 if test -s conftest.err; then
4182 sed '10a\
4183 ... rest of stderr output deleted ...
4184 10q' conftest.err >conftest.er1
4185 cat conftest.er1 >&5
4187 rm -f conftest.er1 conftest.err
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }
4190 done
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 main ()
4200 return 0;
4202 _ACEOF
4203 ac_clean_files_save=$ac_clean_files
4204 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4205 # Try to create an executable without -o first, disregard a.out.
4206 # It will help us diagnose broken compilers, and finding out an intuition
4207 # of exeext.
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4209 $as_echo_n "checking whether the C compiler works... " >&6; }
4210 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4212 # The possible output files:
4213 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4215 ac_rmfiles=
4216 for ac_file in $ac_files
4218 case $ac_file in
4219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4220 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4221 esac
4222 done
4223 rm -f $ac_rmfiles
4225 if { { ac_try="$ac_link_default"
4226 case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4231 $as_echo "$ac_try_echo"; } >&5
4232 (eval "$ac_link_default") 2>&5
4233 ac_status=$?
4234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4235 test $ac_status = 0; }; then :
4236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4239 # so that the user can short-circuit this test for compilers unknown to
4240 # Autoconf.
4241 for ac_file in $ac_files ''
4243 test -f "$ac_file" || continue
4244 case $ac_file in
4245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4247 [ab].out )
4248 # We found the default executable, but exeext='' is most
4249 # certainly right.
4250 break;;
4251 *.* )
4252 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4253 then :; else
4254 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4256 # We set ac_cv_exeext here because the later test for it is not
4257 # safe: cross compilers may not add the suffix if given an `-o'
4258 # argument, so we may need to know it at that point already.
4259 # Even if this section looks crufty: it has the advantage of
4260 # actually working.
4261 break;;
4263 break;;
4264 esac
4265 done
4266 test "$ac_cv_exeext" = no && ac_cv_exeext=
4268 else
4269 ac_file=''
4271 if test -z "$ac_file"; then :
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4274 $as_echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.$ac_ext >&5
4277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4279 as_fn_error 77 "C compiler cannot create executables
4280 See \`config.log' for more details" "$LINENO" 5; }
4281 else
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4283 $as_echo "yes" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4286 $as_echo_n "checking for C compiler default output file name... " >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4288 $as_echo "$ac_file" >&6; }
4289 ac_exeext=$ac_cv_exeext
4291 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4292 ac_clean_files=$ac_clean_files_save
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4294 $as_echo_n "checking for suffix of executables... " >&6; }
4295 if { { ac_try="$ac_link"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_link") 2>&5
4303 ac_status=$?
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4307 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4308 # work properly (i.e., refer to `conftest.exe'), while it won't with
4309 # `rm'.
4310 for ac_file in conftest.exe conftest conftest.*; do
4311 test -f "$ac_file" || continue
4312 case $ac_file in
4313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4314 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4315 break;;
4316 * ) break;;
4317 esac
4318 done
4319 else
4320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4323 See \`config.log' for more details" "$LINENO" 5; }
4325 rm -f conftest conftest$ac_cv_exeext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4327 $as_echo "$ac_cv_exeext" >&6; }
4329 rm -f conftest.$ac_ext
4330 EXEEXT=$ac_cv_exeext
4331 ac_exeext=$EXEEXT
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdio.h>
4336 main ()
4338 FILE *f = fopen ("conftest.out", "w");
4339 return ferror (f) || fclose (f) != 0;
4342 return 0;
4344 _ACEOF
4345 ac_clean_files="$ac_clean_files conftest.out"
4346 # Check that the compiler produces executables we can run. If not, either
4347 # the compiler is broken, or we cross compile.
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4349 $as_echo_n "checking whether we are cross compiling... " >&6; }
4350 if test "$cross_compiling" != yes; then
4351 { { ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 $as_echo "$ac_try_echo"; } >&5
4358 (eval "$ac_link") 2>&5
4359 ac_status=$?
4360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }
4362 if { ac_try='./conftest$ac_cv_exeext'
4363 { { case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366 esac
4367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4368 $as_echo "$ac_try_echo"; } >&5
4369 (eval "$ac_try") 2>&5
4370 ac_status=$?
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }; }; then
4373 cross_compiling=no
4374 else
4375 if test "$cross_compiling" = maybe; then
4376 cross_compiling=yes
4377 else
4378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4380 as_fn_error $? "cannot run C compiled programs.
4381 If you meant to cross compile, use \`--host'.
4382 See \`config.log' for more details" "$LINENO" 5; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4387 $as_echo "$cross_compiling" >&6; }
4389 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4390 ac_clean_files=$ac_clean_files_save
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4392 $as_echo_n "checking for suffix of object files... " >&6; }
4393 if ${ac_cv_objext+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4400 main ()
4404 return 0;
4406 _ACEOF
4407 rm -f conftest.o conftest.obj
4408 if { { ac_try="$ac_compile"
4409 case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_compile") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; then :
4419 for ac_file in conftest.o conftest.obj conftest.*; do
4420 test -f "$ac_file" || continue;
4421 case $ac_file in
4422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4423 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4424 break;;
4425 esac
4426 done
4427 else
4428 $as_echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433 as_fn_error $? "cannot compute suffix of object files: cannot compile
4434 See \`config.log' for more details" "$LINENO" 5; }
4436 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4439 $as_echo "$ac_cv_objext" >&6; }
4440 OBJEXT=$ac_cv_objext
4441 ac_objext=$OBJEXT
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4443 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4444 if ${ac_cv_c_compiler_gnu+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 main ()
4453 #ifndef __GNUC__
4454 choke me
4455 #endif
4458 return 0;
4460 _ACEOF
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 ac_compiler_gnu=yes
4463 else
4464 ac_compiler_gnu=no
4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4471 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4472 if test $ac_compiler_gnu = yes; then
4473 GCC=yes
4474 else
4475 GCC=
4477 ac_test_CFLAGS=${CFLAGS+set}
4478 ac_save_CFLAGS=$CFLAGS
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4480 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4481 if ${ac_cv_prog_cc_g+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 ac_save_c_werror_flag=$ac_c_werror_flag
4485 ac_c_werror_flag=yes
4486 ac_cv_prog_cc_g=no
4487 CFLAGS="-g"
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4500 ac_cv_prog_cc_g=yes
4501 else
4502 CFLAGS=""
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4516 else
4517 ac_c_werror_flag=$ac_save_c_werror_flag
4518 CFLAGS="-g"
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4527 return 0;
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 ac_cv_prog_cc_g=yes
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 ac_c_werror_flag=$ac_save_c_werror_flag
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4541 $as_echo "$ac_cv_prog_cc_g" >&6; }
4542 if test "$ac_test_CFLAGS" = set; then
4543 CFLAGS=$ac_save_CFLAGS
4544 elif test $ac_cv_prog_cc_g = yes; then
4545 if test "$GCC" = yes; then
4546 CFLAGS="-g -O2"
4547 else
4548 CFLAGS="-g"
4550 else
4551 if test "$GCC" = yes; then
4552 CFLAGS="-O2"
4553 else
4554 CFLAGS=
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4558 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4559 if ${ac_cv_prog_cc_c89+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_cv_prog_cc_c89=no
4563 ac_save_CC=$CC
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4566 #include <stdarg.h>
4567 #include <stdio.h>
4568 struct stat;
4569 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4570 struct buf { int x; };
4571 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4572 static char *e (p, i)
4573 char **p;
4574 int i;
4576 return p[i];
4578 static char *f (char * (*g) (char **, int), char **p, ...)
4580 char *s;
4581 va_list v;
4582 va_start (v,p);
4583 s = g (p, va_arg (v,int));
4584 va_end (v);
4585 return s;
4588 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4589 function prototypes and stuff, but not '\xHH' hex character constants.
4590 These don't provoke an error unfortunately, instead are silently treated
4591 as 'x'. The following induces an error, until -std is added to get
4592 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4593 array size at least. It's necessary to write '\x00'==0 to get something
4594 that's true only with -std. */
4595 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4597 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4598 inside strings and character constants. */
4599 #define FOO(x) 'x'
4600 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4602 int test (int i, double x);
4603 struct s1 {int (*f) (int a);};
4604 struct s2 {int (*f) (double a);};
4605 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4606 int argc;
4607 char **argv;
4609 main ()
4611 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4613 return 0;
4615 _ACEOF
4616 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4617 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4619 CC="$ac_save_CC $ac_arg"
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_cv_prog_cc_c89=$ac_arg
4623 rm -f core conftest.err conftest.$ac_objext
4624 test "x$ac_cv_prog_cc_c89" != "xno" && break
4625 done
4626 rm -f conftest.$ac_ext
4627 CC=$ac_save_CC
4630 # AC_CACHE_VAL
4631 case "x$ac_cv_prog_cc_c89" in
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4634 $as_echo "none needed" >&6; } ;;
4635 xno)
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4637 $as_echo "unsupported" >&6; } ;;
4639 CC="$CC $ac_cv_prog_cc_c89"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4641 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4642 esac
4643 if test "x$ac_cv_prog_cc_c89" != xno; then :
4647 ac_ext=c
4648 ac_cpp='$CPP $CPPFLAGS'
4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4653 ac_ext=cpp
4654 ac_cpp='$CXXCPP $CPPFLAGS'
4655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4658 if test -z "$CXX"; then
4659 if test -n "$CCC"; then
4660 CXX=$CCC
4661 else
4662 if test -n "$ac_tool_prefix"; then
4663 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_CXX+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if test -n "$CXX"; then
4673 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 CXX=$ac_cv_prog_CXX
4693 if test -n "$CXX"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4695 $as_echo "$CXX" >&6; }
4696 else
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 test -n "$CXX" && break
4703 done
4705 if test -z "$CXX"; then
4706 ac_ct_CXX=$CXX
4707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4709 # Extract the first word of "$ac_prog", so it can be a program name with args.
4710 set dummy $ac_prog; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$ac_ct_CXX"; then
4717 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CXX="$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4737 if test -n "$ac_ct_CXX"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4739 $as_echo "$ac_ct_CXX" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$ac_ct_CXX" && break
4747 done
4749 if test "x$ac_ct_CXX" = x; then
4750 CXX="g++"
4751 else
4752 case $cross_compiling:$ac_tool_warned in
4753 yes:)
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756 ac_tool_warned=yes ;;
4757 esac
4758 CXX=$ac_ct_CXX
4764 # Provide some information about the compiler.
4765 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4766 set X $ac_compile
4767 ac_compiler=$2
4768 for ac_option in --version -v -V -qversion; do
4769 { { ac_try="$ac_compiler $ac_option >&5"
4770 case "(($ac_try" in
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4773 esac
4774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4775 $as_echo "$ac_try_echo"; } >&5
4776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4777 ac_status=$?
4778 if test -s conftest.err; then
4779 sed '10a\
4780 ... rest of stderr output deleted ...
4781 10q' conftest.err >conftest.er1
4782 cat conftest.er1 >&5
4784 rm -f conftest.er1 conftest.err
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }
4787 done
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4790 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4791 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4800 #ifndef __GNUC__
4801 choke me
4802 #endif
4805 return 0;
4807 _ACEOF
4808 if ac_fn_cxx_try_compile "$LINENO"; then :
4809 ac_compiler_gnu=yes
4810 else
4811 ac_compiler_gnu=no
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4818 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4819 if test $ac_compiler_gnu = yes; then
4820 GXX=yes
4821 else
4822 GXX=
4824 ac_test_CXXFLAGS=${CXXFLAGS+set}
4825 ac_save_CXXFLAGS=$CXXFLAGS
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4827 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4828 if ${ac_cv_prog_cxx_g+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4832 ac_cxx_werror_flag=yes
4833 ac_cv_prog_cxx_g=no
4834 CXXFLAGS="-g"
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4843 return 0;
4845 _ACEOF
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4847 ac_cv_prog_cxx_g=yes
4848 else
4849 CXXFLAGS=""
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 else
4864 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4865 CXXFLAGS="-g"
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4870 main ()
4874 return 0;
4876 _ACEOF
4877 if ac_fn_cxx_try_compile "$LINENO"; then :
4878 ac_cv_prog_cxx_g=yes
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4888 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4889 if test "$ac_test_CXXFLAGS" = set; then
4890 CXXFLAGS=$ac_save_CXXFLAGS
4891 elif test $ac_cv_prog_cxx_g = yes; then
4892 if test "$GXX" = yes; then
4893 CXXFLAGS="-g -O2"
4894 else
4895 CXXFLAGS="-g"
4897 else
4898 if test "$GXX" = yes; then
4899 CXXFLAGS="-O2"
4900 else
4901 CXXFLAGS=
4904 ac_ext=c
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 if test -n "$ac_tool_prefix"; then
4911 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4912 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if ${ac_cv_prog_CPPBIN+:} false; then :
4916 $as_echo_n "(cached) " >&6
4917 else
4918 if test -n "$CPPBIN"; then
4919 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4920 else
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH
4924 IFS=$as_save_IFS
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 break 2
4932 done
4933 done
4934 IFS=$as_save_IFS
4938 CPPBIN=$ac_cv_prog_CPPBIN
4939 if test -n "$CPPBIN"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4941 $as_echo "$CPPBIN" >&6; }
4942 else
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4949 if test -z "$ac_cv_prog_CPPBIN"; then
4950 ac_ct_CPPBIN=$CPPBIN
4951 # Extract the first word of "cpp", so it can be a program name with args.
4952 set dummy cpp; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 if test -n "$ac_ct_CPPBIN"; then
4959 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4960 else
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 for as_dir in $PATH
4964 IFS=$as_save_IFS
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CPPBIN="cpp"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4979 if test -n "$ac_ct_CPPBIN"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4981 $as_echo "$ac_ct_CPPBIN" >&6; }
4982 else
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4987 if test "x$ac_ct_CPPBIN" = x; then
4988 CPPBIN="cpp"
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 CPPBIN=$ac_ct_CPPBIN
4998 else
4999 CPPBIN="$ac_cv_prog_CPPBIN"
5003 cat >>confdefs.h <<_ACEOF
5004 #define EXEEXT "$ac_exeext"
5005 _ACEOF
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}ld; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_LD+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 if test -n "$LD"; then
5016 ac_cv_prog_LD="$LD" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_LD="${ac_tool_prefix}ld"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 break 2
5029 done
5030 done
5031 IFS=$as_save_IFS
5035 LD=$ac_cv_prog_LD
5036 if test -n "$LD"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5038 $as_echo "$LD" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5046 if test -z "$ac_cv_prog_LD"; then
5047 ac_ct_LD=$LD
5048 # Extract the first word of "ld", so it can be a program name with args.
5049 set dummy ld; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$ac_ct_LD"; then
5056 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_ac_ct_LD="ld"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5076 if test -n "$ac_ct_LD"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5078 $as_echo "$ac_ct_LD" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5084 if test "x$ac_ct_LD" = x; then
5085 LD=""
5086 else
5087 case $cross_compiling:$ac_tool_warned in
5088 yes:)
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned=yes ;;
5092 esac
5093 LD=$ac_ct_LD
5095 else
5096 LD="$ac_cv_prog_LD"
5100 case $host in
5101 *-darwin*)
5102 with_fontconfig=${with_fontconfig:-no}
5104 *-mingw32*|*-cygwin*)
5105 enable_win16=${enable_win16:-no}
5106 CFLAGS="$CFLAGS -D_WIN32"
5108 esac
5110 case $host in
5111 x86_64*|amd64*)
5112 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5113 then
5114 CC="$CC -m32"
5115 CXX="$CXX -m32"
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5117 $as_echo_n "checking whether $CC works... " >&6; }
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5123 main ()
5127 return 0;
5129 _ACEOF
5130 if ac_fn_c_try_link "$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5133 else
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5138 rm -f core conftest.err conftest.$ac_objext \
5139 conftest$ac_exeext conftest.$ac_ext
5140 host_cpu="i386"
5141 notice_platform="32-bit "
5142 TARGETFLAGS="-m32"
5144 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5145 export PKG_CONFIG_PATH
5146 enable_win16=${enable_win16:-yes}
5147 else
5148 if test "x${GCC}" = "xyes"
5149 then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5151 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <stdarg.h>
5156 main ()
5158 void func(__builtin_ms_va_list *args);
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5173 CC="$CC -m64"
5174 CXX="$CXX -m64"
5175 host_cpu="x86_64"
5176 notice_platform="64-bit "
5177 TARGETFLAGS="-m64"
5181 arm*)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5183 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5186 int ac_test(int i) { return i; }
5188 main ()
5190 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5192 return 0;
5194 _ACEOF
5195 if ac_fn_c_try_link "$LINENO"; then :
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5203 rm -f core conftest.err conftest.$ac_objext \
5204 conftest$ac_exeext conftest.$ac_ext
5205 CFLAGS="$CFLAGS -marm"
5206 TARGETFLAGS="-marm"
5209 i[3456789]86*)
5210 enable_win16=${enable_win16:-yes}
5212 esac
5214 enable_win16=${enable_win16:-no}
5215 enable_win64=${enable_win64:-no}
5217 enable_winetest=${enable_winetest:-$enable_tests}
5219 if test -n "$with_wine64"
5220 then
5221 if test "x$enable_win64" = "xyes"
5222 then
5223 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5224 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5226 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5227 You should create a separate build directory and run configure from there." "$LINENO" 5
5228 enable_fonts=${enable_fonts:-no}
5229 enable_server=${enable_server:-no}
5230 elif test "x$enable_win64" = "xyes"
5231 then
5232 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5236 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5237 if ${wine_cv_toolsdir+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 wine_cv_toolsdir="$with_wine_tools"
5241 if test -z "$with_wine_tools"; then
5242 if test "$cross_compiling" = "yes"; then
5243 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5244 elif test -n "$with_wine64"; then
5245 wine_cv_toolsdir="$with_wine64"
5248 if test -z "$wine_cv_toolsdir"; then
5249 wine_makedep=tools/makedep
5250 wine_cv_toolsdir="\$(top_builddir)"
5251 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5252 wine_makedep=$wine_cv_toolsdir/tools/makedep
5253 case "$wine_cv_toolsdir" in
5254 /*) ;;
5255 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5256 esac
5257 enable_tools=${enable_tools:-no}
5258 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5259 else
5260 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5264 $as_echo "$wine_cv_toolsdir" >&6; }
5265 TOOLSDIR=$wine_cv_toolsdir
5267 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5268 then
5269 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5273 for ac_prog in flex
5275 # Extract the first word of "$ac_prog", so it can be a program name with args.
5276 set dummy $ac_prog; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_FLEX+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -n "$FLEX"; then
5283 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5284 else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_FLEX="$ac_prog"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 FLEX=$ac_cv_prog_FLEX
5303 if test -n "$FLEX"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5305 $as_echo "$FLEX" >&6; }
5306 else
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5312 test -n "$FLEX" && break
5313 done
5314 test -n "$FLEX" || FLEX="none"
5316 if test "$FLEX" = "none"
5317 then
5318 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5321 $as_echo_n "checking whether flex is recent enough... " >&6; }
5322 cat >conftest.l <<EOF
5323 %top{
5324 #include "prediluvian.h"
5328 if $FLEX -t conftest.l >/dev/null 2>&5
5329 then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5331 $as_echo "yes" >&6; }
5332 else
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5338 for ac_prog in bison
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_BISON+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 if test -n "$BISON"; then
5348 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5349 else
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 for as_dir in $PATH
5353 IFS=$as_save_IFS
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_BISON="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 break 2
5361 done
5362 done
5363 IFS=$as_save_IFS
5367 BISON=$ac_cv_prog_BISON
5368 if test -n "$BISON"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5370 $as_echo "$BISON" >&6; }
5371 else
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$BISON" && break
5378 done
5379 test -n "$BISON" || BISON="none"
5381 if test "$BISON" = "none"
5382 then
5383 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5386 if test -n "$ac_tool_prefix"; then
5387 for ac_prog in ar gar
5389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_AR+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$AR"; then
5397 ac_cv_prog_AR="$AR" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 AR=$ac_cv_prog_AR
5417 if test -n "$AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5419 $as_echo "$AR" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5426 test -n "$AR" && break
5427 done
5429 if test -z "$AR"; then
5430 ac_ct_AR=$AR
5431 for ac_prog in ar gar
5433 # Extract the first word of "$ac_prog", so it can be a program name with args.
5434 set dummy $ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$ac_ct_AR"; then
5441 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_AR="$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5461 if test -n "$ac_ct_AR"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5463 $as_echo "$ac_ct_AR" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$ac_ct_AR" && break
5471 done
5473 if test "x$ac_ct_AR" = x; then
5474 AR="ar"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477 yes:)
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 AR=$ac_ct_AR
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_STRIP+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5517 $as_echo "$STRIP" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5557 $as_echo "$ac_ct_STRIP" >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5571 esac
5572 STRIP=$ac_ct_STRIP
5574 else
5575 STRIP="$ac_cv_prog_STRIP"
5578 ARFLAGS=rc
5580 if test -n "$ac_tool_prefix"; then
5581 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5582 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_RANLIB+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$RANLIB"; then
5589 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 RANLIB=$ac_cv_prog_RANLIB
5609 if test -n "$RANLIB"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5611 $as_echo "$RANLIB" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 if test -z "$ac_cv_prog_RANLIB"; then
5620 ac_ct_RANLIB=$RANLIB
5621 # Extract the first word of "ranlib", so it can be a program name with args.
5622 set dummy ranlib; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$ac_ct_RANLIB"; then
5629 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_ac_ct_RANLIB="ranlib"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5642 done
5643 done
5644 IFS=$as_save_IFS
5648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5649 if test -n "$ac_ct_RANLIB"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5651 $as_echo "$ac_ct_RANLIB" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5657 if test "x$ac_ct_RANLIB" = x; then
5658 RANLIB=":"
5659 else
5660 case $cross_compiling:$ac_tool_warned in
5661 yes:)
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned=yes ;;
5665 esac
5666 RANLIB=$ac_ct_RANLIB
5668 else
5669 RANLIB="$ac_cv_prog_RANLIB"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5673 $as_echo_n "checking whether ln -s works... " >&6; }
5674 LN_S=$as_ln_s
5675 if test "$LN_S" = "ln -s"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5677 $as_echo "yes" >&6; }
5678 else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5680 $as_echo "no, using $LN_S" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5684 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5685 if ${ac_cv_path_GREP+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -z "$GREP"; then
5689 ac_path_GREP_found=false
5690 # Loop through the user's path and test for each of PROGNAME-LIST
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_prog in grep ggrep; do
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5699 as_fn_executable_p "$ac_path_GREP" || continue
5700 # Check for GNU ac_path_GREP and select it if it is found.
5701 # Check for GNU $ac_path_GREP
5702 case `"$ac_path_GREP" --version 2>&1` in
5703 *GNU*)
5704 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5706 ac_count=0
5707 $as_echo_n 0123456789 >"conftest.in"
5708 while :
5710 cat "conftest.in" "conftest.in" >"conftest.tmp"
5711 mv "conftest.tmp" "conftest.in"
5712 cp "conftest.in" "conftest.nl"
5713 $as_echo 'GREP' >> "conftest.nl"
5714 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5715 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5716 as_fn_arith $ac_count + 1 && ac_count=$as_val
5717 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5718 # Best one so far, save it but keep looking for a better one
5719 ac_cv_path_GREP="$ac_path_GREP"
5720 ac_path_GREP_max=$ac_count
5722 # 10*(2^10) chars as input seems more than enough
5723 test $ac_count -gt 10 && break
5724 done
5725 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5726 esac
5728 $ac_path_GREP_found && break 3
5729 done
5730 done
5731 done
5732 IFS=$as_save_IFS
5733 if test -z "$ac_cv_path_GREP"; then
5734 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5736 else
5737 ac_cv_path_GREP=$GREP
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5742 $as_echo "$ac_cv_path_GREP" >&6; }
5743 GREP="$ac_cv_path_GREP"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5747 $as_echo_n "checking for egrep... " >&6; }
5748 if ${ac_cv_path_EGREP+:} false; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5752 then ac_cv_path_EGREP="$GREP -E"
5753 else
5754 if test -z "$EGREP"; then
5755 ac_path_EGREP_found=false
5756 # Loop through the user's path and test for each of PROGNAME-LIST
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_prog in egrep; do
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5765 as_fn_executable_p "$ac_path_EGREP" || continue
5766 # Check for GNU ac_path_EGREP and select it if it is found.
5767 # Check for GNU $ac_path_EGREP
5768 case `"$ac_path_EGREP" --version 2>&1` in
5769 *GNU*)
5770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5772 ac_count=0
5773 $as_echo_n 0123456789 >"conftest.in"
5774 while :
5776 cat "conftest.in" "conftest.in" >"conftest.tmp"
5777 mv "conftest.tmp" "conftest.in"
5778 cp "conftest.in" "conftest.nl"
5779 $as_echo 'EGREP' >> "conftest.nl"
5780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5782 as_fn_arith $ac_count + 1 && ac_count=$as_val
5783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5784 # Best one so far, save it but keep looking for a better one
5785 ac_cv_path_EGREP="$ac_path_EGREP"
5786 ac_path_EGREP_max=$ac_count
5788 # 10*(2^10) chars as input seems more than enough
5789 test $ac_count -gt 10 && break
5790 done
5791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5792 esac
5794 $ac_path_EGREP_found && break 3
5795 done
5796 done
5797 done
5798 IFS=$as_save_IFS
5799 if test -z "$ac_cv_path_EGREP"; then
5800 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5802 else
5803 ac_cv_path_EGREP=$EGREP
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5809 $as_echo "$ac_cv_path_EGREP" >&6; }
5810 EGREP="$ac_cv_path_EGREP"
5813 # Extract the first word of "ldconfig", so it can be a program name with args.
5814 set dummy ldconfig; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_path_LDCONFIG+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 case $LDCONFIG in
5821 [\\/]* | ?:[\\/]*)
5822 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in /sbin /usr/sbin $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5840 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5842 esac
5844 LDCONFIG=$ac_cv_path_LDCONFIG
5845 if test -n "$LDCONFIG"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5847 $as_echo "$LDCONFIG" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 for ac_prog in msgfmt
5856 # Extract the first word of "$ac_prog", so it can be a program name with args.
5857 set dummy $ac_prog; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_MSGFMT+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 if test -n "$MSGFMT"; then
5864 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_MSGFMT="$ac_prog"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5883 MSGFMT=$ac_cv_prog_MSGFMT
5884 if test -n "$MSGFMT"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5886 $as_echo "$MSGFMT" >&6; }
5887 else
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5893 test -n "$MSGFMT" && break
5894 done
5895 test -n "$MSGFMT" || MSGFMT="false"
5897 if ${ac_tool_prefix+:} false; then :
5898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$PKG_CONFIG"; then
5906 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5926 if test -n "$PKG_CONFIG"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5928 $as_echo "$PKG_CONFIG" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5936 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5937 if test "x$cross_compiling" = xyes; then :
5939 else
5940 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5941 # Extract the first word of "pkg-config", so it can be a program name with args.
5942 set dummy pkg-config; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$PKG_CONFIG"; then
5949 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_PKG_CONFIG="pkg-config"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5969 if test -n "$PKG_CONFIG"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5971 $as_echo "$PKG_CONFIG" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5979 else
5980 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5983 if test "x$enable_maintainer_mode" != "xyes"
5984 then
5985 FONTFORGE=""
5986 RSVG=""
5987 CONVERT=""
5988 ICOTOOL=""
5989 else
5990 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5991 for ac_prog in fontforge
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_FONTFORGE+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$FONTFORGE"; then
6001 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_FONTFORGE="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 FONTFORGE=$ac_cv_prog_FONTFORGE
6021 if test -n "$FONTFORGE"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6023 $as_echo "$FONTFORGE" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$FONTFORGE" && break
6031 done
6032 test -n "$FONTFORGE" || FONTFORGE="false"
6034 for ac_prog in rsvg-convert rsvg
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_RSVG+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 if test -n "$RSVG"; then
6044 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6049 IFS=$as_save_IFS
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_RSVG="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6057 done
6058 done
6059 IFS=$as_save_IFS
6063 RSVG=$ac_cv_prog_RSVG
6064 if test -n "$RSVG"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6066 $as_echo "$RSVG" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$RSVG" && break
6074 done
6075 test -n "$RSVG" || RSVG="false"
6077 for ac_prog in convert
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_CONVERT+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$CONVERT"; then
6087 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_CONVERT="$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 CONVERT=$ac_cv_prog_CONVERT
6107 if test -n "$CONVERT"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6109 $as_echo "$CONVERT" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$CONVERT" && break
6117 done
6118 test -n "$CONVERT" || CONVERT="false"
6120 for ac_prog in icotool
6122 # Extract the first word of "$ac_prog", so it can be a program name with args.
6123 set dummy $ac_prog; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ICOTOOL+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ICOTOOL"; then
6130 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ICOTOOL="$ac_prog"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ICOTOOL=$ac_cv_prog_ICOTOOL
6150 if test -n "$ICOTOOL"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6152 $as_echo "$ICOTOOL" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$ICOTOOL" && break
6160 done
6161 test -n "$ICOTOOL" || ICOTOOL="false"
6163 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6164 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6166 if test "$CONVERT" = false
6167 then
6168 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6171 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6172 convert_version=`convert --version | head -n1`
6173 if test "x$convert_version" != "x"
6174 then
6175 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6176 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6177 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6178 then
6179 CONVERT=false
6182 if test "$CONVERT" = false
6183 then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6185 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6186 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6187 else
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6189 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6193 if test "$ICOTOOL" = false
6194 then
6195 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6198 $as_echo_n "checking for recent enough icotool... " >&6; }
6199 icotool_version=`icotool --version | head -n1`
6200 if test "x$icotool_version" != "x"
6201 then
6202 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6203 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6204 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6205 then
6206 ICOTOOL=false
6207 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6210 if test "$ICOTOOL" = false
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6213 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6214 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6217 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6221 with_gettext=yes
6222 with_gettextpo=yes
6223 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6226 test "x$with_gettext" != xno || MSGFMT=false
6227 if test "$MSGFMT" != "false"
6228 then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6230 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6231 cat >conftest.po <<EOF
6232 # comment
6233 msgctxt "ctxt"
6234 msgid "id"
6235 msgstr "str"
6237 if $MSGFMT -o /dev/null conftest.po 2>&5
6238 then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6244 MSGFMT=false
6247 if test "$MSGFMT" = false; then :
6248 case "x$with_gettext" in
6249 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6250 xno) ;;
6251 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6252 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6253 esac
6254 enable_po=${enable_po:-no}
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6259 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6260 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 ac_check_lib_save_LIBS=$LIBS
6264 LIBS="-li386 $LIBS"
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6268 /* Override any GCC internal prototype to avoid an error.
6269 Use char because int might match the return type of a GCC
6270 builtin and then its argument prototype would still apply. */
6271 #ifdef __cplusplus
6272 extern "C"
6273 #endif
6274 char i386_set_ldt ();
6276 main ()
6278 return i386_set_ldt ();
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"; then :
6284 ac_cv_lib_i386_i386_set_ldt=yes
6285 else
6286 ac_cv_lib_i386_i386_set_ldt=no
6288 rm -f core conftest.err conftest.$ac_objext \
6289 conftest$ac_exeext conftest.$ac_ext
6290 LIBS=$ac_check_lib_save_LIBS
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6293 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6294 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6295 cat >>confdefs.h <<_ACEOF
6296 #define HAVE_LIBI386 1
6297 _ACEOF
6299 LIBS="-li386 $LIBS"
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6304 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6305 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 ac_check_lib_save_LIBS=$LIBS
6309 LIBS="-lossaudio $LIBS"
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6313 /* Override any GCC internal prototype to avoid an error.
6314 Use char because int might match the return type of a GCC
6315 builtin and then its argument prototype would still apply. */
6316 #ifdef __cplusplus
6317 extern "C"
6318 #endif
6319 char _oss_ioctl ();
6321 main ()
6323 return _oss_ioctl ();
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"; then :
6329 ac_cv_lib_ossaudio__oss_ioctl=yes
6330 else
6331 ac_cv_lib_ossaudio__oss_ioctl=no
6333 rm -f core conftest.err conftest.$ac_objext \
6334 conftest$ac_exeext conftest.$ac_ext
6335 LIBS=$ac_check_lib_save_LIBS
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6338 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6339 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6340 cat >>confdefs.h <<_ACEOF
6341 #define HAVE_LIBOSSAUDIO 1
6342 _ACEOF
6344 LIBS="-lossaudio $LIBS"
6349 OPENGL_LIBS=""
6353 # Check whether --enable-largefile was given.
6354 if test "${enable_largefile+set}" = set; then :
6355 enableval=$enable_largefile;
6358 if test "$enable_largefile" != no; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6361 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6362 if ${ac_cv_sys_largefile_CC+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 ac_cv_sys_largefile_CC=no
6366 if test "$GCC" != yes; then
6367 ac_save_CC=$CC
6368 while :; do
6369 # IRIX 6.2 and later do not support large files by default,
6370 # so use the C compiler's -n32 option if that helps.
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6373 #include <sys/types.h>
6374 /* Check that off_t can represent 2**63 - 1 correctly.
6375 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6376 since some C++ compilers masquerading as C compilers
6377 incorrectly reject 9223372036854775807. */
6378 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6379 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6380 && LARGE_OFF_T % 2147483647 == 1)
6381 ? 1 : -1];
6383 main ()
6387 return 0;
6389 _ACEOF
6390 if ac_fn_c_try_compile "$LINENO"; then :
6391 break
6393 rm -f core conftest.err conftest.$ac_objext
6394 CC="$CC -n32"
6395 if ac_fn_c_try_compile "$LINENO"; then :
6396 ac_cv_sys_largefile_CC=' -n32'; break
6398 rm -f core conftest.err conftest.$ac_objext
6399 break
6400 done
6401 CC=$ac_save_CC
6402 rm -f conftest.$ac_ext
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6406 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6407 if test "$ac_cv_sys_largefile_CC" != no; then
6408 CC=$CC$ac_cv_sys_largefile_CC
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6412 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6413 if ${ac_cv_sys_file_offset_bits+:} false; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 while :; do
6417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */
6419 #include <sys/types.h>
6420 /* Check that off_t can represent 2**63 - 1 correctly.
6421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6422 since some C++ compilers masquerading as C compilers
6423 incorrectly reject 9223372036854775807. */
6424 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6426 && LARGE_OFF_T % 2147483647 == 1)
6427 ? 1 : -1];
6429 main ()
6433 return 0;
6435 _ACEOF
6436 if ac_fn_c_try_compile "$LINENO"; then :
6437 ac_cv_sys_file_offset_bits=no; break
6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6442 #define _FILE_OFFSET_BITS 64
6443 #include <sys/types.h>
6444 /* Check that off_t can represent 2**63 - 1 correctly.
6445 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6446 since some C++ compilers masquerading as C compilers
6447 incorrectly reject 9223372036854775807. */
6448 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6449 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6450 && LARGE_OFF_T % 2147483647 == 1)
6451 ? 1 : -1];
6453 main ()
6457 return 0;
6459 _ACEOF
6460 if ac_fn_c_try_compile "$LINENO"; then :
6461 ac_cv_sys_file_offset_bits=64; break
6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6464 ac_cv_sys_file_offset_bits=unknown
6465 break
6466 done
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6469 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6470 case $ac_cv_sys_file_offset_bits in #(
6471 no | unknown) ;;
6473 cat >>confdefs.h <<_ACEOF
6474 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6475 _ACEOF
6477 esac
6478 rm -rf conftest*
6479 if test $ac_cv_sys_file_offset_bits = unknown; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6481 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6482 if ${ac_cv_sys_large_files+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
6485 while :; do
6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6488 #include <sys/types.h>
6489 /* Check that off_t can represent 2**63 - 1 correctly.
6490 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6491 since some C++ compilers masquerading as C compilers
6492 incorrectly reject 9223372036854775807. */
6493 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6495 && LARGE_OFF_T % 2147483647 == 1)
6496 ? 1 : -1];
6498 main ()
6502 return 0;
6504 _ACEOF
6505 if ac_fn_c_try_compile "$LINENO"; then :
6506 ac_cv_sys_large_files=no; break
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6511 #define _LARGE_FILES 1
6512 #include <sys/types.h>
6513 /* Check that off_t can represent 2**63 - 1 correctly.
6514 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6515 since some C++ compilers masquerading as C compilers
6516 incorrectly reject 9223372036854775807. */
6517 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6518 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6519 && LARGE_OFF_T % 2147483647 == 1)
6520 ? 1 : -1];
6522 main ()
6526 return 0;
6528 _ACEOF
6529 if ac_fn_c_try_compile "$LINENO"; then :
6530 ac_cv_sys_large_files=1; break
6532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6533 ac_cv_sys_large_files=unknown
6534 break
6535 done
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6538 $as_echo "$ac_cv_sys_large_files" >&6; }
6539 case $ac_cv_sys_large_files in #(
6540 no | unknown) ;;
6542 cat >>confdefs.h <<_ACEOF
6543 #define _LARGE_FILES $ac_cv_sys_large_files
6544 _ACEOF
6546 esac
6547 rm -rf conftest*
6554 ac_ext=c
6555 ac_cpp='$CPP $CPPFLAGS'
6556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6560 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6561 # On Suns, sometimes $CPP names a directory.
6562 if test -n "$CPP" && test -d "$CPP"; then
6563 CPP=
6565 if test -z "$CPP"; then
6566 if ${ac_cv_prog_CPP+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 # Double quotes because CPP needs to be expanded
6570 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6572 ac_preproc_ok=false
6573 for ac_c_preproc_warn_flag in '' yes
6575 # Use a header file that comes with gcc, so configuring glibc
6576 # with a fresh cross-compiler works.
6577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6578 # <limits.h> exists even on freestanding compilers.
6579 # On the NeXT, cc -E runs the code through the compiler's parser,
6580 # not just through cpp. "Syntax error" is here to catch this case.
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6583 #ifdef __STDC__
6584 # include <limits.h>
6585 #else
6586 # include <assert.h>
6587 #endif
6588 Syntax error
6589 _ACEOF
6590 if ac_fn_c_try_cpp "$LINENO"; then :
6592 else
6593 # Broken: fails on valid input.
6594 continue
6596 rm -f conftest.err conftest.i conftest.$ac_ext
6598 # OK, works on sane cases. Now check whether nonexistent headers
6599 # can be detected and how.
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #include <ac_nonexistent.h>
6603 _ACEOF
6604 if ac_fn_c_try_cpp "$LINENO"; then :
6605 # Broken: success on invalid input.
6606 continue
6607 else
6608 # Passes both tests.
6609 ac_preproc_ok=:
6610 break
6612 rm -f conftest.err conftest.i conftest.$ac_ext
6614 done
6615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6616 rm -f conftest.i conftest.err conftest.$ac_ext
6617 if $ac_preproc_ok; then :
6618 break
6621 done
6622 ac_cv_prog_CPP=$CPP
6625 CPP=$ac_cv_prog_CPP
6626 else
6627 ac_cv_prog_CPP=$CPP
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6630 $as_echo "$CPP" >&6; }
6631 ac_preproc_ok=false
6632 for ac_c_preproc_warn_flag in '' yes
6634 # Use a header file that comes with gcc, so configuring glibc
6635 # with a fresh cross-compiler works.
6636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6637 # <limits.h> exists even on freestanding compilers.
6638 # On the NeXT, cc -E runs the code through the compiler's parser,
6639 # not just through cpp. "Syntax error" is here to catch this case.
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #ifdef __STDC__
6643 # include <limits.h>
6644 #else
6645 # include <assert.h>
6646 #endif
6647 Syntax error
6648 _ACEOF
6649 if ac_fn_c_try_cpp "$LINENO"; then :
6651 else
6652 # Broken: fails on valid input.
6653 continue
6655 rm -f conftest.err conftest.i conftest.$ac_ext
6657 # OK, works on sane cases. Now check whether nonexistent headers
6658 # can be detected and how.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if ac_fn_c_try_cpp "$LINENO"; then :
6664 # Broken: success on invalid input.
6665 continue
6666 else
6667 # Passes both tests.
6668 ac_preproc_ok=:
6669 break
6671 rm -f conftest.err conftest.i conftest.$ac_ext
6673 done
6674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6675 rm -f conftest.i conftest.err conftest.$ac_ext
6676 if $ac_preproc_ok; then :
6678 else
6679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6681 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6682 See \`config.log' for more details" "$LINENO" 5; }
6685 ac_ext=c
6686 ac_cpp='$CPP $CPPFLAGS'
6687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6693 $as_echo_n "checking for ANSI C header files... " >&6; }
6694 if ${ac_cv_header_stdc+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <stdlib.h>
6700 #include <stdarg.h>
6701 #include <string.h>
6702 #include <float.h>
6705 main ()
6709 return 0;
6711 _ACEOF
6712 if ac_fn_c_try_compile "$LINENO"; then :
6713 ac_cv_header_stdc=yes
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 if test $ac_cv_header_stdc = yes; then
6720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <string.h>
6725 _ACEOF
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "memchr" >/dev/null 2>&1; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f conftest*
6736 if test $ac_cv_header_stdc = yes; then
6737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <stdlib.h>
6742 _ACEOF
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "free" >/dev/null 2>&1; then :
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f conftest*
6753 if test $ac_cv_header_stdc = yes; then
6754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6755 if test "$cross_compiling" = yes; then :
6757 else
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 #include <ctype.h>
6761 #include <stdlib.h>
6762 #if ((' ' & 0x0FF) == 0x020)
6763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6765 #else
6766 # define ISLOWER(c) \
6767 (('a' <= (c) && (c) <= 'i') \
6768 || ('j' <= (c) && (c) <= 'r') \
6769 || ('s' <= (c) && (c) <= 'z'))
6770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6771 #endif
6773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6775 main ()
6777 int i;
6778 for (i = 0; i < 256; i++)
6779 if (XOR (islower (i), ISLOWER (i))
6780 || toupper (i) != TOUPPER (i))
6781 return 2;
6782 return 0;
6784 _ACEOF
6785 if ac_fn_c_try_run "$LINENO"; then :
6787 else
6788 ac_cv_header_stdc=no
6790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6791 conftest.$ac_objext conftest.beam conftest.$ac_ext
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6797 $as_echo "$ac_cv_header_stdc" >&6; }
6798 if test $ac_cv_header_stdc = yes; then
6800 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6806 inttypes.h stdint.h unistd.h
6807 do :
6808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6812 cat >>confdefs.h <<_ACEOF
6813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6814 _ACEOF
6818 done
6821 for ac_header in \
6822 AL/al.h \
6823 ApplicationServices/ApplicationServices.h \
6824 AudioToolbox/AudioConverter.h \
6825 AudioUnit/AudioUnit.h \
6826 AudioUnit/AudioComponent.h \
6827 CL/cl.h \
6828 Carbon/Carbon.h \
6829 CommonCrypto/CommonDigest.h \
6830 CoreAudio/CoreAudio.h \
6831 CoreServices/CoreServices.h \
6832 DiskArbitration/DiskArbitration.h \
6833 EGL/egl.h \
6834 IOKit/IOKitLib.h \
6835 IOKit/hid/IOHIDLib.h \
6836 OpenAL/al.h \
6837 OpenCL/opencl.h \
6838 QuickTime/ImageCompression.h \
6839 Security/Security.h \
6840 alias.h \
6841 alsa/asoundlib.h \
6842 arpa/inet.h \
6843 arpa/nameser.h \
6844 asm/types.h \
6845 asm/user.h \
6846 curses.h \
6847 direct.h \
6848 dirent.h \
6849 dlfcn.h \
6850 elf.h \
6851 float.h \
6852 fnmatch.h \
6853 getopt.h \
6854 gettext-po.h \
6855 grp.h \
6856 gsm.h \
6857 gsm/gsm.h \
6858 ieeefp.h \
6859 inet/mib2.h \
6860 io.h \
6861 kstat.h \
6862 lber.h \
6863 ldap.h \
6864 libproc.h \
6865 link.h \
6866 linux/cdrom.h \
6867 linux/compiler.h \
6868 linux/filter.h \
6869 linux/hdreg.h \
6870 linux/hidraw.h \
6871 linux/input.h \
6872 linux/ioctl.h \
6873 linux/joystick.h \
6874 linux/major.h \
6875 linux/param.h \
6876 linux/serial.h \
6877 linux/types.h \
6878 linux/ucdrom.h \
6879 lwp.h \
6880 mach-o/nlist.h \
6881 mach-o/loader.h \
6882 mach/mach.h \
6883 mach/machine.h \
6884 machine/cpu.h \
6885 machine/limits.h \
6886 machine/sysarch.h \
6887 mntent.h \
6888 ncurses.h \
6889 netdb.h \
6890 netinet/in.h \
6891 netinet/in_systm.h \
6892 netinet/tcp.h \
6893 netinet/tcp_fsm.h \
6894 pcap/pcap.h \
6895 poll.h \
6896 port.h \
6897 process.h \
6898 pthread.h \
6899 pwd.h \
6900 sched.h \
6901 scsi/scsi.h \
6902 scsi/scsi_ioctl.h \
6903 scsi/sg.h \
6904 stdbool.h \
6905 stdint.h \
6906 stropts.h \
6907 sys/asoundlib.h \
6908 sys/attr.h \
6909 sys/auxv.h \
6910 sys/cdio.h \
6911 sys/elf32.h \
6912 sys/epoll.h \
6913 sys/event.h \
6914 sys/exec_elf.h \
6915 sys/filio.h \
6916 sys/inotify.h \
6917 sys/ioctl.h \
6918 sys/ipc.h \
6919 sys/limits.h \
6920 sys/link.h \
6921 sys/mman.h \
6922 sys/modem.h \
6923 sys/msg.h \
6924 sys/mtio.h \
6925 sys/param.h \
6926 sys/poll.h \
6927 sys/prctl.h \
6928 sys/protosw.h \
6929 sys/ptrace.h \
6930 sys/queue.h \
6931 sys/resource.h \
6932 sys/scsiio.h \
6933 sys/shm.h \
6934 sys/signal.h \
6935 sys/socket.h \
6936 sys/socketvar.h \
6937 sys/sockio.h \
6938 sys/statvfs.h \
6939 sys/strtio.h \
6940 sys/syscall.h \
6941 sys/sysinfo.h \
6942 sys/tihdr.h \
6943 sys/time.h \
6944 sys/timeout.h \
6945 sys/times.h \
6946 sys/uio.h \
6947 sys/user.h \
6948 sys/utsname.h \
6949 sys/vm86.h \
6950 sys/vnode.h \
6951 sys/wait.h \
6952 syscall.h \
6953 termios.h \
6954 unistd.h \
6955 utime.h \
6956 valgrind/memcheck.h \
6957 valgrind/valgrind.h \
6958 zlib.h
6960 do :
6961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6962 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6964 cat >>confdefs.h <<_ACEOF
6965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 _ACEOF
6970 done
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6973 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6974 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6975 $as_echo_n "(cached) " >&6
6976 else
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 #include <sys/types.h>
6981 main ()
6983 return makedev(0, 0);
6985 return 0;
6987 _ACEOF
6988 if ac_fn_c_try_link "$LINENO"; then :
6989 ac_cv_header_sys_types_h_makedev=yes
6990 else
6991 ac_cv_header_sys_types_h_makedev=no
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6998 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7000 if test $ac_cv_header_sys_types_h_makedev = no; then
7001 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7002 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7004 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7010 if test $ac_cv_header_sys_mkdev_h = no; then
7011 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7012 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7014 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7023 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7024 if ${ac_cv_header_stat_broken+:} false; then :
7025 $as_echo_n "(cached) " >&6
7026 else
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7029 #include <sys/types.h>
7030 #include <sys/stat.h>
7032 #if defined S_ISBLK && defined S_IFDIR
7033 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7034 #endif
7036 #if defined S_ISBLK && defined S_IFCHR
7037 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7038 #endif
7040 #if defined S_ISLNK && defined S_IFREG
7041 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7042 #endif
7044 #if defined S_ISSOCK && defined S_IFREG
7045 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7046 #endif
7048 _ACEOF
7049 if ac_fn_c_try_compile "$LINENO"; then :
7050 ac_cv_header_stat_broken=no
7051 else
7052 ac_cv_header_stat_broken=yes
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7057 $as_echo "$ac_cv_header_stat_broken" >&6; }
7058 if test $ac_cv_header_stat_broken = yes; then
7060 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7066 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7067 do :
7068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7070 #ifdef HAVE_SYS_PARAM_H
7071 # include <sys/param.h>
7072 #endif
7074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7075 cat >>confdefs.h <<_ACEOF
7076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7077 _ACEOF
7081 done
7084 for ac_header in \
7085 netinet/ip.h \
7086 net/if.h \
7087 net/if_arp.h \
7088 net/if_dl.h \
7089 net/if_types.h \
7090 net/route.h \
7091 netinet/if_ether.h \
7092 netinet/if_inarp.h \
7093 netinet/in_pcb.h \
7094 netinet/ip_icmp.h \
7095 netinet/ip_var.h \
7096 netinet/udp.h \
7097 netipx/ipx.h \
7098 sys/un.h \
7100 do :
7101 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7102 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7103 #ifdef HAVE_SYS_SOCKET_H
7104 # include <sys/socket.h>
7105 #endif
7106 #ifdef HAVE_SYS_SOCKETVAR_H
7107 # include <sys/socketvar.h>
7108 #endif
7109 #ifdef HAVE_NET_ROUTE_H
7110 # include <net/route.h>
7111 #endif
7112 #ifdef HAVE_NETINET_IN_H
7113 # include <netinet/in.h>
7114 #endif
7115 #ifdef HAVE_NETINET_IN_SYSTM_H
7116 # include <netinet/in_systm.h>
7117 #endif
7118 #ifdef HAVE_NET_IF_H
7119 # include <net/if.h>
7120 #endif
7121 #ifdef HAVE_NETINET_IP_H
7122 # include <netinet/ip.h>
7123 #endif
7125 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7126 cat >>confdefs.h <<_ACEOF
7127 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7128 _ACEOF
7132 done
7135 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7136 do :
7137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7138 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7139 #ifdef HAVE_ALIAS_H
7140 # include <alias.h>
7141 #endif
7142 #ifdef HAVE_SYS_SOCKET_H
7143 # include <sys/socket.h>
7144 #endif
7145 #ifdef HAVE_SYS_SOCKETVAR_H
7146 # include <sys/socketvar.h>
7147 #endif
7148 #ifdef HAVE_SYS_TIMEOUT_H
7149 # include <sys/timeout.h>
7150 #endif
7151 #ifdef HAVE_NETINET_IN_H
7152 # include <netinet/in.h>
7153 #endif
7154 #ifdef HAVE_NETINET_IN_SYSTM_H
7155 # include <netinet/in_systm.h>
7156 #endif
7157 #ifdef HAVE_NETINET_IP_H
7158 # include <netinet/ip.h>
7159 #endif
7160 #ifdef HAVE_NETINET_IP_VAR_H
7161 # include <netinet/ip_var.h>
7162 #endif
7163 #ifdef HAVE_NETINET_IP_ICMP_H
7164 # include <netinet/ip_icmp.h>
7165 #endif
7166 #ifdef HAVE_NETINET_UDP_H
7167 # include <netinet/udp.h>
7168 #endif
7169 #ifdef HAVE_NETINET_TCP_H
7170 # include <netinet/tcp.h>
7171 #endif
7172 #ifdef HAVE_NETINET_TCP_TIMER_H
7173 #include <netinet/tcp_timer.h>
7174 #endif
7176 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7177 cat >>confdefs.h <<_ACEOF
7178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7179 _ACEOF
7183 done
7186 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7187 do :
7188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7189 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7190 #ifdef HAVE_ASM_TYPES_H
7191 # include <asm/types.h>
7192 #endif
7193 #ifdef HAVE_SYS_SOCKET_H
7194 # include <sys/socket.h>
7195 #endif
7196 #ifdef HAVE_LINUX_TYPES_H
7197 # include <linux/types.h>
7198 #endif
7200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7201 cat >>confdefs.h <<_ACEOF
7202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7203 _ACEOF
7207 done
7210 for ac_header in mach-o/dyld_images.h
7211 do :
7212 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7213 # include <stdbool.h>
7214 #endif
7215 #ifdef HAVE_STDINT_H
7216 # include <stdint.h>
7217 #endif
7219 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7222 _ACEOF
7226 done
7229 for ac_header in resolv.h
7230 do :
7231 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7232 #ifdef HAVE_SYS_SOCKET_H
7233 # include <sys/socket.h>
7234 #endif
7235 #ifdef HAVE_NETINET_IN_H
7236 # include <netinet/in.h>
7237 #endif
7238 #ifdef HAVE_ARPA_NAMESER_H
7239 # include <arpa/nameser.h>
7240 #endif
7242 if test "x$ac_cv_header_resolv_h" = xyes; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define HAVE_RESOLV_H 1
7245 _ACEOF
7249 done
7252 for ac_header in ifaddrs.h
7253 do :
7254 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7256 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7257 cat >>confdefs.h <<_ACEOF
7258 #define HAVE_IFADDRS_H 1
7259 _ACEOF
7263 done
7266 for ac_header in sys/ucontext.h
7267 do :
7268 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7270 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7271 cat >>confdefs.h <<_ACEOF
7272 #define HAVE_SYS_UCONTEXT_H 1
7273 _ACEOF
7277 done
7280 for ac_header in sys/thr.h
7281 do :
7282 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7283 #ifdef HAVE_SYS_UCONTEXT_H
7284 #include <sys/ucontext.h>
7285 #endif
7287 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7288 cat >>confdefs.h <<_ACEOF
7289 #define HAVE_SYS_THR_H 1
7290 _ACEOF
7294 done
7297 for ac_header in pthread_np.h
7298 do :
7299 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7300 #include <pthread.h>
7301 #endif
7303 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7304 cat >>confdefs.h <<_ACEOF
7305 #define HAVE_PTHREAD_NP_H 1
7306 _ACEOF
7310 done
7313 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7314 do :
7315 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7316 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7317 #include <sys/time.h>
7318 #endif
7319 #include <sys/types.h>
7320 #ifdef HAVE_ASM_TYPES_H
7321 #include <asm/types.h>
7322 #endif
7324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7325 cat >>confdefs.h <<_ACEOF
7326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7327 _ACEOF
7331 done
7334 for ac_header in libprocstat.h
7335 do :
7336 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7337 #include <sys/param.h>
7338 #endif
7339 #ifdef HAVE_SYS_QUEUE_H
7340 #include <sys/queue.h>
7341 #endif
7342 #ifdef HAVE_SYS_SOCKET_H
7343 #include <sys/socket.h>
7344 #endif
7346 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_LIBPROCSTAT_H 1
7349 _ACEOF
7353 done
7357 dlldir="\${libdir}/wine"
7359 DLLFLAGS="-D_REENTRANT"
7361 LDRPATH_INSTALL=""
7363 LDRPATH_LOCAL=""
7365 LDEXECFLAGS=""
7367 WINELOADER_LDFLAGS=""
7369 LIBEXT="so"
7370 DLLEXT=".so"
7371 IMPLIBEXT="def"
7372 # Extract the first word of "ldd", so it can be a program name with args.
7373 set dummy ldd; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_path_LDD+:} false; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 case $LDD in
7380 [\\/]* | ?:[\\/]*)
7381 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 as_dummy="/sbin:/usr/sbin:$PATH"
7386 for as_dir in $as_dummy
7388 IFS=$as_save_IFS
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7400 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7402 esac
7404 LDD=$ac_cv_path_LDD
7405 if test -n "$LDD"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7407 $as_echo "$LDD" >&6; }
7408 else
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}otool; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if ${ac_cv_prog_OTOOL+:} false; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$OTOOL"; then
7423 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 OTOOL=$ac_cv_prog_OTOOL
7443 if test -n "$OTOOL"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7445 $as_echo "$OTOOL" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_OTOOL"; then
7454 ac_ct_OTOOL=$OTOOL
7455 # Extract the first word of "otool", so it can be a program name with args.
7456 set dummy otool; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_OTOOL"; then
7463 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_ac_ct_OTOOL="otool"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7483 if test -n "$ac_ct_OTOOL"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7485 $as_echo "$ac_ct_OTOOL" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_OTOOL" = x; then
7492 OTOOL="otool"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 OTOOL=$ac_ct_OTOOL
7502 else
7503 OTOOL="$ac_cv_prog_OTOOL"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if ${ac_cv_prog_READELF+:} false; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$READELF"; then
7515 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7524 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 READELF=$ac_cv_prog_READELF
7535 if test -n "$READELF"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7537 $as_echo "$READELF" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_READELF"; then
7546 ac_ct_READELF=$READELF
7547 # Extract the first word of "readelf", so it can be a program name with args.
7548 set dummy readelf; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_READELF"; then
7555 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7564 ac_cv_prog_ac_ct_READELF="readelf"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7575 if test -n "$ac_ct_READELF"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7577 $as_echo "$ac_ct_READELF" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_READELF" = x; then
7584 READELF="true"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 READELF=$ac_ct_READELF
7594 else
7595 READELF="$ac_cv_prog_READELF"
7598 wine_rules_file=conf$$rules.make
7599 rm -f $wine_rules_file
7600 SUBDIRS=""
7602 DISABLED_SUBDIRS=""
7604 CONFIGURE_TARGETS=""
7606 ALL_TEST_RESOURCES=""
7609 wine_fn_append_file ()
7611 as_fn_append $1 " \\$as_nl $2"
7614 wine_fn_append_rule ()
7616 $as_echo "$1" >>$wine_rules_file
7619 wine_fn_has_flag ()
7621 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7624 wine_fn_all_rules ()
7626 wine_fn_append_file SUBDIRS $ac_dir
7627 wine_fn_append_rule \
7628 "all: $ac_dir
7629 .PHONY: $ac_dir
7630 $ac_dir: dummy
7631 @cd $ac_dir && \$(MAKE)"
7634 wine_fn_install_rules ()
7636 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7638 wine_fn_append_rule \
7639 ".PHONY: $ac_dir/install $ac_dir/uninstall
7640 $ac_dir/install:: $ac_dir
7641 @cd $ac_dir && \$(MAKE) install
7642 $ac_dir/uninstall::
7643 @cd $ac_dir && \$(MAKE) uninstall
7644 install:: $ac_dir/install
7645 __uninstall__: $ac_dir/uninstall"
7647 if wine_fn_has_flag install-lib
7648 then
7649 wine_fn_append_rule \
7650 ".PHONY: $ac_dir/install-lib
7651 $ac_dir/install-lib:: $ac_dir
7652 @cd $ac_dir && \$(MAKE) install-lib
7653 install-lib:: $ac_dir/install-lib"
7656 if wine_fn_has_flag install-dev
7657 then
7658 wine_fn_append_rule \
7659 ".PHONY: $ac_dir/install-dev
7660 $ac_dir/install-dev:: $ac_dir
7661 @cd $ac_dir && \$(MAKE) install-dev
7662 install-dev:: $ac_dir/install-dev"
7666 wine_fn_clean_rules ()
7668 ac_clean=$@
7670 if wine_fn_has_flag clean
7671 then
7672 wine_fn_append_rule \
7673 "$ac_dir/clean: dummy
7674 @cd $ac_dir && \$(MAKE) clean"
7675 else
7676 wine_fn_append_rule \
7677 "$ac_dir/clean: dummy
7678 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7680 wine_fn_append_rule \
7681 "__clean__: $ac_dir/clean
7682 .PHONY: $ac_dir/clean"
7685 wine_fn_disabled_rules ()
7687 ac_clean=$@
7689 wine_fn_append_file SUBDIRS $ac_dir
7690 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7691 wine_fn_append_rule \
7692 "__clean__: $ac_dir/clean
7693 .PHONY: $ac_dir/clean
7694 $ac_dir/clean: dummy
7695 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7698 wine_fn_config_makefile ()
7700 ac_dir=$1
7701 ac_enable=$2
7702 ac_flags=$3
7704 case $ac_dir in
7705 fonts|server) test -z "$with_wine64" || return ;;
7706 esac
7707 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7708 wine_fn_disabled_rules; return
7710 wine_fn_all_rules
7711 wine_fn_install_rules
7712 wine_fn_clean_rules
7715 wine_fn_config_lib ()
7717 ac_name=$1
7718 ac_flags=$2
7719 ac_dir=dlls/$ac_name
7720 ac_deps="include"
7722 if test "x$enable_tools" = xno; then :
7724 else
7725 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7727 wine_fn_all_rules
7728 wine_fn_clean_rules
7730 wine_fn_append_rule \
7731 ".PHONY: $ac_dir/install $ac_dir/uninstall
7732 $ac_dir/install:: $ac_dir
7733 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7734 $ac_dir/uninstall::
7735 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7736 install install-dev:: $ac_dir/install
7737 __uninstall__: $ac_dir/uninstall
7738 __builddeps__: $ac_dir
7739 $ac_dir: $ac_deps"
7742 wine_fn_config_dll ()
7744 ac_name=$1
7745 ac_dir=dlls/$ac_name
7746 ac_enable=$2
7747 ac_flags=$3
7748 ac_implib=${4:-$ac_name}
7749 ac_file=$ac_dir/lib$ac_implib
7750 ac_dll=$ac_name
7751 ac_deps="include"
7752 ac_implibflags=""
7754 if test "x$enable_tools" = xno; then :
7756 else
7757 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7759 case $ac_name in
7760 *.*16) ac_implibflags=" -m16" ;;
7761 *.*) ;;
7762 *) ac_dll=$ac_dll.dll ;;
7763 esac
7765 ac_clean=
7766 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7767 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7769 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7770 if test "$ac_enable" != enable_win16
7771 then
7772 wine_fn_clean_rules $ac_clean
7773 wine_fn_append_file SUBDIRS $ac_dir
7774 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7775 else
7776 wine_fn_disabled_rules $ac_clean
7777 return
7779 else
7780 wine_fn_all_rules
7781 wine_fn_clean_rules $ac_clean
7782 wine_fn_append_rule \
7783 "$ac_dir: __builddeps__
7784 manpages htmlpages sgmlpages xmlpages::
7785 @cd $ac_dir && \$(MAKE) \$@
7786 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7787 install install-lib:: $ac_dir/install-lib
7788 __uninstall__: $ac_dir/uninstall"
7789 if test -n "$DLLEXT"
7790 then
7791 wine_fn_append_rule \
7792 "$ac_dir/install-lib:: $ac_dir
7793 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7794 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7795 $ac_dir/uninstall::
7796 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7797 else
7798 wine_fn_append_rule \
7799 "$ac_dir/install-lib:: $ac_dir
7800 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7801 $ac_dir/uninstall::
7802 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7806 if wine_fn_has_flag staticimplib
7807 then
7808 wine_fn_append_rule \
7809 "__builddeps__: $ac_file.a
7810 $ac_file.a $ac_file.cross.a: $ac_deps
7811 $ac_file.a: dummy
7812 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7813 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7814 $ac_dir/install-dev:: $ac_file.a
7815 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7816 $ac_dir/uninstall::
7817 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7818 install install-dev:: $ac_dir/install-dev
7819 __uninstall__: $ac_dir/uninstall"
7821 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7822 then
7823 wine_fn_append_rule \
7824 "__builddeps__: $ac_file.cross.a
7825 $ac_file.cross.a: dummy
7826 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7829 elif wine_fn_has_flag implib
7830 then
7831 wine_fn_append_rule \
7832 "__builddeps__: $ac_file.$IMPLIBEXT
7833 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7834 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7835 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7836 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7837 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7838 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7839 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7840 $ac_dir/uninstall::
7841 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7842 install install-dev:: $ac_dir/install-dev
7843 __uninstall__: $ac_dir/uninstall"
7844 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7845 then
7846 wine_fn_append_rule \
7847 "__builddeps__: $ac_file.cross.a
7848 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7849 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7854 wine_fn_config_program ()
7856 ac_name=$1
7857 ac_dir=programs/$ac_name
7858 ac_enable=$2
7859 ac_flags=$3
7860 ac_program=$ac_name
7862 case $ac_name in
7863 *.*) ;;
7864 *) ac_program=$ac_program.exe ;;
7865 esac
7867 ac_clean=
7868 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7869 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7871 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7872 wine_fn_disabled_rules $ac_clean; return
7875 wine_fn_all_rules
7876 wine_fn_clean_rules $ac_clean
7877 wine_fn_append_rule "$ac_dir: __builddeps__"
7879 wine_fn_has_flag install || return
7880 wine_fn_append_rule \
7881 ".PHONY: $ac_dir/install $ac_dir/uninstall
7882 install install-lib:: $ac_dir/install
7883 __uninstall__: $ac_dir/uninstall"
7885 if test -n "$DLLEXT"
7886 then
7887 wine_fn_append_rule \
7888 "$ac_dir/install:: $ac_dir
7889 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7890 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7891 $ac_dir/uninstall::
7892 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7894 if test -z "$with_wine64" && wine_fn_has_flag installbin
7895 then
7896 wine_fn_append_rule \
7897 "$ac_dir/install:: __tooldeps__
7898 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7899 $ac_dir/uninstall::
7900 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7902 else
7903 wine_fn_append_rule \
7904 "$ac_dir/install:: $ac_dir
7905 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7906 $ac_dir/uninstall::
7907 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7910 if test -z "$with_wine64" && wine_fn_has_flag manpage
7911 then
7912 wine_fn_append_rule \
7913 "$ac_dir/install:: $ac_dir
7914 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7915 $ac_dir/uninstall::
7916 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7920 wine_fn_config_test ()
7922 ac_dir=$1
7923 ac_name=$2
7924 ac_flags=$3
7926 ac_clean=
7927 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7928 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7930 if test "x$enable_tests" = xno; then :
7931 wine_fn_disabled_rules $ac_clean; return
7934 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7935 wine_fn_all_rules
7936 wine_fn_clean_rules $ac_clean
7938 wine_fn_append_rule \
7939 "$ac_dir: __builddeps__
7940 programs/winetest: $ac_dir
7941 check test: $ac_dir/test
7942 .PHONY: $ac_dir/test
7943 $ac_dir/test: dummy
7944 @cd $ac_dir && \$(MAKE) test
7945 testclean::
7946 \$(RM) $ac_dir/*.ok"
7948 if test -n "$CROSSTARGET"
7949 then
7950 wine_fn_append_rule \
7951 "crosstest: $ac_dir/crosstest
7952 .PHONY: $ac_dir/crosstest
7953 $ac_dir/crosstest: __builddeps__ dummy
7954 @cd $ac_dir && \$(MAKE) crosstest"
7958 wine_fn_config_tool ()
7960 ac_dir=$1
7961 ac_flags=$2
7962 if test "x$enable_tools" = xno; then :
7963 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7966 wine_fn_all_rules
7967 wine_fn_install_rules
7968 wine_fn_clean_rules
7970 wine_fn_append_rule "__tooldeps__: $ac_dir"
7971 wine_fn_append_rule "$ac_dir: libs/port"
7972 case $ac_dir in
7973 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7974 esac
7977 wine_fn_config_symlink ()
7979 ac_linkdir=
7980 if test "x$1" = "x-d"
7981 then
7982 ac_linkdir=$2
7983 shift; shift
7985 ac_links=$@
7986 wine_fn_append_rule \
7987 "$ac_links:
7988 @./config.status \$@"
7989 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7990 test -n "$ac_linkdir" || return
7991 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7994 wine_binary="wine"
7995 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7996 WINELOADER_PROGRAMS="$wine_binary"
7998 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8000 case $host_os in
8001 cygwin*|mingw32*)
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8004 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if ${ac_cv_prog_DLLTOOL+:} false; then :
8008 $as_echo_n "(cached) " >&6
8009 else
8010 if test -n "$DLLTOOL"; then
8011 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8016 IFS=$as_save_IFS
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8020 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 break 2
8024 done
8025 done
8026 IFS=$as_save_IFS
8030 DLLTOOL=$ac_cv_prog_DLLTOOL
8031 if test -n "$DLLTOOL"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8033 $as_echo "$DLLTOOL" >&6; }
8034 else
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8041 if test -z "$ac_cv_prog_DLLTOOL"; then
8042 ac_ct_DLLTOOL=$DLLTOOL
8043 # Extract the first word of "dlltool", so it can be a program name with args.
8044 set dummy dlltool; ac_word=$2
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046 $as_echo_n "checking for $ac_word... " >&6; }
8047 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 if test -n "$ac_ct_DLLTOOL"; then
8051 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8052 else
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8060 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 break 2
8064 done
8065 done
8066 IFS=$as_save_IFS
8070 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8071 if test -n "$ac_ct_DLLTOOL"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8073 $as_echo "$ac_ct_DLLTOOL" >&6; }
8074 else
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8079 if test "x$ac_ct_DLLTOOL" = x; then
8080 DLLTOOL="false"
8081 else
8082 case $cross_compiling:$ac_tool_warned in
8083 yes:)
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8086 ac_tool_warned=yes ;;
8087 esac
8088 DLLTOOL=$ac_ct_DLLTOOL
8090 else
8091 DLLTOOL="$ac_cv_prog_DLLTOOL"
8094 LIBEXT="dll"
8095 DLLEXT=""
8096 IMPLIBEXT="a"
8097 enable_iphlpapi=${enable_iphlpapi:-no}
8098 enable_kernel32=${enable_kernel32:-no}
8099 enable_msvcrt=${enable_msvcrt:-no}
8100 enable_ntdll=${enable_ntdll:-no}
8101 enable_ws2_32=${enable_ws2_32:-no}
8102 enable_loader=${enable_loader:-no}
8103 enable_server=${enable_server:-no}
8104 with_x=${with_x:-no}
8105 with_pthread=${with_pthread:-no}
8107 crtlibs=""
8108 case $host_os in
8109 mingw32*)
8110 crtlibs="-lmsvcrt"
8111 SOCKET_LIBS="-lws2_32"
8113 esac
8115 LIBWINE_SHAREDLIB="libwine.dll"
8117 LIBWINE_IMPORTLIB="libwine.a"
8119 LIBWINE_INSTALL_LIB="libwine.dll"
8121 LIBWINE_INSTALL_DEV="libwine.a"
8123 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8125 LIBWINE_DEPENDS="wine.def"
8129 darwin*|macosx*)
8130 for ac_header in libunwind.h
8131 do :
8132 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8134 cat >>confdefs.h <<_ACEOF
8135 #define HAVE_LIBUNWIND_H 1
8136 _ACEOF
8140 done
8142 LIBEXT="dylib"
8143 DLLFLAGS="$DLLFLAGS -fPIC"
8144 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8145 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8146 COREFOUNDATION_LIBS="-framework CoreFoundation"
8148 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8150 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8152 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8154 CORESERVICES_LIBS="-framework CoreServices"
8156 APPKIT_LIBS="-framework AppKit"
8158 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8160 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8161 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8162 $as_echo_n "(cached) " >&6
8163 else
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -Wl,-no_pie"
8166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8168 int main(int argc, char **argv) { return 0; }
8169 _ACEOF
8170 if ac_fn_c_try_link "$LINENO"; then :
8171 ac_cv_cflags__Wl__no_pie=yes
8172 else
8173 ac_cv_cflags__Wl__no_pie=no
8175 rm -f core conftest.err conftest.$ac_objext \
8176 conftest$ac_exeext conftest.$ac_ext
8177 CFLAGS=$ac_wine_try_cflags_saved
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8180 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8181 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8182 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8184 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8185 then
8186 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8189 if test "$ac_cv_header_Security_Security_h" = "yes"
8190 then
8191 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8193 ac_save_LIBS="$LIBS"
8194 LIBS="$LIBS $SECURITY_LIBS"
8195 for ac_func in SSLCopyPeerCertificates
8196 do :
8197 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8198 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8199 cat >>confdefs.h <<_ACEOF
8200 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8201 _ACEOF
8204 done
8206 LIBS="$ac_save_LIBS"
8207 with_gnutls=${with_gnutls:-no}
8209 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8210 then
8211 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8212 then
8213 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8215 else
8216 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8219 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8220 ac_save_LIBS="$LIBS"
8221 LIBS="$LIBS $COREAUDIO_LIBS"
8222 for ac_func in AUGraphAddNode
8223 do :
8224 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8225 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_AUGRAPHADDNODE 1
8228 _ACEOF
8231 done
8233 LIBS="$ac_save_LIBS"
8235 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8236 then
8237 OPENAL_LIBS="-framework OpenAL"
8240 cat >>confdefs.h <<_ACEOF
8241 #define HAVE_OPENAL 1
8242 _ACEOF
8244 ac_cv_lib_openal=yes
8246 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8247 then
8248 OPENCL_LIBS="-framework OpenCL"
8250 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8252 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8253 then
8254 ac_save_LIBS="$LIBS"
8255 LIBS="$LIBS $IOKIT_LIBS"
8256 for ac_func in IOHIDManagerCreate
8257 do :
8258 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8259 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8260 cat >>confdefs.h <<_ACEOF
8261 #define HAVE_IOHIDMANAGERCREATE 1
8262 _ACEOF
8265 done
8267 LIBS="$ac_save_LIBS"
8269 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8270 then
8271 ac_save_LIBS="$LIBS"
8272 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8274 $as_echo_n "checking for the QuickTime framework... " >&6; }
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 #include <QuickTime/ImageCompression.h>
8279 main ()
8281 CodecManagerVersion(NULL);
8283 return 0;
8285 _ACEOF
8286 if ac_fn_c_try_link "$LINENO"; then :
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8288 $as_echo "yes" >&6; }
8289 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8291 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8292 else
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8295 ac_cv_header_QuickTime_ImageCompression_h=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 LIBS="$ac_save_LIBS"
8301 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8302 then
8303 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8305 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8306 then
8307 CARBON_LIBS="-framework Carbon"
8311 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8312 then
8313 ac_save_LIBS="$LIBS"
8314 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8315 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8316 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8317 enable_winemac_drv=${enable_winemac_drv:-yes}
8320 LIBS="$ac_save_LIBS"
8323 if test "x$enable_win16" = "xyes"
8324 then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8326 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8327 if test "$cross_compiling" = yes; then :
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8329 $as_echo "cross-compiling, assuming yes" >&6; }
8330 else
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 asm(".text\n"
8334 "bad:\tnop;nop\n"
8335 "good:\tnop;nop\n\t"
8336 ".globl _testfunc\n"
8337 "_testfunc:\tcallw good");
8338 extern void testfunc();
8340 main ()
8342 unsigned short *p = (unsigned short *)testfunc;
8343 return p[0] != 0xe866 || p[1] != 0xfffa
8345 return 0;
8347 _ACEOF
8348 if ac_fn_c_try_run "$LINENO"; then :
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8350 $as_echo "yes" >&6; }
8351 else
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8354 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
8356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8357 conftest.$ac_objext conftest.beam conftest.$ac_ext
8362 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8364 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8366 LIBWINE_INSTALL_DEV="libwine.dylib"
8368 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8370 WINELOADER_DEPENDS="wine_info.plist"
8374 linux-android*)
8375 DLLFLAGS="$DLLFLAGS -fPIC"
8376 LDEXECFLAGS="-Wl,-pie"
8377 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8379 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8380 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_wine_try_cflags_saved=$CFLAGS
8384 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8387 int main(int argc, char **argv) { return 0; }
8388 _ACEOF
8389 if ac_fn_c_try_link "$LINENO"; then :
8390 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8391 else
8392 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8394 rm -f core conftest.err conftest.$ac_objext \
8395 conftest$ac_exeext conftest.$ac_ext
8396 CFLAGS=$ac_wine_try_cflags_saved
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8399 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8400 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8401 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8403 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8405 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8406 if eval \${$as_ac_var+:} false; then :
8407 $as_echo_n "(cached) " >&6
8408 else
8409 ac_wine_try_cflags_saved=$CFLAGS
8410 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8413 int main(int argc, char **argv) { return 0; }
8414 _ACEOF
8415 if ac_fn_c_try_link "$LINENO"; then :
8416 eval "$as_ac_var=yes"
8417 else
8418 eval "$as_ac_var=no"
8420 rm -f core conftest.err conftest.$ac_objext \
8421 conftest$ac_exeext conftest.$ac_ext
8422 CFLAGS=$ac_wine_try_cflags_saved
8424 eval ac_res=\$$as_ac_var
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8426 $as_echo "$ac_res" >&6; }
8427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8428 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8429 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8430 else
8431 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8433 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8434 if eval \${$as_ac_var+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 eval "$as_ac_var=yes"
8445 else
8446 eval "$as_ac_var=no"
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 eval ac_res=\$$as_ac_var
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8454 $as_echo "$ac_res" >&6; }
8455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8456 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8457 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8461 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8462 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 int main(int argc, char **argv) { return 0; }
8470 _ACEOF
8471 if ac_fn_c_try_link "$LINENO"; then :
8472 ac_cv_cflags__Wl___enable_new_dtags=yes
8473 else
8474 ac_cv_cflags__Wl___enable_new_dtags=no
8476 rm -f core conftest.err conftest.$ac_objext \
8477 conftest$ac_exeext conftest.$ac_ext
8478 CFLAGS=$ac_wine_try_cflags_saved
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8481 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8482 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8483 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8486 LIBWINE_SHAREDLIB="libwine.so"
8488 LIBWINE_INSTALL_LIB="libwine.so"
8490 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8494 $as_echo_n "checking for -lEGL... " >&6; }
8495 if ${ac_cv_lib_soname_EGL+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_check_soname_save_LIBS=$LIBS
8499 LIBS="-lEGL $LIBS"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8506 #ifdef __cplusplus
8507 extern "C"
8508 #endif
8509 char eglGetProcAddress ();
8511 main ()
8513 return eglGetProcAddress ();
8515 return 0;
8517 _ACEOF
8518 if ac_fn_c_try_link "$LINENO"; then :
8519 case "$LIBEXT" in
8520 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8521 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'` ;;
8522 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8523 if ${ac_cv_lib_soname_EGL:+false} :; then :
8524 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8525 fi ;;
8526 esac
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 LIBS=$ac_check_soname_save_LIBS
8532 if ${ac_cv_lib_soname_EGL:+false} :; then :
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8534 $as_echo "not found" >&6; }
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8538 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8540 cat >>confdefs.h <<_ACEOF
8541 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8542 _ACEOF
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8547 $as_echo_n "checking for -lGLESv2... " >&6; }
8548 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_check_soname_save_LIBS=$LIBS
8552 LIBS="-lGLESv2 $LIBS"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 /* Override any GCC internal prototype to avoid an error.
8557 Use char because int might match the return type of a GCC
8558 builtin and then its argument prototype would still apply. */
8559 #ifdef __cplusplus
8560 extern "C"
8561 #endif
8562 char glFlush ();
8564 main ()
8566 return glFlush ();
8568 return 0;
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 case "$LIBEXT" in
8573 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8574 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'` ;;
8575 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8576 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8577 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8578 fi ;;
8579 esac
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 LIBS=$ac_check_soname_save_LIBS
8585 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8587 $as_echo "not found" >&6; }
8589 else
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8591 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8593 cat >>confdefs.h <<_ACEOF
8594 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8595 _ACEOF
8600 if test "x$exec_prefix" = xNONE
8601 then
8602 case $host_cpu in
8603 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8604 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8605 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8606 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8607 esac
8612 DLLFLAGS="$DLLFLAGS -fPIC"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8614 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8615 if ${ac_cv_c_dll_gnuelf+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 void myfunc() {}
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 ac_cv_c_dll_gnuelf="yes"
8626 else
8627 ac_cv_c_dll_gnuelf="no"
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8634 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8635 if test "$ac_cv_c_dll_gnuelf" = "yes"
8636 then
8637 LIBWINE_LDFLAGS="-shared"
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8639 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8640 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8651 else
8652 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8659 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8660 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8661 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8662 else
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8664 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8665 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8676 else
8677 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8684 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8685 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8686 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8690 echo '{ global: *; };' >conftest.map
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8692 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8693 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 ac_wine_try_cflags_saved=$CFLAGS
8697 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 int main(int argc, char **argv) { return 0; }
8701 _ACEOF
8702 if ac_fn_c_try_link "$LINENO"; then :
8703 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8704 else
8705 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8707 rm -f core conftest.err conftest.$ac_objext \
8708 conftest$ac_exeext conftest.$ac_ext
8709 CFLAGS=$ac_wine_try_cflags_saved
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8712 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8713 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8714 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8716 rm -f conftest.map
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8719 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8720 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8731 else
8732 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8739 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8740 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8741 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8744 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8746 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8747 if eval \${$as_ac_var+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 eval "$as_ac_var=yes"
8758 else
8759 eval "$as_ac_var=no"
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 eval ac_res=\$$as_ac_var
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8767 $as_echo "$ac_res" >&6; }
8768 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8769 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8770 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8771 else
8772 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8774 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8775 if eval \${$as_ac_var+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 eval "$as_ac_var=yes"
8786 else
8787 eval "$as_ac_var=no"
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 eval ac_res=\$$as_ac_var
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8795 $as_echo "$ac_res" >&6; }
8796 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8797 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8798 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8803 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8804 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_cflags__Wl___enable_new_dtags=yes
8815 else
8816 ac_cv_cflags__Wl___enable_new_dtags=no
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8823 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8824 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8825 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8828 case $host_cpu in
8829 *i[3456789]86* | x86_64)
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8831 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8832 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 ac_wine_try_cflags_saved=$CFLAGS
8836 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8839 int main(int argc, char **argv) { return 0; }
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8843 else
8844 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8846 rm -f core conftest.err conftest.$ac_objext \
8847 conftest$ac_exeext conftest.$ac_ext
8848 CFLAGS=$ac_wine_try_cflags_saved
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8851 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8852 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8853 case $host_os in
8854 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8855 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8856 esac
8857 else
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8859 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8860 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 ac_wine_try_cflags_saved=$CFLAGS
8864 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8867 int main(int argc, char **argv) { return 0; }
8868 _ACEOF
8869 if ac_fn_c_try_link "$LINENO"; then :
8870 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8871 else
8872 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8874 rm -f core conftest.err conftest.$ac_objext \
8875 conftest$ac_exeext conftest.$ac_ext
8876 CFLAGS=$ac_wine_try_cflags_saved
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8879 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8880 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8881 case $host_os in
8882 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8883 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8884 esac
8886 # Extract the first word of "prelink", so it can be a program name with args.
8887 set dummy prelink; ac_word=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_path_PRELINK+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 case $PRELINK in
8894 [\\/]* | ?:[\\/]*)
8895 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 for as_dir in /sbin /usr/sbin $PATH
8901 IFS=$as_save_IFS
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907 break 2
8909 done
8910 done
8911 IFS=$as_save_IFS
8913 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8915 esac
8917 PRELINK=$ac_cv_path_PRELINK
8918 if test -n "$PRELINK"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8920 $as_echo "$PRELINK" >&6; }
8921 else
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8927 if test "x$PRELINK" = xfalse
8928 then
8929 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8933 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8934 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 ac_wine_try_cflags_saved=$CFLAGS
8938 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941 int main(int argc, char **argv) { return 0; }
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8945 else
8946 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 CFLAGS=$ac_wine_try_cflags_saved
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8953 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8954 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8955 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8958 esac
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8962 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8963 if ${ac_cv_c_dll_unixware+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 ac_wine_try_cflags_saved=$CFLAGS
8967 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8970 void myfunc() {}
8971 _ACEOF
8972 if ac_fn_c_try_link "$LINENO"; then :
8973 ac_cv_c_dll_unixware="yes"
8974 else
8975 ac_cv_c_dll_unixware="no"
8977 rm -f core conftest.err conftest.$ac_objext \
8978 conftest$ac_exeext conftest.$ac_ext
8979 CFLAGS=$ac_wine_try_cflags_saved
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8982 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8983 if test "$ac_cv_c_dll_unixware" = "yes"
8984 then
8985 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8988 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8990 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8992 LIBWINE_INSTALL_DEV="libwine.so"
8994 LIBWINE_DEPENDS="wine.map"
8997 esac
8999 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9000 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9001 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9002 enable_winemac_drv=${enable_winemac_drv:-no}
9003 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9005 CROSSTARGET=""
9007 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9008 then
9009 case "$host_cpu" in
9010 arm*)
9011 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9012 i[3456789]86*)
9013 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
9014 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9015 mingw32-gcc" ;;
9016 x86_64)
9017 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
9018 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9020 ac_prefix_list="" ;;
9021 esac
9022 for ac_prog in $ac_prefix_list
9024 # Extract the first word of "$ac_prog", so it can be a program name with args.
9025 set dummy $ac_prog; ac_word=$2
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9027 $as_echo_n "checking for $ac_word... " >&6; }
9028 if ${ac_cv_prog_CROSSCC+:} false; then :
9029 $as_echo_n "(cached) " >&6
9030 else
9031 if test -n "$CROSSCC"; then
9032 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9033 else
9034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9035 for as_dir in $PATH
9037 IFS=$as_save_IFS
9038 test -z "$as_dir" && as_dir=.
9039 for ac_exec_ext in '' $ac_executable_extensions; do
9040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9041 ac_cv_prog_CROSSCC="$ac_prog"
9042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9043 break 2
9045 done
9046 done
9047 IFS=$as_save_IFS
9051 CROSSCC=$ac_cv_prog_CROSSCC
9052 if test -n "$CROSSCC"; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9054 $as_echo "$CROSSCC" >&6; }
9055 else
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9057 $as_echo "no" >&6; }
9061 test -n "$CROSSCC" && break
9062 done
9063 test -n "$CROSSCC" || CROSSCC="false"
9065 if test "$CROSSCC" != "false"
9066 then
9067 ac_save_CC="$CC"
9068 CC="$CROSSCC"
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9070 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9075 main ()
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_compile "$LINENO"; then :
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9084 $as_echo "yes" >&6; }
9085 set x $CROSSCC
9086 shift
9087 while test $# -ge 1
9089 case "$1" in
9090 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9091 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9092 esac
9093 shift
9094 done
9095 else
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9100 CC="$ac_save_CC"
9105 if test "$ac_cv_header_pthread_h" = "yes"
9106 then
9107 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9108 if test "x$ac_cv_func_pthread_create" = xyes; then :
9110 else
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9112 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9113 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9114 $as_echo_n "(cached) " >&6
9115 else
9116 ac_check_lib_save_LIBS=$LIBS
9117 LIBS="-lpthread $LIBS"
9118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9124 #ifdef __cplusplus
9125 extern "C"
9126 #endif
9127 char pthread_create ();
9129 main ()
9131 return pthread_create ();
9133 return 0;
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137 ac_cv_lib_pthread_pthread_create=yes
9138 else
9139 ac_cv_lib_pthread_pthread_create=no
9141 rm -f core conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9143 LIBS=$ac_check_lib_save_LIBS
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9146 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9147 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9148 PTHREAD_LIBS="-lpthread"
9155 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9156 case "x$with_pthread" in
9157 xno) ;;
9158 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9159 Wine cannot support threads without libpthread.
9160 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9161 esac
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9167 $as_echo_n "checking for X... " >&6; }
9170 # Check whether --with-x was given.
9171 if test "${with_x+set}" = set; then :
9172 withval=$with_x;
9175 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9176 if test "x$with_x" = xno; then
9177 # The user explicitly disabled X.
9178 have_x=disabled
9179 else
9180 case $x_includes,$x_libraries in #(
9181 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9182 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 # One or both of the vars are not set, and there is no cached value.
9186 ac_x_includes=no ac_x_libraries=no
9187 rm -f -r conftest.dir
9188 if mkdir conftest.dir; then
9189 cd conftest.dir
9190 cat >Imakefile <<'_ACEOF'
9191 incroot:
9192 @echo incroot='${INCROOT}'
9193 usrlibdir:
9194 @echo usrlibdir='${USRLIBDIR}'
9195 libdir:
9196 @echo libdir='${LIBDIR}'
9197 _ACEOF
9198 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9199 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9200 for ac_var in incroot usrlibdir libdir; do
9201 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9202 done
9203 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9204 for ac_extension in a so sl dylib la dll; do
9205 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9206 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9207 ac_im_usrlibdir=$ac_im_libdir; break
9209 done
9210 # Screen out bogus values from the imake configuration. They are
9211 # bogus both because they are the default anyway, and because
9212 # using them would break gcc on systems where it needs fixed includes.
9213 case $ac_im_incroot in
9214 /usr/include) ac_x_includes= ;;
9215 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9216 esac
9217 case $ac_im_usrlibdir in
9218 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9219 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9220 esac
9222 cd ..
9223 rm -f -r conftest.dir
9226 # Standard set of common directories for X headers.
9227 # Check X11 before X11Rn because it is often a symlink to the current release.
9228 ac_x_header_dirs='
9229 /usr/X11/include
9230 /usr/X11R7/include
9231 /usr/X11R6/include
9232 /usr/X11R5/include
9233 /usr/X11R4/include
9235 /usr/include/X11
9236 /usr/include/X11R7
9237 /usr/include/X11R6
9238 /usr/include/X11R5
9239 /usr/include/X11R4
9241 /usr/local/X11/include
9242 /usr/local/X11R7/include
9243 /usr/local/X11R6/include
9244 /usr/local/X11R5/include
9245 /usr/local/X11R4/include
9247 /usr/local/include/X11
9248 /usr/local/include/X11R7
9249 /usr/local/include/X11R6
9250 /usr/local/include/X11R5
9251 /usr/local/include/X11R4
9253 /usr/X386/include
9254 /usr/x386/include
9255 /usr/XFree86/include/X11
9257 /usr/include
9258 /usr/local/include
9259 /usr/unsupported/include
9260 /usr/athena/include
9261 /usr/local/x11r5/include
9262 /usr/lpp/Xamples/include
9264 /usr/openwin/include
9265 /usr/openwin/share/include'
9267 if test "$ac_x_includes" = no; then
9268 # Guess where to find include files, by looking for Xlib.h.
9269 # First, try using that file with no special directory specified.
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9272 #include <X11/Xlib.h>
9273 _ACEOF
9274 if ac_fn_c_try_cpp "$LINENO"; then :
9275 # We can compile using X headers with no special include directory.
9276 ac_x_includes=
9277 else
9278 for ac_dir in $ac_x_header_dirs; do
9279 if test -r "$ac_dir/X11/Xlib.h"; then
9280 ac_x_includes=$ac_dir
9281 break
9283 done
9285 rm -f conftest.err conftest.i conftest.$ac_ext
9286 fi # $ac_x_includes = no
9288 if test "$ac_x_libraries" = no; then
9289 # Check for the libraries.
9290 # See if we find them without any special options.
9291 # Don't add to $LIBS permanently.
9292 ac_save_LIBS=$LIBS
9293 LIBS="-lX11 $LIBS"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9296 #include <X11/Xlib.h>
9298 main ()
9300 XrmInitialize ()
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 LIBS=$ac_save_LIBS
9307 # We can link X programs with no special library path.
9308 ac_x_libraries=
9309 else
9310 LIBS=$ac_save_LIBS
9311 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9313 # Don't even attempt the hair of trying to link an X program!
9314 for ac_extension in a so sl dylib la dll; do
9315 if test -r "$ac_dir/libX11.$ac_extension"; then
9316 ac_x_libraries=$ac_dir
9317 break 2
9319 done
9320 done
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 fi # $ac_x_libraries = no
9326 case $ac_x_includes,$ac_x_libraries in #(
9327 no,* | *,no | *\'*)
9328 # Didn't find X, or a directory has "'" in its name.
9329 ac_cv_have_x="have_x=no";; #(
9331 # Record where we found X for the cache.
9332 ac_cv_have_x="have_x=yes\
9333 ac_x_includes='$ac_x_includes'\
9334 ac_x_libraries='$ac_x_libraries'"
9335 esac
9337 ;; #(
9338 *) have_x=yes;;
9339 esac
9340 eval "$ac_cv_have_x"
9341 fi # $with_x != no
9343 if test "$have_x" != yes; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9345 $as_echo "$have_x" >&6; }
9346 no_x=yes
9347 else
9348 # If each of the values was on the command line, it overrides each guess.
9349 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9350 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9351 # Update the cache value to reflect the command line values.
9352 ac_cv_have_x="have_x=yes\
9353 ac_x_includes='$x_includes'\
9354 ac_x_libraries='$x_libraries'"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9356 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9359 if test "$no_x" = yes; then
9360 # Not all programs may use this symbol, but it does not hurt to define it.
9362 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9364 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9365 else
9366 if test -n "$x_includes"; then
9367 X_CFLAGS="$X_CFLAGS -I$x_includes"
9370 # It would also be nice to do this for all -L options, not just this one.
9371 if test -n "$x_libraries"; then
9372 X_LIBS="$X_LIBS -L$x_libraries"
9373 # For Solaris; some versions of Sun CC require a space after -R and
9374 # others require no space. Words are not sufficient . . . .
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9376 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9377 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9378 ac_xsave_c_werror_flag=$ac_c_werror_flag
9379 ac_c_werror_flag=yes
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9384 main ()
9388 return 0;
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9393 $as_echo "no" >&6; }
9394 X_LIBS="$X_LIBS -R$x_libraries"
9395 else
9396 LIBS="$ac_xsave_LIBS -R $x_libraries"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9401 main ()
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9410 $as_echo "yes" >&6; }
9411 X_LIBS="$X_LIBS -R $x_libraries"
9412 else
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9414 $as_echo "neither works" >&6; }
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 ac_c_werror_flag=$ac_xsave_c_werror_flag
9422 LIBS=$ac_xsave_LIBS
9425 # Check for system-dependent libraries X programs must link with.
9426 # Do this before checking for the system-independent R6 libraries
9427 # (-lICE), since we may need -lsocket or whatever for X linking.
9429 if test "$ISC" = yes; then
9430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9431 else
9432 # Martyn Johnson says this is needed for Ultrix, if the X
9433 # libraries were built with DECnet support. And Karl Berry says
9434 # the Alpha needs dnet_stub (dnet does not exist).
9435 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9442 #ifdef __cplusplus
9443 extern "C"
9444 #endif
9445 char XOpenDisplay ();
9447 main ()
9449 return XOpenDisplay ();
9451 return 0;
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9456 else
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9458 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9459 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_check_lib_save_LIBS=$LIBS
9463 LIBS="-ldnet $LIBS"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9470 #ifdef __cplusplus
9471 extern "C"
9472 #endif
9473 char dnet_ntoa ();
9475 main ()
9477 return dnet_ntoa ();
9479 return 0;
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 ac_cv_lib_dnet_dnet_ntoa=yes
9484 else
9485 ac_cv_lib_dnet_dnet_ntoa=no
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_lib_save_LIBS
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9492 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9493 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9494 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9497 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9499 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9500 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-ldnet_stub $LIBS"
9505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char dnet_ntoa ();
9516 main ()
9518 return dnet_ntoa ();
9520 return 0;
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9525 else
9526 ac_cv_lib_dnet_stub_dnet_ntoa=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 LIBS=$ac_check_lib_save_LIBS
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9533 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9534 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9535 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS="$ac_xsave_LIBS"
9544 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9545 # to get the SysV transport functions.
9546 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9547 # needs -lnsl.
9548 # The nsl library prevents programs from opening the X display
9549 # on Irix 5.2, according to T.E. Dickey.
9550 # The functions gethostbyname, getservbyname, and inet_addr are
9551 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9552 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9553 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9557 if test $ac_cv_func_gethostbyname = no; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9559 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9560 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-lnsl $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 gethostbyname ();
9576 main ()
9578 return gethostbyname ();
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 ac_cv_lib_nsl_gethostbyname=yes
9585 else
9586 ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5
9593 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9594 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9595 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9598 if test $ac_cv_lib_nsl_gethostbyname = no; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9600 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9601 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9602 $as_echo_n "(cached) " >&6
9603 else
9604 ac_check_lib_save_LIBS=$LIBS
9605 LIBS="-lbsd $LIBS"
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9609 /* Override any GCC internal prototype to avoid an error.
9610 Use char because int might match the return type of a GCC
9611 builtin and then its argument prototype would still apply. */
9612 #ifdef __cplusplus
9613 extern "C"
9614 #endif
9615 char gethostbyname ();
9617 main ()
9619 return gethostbyname ();
9621 return 0;
9623 _ACEOF
9624 if ac_fn_c_try_link "$LINENO"; then :
9625 ac_cv_lib_bsd_gethostbyname=yes
9626 else
9627 ac_cv_lib_bsd_gethostbyname=no
9629 rm -f core conftest.err conftest.$ac_objext \
9630 conftest$ac_exeext conftest.$ac_ext
9631 LIBS=$ac_check_lib_save_LIBS
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9634 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9635 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9636 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9642 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9643 # socket/setsockopt and other routines are undefined under SCO ODT
9644 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9645 # on later versions), says Simon Leinen: it contains gethostby*
9646 # variants that don't use the name server (or something). -lsocket
9647 # must be given before -lnsl if both are needed. We assume that
9648 # if connect needs -lnsl, so does gethostbyname.
9649 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9650 if test "x$ac_cv_func_connect" = xyes; then :
9654 if test $ac_cv_func_connect = no; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9656 $as_echo_n "checking for connect in -lsocket... " >&6; }
9657 if ${ac_cv_lib_socket_connect+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_lib_save_LIBS=$LIBS
9661 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char connect ();
9673 main ()
9675 return connect ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 ac_cv_lib_socket_connect=yes
9682 else
9683 ac_cv_lib_socket_connect=no
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9690 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9691 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9692 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9697 # Guillermo Gomez says -lposix is necessary on A/UX.
9698 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9699 if test "x$ac_cv_func_remove" = xyes; then :
9703 if test $ac_cv_func_remove = no; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9705 $as_echo_n "checking for remove in -lposix... " >&6; }
9706 if ${ac_cv_lib_posix_remove+:} false; then :
9707 $as_echo_n "(cached) " >&6
9708 else
9709 ac_check_lib_save_LIBS=$LIBS
9710 LIBS="-lposix $LIBS"
9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712 /* end confdefs.h. */
9714 /* Override any GCC internal prototype to avoid an error.
9715 Use char because int might match the return type of a GCC
9716 builtin and then its argument prototype would still apply. */
9717 #ifdef __cplusplus
9718 extern "C"
9719 #endif
9720 char remove ();
9722 main ()
9724 return remove ();
9726 return 0;
9728 _ACEOF
9729 if ac_fn_c_try_link "$LINENO"; then :
9730 ac_cv_lib_posix_remove=yes
9731 else
9732 ac_cv_lib_posix_remove=no
9734 rm -f core conftest.err conftest.$ac_objext \
9735 conftest$ac_exeext conftest.$ac_ext
9736 LIBS=$ac_check_lib_save_LIBS
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9739 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9740 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9741 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9746 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9747 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9748 if test "x$ac_cv_func_shmat" = xyes; then :
9752 if test $ac_cv_func_shmat = no; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9754 $as_echo_n "checking for shmat in -lipc... " >&6; }
9755 if ${ac_cv_lib_ipc_shmat+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
9758 ac_check_lib_save_LIBS=$LIBS
9759 LIBS="-lipc $LIBS"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9763 /* Override any GCC internal prototype to avoid an error.
9764 Use char because int might match the return type of a GCC
9765 builtin and then its argument prototype would still apply. */
9766 #ifdef __cplusplus
9767 extern "C"
9768 #endif
9769 char shmat ();
9771 main ()
9773 return shmat ();
9775 return 0;
9777 _ACEOF
9778 if ac_fn_c_try_link "$LINENO"; then :
9779 ac_cv_lib_ipc_shmat=yes
9780 else
9781 ac_cv_lib_ipc_shmat=no
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 LIBS=$ac_check_lib_save_LIBS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9788 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9789 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9790 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9796 # Check for libraries that X11R6 Xt/Xaw programs need.
9797 ac_save_LDFLAGS=$LDFLAGS
9798 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9799 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9800 # check for ICE first), but we must link in the order -lSM -lICE or
9801 # we get undefined symbols. So assume we have SM if we have ICE.
9802 # These have to be linked with before -lX11, unlike the other
9803 # libraries we check for below, so use a different variable.
9804 # John Interrante, Karl Berry
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9806 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9807 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_lib_save_LIBS=$LIBS
9811 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char IceConnectionNumber ();
9823 main ()
9825 return IceConnectionNumber ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_lib_ICE_IceConnectionNumber=yes
9832 else
9833 ac_cv_lib_ICE_IceConnectionNumber=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 LIBS=$ac_check_lib_save_LIBS
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9840 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9841 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9842 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9845 LDFLAGS=$ac_save_LDFLAGS
9850 if test "$have_x" = "yes"
9851 then
9852 ac_save_CPPFLAGS="$CPPFLAGS"
9853 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9856 $as_echo_n "checking for -lX11... " >&6; }
9857 if ${ac_cv_lib_soname_X11+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_check_soname_save_LIBS=$LIBS
9861 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9868 #ifdef __cplusplus
9869 extern "C"
9870 #endif
9871 char XCreateWindow ();
9873 main ()
9875 return XCreateWindow ();
9877 return 0;
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 case "$LIBEXT" in
9882 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9883 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'` ;;
9884 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9885 if ${ac_cv_lib_soname_X11:+false} :; then :
9886 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9887 fi ;;
9888 esac
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_soname_save_LIBS
9894 if ${ac_cv_lib_soname_X11:+false} :; then :
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9896 $as_echo "not found" >&6; }
9898 else
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9900 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9902 cat >>confdefs.h <<_ACEOF
9903 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9904 _ACEOF
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9909 $as_echo_n "checking for -lXext... " >&6; }
9910 if ${ac_cv_lib_soname_Xext+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_check_soname_save_LIBS=$LIBS
9914 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char XextCreateExtension ();
9926 main ()
9928 return XextCreateExtension ();
9930 return 0;
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 case "$LIBEXT" in
9935 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9936 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'` ;;
9937 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9938 if ${ac_cv_lib_soname_Xext:+false} :; then :
9939 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9940 fi ;;
9941 esac
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_soname_save_LIBS
9947 if ${ac_cv_lib_soname_Xext:+false} :; then :
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9949 $as_echo "not found" >&6; }
9951 else
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9953 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9955 cat >>confdefs.h <<_ACEOF
9956 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9957 _ACEOF
9959 X_LIBS="$X_LIBS -lXext"
9961 X_LIBS="$X_LIBS -lX11"
9963 for ac_header in X11/Xlib.h \
9964 X11/XKBlib.h \
9965 X11/Xutil.h \
9966 X11/Xcursor/Xcursor.h \
9967 X11/extensions/shape.h \
9968 X11/extensions/XInput.h \
9969 X11/extensions/XInput2.h \
9970 X11/extensions/XShm.h \
9971 X11/extensions/Xcomposite.h \
9972 X11/extensions/Xfixes.h \
9973 X11/extensions/Xinerama.h \
9974 X11/extensions/Xrandr.h \
9975 X11/extensions/Xrender.h \
9976 X11/extensions/xf86vmode.h \
9977 X11/extensions/xf86vmproto.h
9978 do :
9979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9981 # include <X11/Xlib.h>
9982 #endif
9983 #ifdef HAVE_X11_XUTIL_H
9984 # include <X11/Xutil.h>
9985 #endif
9987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9988 cat >>confdefs.h <<_ACEOF
9989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9990 _ACEOF
9994 done
9997 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9998 then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10000 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10001 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10012 #ifdef __cplusplus
10013 extern "C"
10014 #endif
10015 char XkbQueryExtension ();
10017 main ()
10019 return XkbQueryExtension ();
10021 return 0;
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 ac_cv_lib_X11_XkbQueryExtension=yes
10026 else
10027 ac_cv_lib_X11_XkbQueryExtension=no
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_lib_save_LIBS
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10034 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10035 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10037 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10043 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10044 then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10046 $as_echo_n "checking for -lXcursor... " >&6; }
10047 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10048 $as_echo_n "(cached) " >&6
10049 else
10050 ac_check_soname_save_LIBS=$LIBS
10051 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10058 #ifdef __cplusplus
10059 extern "C"
10060 #endif
10061 char XcursorImageLoadCursor ();
10063 main ()
10065 return XcursorImageLoadCursor ();
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 case "$LIBEXT" in
10072 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10073 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'` ;;
10074 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10075 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10076 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10077 fi ;;
10078 esac
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_soname_save_LIBS
10084 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10086 $as_echo "not found" >&6; }
10088 else
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10090 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10092 cat >>confdefs.h <<_ACEOF
10093 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10094 _ACEOF
10099 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10100 case "x$with_xcursor" in
10101 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10102 xno) ;;
10103 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10104 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10105 esac
10109 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10110 then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10112 $as_echo_n "checking for -lXi... " >&6; }
10113 if ${ac_cv_lib_soname_Xi+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_soname_save_LIBS=$LIBS
10117 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XOpenDevice ();
10129 main ()
10131 return XOpenDevice ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 case "$LIBEXT" in
10138 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10139 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'` ;;
10140 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10141 if ${ac_cv_lib_soname_Xi:+false} :; then :
10142 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 fi ;;
10144 esac
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_soname_save_LIBS
10150 if ${ac_cv_lib_soname_Xi:+false} :; then :
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10152 $as_echo "not found" >&6; }
10154 else
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10156 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10158 cat >>confdefs.h <<_ACEOF
10159 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10160 _ACEOF
10165 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10166 case "x$with_xinput" in
10167 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10168 xno) ;;
10169 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10170 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10171 esac
10175 if test "x$ac_cv_lib_soname_Xi" != x
10176 then
10177 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10178 case "x$with_xinput2" in
10179 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10180 xno) ;;
10181 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10182 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10183 esac
10188 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10189 then
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10191 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10192 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203 #ifdef __cplusplus
10204 extern "C"
10205 #endif
10206 char XShmQueryExtension ();
10208 main ()
10210 return XShmQueryExtension ();
10212 return 0;
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 ac_cv_lib_Xext_XShmQueryExtension=yes
10217 else
10218 ac_cv_lib_Xext_XShmQueryExtension=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10225 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10226 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10228 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10233 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10234 case "x$with_xshm" in
10235 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10236 xno) ;;
10237 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10238 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10239 esac
10243 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10244 then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10246 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10247 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10248 $as_echo_n "(cached) " >&6
10249 else
10250 ac_check_lib_save_LIBS=$LIBS
10251 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10255 /* Override any GCC internal prototype to avoid an error.
10256 Use char because int might match the return type of a GCC
10257 builtin and then its argument prototype would still apply. */
10258 #ifdef __cplusplus
10259 extern "C"
10260 #endif
10261 char XShapeQueryExtension ();
10263 main ()
10265 return XShapeQueryExtension ();
10267 return 0;
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"; then :
10271 ac_cv_lib_Xext_XShapeQueryExtension=yes
10272 else
10273 ac_cv_lib_Xext_XShapeQueryExtension=no
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_lib_save_LIBS
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10280 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10281 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10283 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10288 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10289 case "x$with_xshape" in
10290 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10291 xno) ;;
10292 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10293 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10294 esac
10298 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10299 then
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10301 $as_echo_n "checking for -lXxf86vm... " >&6; }
10302 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_soname_save_LIBS=$LIBS
10306 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char XF86VidModeQueryExtension ();
10318 main ()
10320 return XF86VidModeQueryExtension ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 case "$LIBEXT" in
10327 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10331 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 fi ;;
10333 esac
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10343 else
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10345 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10347 cat >>confdefs.h <<_ACEOF
10348 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10349 _ACEOF
10354 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10355 case "x$with_xxf86vm" in
10356 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10357 xno) ;;
10358 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10359 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10360 esac
10364 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10365 then
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10367 $as_echo_n "checking for -lXrender... " >&6; }
10368 if ${ac_cv_lib_soname_Xrender+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char XRenderQueryExtension ();
10384 main ()
10386 return XRenderQueryExtension ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10397 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10411 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10415 _ACEOF
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10418 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10419 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10420 $as_echo_n "(cached) " >&6
10421 else
10422 ac_check_lib_save_LIBS=$LIBS
10423 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10430 #ifdef __cplusplus
10431 extern "C"
10432 #endif
10433 char XRenderSetPictureTransform ();
10435 main ()
10437 return XRenderSetPictureTransform ();
10439 return 0;
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10444 else
10445 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 LIBS=$ac_check_lib_save_LIBS
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10452 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10453 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10455 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10460 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10461 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_check_lib_save_LIBS=$LIBS
10465 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 #ifdef __cplusplus
10473 extern "C"
10474 #endif
10475 char XRenderCreateLinearGradient ();
10477 main ()
10479 return XRenderCreateLinearGradient ();
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_link "$LINENO"; then :
10485 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10486 else
10487 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10489 rm -f core conftest.err conftest.$ac_objext \
10490 conftest$ac_exeext conftest.$ac_ext
10491 LIBS=$ac_check_lib_save_LIBS
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10494 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10495 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10497 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10504 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10505 case "x$with_xrender" in
10506 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10507 xno) ;;
10508 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10509 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10510 esac
10514 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10515 then
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10518 #include <X11/Xlib.h>
10519 #include <X11/extensions/Xrandr.h>
10521 main ()
10523 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10525 return 0;
10527 _ACEOF
10528 if ac_fn_c_try_compile "$LINENO"; then :
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10530 $as_echo_n "checking for -lXrandr... " >&6; }
10531 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_check_soname_save_LIBS=$LIBS
10535 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10542 #ifdef __cplusplus
10543 extern "C"
10544 #endif
10545 char XRRQueryExtension ();
10547 main ()
10549 return XRRQueryExtension ();
10551 return 0;
10553 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10555 case "$LIBEXT" in
10556 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10557 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'` ;;
10558 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10559 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10560 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10561 fi ;;
10562 esac
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 LIBS=$ac_check_soname_save_LIBS
10568 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10570 $as_echo "not found" >&6; }
10572 else
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10574 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10576 cat >>confdefs.h <<_ACEOF
10577 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10578 _ACEOF
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10582 #include <X11/Xlib.h>
10583 #include <X11/extensions/Xrandr.h>
10585 main ()
10587 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10589 return 0;
10591 _ACEOF
10592 if ac_fn_c_try_compile "$LINENO"; then :
10594 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10602 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10603 case "x$with_xrandr" in
10604 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10605 xno) ;;
10606 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10607 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10608 esac
10612 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10613 then
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10616 #include <X11/Xlib.h>
10617 #include <X11/extensions/Xfixes.h>
10619 main ()
10621 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10623 return 0;
10625 _ACEOF
10626 if ac_fn_c_try_compile "$LINENO"; then :
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10628 $as_echo_n "checking for -lXfixes... " >&6; }
10629 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_soname_save_LIBS=$LIBS
10633 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char XFixesQueryVersion ();
10645 main ()
10647 return XFixesQueryVersion ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 case "$LIBEXT" in
10654 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10655 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'` ;;
10656 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10657 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10658 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10659 fi ;;
10660 esac
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_soname_save_LIBS
10666 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10668 $as_echo "not found" >&6; }
10670 else
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10672 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10674 cat >>confdefs.h <<_ACEOF
10675 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10676 _ACEOF
10681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10683 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10684 case "x$with_xfixes" in
10685 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10686 xno) ;;
10687 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10688 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10689 esac
10693 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10694 then
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10697 #include <X11/Xlib.h>
10698 #include <X11/extensions/Xinerama.h>
10700 main ()
10702 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10704 return 0;
10706 _ACEOF
10707 if ac_fn_c_try_compile "$LINENO"; then :
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10709 $as_echo_n "checking for -lXinerama... " >&6; }
10710 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_soname_save_LIBS=$LIBS
10714 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char XineramaQueryScreens ();
10726 main ()
10728 return XineramaQueryScreens ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 case "$LIBEXT" in
10735 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10736 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'` ;;
10737 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10738 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10739 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10740 fi ;;
10741 esac
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_soname_save_LIBS
10747 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10749 $as_echo "not found" >&6; }
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10753 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10755 cat >>confdefs.h <<_ACEOF
10756 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10757 _ACEOF
10762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10764 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10765 case "x$with_xinerama" in
10766 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10769 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10770 esac
10774 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10775 then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10777 $as_echo_n "checking for -lXcomposite... " >&6; }
10778 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10779 $as_echo_n "(cached) " >&6
10780 else
10781 ac_check_soname_save_LIBS=$LIBS
10782 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10789 #ifdef __cplusplus
10790 extern "C"
10791 #endif
10792 char XCompositeRedirectWindow ();
10794 main ()
10796 return XCompositeRedirectWindow ();
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10802 case "$LIBEXT" in
10803 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10804 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'` ;;
10805 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10806 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10807 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10808 fi ;;
10809 esac
10811 rm -f core conftest.err conftest.$ac_objext \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_soname_save_LIBS
10815 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10817 $as_echo "not found" >&6; }
10819 else
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10821 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10823 cat >>confdefs.h <<_ACEOF
10824 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10825 _ACEOF
10830 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10831 case "x$with_xcomposite" in
10832 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10833 xno) ;;
10834 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10835 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10836 esac
10840 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10841 #include <X11/Xlib.h>
10842 #endif
10844 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10846 cat >>confdefs.h <<_ACEOF
10847 #define HAVE_XICCALLBACK_CALLBACK 1
10848 _ACEOF
10852 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10853 #include <X11/Xlib.h>
10854 #endif
10856 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10858 cat >>confdefs.h <<_ACEOF
10859 #define HAVE_XEVENT_XCOOKIE 1
10860 _ACEOF
10867 opengl_msg=""
10868 if test "x$with_opengl" != "xno"
10869 then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10871 $as_echo_n "checking for -lGL... " >&6; }
10872 if ${ac_cv_lib_soname_GL+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_soname_save_LIBS=$LIBS
10876 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char glXCreateContext ();
10888 main ()
10890 return glXCreateContext ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 case "$LIBEXT" in
10897 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10900 if ${ac_cv_lib_soname_GL:+false} :; then :
10901 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10902 fi ;;
10903 esac
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_soname_save_LIBS
10909 if ${ac_cv_lib_soname_GL:+false} :; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10913 $as_echo_n "checking for -lGL... " >&6; }
10914 if ${ac_cv_lib_soname_GL+:} false; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 ac_check_soname_save_LIBS=$LIBS
10918 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"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10925 #ifdef __cplusplus
10926 extern "C"
10927 #endif
10928 char glXCreateContext ();
10930 main ()
10932 return glXCreateContext ();
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 case "$LIBEXT" in
10939 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10940 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'` ;;
10941 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10942 if ${ac_cv_lib_soname_GL:+false} :; then :
10943 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10944 fi ;;
10945 esac
10947 rm -f core conftest.err conftest.$ac_objext \
10948 conftest$ac_exeext conftest.$ac_ext
10949 LIBS=$ac_check_soname_save_LIBS
10951 if ${ac_cv_lib_soname_GL:+false} :; then :
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10953 $as_echo "not found" >&6; }
10954 if test -f /usr/X11R6/lib/libGL.a
10955 then
10956 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10957 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10958 else
10959 opengl_msg="No OpenGL library found on this system."
10961 else
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10963 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10965 cat >>confdefs.h <<_ACEOF
10966 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10967 _ACEOF
10969 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"
10971 else
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10973 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10975 cat >>confdefs.h <<_ACEOF
10976 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10977 _ACEOF
10979 OPENGL_LIBS="-lGL"
10981 if test "x$with_glu" != "xno"
10982 then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10984 $as_echo_n "checking for -lGLU... " >&6; }
10985 if ${ac_cv_lib_soname_GLU+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_soname_save_LIBS=$LIBS
10989 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char gluLookAt ();
11001 main ()
11003 return gluLookAt ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 case "$LIBEXT" in
11010 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11011 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'` ;;
11012 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11013 if ${ac_cv_lib_soname_GLU:+false} :; then :
11014 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11015 fi ;;
11016 esac
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_soname_save_LIBS
11022 if ${ac_cv_lib_soname_GLU:+false} :; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11024 $as_echo "not found" >&6; }
11026 else
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11028 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11030 cat >>confdefs.h <<_ACEOF
11031 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11032 _ACEOF
11036 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11037 case "x$with_glu" in
11038 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11039 xno) ;;
11040 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11041 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11042 esac
11047 if test "x$with_osmesa" != "xno"
11048 then
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11050 $as_echo_n "checking for -lOSMesa... " >&6; }
11051 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_soname_save_LIBS=$LIBS
11055 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char OSMesaGetProcAddress ();
11067 main ()
11069 return OSMesaGetProcAddress ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 case "$LIBEXT" in
11076 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11077 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'` ;;
11078 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11079 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11080 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11081 fi ;;
11082 esac
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_soname_save_LIBS
11088 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11092 else
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11094 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11098 _ACEOF
11102 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11103 case "x$with_osmesa" in
11104 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11105 xno) ;;
11106 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11107 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11108 esac
11113 if test -n "$opengl_msg"; then :
11114 case "x$with_opengl" in
11115 x) as_fn_append wine_warnings "|$opengl_msg
11116 OpenGL and Direct3D won't be supported." ;;
11117 xno) ;;
11118 *) as_fn_error $? "$opengl_msg
11119 OpenGL and Direct3D won't be supported.
11120 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11121 esac
11125 CPPFLAGS="$ac_save_CPPFLAGS"
11126 else
11127 X_CFLAGS=""
11128 X_LIBS=""
11131 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11132 then
11133 if test "x$X_LIBS" = "x"; then :
11134 case "x$with_x" in
11135 xno) ;;
11136 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11137 without X support, which probably isn't what you want. You will need
11138 to install ${notice_platform}development packages of Xlib at the very least.
11139 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11140 esac
11141 enable_winex11_drv=${enable_winex11_drv:-no}
11143 else
11144 if test "x$X_LIBS" = "x"; then :
11145 case "x$with_x" in
11146 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11147 xno) ;;
11148 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11149 This is an error since --with-x was requested." "$LINENO" 5 ;;
11150 esac
11151 enable_winex11_drv=${enable_winex11_drv:-no}
11155 if test "$ac_cv_header_CL_cl_h" = "yes"
11156 then
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11158 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11159 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11160 $as_echo_n "(cached) " >&6
11161 else
11162 ac_check_lib_save_LIBS=$LIBS
11163 LIBS="-lOpenCL $LIBS"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char clGetPlatformInfo ();
11175 main ()
11177 return clGetPlatformInfo ();
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"; then :
11183 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11184 else
11185 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11187 rm -f core conftest.err conftest.$ac_objext \
11188 conftest$ac_exeext conftest.$ac_ext
11189 LIBS=$ac_check_lib_save_LIBS
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11192 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11193 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11194 OPENCL_LIBS="-lOpenCL"
11199 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11200 case "x$with_opencl" in
11201 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11202 xno) ;;
11203 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11204 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11205 esac
11206 enable_opencl=${enable_opencl:-no}
11209 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11210 then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11212 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11213 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11214 $as_echo_n "(cached) " >&6
11215 else
11216 ac_check_lib_save_LIBS=$LIBS
11217 LIBS="-lpcap $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char pcap_create ();
11229 main ()
11231 return pcap_create ();
11233 return 0;
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 ac_cv_lib_pcap_pcap_create=yes
11238 else
11239 ac_cv_lib_pcap_pcap_create=no
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11246 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11247 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11248 PCAP_LIBS="-lpcap"
11253 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11254 case "x$with_pcap" in
11255 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11256 xno) ;;
11257 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11258 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11259 esac
11260 enable_wpcap=${enable_wpcap:-no}
11264 if test "x$with_xml" != "xno"
11265 then
11266 if ${XML2_CFLAGS:+false} :; then :
11267 if ${PKG_CONFIG+:} false; then :
11268 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11271 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11272 if ${XML2_LIBS:+false} :; then :
11273 if ${PKG_CONFIG+:} false; then :
11274 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11277 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11278 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11279 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11280 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11281 ac_save_CPPFLAGS=$CPPFLAGS
11282 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11283 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11284 do :
11285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11286 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11287 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11288 cat >>confdefs.h <<_ACEOF
11289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11290 _ACEOF
11294 done
11296 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"
11297 then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11299 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11300 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-lxml2 $XML2_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char xmlParseMemory ();
11316 main ()
11318 return xmlParseMemory ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 ac_cv_lib_xml2_xmlParseMemory=yes
11325 else
11326 ac_cv_lib_xml2_xmlParseMemory=no
11328 rm -f core conftest.err conftest.$ac_objext \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11333 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11334 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11336 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11338 else
11339 XML2_LIBS=""
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11343 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11344 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lxml2 $XML2_LIBS $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char xmlReadMemory ();
11360 main ()
11362 return xmlReadMemory ();
11364 return 0;
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 ac_cv_lib_xml2_xmlReadMemory=yes
11369 else
11370 ac_cv_lib_xml2_xmlReadMemory=no
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11377 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11378 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11380 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11385 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11386 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lxml2 $XML2_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char xmlNewDocPI ();
11402 main ()
11404 return xmlNewDocPI ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_xml2_xmlNewDocPI=yes
11411 else
11412 ac_cv_lib_xml2_xmlNewDocPI=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11419 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11420 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11422 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11427 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11428 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-lxml2 $XML2_LIBS $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char xmlSchemaSetParserStructuredErrors ();
11444 main ()
11446 return xmlSchemaSetParserStructuredErrors ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11453 else
11454 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11461 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11462 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11464 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11469 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11470 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lxml2 $XML2_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char xmlSchemaSetValidStructuredErrors ();
11486 main ()
11488 return xmlSchemaSetValidStructuredErrors ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11495 else
11496 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11503 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11504 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11506 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11511 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11512 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-lxml2 $XML2_LIBS $LIBS"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char xmlFirstElementChild ();
11528 main ()
11530 return xmlFirstElementChild ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 ac_cv_lib_xml2_xmlFirstElementChild=yes
11537 else
11538 ac_cv_lib_xml2_xmlFirstElementChild=no
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_lib_save_LIBS
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11545 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11546 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11548 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11552 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11554 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11556 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11560 else
11561 XML2_CFLAGS=""
11562 XML2_LIBS=""
11564 CPPFLAGS=$ac_save_CPPFLAGS
11565 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11566 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11569 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11570 case "x$with_xml" in
11571 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11572 xno) ;;
11573 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11574 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11575 esac
11579 if test "x$with_xslt" != "xno"
11580 then
11581 if ${XSLT_CFLAGS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11586 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11587 if ${XSLT_LIBS:+false} :; then :
11588 if ${PKG_CONFIG+:} false; then :
11589 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11592 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11593 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11594 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11596 ac_save_CPPFLAGS=$CPPFLAGS
11597 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11598 for ac_header in libxslt/pattern.h libxslt/transform.h
11599 do :
11600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11601 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11602 # include <libxslt/pattern.h>
11603 #endif
11605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11606 cat >>confdefs.h <<_ACEOF
11607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11608 _ACEOF
11612 done
11614 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11615 then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11617 $as_echo_n "checking for -lxslt... " >&6; }
11618 if ${ac_cv_lib_soname_xslt+:} false; then :
11619 $as_echo_n "(cached) " >&6
11620 else
11621 ac_check_soname_save_LIBS=$LIBS
11622 LIBS="-lxslt $XSLT_LIBS $LIBS"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char xsltCompilePattern ();
11634 main ()
11636 return xsltCompilePattern ();
11638 return 0;
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"; then :
11642 case "$LIBEXT" in
11643 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11644 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'` ;;
11645 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11646 if ${ac_cv_lib_soname_xslt:+false} :; then :
11647 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11648 fi ;;
11649 esac
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_soname_save_LIBS
11655 if ${ac_cv_lib_soname_xslt:+false} :; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11657 $as_echo "not found" >&6; }
11659 else
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11661 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11663 cat >>confdefs.h <<_ACEOF
11664 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11665 _ACEOF
11669 else
11670 XSLT_CFLAGS=""
11672 CPPFLAGS=$ac_save_CPPFLAGS
11673 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11674 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11677 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11678 case "x$with_xslt" in
11679 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11680 xno) ;;
11681 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11682 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11683 esac
11687 if test "x$with_dbus" != "xno"
11688 then
11689 if ${DBUS_CFLAGS:+false} :; then :
11690 if ${PKG_CONFIG+:} false; then :
11691 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11695 if ${DBUS_LIBS:+false} :; then :
11696 if ${PKG_CONFIG+:} false; then :
11697 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11702 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11703 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11704 ac_save_CPPFLAGS=$CPPFLAGS
11705 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11706 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11707 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11709 $as_echo_n "checking for -ldbus-1... " >&6; }
11710 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 ac_check_soname_save_LIBS=$LIBS
11714 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11721 #ifdef __cplusplus
11722 extern "C"
11723 #endif
11724 char dbus_connection_close ();
11726 main ()
11728 return dbus_connection_close ();
11730 return 0;
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"; then :
11734 case "$LIBEXT" in
11735 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11736 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'` ;;
11737 *) 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'`
11738 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11739 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11740 fi ;;
11741 esac
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_soname_save_LIBS
11747 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11749 $as_echo "not found" >&6; }
11750 DBUS_CFLAGS=""
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11753 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11755 cat >>confdefs.h <<_ACEOF
11756 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11757 _ACEOF
11761 else
11762 DBUS_CFLAGS=""
11766 CPPFLAGS=$ac_save_CPPFLAGS
11767 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11768 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11771 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11772 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11773 case "x$with_dbus" in
11774 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11777 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11778 esac
11782 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11783 then
11784 if ${HAL_CFLAGS:+false} :; then :
11785 if ${PKG_CONFIG+:} false; then :
11786 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11790 if ${HAL_LIBS:+false} :; then :
11791 if ${PKG_CONFIG+:} false; then :
11792 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11796 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11797 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11798 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11799 ac_save_CPPFLAGS=$CPPFLAGS
11800 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11801 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11802 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11804 $as_echo_n "checking for -lhal... " >&6; }
11805 if ${ac_cv_lib_soname_hal+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lhal $HAL_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char libhal_ctx_new ();
11821 main ()
11823 return libhal_ctx_new ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_hal:+false} :; then :
11834 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if ${ac_cv_lib_soname_hal:+false} :; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11845 HAL_CFLAGS=""
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11848 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11852 _ACEOF
11856 else
11857 HAL_CFLAGS=""
11861 CPPFLAGS=$ac_save_CPPFLAGS
11862 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11863 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11865 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11866 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11867 case "x$with_hal" in
11868 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11869 xno) ;;
11870 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11871 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11872 esac
11877 if test "x$with_gnutls" != "xno"
11878 then
11879 if ${GNUTLS_CFLAGS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11885 if ${GNUTLS_LIBS:+false} :; then :
11886 if ${PKG_CONFIG+:} false; then :
11887 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11892 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11893 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11894 ac_save_CPPFLAGS=$CPPFLAGS
11895 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11896 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11897 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 #include <gnutls/gnutls.h>
11901 #include <gnutls/crypto.h>
11903 main ()
11905 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_compile "$LINENO"; then :
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11912 $as_echo_n "checking for -lgnutls... " >&6; }
11913 if ${ac_cv_lib_soname_gnutls+:} false; then :
11914 $as_echo_n "(cached) " >&6
11915 else
11916 ac_check_soname_save_LIBS=$LIBS
11917 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11924 #ifdef __cplusplus
11925 extern "C"
11926 #endif
11927 char gnutls_global_init ();
11929 main ()
11931 return gnutls_global_init ();
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 case "$LIBEXT" in
11938 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11939 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'` ;;
11940 *) 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'`
11941 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11942 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'`
11943 fi ;;
11944 esac
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_soname_save_LIBS
11950 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11952 $as_echo "not found" >&6; }
11953 GNUTLS_CFLAGS=""
11954 else
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11956 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11958 cat >>confdefs.h <<_ACEOF
11959 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11960 _ACEOF
11964 ac_wine_check_funcs_save_LIBS="$LIBS"
11965 LIBS="$LIBS $GNUTLS_LIBS"
11966 for ac_func in gnutls_hash
11967 do :
11968 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11969 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11970 cat >>confdefs.h <<_ACEOF
11971 #define HAVE_GNUTLS_HASH 1
11972 _ACEOF
11974 else
11975 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11977 done
11979 LIBS="$ac_wine_check_funcs_save_LIBS"
11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11982 else
11983 GNUTLS_CFLAGS=""
11987 CPPFLAGS=$ac_save_CPPFLAGS
11988 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11989 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11992 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11993 case "x$with_gnutls" in
11994 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11995 xno) ;;
11996 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11997 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11998 esac
12002 CURSES_LIBS=""
12003 if test "$ac_cv_header_ncurses_h" = "yes"
12004 then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12006 $as_echo_n "checking for -lncurses... " >&6; }
12007 if ${ac_cv_lib_soname_ncurses+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_soname_save_LIBS=$LIBS
12011 LIBS="-lncurses $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char waddch ();
12023 main ()
12025 return waddch ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 case "$LIBEXT" in
12032 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12033 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'` ;;
12034 *) 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'`
12035 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12036 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12037 fi ;;
12038 esac
12040 rm -f core conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042 LIBS=$ac_check_soname_save_LIBS
12044 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12046 $as_echo "not found" >&6; }
12048 else
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12050 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12052 cat >>confdefs.h <<_ACEOF
12053 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12054 _ACEOF
12056 CURSES_LIBS="-lncurses"
12058 elif test "$ac_cv_header_curses_h" = "yes"
12059 then
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12061 $as_echo_n "checking for -lcurses... " >&6; }
12062 if ${ac_cv_lib_soname_curses+:} false; then :
12063 $as_echo_n "(cached) " >&6
12064 else
12065 ac_check_soname_save_LIBS=$LIBS
12066 LIBS="-lcurses $LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 /* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073 #ifdef __cplusplus
12074 extern "C"
12075 #endif
12076 char waddch ();
12078 main ()
12080 return waddch ();
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_link "$LINENO"; then :
12086 case "$LIBEXT" in
12087 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12088 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'` ;;
12089 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12090 if ${ac_cv_lib_soname_curses:+false} :; then :
12091 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12092 fi ;;
12093 esac
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_soname_save_LIBS
12099 if ${ac_cv_lib_soname_curses:+false} :; then :
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12101 $as_echo "not found" >&6; }
12103 else
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12105 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12107 cat >>confdefs.h <<_ACEOF
12108 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12109 _ACEOF
12111 CURSES_LIBS="-lcurses"
12114 ac_save_LIBS="$LIBS"
12115 LIBS="$LIBS $CURSES_LIBS"
12116 for ac_func in mousemask
12117 do :
12118 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12119 if test "x$ac_cv_func_mousemask" = xyes; then :
12120 cat >>confdefs.h <<_ACEOF
12121 #define HAVE_MOUSEMASK 1
12122 _ACEOF
12125 done
12127 LIBS="$ac_save_LIBS"
12128 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12129 case "x$with_curses" in
12130 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12131 xno) ;;
12132 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12133 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12134 esac
12138 if test "x$with_sane" != "xno"
12139 then
12140 if ${SANE_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12145 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12146 if ${SANE_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12151 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12157 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12160 $as_echo_n "checking for -lsane... " >&6; }
12161 if ${ac_cv_lib_soname_sane+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_soname_save_LIBS=$LIBS
12165 LIBS="-lsane $SANE_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char sane_init ();
12177 main ()
12179 return sane_init ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 case "$LIBEXT" in
12186 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12187 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'` ;;
12188 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12189 if ${ac_cv_lib_soname_sane:+false} :; then :
12190 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12191 fi ;;
12192 esac
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_soname_save_LIBS
12198 if ${ac_cv_lib_soname_sane:+false} :; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12200 $as_echo "not found" >&6; }
12201 SANE_CFLAGS=""
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12204 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12206 cat >>confdefs.h <<_ACEOF
12207 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12208 _ACEOF
12212 else
12213 SANE_CFLAGS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12223 case "x$with_sane" in
12224 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12227 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12228 esac
12232 if test "x$with_v4l" != "xno"
12233 then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12235 $as_echo_n "checking for -lv4l1... " >&6; }
12236 if ${ac_cv_lib_soname_v4l1+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_check_soname_save_LIBS=$LIBS
12240 LIBS="-lv4l1 $LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char v4l1_open ();
12252 main ()
12254 return v4l1_open ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 case "$LIBEXT" in
12261 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12262 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'` ;;
12263 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12264 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12265 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12266 fi ;;
12267 esac
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_soname_save_LIBS
12273 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12275 $as_echo "not found" >&6; }
12277 else
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12279 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12281 cat >>confdefs.h <<_ACEOF
12282 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12283 _ACEOF
12288 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12289 case "x$with_v4l" in
12290 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12291 xno) ;;
12292 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12293 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12294 esac
12298 if test "x$with_gphoto" != "xno"
12299 then
12300 if ${GPHOTO2_CFLAGS:+false} :; then :
12301 if ${PKG_CONFIG+:} false; then :
12302 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12305 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12306 if ${GPHOTO2_LIBS:+false} :; then :
12307 if ${PKG_CONFIG+:} false; then :
12308 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12311 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12312 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12313 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12314 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12315 ac_save_CPPFLAGS=$CPPFLAGS
12316 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12317 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12318 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12320 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12321 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_lib_save_LIBS=$LIBS
12325 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char gp_camera_new ();
12337 main ()
12339 return gp_camera_new ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_lib_gphoto2_gp_camera_new=yes
12346 else
12347 ac_cv_lib_gphoto2_gp_camera_new=no
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12354 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12355 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12357 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12359 else
12360 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12363 else
12364 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12368 CPPFLAGS=$ac_save_CPPFLAGS
12369 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12370 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12372 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12373 if ${PKG_CONFIG+:} false; then :
12374 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12377 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12378 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12379 if ${PKG_CONFIG+:} false; then :
12380 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12383 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12384 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12385 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12386 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12387 ac_save_CPPFLAGS=$CPPFLAGS
12388 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12389 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12390 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12392 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12393 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_lib_save_LIBS=$LIBS
12397 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char gp_port_info_list_new ();
12409 main ()
12411 return gp_port_info_list_new ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12418 else
12419 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12426 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12427 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12429 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12431 else
12432 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12435 else
12436 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12440 CPPFLAGS=$ac_save_CPPFLAGS
12441 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12442 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12445 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12446 case "x$with_gphoto" in
12447 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12448 xno) ;;
12449 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12450 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12451 esac
12454 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12455 case "x$with_gphoto" in
12456 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12457 xno) ;;
12458 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12459 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12460 esac
12465 if test "$ac_cv_header_resolv_h" = "yes"
12466 then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12468 $as_echo_n "checking for resolver library... " >&6; }
12469 if ${ac_cv_have_resolv+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_save_LIBS="$LIBS"
12473 for lib in '' -lresolv
12475 LIBS="$lib $ac_save_LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12478 #ifdef HAVE_NETINET_IN_H
12479 #include <netinet/in.h>
12480 #endif
12481 #include <resolv.h>
12483 main ()
12485 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 ac_cv_have_resolv=${lib:-"none required"}
12492 else
12493 ac_cv_have_resolv="not found"
12495 rm -f core conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 test "x$ac_cv_have_resolv" = "xnot found" || break
12498 done
12499 LIBS="$ac_save_LIBS"
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12502 $as_echo "$ac_cv_have_resolv" >&6; }
12504 case "$ac_cv_have_resolv" in
12505 "not found") ;;
12506 "none required")
12508 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12511 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12513 RESOLV_LIBS=$ac_cv_have_resolv
12515 esac
12518 if test "x$with_cms" != "xno"
12519 then
12520 if ${LCMS2_CFLAGS:+false} :; then :
12521 if ${PKG_CONFIG+:} false; then :
12522 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12526 if ${LCMS2_LIBS:+false} :; then :
12527 if ${PKG_CONFIG+:} false; then :
12528 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12532 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12533 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12534 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12535 ac_save_CPPFLAGS=$CPPFLAGS
12536 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12537 for ac_header in lcms2.h
12538 do :
12539 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12540 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12541 cat >>confdefs.h <<_ACEOF
12542 #define HAVE_LCMS2_H 1
12543 _ACEOF
12547 done
12549 if test "$ac_cv_header_lcms2_h" = "yes"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12552 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12553 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char cmsOpenProfileFromFile ();
12569 main ()
12571 return cmsOpenProfileFromFile ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12578 else
12579 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12586 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12587 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12589 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12591 else
12592 LCMS2_LIBS=""
12595 else
12596 LCMS2_CFLAGS=""
12597 LCMS2_LIBS=""
12599 CPPFLAGS=$ac_save_CPPFLAGS
12600 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12601 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12604 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12605 case "x$with_cms" in
12606 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12607 xno) ;;
12608 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12609 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12610 esac
12614 if test "x$with_freetype" != "xno"
12615 then
12616 if ${FREETYPE_CFLAGS:+false} :; then :
12617 if ${PKG_CONFIG+:} false; then :
12618 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12621 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12622 if ${FREETYPE_LIBS:+false} :; then :
12623 if ${PKG_CONFIG+:} false; then :
12624 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12627 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12628 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12629 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12630 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12631 ac_save_CPPFLAGS=$CPPFLAGS
12632 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12633 for ac_header in ft2build.h
12634 do :
12635 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12636 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12637 cat >>confdefs.h <<_ACEOF
12638 #define HAVE_FT2BUILD_H 1
12639 _ACEOF
12643 done
12645 if test "$ac_cv_header_ft2build_h" = "yes"
12646 then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12648 $as_echo_n "checking for -lfreetype... " >&6; }
12649 if ${ac_cv_lib_soname_freetype+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_soname_save_LIBS=$LIBS
12653 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char FT_Init_FreeType ();
12665 main ()
12667 return FT_Init_FreeType ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 case "$LIBEXT" in
12674 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12675 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'` ;;
12676 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12677 if ${ac_cv_lib_soname_freetype:+false} :; then :
12678 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12679 fi ;;
12680 esac
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_freetype:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12689 FREETYPE_LIBS=""
12690 else
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12692 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12694 cat >>confdefs.h <<_ACEOF
12695 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12696 _ACEOF
12699 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12701 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12702 #include FT_MODULE_H
12704 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12706 cat >>confdefs.h <<_ACEOF
12707 #define HAVE_FT_TRUETYPEENGINETYPE 1
12708 _ACEOF
12714 else
12715 FREETYPE_CFLAGS=""
12716 FREETYPE_LIBS=""
12718 CPPFLAGS=$ac_save_CPPFLAGS
12719 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test "x$ac_cv_lib_soname_freetype" = x; then :
12724 case "x$with_freetype" in
12725 xno) ;;
12726 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12727 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12728 esac
12729 enable_fonts=${enable_fonts:-no}
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12733 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12734 if ${ac_cv_c_ppdev+:} false; then :
12735 $as_echo_n "(cached) " >&6
12736 else
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #ifdef HAVE_SYS_IOCTL_H
12740 # include <sys/ioctl.h>
12741 #endif
12742 #include <linux/ppdev.h>
12744 main ()
12746 ioctl (1,PPCLAIM,0)
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"; then :
12752 ac_cv_c_ppdev="yes"
12753 else
12754 ac_cv_c_ppdev="no"
12756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12759 $as_echo "$ac_cv_c_ppdev" >&6; }
12760 if test "$ac_cv_c_ppdev" = "yes"
12761 then
12763 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12767 ac_wine_check_funcs_save_LIBS="$LIBS"
12768 LIBS="$LIBS $PTHREAD_LIBS"
12769 for ac_func in \
12770 pthread_attr_get_np \
12771 pthread_getattr_np \
12772 pthread_getthreadid_np \
12773 pthread_get_stackaddr_np \
12774 pthread_get_stacksize_np
12775 do :
12776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12778 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12779 cat >>confdefs.h <<_ACEOF
12780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12781 _ACEOF
12784 done
12786 LIBS="$ac_wine_check_funcs_save_LIBS"
12788 if test "$ac_cv_header_zlib_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12791 $as_echo_n "checking for inflate in -lz... " >&6; }
12792 if ${ac_cv_lib_z_inflate+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lz $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char inflate ();
12808 main ()
12810 return inflate ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_z_inflate=yes
12817 else
12818 ac_cv_lib_z_inflate=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12825 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12826 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12828 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12830 Z_LIBS="-lz"
12835 if test "x$Z_LIBS" = "x"; then :
12836 case "x$with_zlib" in
12837 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12840 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12841 esac
12845 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12846 then
12847 if test "$ac_cv_header_gettext_po_h" = "yes"
12848 then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12850 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12851 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 ac_check_lib_save_LIBS=$LIBS
12855 LIBS="-lgettextpo $LIBS"
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12862 #ifdef __cplusplus
12863 extern "C"
12864 #endif
12865 char po_message_msgctxt ();
12867 main ()
12869 return po_message_msgctxt ();
12871 return 0;
12873 _ACEOF
12874 if ac_fn_c_try_link "$LINENO"; then :
12875 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12876 else
12877 ac_cv_lib_gettextpo_po_message_msgctxt=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12884 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12885 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12887 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12889 GETTEXTPO_LIBS="-lgettextpo"
12894 if test "x$GETTEXTPO_LIBS" = "x"; then :
12895 case "x$with_gettextpo" in
12896 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12897 xno) ;;
12898 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12899 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12900 esac
12903 if test "$srcdir" != .; then :
12904 case "x$with_gettextpo" in
12905 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12906 xno) ;;
12907 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12908 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12909 esac
12914 if test "x$with_pulse" != "xno";
12915 then
12916 if ${PULSE_CFLAGS:+false} :; then :
12917 if ${PKG_CONFIG+:} false; then :
12918 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12922 if ${PULSE_LIBS:+false} :; then :
12923 if ${PKG_CONFIG+:} false; then :
12924 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12929 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12930 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12931 ac_save_CPPFLAGS=$CPPFLAGS
12932 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12933 for ac_header in pulse/pulseaudio.h
12934 do :
12935 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12936 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12937 cat >>confdefs.h <<_ACEOF
12938 #define HAVE_PULSE_PULSEAUDIO_H 1
12939 _ACEOF
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12941 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12942 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12943 $as_echo_n "(cached) " >&6
12944 else
12945 ac_check_lib_save_LIBS=$LIBS
12946 LIBS="-lpulse $PULSE_LIBS $LIBS"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12953 #ifdef __cplusplus
12954 extern "C"
12955 #endif
12956 char pa_stream_is_corked ();
12958 main ()
12960 return pa_stream_is_corked ();
12962 return 0;
12964 _ACEOF
12965 if ac_fn_c_try_link "$LINENO"; then :
12966 ac_cv_lib_pulse_pa_stream_is_corked=yes
12967 else
12968 ac_cv_lib_pulse_pa_stream_is_corked=no
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_lib_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12975 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12976 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12978 else
12979 PULSE_LIBS=""
12982 else
12983 PULSE_LIBS=""
12986 done
12988 CPPFLAGS=$ac_save_CPPFLAGS
12989 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12990 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12993 if test -z "$PULSE_LIBS"; then :
12994 case "x$with_pulse" in
12995 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12996 xno) ;;
12997 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12998 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12999 esac
13000 enable_winepulse_drv=${enable_winepulse_drv:-no}
13003 if test "x$with_gstreamer" != "xno"
13004 then
13005 if ${GSTREAMER_CFLAGS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13011 if ${GSTREAMER_LIBS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13018 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13020 ac_save_CPPFLAGS=$CPPFLAGS
13021 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13022 ac_gst_incl=""
13023 for i in $GSTREAMER_CFLAGS
13025 case "$i" in
13026 -I*) ac_gst_incl="$ac_gst_incl $i";;
13027 esac
13028 done
13029 GSTREAMER_CFLAGS=$ac_gst_incl
13030 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13031 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13032 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13034 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037 #include <gst/gst.h>
13039 main ()
13041 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_compile "$LINENO"; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13048 $as_echo "yes" >&6; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13050 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13051 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053 else
13054 ac_check_lib_save_LIBS=$LIBS
13055 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 #ifdef __cplusplus
13063 extern "C"
13064 #endif
13065 char gst_pad_new ();
13067 main ()
13069 return gst_pad_new ();
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_link "$LINENO"; then :
13075 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13076 else
13077 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 LIBS=$ac_check_lib_save_LIBS
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13084 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13085 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13089 else
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13091 $as_echo "no" >&6; }
13092 ac_glib2_broken=yes
13093 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13099 CPPFLAGS=$ac_save_CPPFLAGS
13100 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13101 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13104 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 :
13105 case "x$with_gstreamer" in
13106 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13107 xno) ;;
13108 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13109 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13110 esac
13113 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13115 ALSA_LIBS=""
13117 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13118 then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13120 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13121 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_lib_save_LIBS=$LIBS
13125 LIBS="-lasound $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char snd_pcm_hw_params_get_access_mask ();
13137 main ()
13139 return snd_pcm_hw_params_get_access_mask ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13146 else
13147 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13149 rm -f core conftest.err conftest.$ac_objext \
13150 conftest$ac_exeext conftest.$ac_ext
13151 LIBS=$ac_check_lib_save_LIBS
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13154 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13155 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13158 #ifdef HAVE_ALSA_ASOUNDLIB_H
13159 #include <alsa/asoundlib.h>
13160 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13161 #include <sys/asoundlib.h>
13162 #endif
13164 main ()
13166 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_compile "$LINENO"; then :
13172 ALSA_LIBS="-lasound"
13174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13178 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13180 if test "x$with_oss" != xno
13181 then
13182 ac_save_CPPFLAGS="$CPPFLAGS"
13183 if test -f /etc/oss.conf
13184 then
13185 . /etc/oss.conf
13187 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13188 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13189 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13191 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13193 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13197 _ACEOF
13199 OSS4_CFLAGS="$ac_oss_incl"
13206 CPPFLAGS="$ac_save_CPPFLAGS"
13208 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13209 case "x$with_oss" in
13210 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13211 xno) ;;
13212 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13213 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13214 esac
13215 enable_wineoss_drv=${enable_wineoss_drv:-no}
13218 if test "x$with_udev" != "xno"
13219 then
13220 if ${UDEV_CFLAGS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13226 if ${UDEV_LIBS:+false} :; then :
13227 if ${PKG_CONFIG+:} false; then :
13228 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13232 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13233 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13234 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13235 ac_save_CPPFLAGS=$CPPFLAGS
13236 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13237 for ac_header in libudev.h
13238 do :
13239 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13240 if test "x$ac_cv_header_libudev_h" = xyes; then :
13241 cat >>confdefs.h <<_ACEOF
13242 #define HAVE_LIBUDEV_H 1
13243 _ACEOF
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13245 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13246 if ${ac_cv_lib_udev_udev_new+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_lib_save_LIBS=$LIBS
13250 LIBS="-ludev $UDEV_LIBS $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char udev_new ();
13262 main ()
13264 return udev_new ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 ac_cv_lib_udev_udev_new=yes
13271 else
13272 ac_cv_lib_udev_udev_new=no
13274 rm -f core conftest.err conftest.$ac_objext \
13275 conftest$ac_exeext conftest.$ac_ext
13276 LIBS=$ac_check_lib_save_LIBS
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13279 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13280 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13282 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13284 else
13285 UDEV_LIBS=""
13288 else
13289 UDEV_LIBS=""
13292 done
13294 CPPFLAGS=$ac_save_CPPFLAGS
13295 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13296 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13299 if test "x$UDEV_LIBS" = "x"; then :
13300 case "x$with_udev" in
13301 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13302 xno) ;;
13303 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13304 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13305 esac
13309 if test "x$with_capi" != "xno"
13310 then
13311 if ${CAPI20_CFLAGS:+false} :; then :
13312 if ${PKG_CONFIG+:} false; then :
13313 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13317 if ${CAPI20_LIBS:+false} :; then :
13318 if ${PKG_CONFIG+:} false; then :
13319 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13324 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13325 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13326 ac_save_CPPFLAGS=$CPPFLAGS
13327 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13328 for ac_header in capi20.h linux/capi.h
13329 do :
13330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13333 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13334 cat >>confdefs.h <<_ACEOF
13335 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13336 _ACEOF
13340 done
13342 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13343 then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13345 $as_echo_n "checking for -lcapi20... " >&6; }
13346 if ${ac_cv_lib_soname_capi20+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char capi20_register ();
13362 main ()
13364 return capi20_register ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13374 if ${ac_cv_lib_soname_capi20:+false} :; then :
13375 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13379 rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_soname_save_LIBS
13383 if ${ac_cv_lib_soname_capi20:+false} :; then :
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13385 $as_echo "not found" >&6; }
13387 else
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13389 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13391 cat >>confdefs.h <<_ACEOF
13392 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13393 _ACEOF
13398 CPPFLAGS=$ac_save_CPPFLAGS
13399 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13400 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13403 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13404 case "x$with_capi" in
13405 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13406 xno) ;;
13407 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13408 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13409 esac
13413 CUPS_CFLAGS=""
13415 if test "x$with_cups" != "xno"
13416 then
13417 ac_save_CPPFLAGS="$CPPFLAGS"
13418 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13419 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13420 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13421 for ac_header in cups/cups.h
13422 do :
13423 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13424 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13425 cat >>confdefs.h <<_ACEOF
13426 #define HAVE_CUPS_CUPS_H 1
13427 _ACEOF
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13429 $as_echo_n "checking for -lcups... " >&6; }
13430 if ${ac_cv_lib_soname_cups+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lcups $ac_cups_libs $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char cupsGetDefault ();
13446 main ()
13448 return cupsGetDefault ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_cups:+false} :; then :
13459 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_cups:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13473 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13477 _ACEOF
13479 CUPS_CFLAGS="$ac_cups_cflags"
13481 for ac_header in cups/ppd.h
13482 do :
13483 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_CUPS_PPD_H 1
13487 _ACEOF
13491 done
13495 done
13497 CPPFLAGS="$ac_save_CPPFLAGS"
13499 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13500 case "x$with_cups" in
13501 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13502 xno) ;;
13503 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13504 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13505 esac
13509 if test "x$with_fontconfig" != "xno"
13510 then
13511 if ${FONTCONFIG_CFLAGS:+false} :; then :
13512 if ${PKG_CONFIG+:} false; then :
13513 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13516 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13517 if ${FONTCONFIG_LIBS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13522 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13524 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13525 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13526 ac_save_CPPFLAGS=$CPPFLAGS
13527 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13528 for ac_header in fontconfig/fontconfig.h
13529 do :
13530 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13531 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13532 cat >>confdefs.h <<_ACEOF
13533 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13534 _ACEOF
13538 done
13540 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13541 then
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13543 $as_echo_n "checking for -lfontconfig... " >&6; }
13544 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13545 $as_echo_n "(cached) " >&6
13546 else
13547 ac_check_soname_save_LIBS=$LIBS
13548 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13552 /* Override any GCC internal prototype to avoid an error.
13553 Use char because int might match the return type of a GCC
13554 builtin and then its argument prototype would still apply. */
13555 #ifdef __cplusplus
13556 extern "C"
13557 #endif
13558 char FcInit ();
13560 main ()
13562 return FcInit ();
13564 return 0;
13566 _ACEOF
13567 if ac_fn_c_try_link "$LINENO"; then :
13568 case "$LIBEXT" in
13569 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13570 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'` ;;
13571 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13572 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13573 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13574 fi ;;
13575 esac
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_soname_save_LIBS
13581 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13583 $as_echo "not found" >&6; }
13584 FONTCONFIG_CFLAGS=""
13585 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13587 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13589 cat >>confdefs.h <<_ACEOF
13590 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13591 _ACEOF
13595 else
13596 FONTCONFIG_CFLAGS=""
13598 CPPFLAGS=$ac_save_CPPFLAGS
13599 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13600 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13603 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13604 case "x$with_fontconfig" in
13605 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13606 xno) ;;
13607 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13608 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13609 esac
13613 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13614 then
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13616 $as_echo_n "checking for -lgsm... " >&6; }
13617 if ${ac_cv_lib_soname_gsm+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_check_soname_save_LIBS=$LIBS
13621 LIBS="-lgsm $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13628 #ifdef __cplusplus
13629 extern "C"
13630 #endif
13631 char gsm_create ();
13633 main ()
13635 return gsm_create ();
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 case "$LIBEXT" in
13642 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13643 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'` ;;
13644 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13645 if ${ac_cv_lib_soname_gsm:+false} :; then :
13646 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13647 fi ;;
13648 esac
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_soname_save_LIBS
13654 if ${ac_cv_lib_soname_gsm:+false} :; then :
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13656 $as_echo "not found" >&6; }
13658 else
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13660 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13662 cat >>confdefs.h <<_ACEOF
13663 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13664 _ACEOF
13669 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13670 case "x$with_gsm" in
13671 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13672 xno) ;;
13673 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13674 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13675 esac
13679 if test "x$with_jpeg" != "xno"
13680 then
13681 if ${JPEG_CFLAGS:+false} :; then :
13682 if ${PKG_CONFIG+:} false; then :
13683 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13687 if ${JPEG_LIBS:+false} :; then :
13688 if ${PKG_CONFIG+:} false; then :
13689 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13694 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13695 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13696 ac_save_CPPFLAGS=$CPPFLAGS
13697 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13698 for ac_header in jpeglib.h
13699 do :
13700 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13701 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13702 cat >>confdefs.h <<_ACEOF
13703 #define HAVE_JPEGLIB_H 1
13704 _ACEOF
13708 done
13710 if test "$ac_cv_header_jpeglib_h" = "yes"
13711 then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13713 $as_echo_n "checking for -ljpeg... " >&6; }
13714 if ${ac_cv_lib_soname_jpeg+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_check_soname_save_LIBS=$LIBS
13718 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char jpeg_start_decompress ();
13730 main ()
13732 return jpeg_start_decompress ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 case "$LIBEXT" in
13739 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13740 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'` ;;
13741 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13742 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13743 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13744 fi ;;
13745 esac
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 LIBS=$ac_check_soname_save_LIBS
13751 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13753 $as_echo "not found" >&6; }
13754 JPEG_CFLAGS=""
13755 else
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13757 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13759 cat >>confdefs.h <<_ACEOF
13760 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13761 _ACEOF
13765 else
13766 JPEG_CFLAGS=""
13768 CPPFLAGS=$ac_save_CPPFLAGS
13769 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13770 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13773 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13774 case "x$with_jpeg" in
13775 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13776 xno) ;;
13777 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13778 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13779 esac
13783 if test "x$with_png" != "xno"
13784 then
13785 if ${PNG_CFLAGS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13790 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13791 if ${PNG_LIBS:+false} :; then :
13792 if ${PKG_CONFIG+:} false; then :
13793 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13796 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13798 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13799 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13800 ac_save_CPPFLAGS=$CPPFLAGS
13801 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13802 for ac_header in png.h
13803 do :
13804 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13805 if test "x$ac_cv_header_png_h" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define HAVE_PNG_H 1
13808 _ACEOF
13812 done
13814 if test "$ac_cv_header_png_h" = "yes"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13817 $as_echo_n "checking for -lpng... " >&6; }
13818 if ${ac_cv_lib_soname_png+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char png_create_read_struct ();
13834 main ()
13836 return png_create_read_struct ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) 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'`
13846 if ${ac_cv_lib_soname_png:+false} :; then :
13847 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_soname_save_LIBS
13855 if ${ac_cv_lib_soname_png:+false} :; then :
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13857 $as_echo "not found" >&6; }
13858 PNG_CFLAGS=""
13859 else
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13861 $as_echo "$ac_cv_lib_soname_png" >&6; }
13863 cat >>confdefs.h <<_ACEOF
13864 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13865 _ACEOF
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 #include <png.h>
13871 main ()
13873 typeof(png_set_expand_gray_1_2_4_to_8) *p
13875 return 0;
13877 _ACEOF
13878 if ac_fn_c_try_compile "$LINENO"; then :
13880 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13885 else
13886 PNG_CFLAGS=""
13888 CPPFLAGS=$ac_save_CPPFLAGS
13889 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13890 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13893 if test "x$ac_cv_lib_soname_png" = "x"; then :
13894 case "x$with_png" in
13895 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13896 xno) ;;
13897 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13898 This is an error since --with-png was requested." "$LINENO" 5 ;;
13899 esac
13903 if test "x$with_tiff" != "xno"
13904 then
13905 if ${TIFF_CFLAGS:+false} :; then :
13906 if ${PKG_CONFIG+:} false; then :
13907 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13911 if ${TIFF_LIBS:+false} :; then :
13912 if ${PKG_CONFIG+:} false; then :
13913 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13918 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13919 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13920 ac_save_CPPFLAGS=$CPPFLAGS
13921 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13922 for ac_header in tiffio.h
13923 do :
13924 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13925 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13926 cat >>confdefs.h <<_ACEOF
13927 #define HAVE_TIFFIO_H 1
13928 _ACEOF
13932 done
13934 if test "$ac_cv_header_tiffio_h" = "yes"
13935 then
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13937 $as_echo_n "checking for -ltiff... " >&6; }
13938 if ${ac_cv_lib_soname_tiff+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 ac_check_soname_save_LIBS=$LIBS
13942 LIBS="-ltiff $TIFF_LIBS $LIBS"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13946 /* Override any GCC internal prototype to avoid an error.
13947 Use char because int might match the return type of a GCC
13948 builtin and then its argument prototype would still apply. */
13949 #ifdef __cplusplus
13950 extern "C"
13951 #endif
13952 char TIFFClientOpen ();
13954 main ()
13956 return TIFFClientOpen ();
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"; then :
13962 case "$LIBEXT" in
13963 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13964 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'` ;;
13965 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13966 if ${ac_cv_lib_soname_tiff:+false} :; then :
13967 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13968 fi ;;
13969 esac
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 LIBS=$ac_check_soname_save_LIBS
13975 if ${ac_cv_lib_soname_tiff:+false} :; then :
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13977 $as_echo "not found" >&6; }
13979 else
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13981 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13983 cat >>confdefs.h <<_ACEOF
13984 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13985 _ACEOF
13990 CPPFLAGS=$ac_save_CPPFLAGS
13991 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13992 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13995 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13996 case "x$with_tiff" in
13997 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13998 xno) ;;
13999 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14000 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14001 esac
14005 if test "x$with_mpg123" != "xno"
14006 then
14007 if ${MPG123_CFLAGS:+false} :; then :
14008 if ${PKG_CONFIG+:} false; then :
14009 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14013 if ${MPG123_LIBS:+false} :; then :
14014 if ${PKG_CONFIG+:} false; then :
14015 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14019 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14020 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14021 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14022 ac_save_CPPFLAGS=$CPPFLAGS
14023 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14024 for ac_header in mpg123.h
14025 do :
14026 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14027 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14028 cat >>confdefs.h <<_ACEOF
14029 #define HAVE_MPG123_H 1
14030 _ACEOF
14034 done
14036 if test "$ac_cv_header_mpg123_h" = "yes"
14037 then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14039 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14040 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_check_lib_save_LIBS=$LIBS
14044 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 #ifdef __cplusplus
14052 extern "C"
14053 #endif
14054 char mpg123_feed ();
14056 main ()
14058 return mpg123_feed ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 ac_cv_lib_mpg123_mpg123_feed=yes
14065 else
14066 ac_cv_lib_mpg123_mpg123_feed=no
14068 rm -f core conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14070 LIBS=$ac_check_lib_save_LIBS
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14073 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14074 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14076 else
14077 MPG123_LIBS=""
14080 else
14081 MPG123_CFLAGS=""
14082 MPG123_LIBS=""
14084 CPPFLAGS=$ac_save_CPPFLAGS
14085 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14086 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14089 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14090 case "x$with_mpg123" in
14091 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14092 xno) ;;
14093 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14094 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14095 esac
14096 enable_winemp3_acm=${enable_winemp3_acm:-no}
14099 if test "$ac_cv_header_AL_al_h" = "yes"
14100 then
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14102 $as_echo_n "checking for -lopenal... " >&6; }
14103 if ${ac_cv_lib_soname_openal+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_check_soname_save_LIBS=$LIBS
14107 LIBS="-lopenal $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14114 #ifdef __cplusplus
14115 extern "C"
14116 #endif
14117 char alGetSource3i ();
14119 main ()
14121 return alGetSource3i ();
14123 return 0;
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 case "$LIBEXT" in
14128 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14129 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'` ;;
14130 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14131 if ${ac_cv_lib_soname_openal:+false} :; then :
14132 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14133 fi ;;
14134 esac
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_soname_save_LIBS
14140 if ${ac_cv_lib_soname_openal:+false} :; then :
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14142 $as_echo "not found" >&6; }
14144 else
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14146 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14148 cat >>confdefs.h <<_ACEOF
14149 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14150 _ACEOF
14152 OPENAL_LIBS="-lopenal"
14154 ac_cv_lib_openal=yes
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_OPENAL 1
14158 _ACEOF
14162 if test "x$ac_cv_lib_openal" != xyes; then :
14163 case "x$with_openal" in
14164 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14165 xno) ;;
14166 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14167 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14168 esac
14169 enable_openal32=${enable_openal32:-no}
14172 if test "x$ac_cv_lib_openal" = xyes
14173 then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14175 $as_echo_n "checking for openal-soft... " >&6; }
14176 if ${ac_cv_have_openalsoft+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14181 #include <AL/al.h>
14182 #include <AL/alc.h>
14183 #include <AL/alext.h>
14184 LPALCRENDERSAMPLESSOFT x;
14186 main ()
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_compile "$LINENO"; then :
14194 ac_cv_have_openalsoft=yes
14195 else
14196 ac_cv_have_openalsoft=no
14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14201 $as_echo "$ac_cv_have_openalsoft" >&6; }
14203 if test "x$ac_cv_have_openalsoft" != xyes
14204 then
14205 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14206 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14207 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14208 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14209 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14210 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14211 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14212 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14213 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14214 enable_xapofx1_1=${enable_xapofx1_1:-no}
14215 enable_xapofx1_2=${enable_xapofx1_2:-no}
14216 enable_xapofx1_3=${enable_xapofx1_3:-no}
14217 enable_xapofx1_4=${enable_xapofx1_4:-no}
14218 enable_xapofx1_5=${enable_xapofx1_5:-no}
14219 enable_xaudio2_0=${enable_xaudio2_0:-no}
14220 enable_xaudio2_1=${enable_xaudio2_1:-no}
14221 enable_xaudio2_2=${enable_xaudio2_2:-no}
14222 enable_xaudio2_3=${enable_xaudio2_3:-no}
14223 enable_xaudio2_4=${enable_xaudio2_4:-no}
14224 enable_xaudio2_5=${enable_xaudio2_5:-no}
14225 enable_xaudio2_6=${enable_xaudio2_6:-no}
14226 enable_xaudio2_7=${enable_xaudio2_7:-no}
14227 enable_xaudio2_8=${enable_xaudio2_8:-no}
14228 enable_xaudio2_9=${enable_xaudio2_9:-no}
14231 if test "$ac_cv_header_kstat_h" = "yes"
14232 then
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14234 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14235 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_check_lib_save_LIBS=$LIBS
14239 LIBS="-lkstat $LIBS"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14246 #ifdef __cplusplus
14247 extern "C"
14248 #endif
14249 char kstat_open ();
14251 main ()
14253 return kstat_open ();
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 ac_cv_lib_kstat_kstat_open=yes
14260 else
14261 ac_cv_lib_kstat_kstat_open=no
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 LIBS=$ac_check_lib_save_LIBS
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14268 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14269 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14271 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14273 KSTAT_LIBS="-lkstat"
14279 if test "$ac_cv_header_libprocstat_h" = "yes"
14280 then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14282 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14283 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_check_lib_save_LIBS=$LIBS
14287 LIBS="-lprocstat $LIBS"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14291 /* Override any GCC internal prototype to avoid an error.
14292 Use char because int might match the return type of a GCC
14293 builtin and then its argument prototype would still apply. */
14294 #ifdef __cplusplus
14295 extern "C"
14296 #endif
14297 char procstat_open_sysctl ();
14299 main ()
14301 return procstat_open_sysctl ();
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_link "$LINENO"; then :
14307 ac_cv_lib_procstat_procstat_open_sysctl=yes
14308 else
14309 ac_cv_lib_procstat_procstat_open_sysctl=no
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext conftest.$ac_ext
14313 LIBS=$ac_check_lib_save_LIBS
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14316 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14317 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14319 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14321 PROCSTAT_LIBS="-lprocstat"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14328 $as_echo_n "checking for -lodbc... " >&6; }
14329 if ${ac_cv_lib_soname_odbc+:} false; then :
14330 $as_echo_n "(cached) " >&6
14331 else
14332 ac_check_soname_save_LIBS=$LIBS
14333 LIBS="-lodbc $LIBS"
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14337 /* Override any GCC internal prototype to avoid an error.
14338 Use char because int might match the return type of a GCC
14339 builtin and then its argument prototype would still apply. */
14340 #ifdef __cplusplus
14341 extern "C"
14342 #endif
14343 char SQLConnect ();
14345 main ()
14347 return SQLConnect ();
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 case "$LIBEXT" in
14354 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14355 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'` ;;
14356 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14357 if ${ac_cv_lib_soname_odbc:+false} :; then :
14358 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14359 fi ;;
14360 esac
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 LIBS=$ac_check_soname_save_LIBS
14366 if ${ac_cv_lib_soname_odbc:+false} :; then :
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14368 $as_echo "not found" >&6; }
14369 cat >>confdefs.h <<_ACEOF
14370 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14371 _ACEOF
14373 else
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14375 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14377 cat >>confdefs.h <<_ACEOF
14378 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14379 _ACEOF
14384 if test "x$with_netapi" != "xno"
14385 then
14386 if ${NETAPI_CFLAGS:+false} :; then :
14387 if ${PKG_CONFIG+:} false; then :
14388 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14392 if ${NETAPI_LIBS:+false} :; then :
14393 if ${PKG_CONFIG+:} false; then :
14394 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14399 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14400 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14401 ac_save_CPPFLAGS=$CPPFLAGS
14402 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14404 $as_echo_n "checking for -lnetapi... " >&6; }
14405 if ${ac_cv_lib_soname_netapi+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 ac_check_soname_save_LIBS=$LIBS
14409 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14416 #ifdef __cplusplus
14417 extern "C"
14418 #endif
14419 char libnetapi_init ();
14421 main ()
14423 return libnetapi_init ();
14425 return 0;
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 case "$LIBEXT" in
14430 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14431 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'` ;;
14432 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14433 if ${ac_cv_lib_soname_netapi:+false} :; then :
14434 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14435 fi ;;
14436 esac
14438 rm -f core conftest.err conftest.$ac_objext \
14439 conftest$ac_exeext conftest.$ac_ext
14440 LIBS=$ac_check_soname_save_LIBS
14442 if ${ac_cv_lib_soname_netapi:+false} :; then :
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14444 $as_echo "not found" >&6; }
14445 cat >>confdefs.h <<_ACEOF
14446 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14447 _ACEOF
14449 else
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14451 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14453 cat >>confdefs.h <<_ACEOF
14454 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14455 _ACEOF
14459 CPPFLAGS=$ac_save_CPPFLAGS
14460 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14461 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14465 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14466 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14467 then
14468 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14472 EXTRACFLAGS=""
14474 if test "x${GCC}" = "xyes"
14475 then
14476 EXTRACFLAGS="-Wall -pipe"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14479 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14480 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14481 $as_echo_n "(cached) " >&6
14482 else
14483 if test "$cross_compiling" = yes; then :
14484 ac_cv_c_gcc_strength_bug="no"
14485 else
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488 int L[4] = {0,1,2,3};
14490 main ()
14492 static int Array[3];
14493 unsigned int B = 3;
14494 int i;
14495 for(i=0; i<B; i++) Array[i] = i - 3;
14496 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14497 L[i] = 4;
14498 return (Array[1] != -2 || L[2] != 3)
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_run "$LINENO"; then :
14504 ac_cv_c_gcc_strength_bug="no"
14505 else
14506 ac_cv_c_gcc_strength_bug="yes"
14508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14509 conftest.$ac_objext conftest.beam conftest.$ac_ext
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14514 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14515 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14516 then
14517 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14521 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14522 if ${ac_cv_cflags__fno_builtin+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 ac_wine_try_cflags_saved=$CFLAGS
14526 CFLAGS="$CFLAGS -fno-builtin"
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 int main(int argc, char **argv) { return 0; }
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_cflags__fno_builtin=yes
14533 else
14534 ac_cv_cflags__fno_builtin=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 CFLAGS=$ac_wine_try_cflags_saved
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14541 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14542 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14543 BUILTINFLAG="-fno-builtin"
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14547 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14548 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 ac_wine_try_cflags_saved=$CFLAGS
14552 CFLAGS="$CFLAGS -fno-strict-aliasing"
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 int main(int argc, char **argv) { return 0; }
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 ac_cv_cflags__fno_strict_aliasing=yes
14559 else
14560 ac_cv_cflags__fno_strict_aliasing=no
14562 rm -f core conftest.err conftest.$ac_objext \
14563 conftest$ac_exeext conftest.$ac_ext
14564 CFLAGS=$ac_wine_try_cflags_saved
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14567 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14568 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14569 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14572 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14573 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_wine_try_cflags_saved=$CFLAGS
14577 CFLAGS="$CFLAGS -fexcess-precision=standard"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14580 int main(int argc, char **argv) { return 0; }
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_cflags__fexcess_precision_standard=yes
14584 else
14585 ac_cv_cflags__fexcess_precision_standard=no
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 CFLAGS=$ac_wine_try_cflags_saved
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14592 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14593 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14594 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14597 saved_CFLAGS=$CFLAGS
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14599 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14600 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_wine_try_cflags_saved=$CFLAGS
14604 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 int main(int argc, char **argv) { return 0; }
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 ac_cv_cflags__Werror_unknown_warning_option=yes
14611 else
14612 ac_cv_cflags__Werror_unknown_warning_option=no
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 CFLAGS=$ac_wine_try_cflags_saved
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14619 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14620 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14621 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14624 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14625 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14626 $as_echo_n "(cached) " >&6
14627 else
14628 ac_wine_try_cflags_saved=$CFLAGS
14629 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 int main(int argc, char **argv) { return 0; }
14633 _ACEOF
14634 if ac_fn_c_try_link "$LINENO"; then :
14635 ac_cv_cflags__Wdeclaration_after_statement=yes
14636 else
14637 ac_cv_cflags__Wdeclaration_after_statement=no
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext conftest.$ac_ext
14641 CFLAGS=$ac_wine_try_cflags_saved
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14644 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14645 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14646 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14649 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14650 if ${ac_cv_cflags__Wempty_body+:} false; then :
14651 $as_echo_n "(cached) " >&6
14652 else
14653 ac_wine_try_cflags_saved=$CFLAGS
14654 CFLAGS="$CFLAGS -Wempty-body"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 int main(int argc, char **argv) { return 0; }
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_cflags__Wempty_body=yes
14661 else
14662 ac_cv_cflags__Wempty_body=no
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 CFLAGS=$ac_wine_try_cflags_saved
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14669 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14670 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14671 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14674 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14675 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14676 $as_echo_n "(cached) " >&6
14677 else
14678 ac_wine_try_cflags_saved=$CFLAGS
14679 CFLAGS="$CFLAGS -Wignored-qualifiers"
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14682 int main(int argc, char **argv) { return 0; }
14683 _ACEOF
14684 if ac_fn_c_try_link "$LINENO"; then :
14685 ac_cv_cflags__Wignored_qualifiers=yes
14686 else
14687 ac_cv_cflags__Wignored_qualifiers=no
14689 rm -f core conftest.err conftest.$ac_objext \
14690 conftest$ac_exeext conftest.$ac_ext
14691 CFLAGS=$ac_wine_try_cflags_saved
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14694 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14695 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14696 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14699 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14700 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_wine_try_cflags_saved=$CFLAGS
14704 CFLAGS="$CFLAGS -Wshift-overflow=2"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 int main(int argc, char **argv) { return 0; }
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"; then :
14710 ac_cv_cflags__Wshift_overflow_2=yes
14711 else
14712 ac_cv_cflags__Wshift_overflow_2=no
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14716 CFLAGS=$ac_wine_try_cflags_saved
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14719 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14720 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14721 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14724 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14725 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 ac_wine_try_cflags_saved=$CFLAGS
14729 CFLAGS="$CFLAGS -Wstrict-prototypes"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_cflags__Wstrict_prototypes=yes
14736 else
14737 ac_cv_cflags__Wstrict_prototypes=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 CFLAGS=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14744 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14745 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14746 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14749 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14750 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_wine_try_cflags_saved=$CFLAGS
14754 CFLAGS="$CFLAGS -Wtype-limits"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 int main(int argc, char **argv) { return 0; }
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 ac_cv_cflags__Wtype_limits=yes
14761 else
14762 ac_cv_cflags__Wtype_limits=no
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext conftest.$ac_ext
14766 CFLAGS=$ac_wine_try_cflags_saved
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14769 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14770 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14771 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14774 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14775 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14776 $as_echo_n "(cached) " >&6
14777 else
14778 ac_wine_try_cflags_saved=$CFLAGS
14779 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14782 int main(int argc, char **argv) { return 0; }
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_cflags__Wunused_but_set_parameter=yes
14786 else
14787 ac_cv_cflags__Wunused_but_set_parameter=no
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14791 CFLAGS=$ac_wine_try_cflags_saved
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14794 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14795 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14796 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14799 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14800 if ${ac_cv_cflags__Wvla+:} false; then :
14801 $as_echo_n "(cached) " >&6
14802 else
14803 ac_wine_try_cflags_saved=$CFLAGS
14804 CFLAGS="$CFLAGS -Wvla"
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14807 int main(int argc, char **argv) { return 0; }
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_cflags__Wvla=yes
14811 else
14812 ac_cv_cflags__Wvla=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 CFLAGS=$ac_wine_try_cflags_saved
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14819 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14820 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14821 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14824 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14825 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14826 $as_echo_n "(cached) " >&6
14827 else
14828 ac_wine_try_cflags_saved=$CFLAGS
14829 CFLAGS="$CFLAGS -Wwrite-strings"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14832 int main(int argc, char **argv) { return 0; }
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_cflags__Wwrite_strings=yes
14836 else
14837 ac_cv_cflags__Wwrite_strings=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 CFLAGS=$ac_wine_try_cflags_saved
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14844 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14845 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14846 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14850 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14851 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_wine_try_cflags_saved=$CFLAGS
14855 CFLAGS="$CFLAGS -Wpointer-arith"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 int main(int argc, char **argv) { return 0; }
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_cflags__Wpointer_arith=yes
14862 else
14863 ac_cv_cflags__Wpointer_arith=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 CFLAGS=$ac_wine_try_cflags_saved
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14870 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14871 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14872 saved_string_h_CFLAGS=$CFLAGS
14873 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14875 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14876 if ${ac_cv_c_string_h_warnings+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 #include <string.h>
14883 main ()
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_compile "$LINENO"; then :
14891 ac_cv_c_string_h_warnings=no
14892 else
14893 ac_cv_c_string_h_warnings=yes
14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14898 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14899 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14900 CFLAGS=$saved_string_h_CFLAGS
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14904 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14905 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 ac_wine_try_cflags_saved=$CFLAGS
14909 CFLAGS="$CFLAGS -Wlogical-op"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 int main(int argc, char **argv) { return 0; }
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 ac_cv_cflags__Wlogical_op=yes
14916 else
14917 ac_cv_cflags__Wlogical_op=no
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 CFLAGS=$ac_wine_try_cflags_saved
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14924 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14925 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14926 saved_string_h_CFLAGS=$CFLAGS
14927 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14929 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14930 if ${ac_cv_c_logicalop_noisy+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 #include <string.h>
14936 char*f(const char *h,char n) {return strchr(h,n);}
14938 main ()
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_compile "$LINENO"; then :
14946 ac_cv_c_logicalop_noisy=no
14947 else
14948 ac_cv_c_logicalop_noisy=yes
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14953 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14954 CFLAGS=$saved_string_h_CFLAGS
14955 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14958 CFLAGS=$saved_CFLAGS
14960 for ac_flag in $CFLAGS; do
14961 case $ac_flag in
14962 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14963 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14964 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14965 $as_echo_n "(cached) " >&6
14966 else
14967 ac_wine_try_cflags_saved=$CFLAGS
14968 CFLAGS="$CFLAGS -gdwarf-2"
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 int main(int argc, char **argv) { return 0; }
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 ac_cv_cflags__gdwarf_2=yes
14975 else
14976 ac_cv_cflags__gdwarf_2=no
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 CFLAGS=$ac_wine_try_cflags_saved
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14983 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14984 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14985 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14988 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14989 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14990 $as_echo_n "(cached) " >&6
14991 else
14992 ac_wine_try_cflags_saved=$CFLAGS
14993 CFLAGS="$CFLAGS -gstrict-dwarf"
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996 int main(int argc, char **argv) { return 0; }
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"; then :
14999 ac_cv_cflags__gstrict_dwarf=yes
15000 else
15001 ac_cv_cflags__gstrict_dwarf=no
15003 rm -f core conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15005 CFLAGS=$ac_wine_try_cflags_saved
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15008 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15009 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15010 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15011 fi ;;
15012 esac
15013 done
15015 case $host_cpu in
15016 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15017 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15018 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15019 $as_echo_n "(cached) " >&6
15020 else
15021 ac_wine_try_cflags_saved=$CFLAGS
15022 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15025 int main(int argc, char **argv) { return 0; }
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_cflags__fno_omit_frame_pointer=yes
15029 else
15030 ac_cv_cflags__fno_omit_frame_pointer=no
15032 rm -f core conftest.err conftest.$ac_objext \
15033 conftest$ac_exeext conftest.$ac_ext
15034 CFLAGS=$ac_wine_try_cflags_saved
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15037 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15038 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15039 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15040 fi ;;
15041 esac
15043 case $host in
15044 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15045 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15046 if ${ac_cv_cflags__Wno_format+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_wine_try_cflags_saved=$CFLAGS
15050 CFLAGS="$CFLAGS -Wno-format"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15053 int main(int argc, char **argv) { return 0; }
15054 _ACEOF
15055 if ac_fn_c_try_link "$LINENO"; then :
15056 ac_cv_cflags__Wno_format=yes
15057 else
15058 ac_cv_cflags__Wno_format=no
15060 rm -f core conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15062 CFLAGS=$ac_wine_try_cflags_saved
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15065 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15066 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15067 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15068 fi ;;
15069 esac
15071 if test "x$enable_maintainer_mode" = "xyes"
15072 then
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15074 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15075 if ${ac_cv_cflags__Werror+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_wine_try_cflags_saved=$CFLAGS
15079 CFLAGS="$CFLAGS -Werror"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 int main(int argc, char **argv) { return 0; }
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_cflags__Werror=yes
15086 else
15087 ac_cv_cflags__Werror=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 CFLAGS=$ac_wine_try_cflags_saved
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15094 $as_echo "$ac_cv_cflags__Werror" >&6; }
15095 if test "x$ac_cv_cflags__Werror" = xyes; then :
15096 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15100 saved_CFLAGS="$CFLAGS"
15101 CFLAGS="$CFLAGS -Werror"
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15103 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15104 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15111 main ()
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_compile "$LINENO"; then :
15119 ac_cv_have_ms_hook_prologue="yes"
15120 else
15121 ac_cv_have_ms_hook_prologue="no"
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15126 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15127 CFLAGS="$saved_CFLAGS"
15128 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15129 then
15131 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15133 else
15134 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15141 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15142 if ${ac_cv_c_fortify_enabled+:} false; then :
15143 $as_echo_n "(cached) " >&6
15144 else
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15147 #include <string.h>
15149 main ()
15151 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15152 #error Fortify enabled
15153 #endif
15155 return 0;
15157 _ACEOF
15158 if ac_fn_c_try_compile "$LINENO"; then :
15159 ac_cv_c_fortify_enabled=no
15160 else
15161 ac_cv_c_fortify_enabled=yes
15163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15166 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15167 if test "$ac_cv_c_fortify_enabled" = yes
15168 then
15169 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15174 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15175 if ${ac_cv_c_extern_prefix+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 extern int ac_test;
15182 main ()
15184 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15186 return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 ac_cv_c_extern_prefix="yes"
15191 else
15192 ac_cv_c_extern_prefix="no"
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15198 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15200 case $host_cpu in
15201 *i[3456789]86*)
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15203 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15204 if ${ac_cv_c_stdcall_suffix+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 #ifndef _MSC_VER
15210 #define __stdcall __attribute__((__stdcall__))
15211 #endif
15212 int __stdcall ac_test(int i) { return i; }
15214 main ()
15216 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15218 return 0;
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_c_stdcall_suffix="yes"
15223 else
15224 ac_cv_c_stdcall_suffix="no"
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15230 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15231 *) ac_cv_c_stdcall_suffix="no" ;;
15232 esac
15235 if test "$ac_cv_c_extern_prefix" = "yes"
15236 then
15237 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15239 asm_name_prefix="_"
15240 else
15241 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15243 asm_name_prefix=""
15247 if test "$ac_cv_c_stdcall_suffix" = "yes"
15248 then
15249 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15251 else
15252 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15258 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15259 if ${ac_cv_asm_func_def+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15266 main ()
15268 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15270 return 0;
15272 _ACEOF
15273 if ac_fn_c_try_link "$LINENO"; then :
15274 ac_cv_asm_func_def=".def"
15275 else
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15284 return 0;
15286 _ACEOF
15287 if ac_fn_c_try_link "$LINENO"; then :
15288 ac_cv_asm_func_def=".type @function"
15289 else
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15294 main ()
15296 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15298 return 0;
15300 _ACEOF
15301 if ac_fn_c_try_link "$LINENO"; then :
15302 ac_cv_asm_func_def=".type 2"
15303 else
15304 ac_cv_asm_func_def="unknown"
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15309 rm -f core conftest.err conftest.$ac_objext \
15310 conftest$ac_exeext conftest.$ac_ext
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15316 $as_echo "$ac_cv_asm_func_def" >&6; }
15319 case "$ac_cv_asm_func_def" in
15320 ".def")
15321 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15323 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15324 ".type @function")
15325 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15327 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15328 ".type 2")
15329 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15331 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15333 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15335 asm_func_header="" ;;
15336 esac
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15339 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15340 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15341 $as_echo_n "(cached) " >&6
15342 else
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 asm(".text\n\t.long 0");
15347 main ()
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_compile "$LINENO"; then :
15355 ac_cv_c_asm_outside_funcs="yes"
15356 else
15357 ac_cv_c_asm_outside_funcs="no"
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15362 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15365 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15366 if ${ac_cv_c_dot_previous+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15373 main ()
15375 asm(".text\nac_test:\t.long 0\n\t.previous");
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 ac_cv_c_dot_previous="yes"
15382 else
15383 ac_cv_c_dot_previous="no"
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15389 $as_echo "$ac_cv_c_dot_previous" >&6; }
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15392 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15393 if ${ac_cv_c_cfi_support+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15398 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15400 main ()
15404 return 0;
15406 _ACEOF
15407 if ac_fn_c_try_compile "$LINENO"; then :
15408 ac_cv_c_cfi_support="yes"
15409 else
15410 ac_cv_c_cfi_support="no"
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15415 $as_echo "$ac_cv_c_cfi_support" >&6; }
15417 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15418 asm_func_trailer=""
15419 if test "$ac_cv_c_dot_previous" = "yes"
15420 then
15421 asm_func_trailer="\\n\\t.previous"
15423 if test "$ac_cv_c_cfi_support" = "yes"
15424 then
15425 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15426 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15428 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15430 UNWINDFLAGS=-fasynchronous-unwind-tables
15432 else
15433 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15435 if test "x$enable_win64" = "xyes"
15436 then
15437 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15441 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15444 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15445 then
15446 cat >>confdefs.h <<_ACEOF
15447 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15448 _ACEOF
15450 else
15451 cat >>confdefs.h <<_ACEOF
15452 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15453 _ACEOF
15457 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15460 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15464 case $build_os in
15465 cygwin*|mingw32*) TOOLSEXT=".exe"
15467 esac
15469 case $host_os in
15470 linux*)
15471 case $host_cpu in
15472 *i[3456789]86*|x86_64*)
15473 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15474 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15476 esac
15478 esac
15481 ac_save_CFLAGS="$CFLAGS"
15482 CFLAGS="$CFLAGS $BUILTINFLAG"
15483 for ac_func in \
15484 __res_get_state \
15485 __res_getservers \
15486 _finite \
15487 _isnan \
15488 _pclose \
15489 _popen \
15490 _snprintf \
15491 _spawnvp \
15492 _strdup \
15493 _stricmp \
15494 _strnicmp \
15495 _strtoi64 \
15496 _strtoui64 \
15497 _vsnprintf \
15498 asctime_r \
15499 chsize \
15500 dlopen \
15501 epoll_create \
15502 ffs \
15503 finitef \
15504 fnmatch \
15505 fork \
15506 fpclass \
15507 fstatfs \
15508 fstatvfs \
15509 ftruncate \
15510 futimens \
15511 futimes \
15512 futimesat \
15513 getattrlist \
15514 getauxval \
15515 getifaddrs \
15516 getopt_long_only \
15517 getpwuid \
15518 gettimeofday \
15519 getuid \
15520 isnanf \
15521 kqueue \
15522 lstat \
15523 memmove \
15524 mmap \
15525 pclose \
15526 pipe2 \
15527 poll \
15528 popen \
15529 port_create \
15530 prctl \
15531 pread \
15532 proc_pidinfo \
15533 pwrite \
15534 readdir \
15535 readlink \
15536 sched_yield \
15537 select \
15538 setproctitle \
15539 setprogname \
15540 setrlimit \
15541 settimeofday \
15542 sigaltstack \
15543 sigprocmask \
15544 snprintf \
15545 statfs \
15546 statvfs \
15547 strcasecmp \
15548 strdup \
15549 strerror \
15550 strncasecmp \
15551 strtold \
15552 strtoll \
15553 strtoull \
15554 symlink \
15555 sysinfo \
15556 tcdrain \
15557 thr_kill2 \
15558 timegm \
15559 usleep \
15560 vsnprintf
15562 do :
15563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15568 _ACEOF
15571 done
15573 CFLAGS="$ac_save_CFLAGS"
15575 if test "$ac_cv_func_dlopen" = no
15576 then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15578 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15579 if ${ac_cv_lib_dl_dlopen+:} false; then :
15580 $as_echo_n "(cached) " >&6
15581 else
15582 ac_check_lib_save_LIBS=$LIBS
15583 LIBS="-ldl $LIBS"
15584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585 /* end confdefs.h. */
15587 /* Override any GCC internal prototype to avoid an error.
15588 Use char because int might match the return type of a GCC
15589 builtin and then its argument prototype would still apply. */
15590 #ifdef __cplusplus
15591 extern "C"
15592 #endif
15593 char dlopen ();
15595 main ()
15597 return dlopen ();
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 ac_cv_lib_dl_dlopen=yes
15604 else
15605 ac_cv_lib_dl_dlopen=no
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15609 LIBS=$ac_check_lib_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15612 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15613 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15614 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15615 DL_LIBS="-ldl"
15620 ac_wine_check_funcs_save_LIBS="$LIBS"
15621 LIBS="$LIBS $DL_LIBS"
15622 for ac_func in dladdr
15623 do :
15624 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15625 if test "x$ac_cv_func_dladdr" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_DLADDR 1
15628 _ACEOF
15631 done
15633 LIBS="$ac_wine_check_funcs_save_LIBS"
15635 if test "$ac_cv_func_poll" = no
15636 then
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15638 $as_echo_n "checking for poll in -lpoll... " >&6; }
15639 if ${ac_cv_lib_poll_poll+:} false; then :
15640 $as_echo_n "(cached) " >&6
15641 else
15642 ac_check_lib_save_LIBS=$LIBS
15643 LIBS="-lpoll $LIBS"
15644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h. */
15647 /* Override any GCC internal prototype to avoid an error.
15648 Use char because int might match the return type of a GCC
15649 builtin and then its argument prototype would still apply. */
15650 #ifdef __cplusplus
15651 extern "C"
15652 #endif
15653 char poll ();
15655 main ()
15657 return poll ();
15659 return 0;
15661 _ACEOF
15662 if ac_fn_c_try_link "$LINENO"; then :
15663 ac_cv_lib_poll_poll=yes
15664 else
15665 ac_cv_lib_poll_poll=no
15667 rm -f core conftest.err conftest.$ac_objext \
15668 conftest$ac_exeext conftest.$ac_ext
15669 LIBS=$ac_check_lib_save_LIBS
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15672 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15673 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15674 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15675 POLL_LIBS="-lpoll"
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15682 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15683 if ${ac_cv_search_gethostbyname+:} false; then :
15684 $as_echo_n "(cached) " >&6
15685 else
15686 ac_func_search_save_LIBS=$LIBS
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char gethostbyname ();
15698 main ()
15700 return gethostbyname ();
15702 return 0;
15704 _ACEOF
15705 for ac_lib in '' nsl; do
15706 if test -z "$ac_lib"; then
15707 ac_res="none required"
15708 else
15709 ac_res=-l$ac_lib
15710 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_search_gethostbyname=$ac_res
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext
15717 if ${ac_cv_search_gethostbyname+:} false; then :
15718 break
15720 done
15721 if ${ac_cv_search_gethostbyname+:} false; then :
15723 else
15724 ac_cv_search_gethostbyname=no
15726 rm conftest.$ac_ext
15727 LIBS=$ac_func_search_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15730 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15731 ac_res=$ac_cv_search_gethostbyname
15732 if test "$ac_res" != no; then :
15733 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15739 $as_echo_n "checking for library containing connect... " >&6; }
15740 if ${ac_cv_search_connect+:} false; then :
15741 $as_echo_n "(cached) " >&6
15742 else
15743 ac_func_search_save_LIBS=$LIBS
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15747 /* Override any GCC internal prototype to avoid an error.
15748 Use char because int might match the return type of a GCC
15749 builtin and then its argument prototype would still apply. */
15750 #ifdef __cplusplus
15751 extern "C"
15752 #endif
15753 char connect ();
15755 main ()
15757 return connect ();
15759 return 0;
15761 _ACEOF
15762 for ac_lib in '' socket; do
15763 if test -z "$ac_lib"; then
15764 ac_res="none required"
15765 else
15766 ac_res=-l$ac_lib
15767 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15769 if ac_fn_c_try_link "$LINENO"; then :
15770 ac_cv_search_connect=$ac_res
15772 rm -f core conftest.err conftest.$ac_objext \
15773 conftest$ac_exeext
15774 if ${ac_cv_search_connect+:} false; then :
15775 break
15777 done
15778 if ${ac_cv_search_connect+:} false; then :
15780 else
15781 ac_cv_search_connect=no
15783 rm conftest.$ac_ext
15784 LIBS=$ac_func_search_save_LIBS
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15787 $as_echo "$ac_cv_search_connect" >&6; }
15788 ac_res=$ac_cv_search_connect
15789 if test "$ac_res" != no; then :
15790 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15796 $as_echo_n "checking for library containing inet_aton... " >&6; }
15797 if ${ac_cv_search_inet_aton+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 ac_func_search_save_LIBS=$LIBS
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char inet_aton ();
15812 main ()
15814 return inet_aton ();
15816 return 0;
15818 _ACEOF
15819 for ac_lib in '' resolv; do
15820 if test -z "$ac_lib"; then
15821 ac_res="none required"
15822 else
15823 ac_res=-l$ac_lib
15824 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 ac_cv_search_inet_aton=$ac_res
15829 rm -f core conftest.err conftest.$ac_objext \
15830 conftest$ac_exeext
15831 if ${ac_cv_search_inet_aton+:} false; then :
15832 break
15834 done
15835 if ${ac_cv_search_inet_aton+:} false; then :
15837 else
15838 ac_cv_search_inet_aton=no
15840 rm conftest.$ac_ext
15841 LIBS=$ac_func_search_save_LIBS
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15844 $as_echo "$ac_cv_search_inet_aton" >&6; }
15845 ac_res=$ac_cv_search_inet_aton
15846 if test "$ac_res" != no; then :
15847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15852 for ac_func in \
15853 getaddrinfo \
15854 getnameinfo \
15855 getnetbyname \
15856 getprotobyname \
15857 getprotobynumber \
15858 getservbyport \
15859 inet_addr \
15860 inet_network \
15861 inet_ntop \
15862 inet_pton \
15863 sendmsg \
15864 socketpair \
15866 do :
15867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15869 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15872 _ACEOF
15875 done
15878 ac_save_LIBS=$LIBS
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15880 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15881 if ${ac_cv_search_clock_gettime+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884 ac_func_search_save_LIBS=$LIBS
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 #ifdef __cplusplus
15892 extern "C"
15893 #endif
15894 char clock_gettime ();
15896 main ()
15898 return clock_gettime ();
15900 return 0;
15902 _ACEOF
15903 for ac_lib in '' rt; do
15904 if test -z "$ac_lib"; then
15905 ac_res="none required"
15906 else
15907 ac_res=-l$ac_lib
15908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 ac_cv_search_clock_gettime=$ac_res
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext
15915 if ${ac_cv_search_clock_gettime+:} false; then :
15916 break
15918 done
15919 if ${ac_cv_search_clock_gettime+:} false; then :
15921 else
15922 ac_cv_search_clock_gettime=no
15924 rm conftest.$ac_ext
15925 LIBS=$ac_func_search_save_LIBS
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15928 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15929 ac_res=$ac_cv_search_clock_gettime
15930 if test "$ac_res" != no; then :
15931 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15933 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15935 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15939 LIBS=$ac_save_LIBS
15941 LDAP_LIBS=""
15943 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15944 then
15945 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15947 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15949 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15950 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15951 $as_echo_n "(cached) " >&6
15952 else
15953 ac_check_lib_save_LIBS=$LIBS
15954 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15956 /* end confdefs.h. */
15958 /* Override any GCC internal prototype to avoid an error.
15959 Use char because int might match the return type of a GCC
15960 builtin and then its argument prototype would still apply. */
15961 #ifdef __cplusplus
15962 extern "C"
15963 #endif
15964 char ldap_initialize ();
15966 main ()
15968 return ldap_initialize ();
15970 return 0;
15972 _ACEOF
15973 if ac_fn_c_try_link "$LINENO"; then :
15974 ac_cv_lib_ldap_r_ldap_initialize=yes
15975 else
15976 ac_cv_lib_ldap_r_ldap_initialize=no
15978 rm -f core conftest.err conftest.$ac_objext \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_lib_save_LIBS
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15983 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15984 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15986 $as_echo_n "checking for ber_init in -llber... " >&6; }
15987 if ${ac_cv_lib_lber_ber_init+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_check_lib_save_LIBS=$LIBS
15991 LIBS="-llber $PTHREAD_LIBS $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char ber_init ();
16003 main ()
16005 return ber_init ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 ac_cv_lib_lber_ber_init=yes
16012 else
16013 ac_cv_lib_lber_ber_init=no
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16017 LIBS=$ac_check_lib_save_LIBS
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16020 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16021 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16023 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16025 LDAP_LIBS="-lldap_r -llber"
16032 ac_wine_check_funcs_save_LIBS="$LIBS"
16033 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16034 for ac_func in \
16035 ldap_count_references \
16036 ldap_first_reference \
16037 ldap_next_reference \
16038 ldap_parse_reference \
16039 ldap_parse_sort_control \
16040 ldap_parse_sortresponse_control \
16041 ldap_parse_vlv_control \
16042 ldap_parse_vlvresponse_control
16043 do :
16044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16049 _ACEOF
16052 done
16054 LIBS="$ac_wine_check_funcs_save_LIBS"
16056 if test "x$LDAP_LIBS" = "x"; then :
16057 case "x$with_ldap" in
16058 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16059 xno) ;;
16060 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16061 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16062 esac
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16067 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16068 if ${wine_cv_one_arg_mkdir+:} false; then :
16069 $as_echo_n "(cached) " >&6
16070 else
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16073 #include <sys/stat.h>
16075 main ()
16077 mkdir("foo");
16079 return 0;
16081 _ACEOF
16082 if ac_fn_c_try_compile "$LINENO"; then :
16083 wine_cv_one_arg_mkdir=yes
16084 else
16085 wine_cv_one_arg_mkdir=no
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16090 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16091 if test "$wine_cv_one_arg_mkdir" = "yes"
16092 then
16094 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16099 $as_echo_n "checking for sched_setaffinity... " >&6; }
16100 if ${wine_cv_have_sched_setaffinity+:} false; then :
16101 $as_echo_n "(cached) " >&6
16102 else
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16105 #define _GNU_SOURCE
16106 #include <sched.h>
16108 main ()
16110 sched_setaffinity(0, 0, 0);
16112 return 0;
16114 _ACEOF
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 wine_cv_have_sched_setaffinity=yes
16117 else
16118 wine_cv_have_sched_setaffinity=no
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext conftest.$ac_ext
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16124 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16125 if test "$wine_cv_have_sched_setaffinity" = "yes"
16126 then
16128 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16133 $as_echo_n "checking for fallocate... " >&6; }
16134 if ${wine_cv_have_fallocate+:} false; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16139 #define _GNU_SOURCE
16140 #include <fcntl.h>
16142 main ()
16144 fallocate(-1, 0, 0, 0);
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 wine_cv_have_fallocate=yes
16151 else
16152 wine_cv_have_fallocate=no
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16158 $as_echo "$wine_cv_have_fallocate" >&6; }
16159 if test "$wine_cv_have_fallocate" = "yes"
16160 then
16162 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16168 $as_echo_n "checking for inline... " >&6; }
16169 if ${ac_cv_c_inline+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 ac_cv_c_inline=no
16173 for ac_kw in inline __inline__ __inline; do
16174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16176 #ifndef __cplusplus
16177 typedef int foo_t;
16178 static $ac_kw foo_t static_foo () {return 0; }
16179 $ac_kw foo_t foo () {return 0; }
16180 #endif
16182 _ACEOF
16183 if ac_fn_c_try_compile "$LINENO"; then :
16184 ac_cv_c_inline=$ac_kw
16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16187 test "$ac_cv_c_inline" != no && break
16188 done
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16192 $as_echo "$ac_cv_c_inline" >&6; }
16194 case $ac_cv_c_inline in
16195 inline | yes) ;;
16197 case $ac_cv_c_inline in
16198 no) ac_val=;;
16199 *) ac_val=$ac_cv_c_inline;;
16200 esac
16201 cat >>confdefs.h <<_ACEOF
16202 #ifndef __cplusplus
16203 #define inline $ac_val
16204 #endif
16205 _ACEOF
16207 esac
16209 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16210 if test "x$ac_cv_type_mode_t" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_MODE_T 1
16214 _ACEOF
16218 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16219 if test "x$ac_cv_type_off_t" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_OFF_T 1
16223 _ACEOF
16227 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16228 if test "x$ac_cv_type_pid_t" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_PID_T 1
16232 _ACEOF
16236 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16237 if test "x$ac_cv_type_size_t" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_SIZE_T 1
16241 _ACEOF
16245 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16246 if test "x$ac_cv_type_ssize_t" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_SSIZE_T 1
16250 _ACEOF
16254 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16255 if test "x$ac_cv_type_long_long" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_LONG_LONG 1
16259 _ACEOF
16263 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16264 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_FSBLKCNT_T 1
16268 _ACEOF
16272 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16273 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_FSFILCNT_T 1
16277 _ACEOF
16282 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16283 #include <signal.h>
16285 if test "x$ac_cv_type_sigset_t" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_SIGSET_T 1
16289 _ACEOF
16294 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16296 if test "x$ac_cv_type_request_sense" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_REQUEST_SENSE 1
16300 _ACEOF
16306 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16307 #ifdef HAVE_SYS_SOCKET_H
16308 #include <sys/socket.h>
16309 #endif
16310 #ifdef HAVE_SYS_SOCKETVAR_H
16311 #include <sys/socketvar.h>
16312 #endif
16313 #ifdef HAVE_NET_ROUTE_H
16314 #include <net/route.h>
16315 #endif
16316 #ifdef HAVE_NETINET_IN_H
16317 #include <netinet/in.h>
16318 #endif
16319 #ifdef HAVE_NETINET_IN_SYSTM_H
16320 #include <netinet/in_systm.h>
16321 #endif
16322 #ifdef HAVE_NETINET_IP_H
16323 #include <netinet/ip.h>
16324 #endif
16325 #ifdef HAVE_NETINET_IN_PCB_H
16326 #include <netinet/in_pcb.h>
16327 #endif
16329 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_STRUCT_XINPGEN 1
16333 _ACEOF
16339 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16340 #include <link.h>
16341 #endif
16342 #ifdef HAVE_SYS_LINK_H
16343 #include <sys/link.h>
16344 #endif
16346 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_R_DEBUG 1
16350 _ACEOF
16354 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16355 #include <link.h>
16356 #endif
16357 #ifdef HAVE_SYS_LINK_H
16358 #include <sys/link.h>
16359 #endif
16361 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_LINK_MAP 1
16365 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16372 #include <linux/input.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16379 _ACEOF
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16386 $as_echo_n "checking for if_nameindex... " >&6; }
16387 if ${wine_cv_have_if_nameindex+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #ifdef HAVE_SYS_TYPES_H
16393 #include <sys/types.h>
16394 #endif
16395 #ifdef HAVE_NET_IF_H
16396 # include <net/if.h>
16397 #endif
16399 main ()
16401 struct if_nameindex *p = if_nameindex(); return p->if_index;
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_link "$LINENO"; then :
16407 wine_cv_have_if_nameindex=yes
16408 else
16409 wine_cv_have_if_nameindex=no
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16415 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16416 if test "$wine_cv_have_if_nameindex" = "yes"
16417 then
16419 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16424 $as_echo_n "checking for sigaddset... " >&6; }
16425 if ${wine_cv_have_sigaddset+:} false; then :
16426 $as_echo_n "(cached) " >&6
16427 else
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #include <signal.h>
16432 main ()
16434 sigset_t set; sigaddset(&set,SIGTERM);
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_link "$LINENO"; then :
16440 wine_cv_have_sigaddset=yes
16441 else
16442 wine_cv_have_sigaddset=no
16444 rm -f core conftest.err conftest.$ac_objext \
16445 conftest$ac_exeext conftest.$ac_ext
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16448 $as_echo "$wine_cv_have_sigaddset" >&6; }
16449 if test "$wine_cv_have_sigaddset" = "yes"
16450 then
16452 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16458 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16459 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #include <netdb.h>
16466 main ()
16469 char *name=0;
16470 struct hostent he;
16471 struct hostent *result;
16472 char *buf=0;
16473 int bufsize=0;
16474 int errnr;
16475 char *addr=0;
16476 int addrlen=0;
16477 int addrtype=0;
16478 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16479 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16482 return 0;
16484 _ACEOF
16485 if ac_fn_c_try_link "$LINENO"; then :
16486 wine_cv_linux_gethostbyname_r_6=yes
16487 else
16488 wine_cv_linux_gethostbyname_r_6=no
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16496 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16497 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16498 then
16500 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16504 if test "$ac_cv_header_linux_joystick_h" = "yes"
16505 then
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16507 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16508 if ${wine_cv_linux_joystick_22_api+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16514 #include <sys/ioctl.h>
16515 #include <sys/types.h>
16516 #include <linux/joystick.h>
16518 struct js_event blub;
16519 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16520 #error "no 2.2 header"
16521 #endif
16524 main ()
16526 /*empty*/
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_compile "$LINENO"; then :
16532 wine_cv_linux_joystick_22_api=yes
16533 else
16534 wine_cv_linux_joystick_22_api=no
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16540 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16541 if test "$wine_cv_linux_joystick_22_api" = "yes"
16542 then
16544 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16550 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16551 #ifdef HAVE_SYS_PARAM_H
16552 # include <sys/param.h>
16553 #endif
16554 #ifdef HAVE_SYS_MOUNT_H
16555 # include <sys/mount.h>
16556 #endif
16557 #ifdef HAVE_SYS_VFS_H
16558 # include <sys/vfs.h>
16559 #endif
16560 #ifdef HAVE_SYS_STATFS_H
16561 # include <sys/statfs.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_STATFS_F_BFREE 1
16568 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16573 #ifdef HAVE_SYS_PARAM_H
16574 # include <sys/param.h>
16575 #endif
16576 #ifdef HAVE_SYS_MOUNT_H
16577 # include <sys/mount.h>
16578 #endif
16579 #ifdef HAVE_SYS_VFS_H
16580 # include <sys/vfs.h>
16581 #endif
16582 #ifdef HAVE_SYS_STATFS_H
16583 # include <sys/statfs.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16590 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16595 #ifdef HAVE_SYS_PARAM_H
16596 # include <sys/param.h>
16597 #endif
16598 #ifdef HAVE_SYS_MOUNT_H
16599 # include <sys/mount.h>
16600 #endif
16601 #ifdef HAVE_SYS_VFS_H
16602 # include <sys/vfs.h>
16603 #endif
16604 #ifdef HAVE_SYS_STATFS_H
16605 # include <sys/statfs.h>
16606 #endif
16608 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16617 #ifdef HAVE_SYS_PARAM_H
16618 # include <sys/param.h>
16619 #endif
16620 #ifdef HAVE_SYS_MOUNT_H
16621 # include <sys/mount.h>
16622 #endif
16623 #ifdef HAVE_SYS_VFS_H
16624 # include <sys/vfs.h>
16625 #endif
16626 #ifdef HAVE_SYS_STATFS_H
16627 # include <sys/statfs.h>
16628 #endif
16630 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STATFS_F_FFREE 1
16634 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16639 #ifdef HAVE_SYS_PARAM_H
16640 # include <sys/param.h>
16641 #endif
16642 #ifdef HAVE_SYS_MOUNT_H
16643 # include <sys/mount.h>
16644 #endif
16645 #ifdef HAVE_SYS_VFS_H
16646 # include <sys/vfs.h>
16647 #endif
16648 #ifdef HAVE_SYS_STATFS_H
16649 # include <sys/statfs.h>
16650 #endif
16652 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16661 #ifdef HAVE_SYS_PARAM_H
16662 # include <sys/param.h>
16663 #endif
16664 #ifdef HAVE_SYS_MOUNT_H
16665 # include <sys/mount.h>
16666 #endif
16667 #ifdef HAVE_SYS_VFS_H
16668 # include <sys/vfs.h>
16669 #endif
16670 #ifdef HAVE_SYS_STATFS_H
16671 # include <sys/statfs.h>
16672 #endif
16674 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16678 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16685 #include <sys/statvfs.h>
16686 #endif
16688 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16692 _ACEOF
16698 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16699 #include <dirent.h>
16700 #endif
16702 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16706 _ACEOF
16712 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16713 #ifdef HAVE_SYS_SOCKET_H
16714 # include <sys/socket.h>
16715 #endif
16716 #ifdef HAVE_SYS_UN_H
16717 # include <sys/un.h>
16718 #endif
16720 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16724 _ACEOF
16728 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16729 #ifdef HAVE_SYS_SOCKET_H
16730 # include <sys/socket.h>
16731 #endif
16732 #ifdef HAVE_SYS_UN_H
16733 # include <sys/un.h>
16734 #endif
16736 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16740 _ACEOF
16744 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16745 #ifdef HAVE_SYS_SOCKET_H
16746 # include <sys/socket.h>
16747 #endif
16748 #ifdef HAVE_SYS_UN_H
16749 # include <sys/un.h>
16750 #endif
16752 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16756 _ACEOF
16762 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16763 #ifdef HAVE_SCSI_SG_H
16764 #include <scsi/sg.h>
16765 #endif
16767 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_SCSIREQ_T_CMD 1
16771 _ACEOF
16775 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>
16776 #ifdef HAVE_SCSI_SG_H
16777 #include <scsi/sg.h>
16778 #endif
16780 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16784 _ACEOF
16790 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16792 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16794 cat >>confdefs.h <<_ACEOF
16795 #define HAVE_SIGINFO_T_SI_FD 1
16796 _ACEOF
16802 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16803 #ifdef HAVE_SYS_MTIO_H
16804 #include <sys/mtio.h>
16805 #endif
16807 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16811 _ACEOF
16815 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16816 #ifdef HAVE_SYS_MTIO_H
16817 #include <sys/mtio.h>
16818 #endif
16820 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16824 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16829 #ifdef HAVE_SYS_MTIO_H
16830 #include <sys/mtio.h>
16831 #endif
16833 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16837 _ACEOF
16843 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16844 #include <getopt.h>
16845 #endif
16847 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_STRUCT_OPTION_NAME 1
16851 _ACEOF
16857 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16858 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16862 _ACEOF
16866 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16867 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_STRUCT_STAT_ST_MTIM 1
16871 _ACEOF
16875 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16876 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16880 _ACEOF
16884 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16885 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_STRUCT_STAT_ST_CTIM 1
16889 _ACEOF
16893 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16894 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16898 _ACEOF
16902 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16903 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_STAT_ST_ATIM 1
16907 _ACEOF
16911 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16912 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16916 _ACEOF
16920 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16921 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16925 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16930 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16934 _ACEOF
16938 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16939 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16941 cat >>confdefs.h <<_ACEOF
16942 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16943 _ACEOF
16947 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16948 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16952 _ACEOF
16956 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16957 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16961 _ACEOF
16967 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
16968 #include <sys/types.h>
16969 #endif
16970 #ifdef HAVE_NETINET_IN_H
16971 #include <netinet/in.h>
16972 #endif
16974 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16976 cat >>confdefs.h <<_ACEOF
16977 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16978 _ACEOF
16984 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16985 #include <sys/types.h>
16986 #endif
16987 #ifdef HAVE_NETINET_IN_H
16988 #include <netinet/in.h>
16989 #endif
16990 #ifdef HAVE_RESOLV_H
16991 #include <resolv.h>
16992 #endif
16994 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT___RES_STATE 1
16998 _ACEOF
17004 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
17005 #include <resolv.h>
17006 #endif
17008 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17012 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17019 #include <sys/types.h>
17020 #endif
17021 #ifdef HAVE_NETINET_IN_H
17022 # include <netinet/in.h>
17023 #endif
17024 #ifdef HAVE_ARPA_NAMESER_H
17025 # include <arpa/nameser.h>
17026 #endif
17028 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17030 cat >>confdefs.h <<_ACEOF
17031 #define HAVE_NS_MSG__MSG_PTR 1
17032 _ACEOF
17038 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17039 #include <sys/types.h>
17040 #endif
17041 #ifdef HAVE_NETINET_IN_H
17042 #include <netinet/in.h>
17043 #endif
17044 #ifdef HAVE_NETINET_IP_H
17045 #include <netinet/ip.h>
17046 #endif
17047 #ifdef HAVE_NETINET_IP_ICMP_H
17048 #include <netinet/ip_icmp.h>
17049 #endif
17050 #ifdef HAVE_NETINET_ICMP_VAR_H
17051 #include <netinet/icmp_var.h>
17052 #endif
17054 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17058 _ACEOF
17064 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17065 #include <sys/types.h>
17066 #endif
17067 #ifdef HAVE_ALIAS_H
17068 #include <alias.h>
17069 #endif
17070 #ifdef HAVE_SYS_SOCKET_H
17071 #include <sys/socket.h>
17072 #endif
17073 #ifdef HAVE_SYS_SOCKETVAR_H
17074 #include <sys/socketvar.h>
17075 #endif
17076 #ifdef HAVE_SYS_TIMEOUT_H
17077 #include <sys/timeout.h>
17078 #endif
17079 #ifdef HAVE_NETINET_IN_H
17080 #include <netinet/in.h>
17081 #endif
17082 #ifdef HAVE_NETINET_IN_SYSTM_H
17083 #include <netinet/in_systm.h>
17084 #endif
17085 #ifdef HAVE_NETINET_IP_H
17086 #include <netinet/ip.h>
17087 #endif
17088 #ifdef HAVE_NETINET_IP_VAR_H
17089 #include <netinet/ip_var.h>
17090 #endif
17091 #ifdef HAVE_NETINET_IP_ICMP_H
17092 #include <netinet/ip_icmp.h>
17093 #endif
17094 #ifdef HAVE_NETINET_ICMP_VAR_H
17095 #include <netinet/icmp_var.h>
17096 #endif
17098 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17102 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17109 #include <sys/types.h>
17110 #endif
17111 #ifdef HAVE_SYS_SOCKETVAR_H
17112 #include <sys/socketvar.h>
17113 #endif
17114 #ifdef HAVE_NETINET_IN_H
17115 #include <netinet/in.h>
17116 #endif
17117 #ifdef HAVE_NETINET_IP_VAR_H
17118 #include <netinet/ip_var.h>
17119 #endif
17121 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17125 _ACEOF
17131 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
17132 #include <netinet/ip_var.h>
17133 #endif
17135 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17137 cat >>confdefs.h <<_ACEOF
17138 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17139 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17146 #include <sys/types.h>
17147 #endif
17148 #ifdef HAVE_SYS_SOCKETVAR_H
17149 #include <sys/socketvar.h>
17150 #endif
17151 #ifdef HAVE_NETINET_IN_H
17152 #include <netinet/in.h>
17153 #endif
17154 #ifdef HAVE_NETINET_TCP_H
17155 #include <netinet/tcp.h>
17156 #endif
17157 #ifdef HAVE_NETINET_TCP_VAR_H
17158 #include <netinet/tcp_var.h>
17159 #endif
17161 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17165 _ACEOF
17171 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
17172 #include <netinet/tcp_var.h>
17173 #endif
17175 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17179 _ACEOF
17185 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17186 #include <sys/types.h>
17187 #endif
17188 #ifdef HAVE_NETINET_IN_H
17189 #include <netinet/in.h>
17190 #endif
17191 #ifdef HAVE_NETINET_IP_VAR_H
17192 #include <netinet/ip_var.h>
17193 #endif
17194 #ifdef HAVE_NETINET_UDP_H
17195 #include <netinet/udp.h>
17196 #endif
17197 #ifdef HAVE_NETINET_UDP_VAR_H
17198 #include <netinet/udp_var.h>
17199 #endif
17201 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17205 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17212 #include <sys/types.h>
17213 #endif
17214 #ifdef HAVE_NET_IF_H
17215 # include <net/if.h>
17216 #endif
17218 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17222 _ACEOF
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17229 $as_echo_n "checking for timezone variable... " >&6; }
17230 if ${ac_cv_have_timezone+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #include <time.h>
17237 main ()
17239 timezone = 1
17241 return 0;
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_have_timezone="yes"
17246 else
17247 ac_cv_have_timezone="no"
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17253 $as_echo "$ac_cv_have_timezone" >&6; }
17254 if test "$ac_cv_have_timezone" = "yes"
17255 then
17257 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17261 $as_echo_n "checking for daylight variable... " >&6; }
17262 if ${ac_cv_have_daylight+:} false; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 #include <time.h>
17269 main ()
17271 daylight = 1
17273 return 0;
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"; then :
17277 ac_cv_have_daylight="yes"
17278 else
17279 ac_cv_have_daylight="no"
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17285 $as_echo "$ac_cv_have_daylight" >&6; }
17286 if test "$ac_cv_have_daylight" = "yes"
17287 then
17289 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17293 ac_save_LIBS="$LIBS"
17294 LIBS="$LIBS -lm"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17296 $as_echo_n "checking for isfinite... " >&6; }
17297 if ${ac_cv_have_isfinite+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302 #define _GNU_SOURCE
17303 #include <math.h>
17305 main ()
17307 float f = 0.0; return isfinite(f)
17309 return 0;
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_have_isfinite="yes"
17314 else
17315 ac_cv_have_isfinite="no"
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17321 $as_echo "$ac_cv_have_isfinite" >&6; }
17322 if test "$ac_cv_have_isfinite" = "yes"
17323 then
17325 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17330 $as_echo_n "checking for isinf... " >&6; }
17331 if ${ac_cv_have_isinf+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 #include <math.h>
17338 main ()
17340 float f = 0.0; return isinf(f)
17342 return 0;
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"; then :
17346 ac_cv_have_isinf="yes"
17347 else
17348 ac_cv_have_isinf="no"
17350 rm -f core conftest.err conftest.$ac_objext \
17351 conftest$ac_exeext conftest.$ac_ext
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17354 $as_echo "$ac_cv_have_isinf" >&6; }
17355 if test "$ac_cv_have_isinf" = "yes"
17356 then
17358 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17363 $as_echo_n "checking for isnan... " >&6; }
17364 if ${ac_cv_have_isnan+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #include <math.h>
17371 main ()
17373 float f = 0.0; return isnan(f)
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_have_isnan="yes"
17380 else
17381 ac_cv_have_isnan="no"
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17387 $as_echo "$ac_cv_have_isnan" >&6; }
17388 if test "$ac_cv_have_isnan" = "yes"
17389 then
17391 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17395 for ac_func in \
17396 asinh \
17397 asinhf \
17398 cbrt \
17399 cbrtf \
17400 erf \
17401 erff \
17402 exp2 \
17403 exp2f \
17404 lgamma \
17405 lgammaf \
17406 llrint \
17407 llrintf \
17408 llround \
17409 llroundf \
17410 log2 \
17411 log2f \
17412 lrint \
17413 lrintf \
17414 lround \
17415 lroundf \
17416 nearbyint \
17417 nearbyintf \
17418 powl \
17419 remainder \
17420 remainderf \
17421 rint \
17422 rintf \
17423 round \
17424 roundf \
17425 trunc \
17426 truncf
17428 do :
17429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17434 _ACEOF
17437 done
17439 LIBS="$ac_save_LIBS"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17442 $as_echo_n "checking for __builtin_clz... " >&6; }
17443 if ${ac_cv_have___builtin_clz+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17450 main ()
17452 return __builtin_clz(1)
17454 return 0;
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"; then :
17458 ac_cv_have___builtin_clz="yes"
17459 else
17460 ac_cv_have___builtin_clz="no"
17462 rm -f core conftest.err conftest.$ac_objext \
17463 conftest$ac_exeext conftest.$ac_ext
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17466 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17467 if test "$ac_cv_have___builtin_clz" = "yes"
17468 then
17470 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17475 $as_echo_n "checking for __builtin_popcount... " >&6; }
17476 if ${ac_cv_have___builtin_popcount+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17483 main ()
17485 return __builtin_popcount(1)
17487 return 0;
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"; then :
17491 ac_cv_have___builtin_popcount="yes"
17492 else
17493 ac_cv_have___builtin_popcount="no"
17495 rm -f core conftest.err conftest.$ac_objext \
17496 conftest$ac_exeext conftest.$ac_ext
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17499 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17500 if test "$ac_cv_have___builtin_popcount" = "yes"
17501 then
17503 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17508 case $host_cpu in
17509 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17510 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17511 if ${ac_cv_cpp_def___i386__+:} false; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 #ifndef __i386__
17518 #endif
17519 _ACEOF
17520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17521 $EGREP "yes" >/dev/null 2>&1; then :
17522 ac_cv_cpp_def___i386__=yes
17523 else
17524 ac_cv_cpp_def___i386__=no
17526 rm -f conftest*
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17530 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17531 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17532 CFLAGS="$CFLAGS -D__i386__"
17533 LINTFLAGS="$LINTFLAGS -D__i386__"
17534 fi ;;
17535 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17536 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17537 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #ifndef __x86_64__
17544 #endif
17545 _ACEOF
17546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17547 $EGREP "yes" >/dev/null 2>&1; then :
17548 ac_cv_cpp_def___x86_64__=yes
17549 else
17550 ac_cv_cpp_def___x86_64__=no
17552 rm -f conftest*
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17556 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17557 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17558 CFLAGS="$CFLAGS -D__x86_64__"
17559 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17560 fi ;;
17561 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17562 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17563 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #ifndef __sparc64__
17570 #endif
17571 _ACEOF
17572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17573 $EGREP "yes" >/dev/null 2>&1; then :
17574 ac_cv_cpp_def___sparc64__=yes
17575 else
17576 ac_cv_cpp_def___sparc64__=no
17578 rm -f conftest*
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17582 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17583 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17584 CFLAGS="$CFLAGS -D__sparc64__"
17585 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17586 fi ;;
17587 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17588 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17589 if ${ac_cv_cpp_def___sparc__+:} false; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17593 /* end confdefs.h. */
17594 #ifndef __sparc__
17596 #endif
17597 _ACEOF
17598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17599 $EGREP "yes" >/dev/null 2>&1; then :
17600 ac_cv_cpp_def___sparc__=yes
17601 else
17602 ac_cv_cpp_def___sparc__=no
17604 rm -f conftest*
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17608 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17609 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17610 CFLAGS="$CFLAGS -D__sparc__"
17611 LINTFLAGS="$LINTFLAGS -D__sparc__"
17612 fi ;;
17613 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17614 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17615 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 #ifndef __powerpc64__
17622 #endif
17623 _ACEOF
17624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17625 $EGREP "yes" >/dev/null 2>&1; then :
17626 ac_cv_cpp_def___powerpc64__=yes
17627 else
17628 ac_cv_cpp_def___powerpc64__=no
17630 rm -f conftest*
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17634 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17635 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17636 CFLAGS="$CFLAGS -D__powerpc64__"
17637 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17638 fi ;;
17639 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17640 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17641 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #ifndef __powerpc__
17648 #endif
17649 _ACEOF
17650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17651 $EGREP "yes" >/dev/null 2>&1; then :
17652 ac_cv_cpp_def___powerpc__=yes
17653 else
17654 ac_cv_cpp_def___powerpc__=no
17656 rm -f conftest*
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17660 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17661 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17662 CFLAGS="$CFLAGS -D__powerpc__"
17663 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17664 fi ;;
17665 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17666 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17667 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #ifndef __aarch64__
17674 #endif
17675 _ACEOF
17676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17677 $EGREP "yes" >/dev/null 2>&1; then :
17678 ac_cv_cpp_def___aarch64__=yes
17679 else
17680 ac_cv_cpp_def___aarch64__=no
17682 rm -f conftest*
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17686 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17687 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17688 CFLAGS="$CFLAGS -D__aarch64__"
17689 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17690 fi ;;
17691 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17692 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17693 if ${ac_cv_cpp_def___arm__+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #ifndef __arm__
17700 #endif
17701 _ACEOF
17702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17703 $EGREP "yes" >/dev/null 2>&1; then :
17704 ac_cv_cpp_def___arm__=yes
17705 else
17706 ac_cv_cpp_def___arm__=no
17708 rm -f conftest*
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17712 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17713 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17714 CFLAGS="$CFLAGS -D__arm__"
17715 LINTFLAGS="$LINTFLAGS -D__arm__"
17716 fi ;;
17717 esac
17719 case $host_vendor in
17720 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17721 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17722 if ${ac_cv_cpp_def___sun__+:} false; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 #ifndef __sun__
17729 #endif
17730 _ACEOF
17731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17732 $EGREP "yes" >/dev/null 2>&1; then :
17733 ac_cv_cpp_def___sun__=yes
17734 else
17735 ac_cv_cpp_def___sun__=no
17737 rm -f conftest*
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17741 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17742 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17743 CFLAGS="$CFLAGS -D__sun__"
17744 LINTFLAGS="$LINTFLAGS -D__sun__"
17745 fi ;;
17746 esac
17752 ac_config_commands="$ac_config_commands include/stamp-h"
17754 $as_echo_n "creating Makefile rules..." >&6
17756 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17757 SOCKET_LIBS = $SOCKET_LIBS
17758 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17759 IOKIT_LIBS = $IOKIT_LIBS
17760 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17761 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17762 CORESERVICES_LIBS = $CORESERVICES_LIBS
17763 APPKIT_LIBS = $APPKIT_LIBS
17764 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17765 SECURITY_LIBS = $SECURITY_LIBS
17766 COREAUDIO_LIBS = $COREAUDIO_LIBS
17767 OPENAL_LIBS = $OPENAL_LIBS
17768 OPENCL_LIBS = $OPENCL_LIBS
17769 QUICKTIME_LIBS = $QUICKTIME_LIBS
17770 CARBON_LIBS = $CARBON_LIBS
17771 PTHREAD_LIBS = $PTHREAD_LIBS
17772 X_CFLAGS = $X_CFLAGS
17773 X_PRE_LIBS = $X_PRE_LIBS
17774 X_LIBS = $X_LIBS
17775 X_EXTRA_LIBS = $X_EXTRA_LIBS
17776 PCAP_LIBS = $PCAP_LIBS
17777 XML2_CFLAGS = $XML2_CFLAGS
17778 XML2_LIBS = $XML2_LIBS
17779 XSLT_CFLAGS = $XSLT_CFLAGS
17780 XSLT_LIBS = $XSLT_LIBS
17781 DBUS_CFLAGS = $DBUS_CFLAGS
17782 DBUS_LIBS = $DBUS_LIBS
17783 HAL_CFLAGS = $HAL_CFLAGS
17784 HAL_LIBS = $HAL_LIBS
17785 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17786 GNUTLS_LIBS = $GNUTLS_LIBS
17787 SANE_CFLAGS = $SANE_CFLAGS
17788 SANE_LIBS = $SANE_LIBS
17789 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17790 GPHOTO2_LIBS = $GPHOTO2_LIBS
17791 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17792 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17793 RESOLV_LIBS = $RESOLV_LIBS
17794 LCMS2_CFLAGS = $LCMS2_CFLAGS
17795 LCMS2_LIBS = $LCMS2_LIBS
17796 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17797 FREETYPE_LIBS = $FREETYPE_LIBS
17798 Z_LIBS = $Z_LIBS
17799 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17800 PULSE_CFLAGS = $PULSE_CFLAGS
17801 PULSE_LIBS = $PULSE_LIBS
17802 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17803 GSTREAMER_LIBS = $GSTREAMER_LIBS
17804 ALSA_LIBS = $ALSA_LIBS
17805 OSS4_CFLAGS = $OSS4_CFLAGS
17806 UDEV_CFLAGS = $UDEV_CFLAGS
17807 UDEV_LIBS = $UDEV_LIBS
17808 CAPI20_CFLAGS = $CAPI20_CFLAGS
17809 CAPI20_LIBS = $CAPI20_LIBS
17810 CUPS_CFLAGS = $CUPS_CFLAGS
17811 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17812 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17813 JPEG_CFLAGS = $JPEG_CFLAGS
17814 JPEG_LIBS = $JPEG_LIBS
17815 PNG_CFLAGS = $PNG_CFLAGS
17816 PNG_LIBS = $PNG_LIBS
17817 TIFF_CFLAGS = $TIFF_CFLAGS
17818 TIFF_LIBS = $TIFF_LIBS
17819 MPG123_CFLAGS = $MPG123_CFLAGS
17820 MPG123_LIBS = $MPG123_LIBS
17821 KSTAT_LIBS = $KSTAT_LIBS
17822 PROCSTAT_LIBS = $PROCSTAT_LIBS
17823 NETAPI_CFLAGS = $NETAPI_CFLAGS
17824 NETAPI_LIBS = $NETAPI_LIBS
17825 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17826 DL_LIBS = $DL_LIBS
17827 POLL_LIBS = $POLL_LIBS
17828 RT_LIBS = $RT_LIBS
17829 LDAP_LIBS = $LDAP_LIBS
17834 wine_fn_append_rule "
17835 # Rules automatically generated by configure
17837 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17839 .INIT: Makefile
17840 .MAKEFILEDEPS:
17841 all: Makefile
17842 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17843 @./config.status Make.tmp Makefile
17844 depend: \$(MAKEDEP) dummy
17845 \$(MAKEDEP)"
17847 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17848 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17850 if test "x$enable_fonts" != xno; then
17851 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17852 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17853 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17854 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17855 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17856 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17858 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17859 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17860 ac_config_links="$ac_config_links wine:tools/winewrapper"
17861 wine_fn_config_symlink wine
17862 if test "x$enable_win64" != xno; then
17863 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17864 wine_fn_config_symlink wine64
17867 wine_fn_config_dll acledit enable_acledit
17868 wine_fn_config_dll aclui enable_aclui implib
17869 wine_fn_config_dll activeds enable_activeds implib
17870 wine_fn_config_dll actxprxy enable_actxprxy clean
17871 wine_fn_config_lib adsiid
17872 wine_fn_config_dll adsldpc enable_adsldpc
17873 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17874 wine_fn_config_test dlls/advapi32/tests advapi32_test
17875 wine_fn_config_dll advpack enable_advpack implib
17876 wine_fn_config_test dlls/advpack/tests advpack_test
17877 wine_fn_config_dll amstream enable_amstream clean
17878 wine_fn_config_test dlls/amstream/tests amstream_test
17879 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17880 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17881 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17882 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17883 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17884 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17885 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17886 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17887 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17888 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17889 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17890 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17891 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17892 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17893 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17895 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17897 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17898 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17899 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17900 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17901 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17902 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17903 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17904 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17905 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17906 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17907 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17908 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17909 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17910 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17911 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17912 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17913 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17914 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17915 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17916 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17917 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17919 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17920 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17921 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17922 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17923 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17924 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17925 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17926 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17927 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17928 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17929 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17930 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17931 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17932 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17934 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17935 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17936 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17937 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17938 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17939 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17940 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17942 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17943 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17944 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17946 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17947 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17950 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17954 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17957 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17962 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17966 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17968 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17969 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17971 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17983 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17984 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17991 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17992 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17993 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17994 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17995 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17996 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17997 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17998 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17999 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18000 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18001 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18002 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18003 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18006 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18007 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18008 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18009 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18010 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18011 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18012 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18013 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18014 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18015 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18016 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18017 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18018 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18019 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18020 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18021 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18022 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18023 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18024 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18025 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18026 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18027 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18028 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18029 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18030 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18031 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18032 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18033 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18034 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18035 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18036 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18037 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18038 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18039 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18040 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18041 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18042 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18043 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18044 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18045 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18046 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18047 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18048 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18049 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18050 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18051 wine_fn_config_dll apphelp enable_apphelp
18052 wine_fn_config_test dlls/apphelp/tests apphelp_test
18053 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18054 wine_fn_config_dll atl enable_atl clean,implib
18055 wine_fn_config_test dlls/atl/tests atl_test
18056 wine_fn_config_dll atl100 enable_atl100 clean,implib
18057 wine_fn_config_test dlls/atl100/tests atl100_test
18058 wine_fn_config_dll atl110 enable_atl110 clean
18059 wine_fn_config_dll atl80 enable_atl80 clean,implib
18060 wine_fn_config_test dlls/atl80/tests atl80_test
18061 wine_fn_config_dll atl90 enable_atl90 clean
18062 wine_fn_config_dll authz enable_authz
18063 wine_fn_config_dll avicap32 enable_avicap32 implib
18064 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18065 wine_fn_config_test dlls/avifil32/tests avifil32_test
18066 wine_fn_config_dll avifile.dll16 enable_win16
18067 wine_fn_config_dll avrt enable_avrt implib
18068 wine_fn_config_dll bcrypt enable_bcrypt implib
18069 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18070 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18071 wine_fn_config_dll browseui enable_browseui clean
18072 wine_fn_config_test dlls/browseui/tests browseui_test
18073 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18074 wine_fn_config_dll cabinet enable_cabinet implib
18075 wine_fn_config_test dlls/cabinet/tests cabinet_test
18076 wine_fn_config_dll capi2032 enable_capi2032 implib
18077 wine_fn_config_dll cards enable_cards implib
18078 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18079 wine_fn_config_dll clusapi enable_clusapi implib
18080 wine_fn_config_dll combase enable_combase
18081 wine_fn_config_test dlls/combase/tests combase_test
18082 wine_fn_config_dll comcat enable_comcat
18083 wine_fn_config_test dlls/comcat/tests comcat_test
18084 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18085 wine_fn_config_test dlls/comctl32/tests comctl32_test
18086 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18087 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18088 wine_fn_config_dll comm.drv16 enable_win16
18089 wine_fn_config_dll commdlg.dll16 enable_win16
18090 wine_fn_config_dll compobj.dll16 enable_win16
18091 wine_fn_config_dll compstui enable_compstui implib
18092 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18093 wine_fn_config_dll concrt140 enable_concrt140
18094 wine_fn_config_dll connect enable_connect
18095 wine_fn_config_dll credui enable_credui clean,implib
18096 wine_fn_config_test dlls/credui/tests credui_test
18097 wine_fn_config_dll crtdll enable_crtdll
18098 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18099 wine_fn_config_test dlls/crypt32/tests crypt32_test
18100 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18101 wine_fn_config_dll cryptdll enable_cryptdll implib
18102 wine_fn_config_dll cryptext enable_cryptext
18103 wine_fn_config_dll cryptnet enable_cryptnet implib
18104 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18105 wine_fn_config_dll cryptui enable_cryptui clean,implib
18106 wine_fn_config_test dlls/cryptui/tests cryptui_test
18107 wine_fn_config_dll ctapi32 enable_ctapi32
18108 wine_fn_config_dll ctl3d.dll16 enable_win16
18109 wine_fn_config_dll ctl3d32 enable_ctl3d32
18110 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18111 wine_fn_config_dll d2d1 enable_d2d1 implib
18112 wine_fn_config_test dlls/d2d1/tests d2d1_test
18113 wine_fn_config_dll d3d10 enable_d3d10 implib
18114 wine_fn_config_test dlls/d3d10/tests d3d10_test
18115 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18116 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18117 wine_fn_config_dll d3d10core enable_d3d10core implib
18118 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18119 wine_fn_config_dll d3d11 enable_d3d11 implib
18120 wine_fn_config_test dlls/d3d11/tests d3d11_test
18121 wine_fn_config_dll d3d8 enable_d3d8 implib
18122 wine_fn_config_test dlls/d3d8/tests d3d8_test
18123 wine_fn_config_dll d3d9 enable_d3d9 implib
18124 wine_fn_config_test dlls/d3d9/tests d3d9_test
18125 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18126 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18127 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18128 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18129 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18130 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18131 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18132 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18133 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18134 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18135 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18136 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18137 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18138 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18139 wine_fn_config_dll d3dim enable_d3dim
18140 wine_fn_config_dll d3drm enable_d3drm implib
18141 wine_fn_config_test dlls/d3drm/tests d3drm_test
18142 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18143 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18144 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18145 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18146 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18147 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18148 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18149 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18150 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18151 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18152 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18153 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18154 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18155 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18156 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18157 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18158 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18159 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18160 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18161 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18162 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18163 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18164 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18165 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18166 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18167 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18168 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18169 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18170 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18171 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18172 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18173 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18174 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18175 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18176 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18177 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18178 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18179 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18180 wine_fn_config_dll davclnt enable_davclnt
18181 wine_fn_config_dll dbgeng enable_dbgeng implib
18182 wine_fn_config_dll dbghelp enable_dbghelp implib
18183 wine_fn_config_dll dciman32 enable_dciman32 implib
18184 wine_fn_config_dll ddeml.dll16 enable_win16
18185 wine_fn_config_dll ddraw enable_ddraw clean,implib
18186 wine_fn_config_test dlls/ddraw/tests ddraw_test
18187 wine_fn_config_dll ddrawex enable_ddrawex clean
18188 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18189 wine_fn_config_dll devenum enable_devenum clean
18190 wine_fn_config_test dlls/devenum/tests devenum_test
18191 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18192 wine_fn_config_dll difxapi enable_difxapi
18193 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18194 wine_fn_config_test dlls/dinput/tests dinput_test
18195 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18196 wine_fn_config_test dlls/dinput8/tests dinput8_test
18197 wine_fn_config_dll dispdib.dll16 enable_win16
18198 wine_fn_config_dll dispex enable_dispex clean
18199 wine_fn_config_test dlls/dispex/tests dispex_test
18200 wine_fn_config_dll display.drv16 enable_win16
18201 wine_fn_config_dll dmband enable_dmband clean
18202 wine_fn_config_test dlls/dmband/tests dmband_test
18203 wine_fn_config_dll dmcompos enable_dmcompos clean
18204 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18205 wine_fn_config_dll dmime enable_dmime clean
18206 wine_fn_config_test dlls/dmime/tests dmime_test
18207 wine_fn_config_dll dmloader enable_dmloader clean
18208 wine_fn_config_test dlls/dmloader/tests dmloader_test
18209 wine_fn_config_dll dmscript enable_dmscript clean
18210 wine_fn_config_test dlls/dmscript/tests dmscript_test
18211 wine_fn_config_dll dmstyle enable_dmstyle clean
18212 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18213 wine_fn_config_dll dmsynth enable_dmsynth clean
18214 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18215 wine_fn_config_dll dmusic enable_dmusic clean
18216 wine_fn_config_test dlls/dmusic/tests dmusic_test
18217 wine_fn_config_dll dmusic32 enable_dmusic32
18218 wine_fn_config_dll dnsapi enable_dnsapi implib
18219 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18220 wine_fn_config_dll dplay enable_dplay
18221 wine_fn_config_dll dplayx enable_dplayx clean,implib
18222 wine_fn_config_test dlls/dplayx/tests dplayx_test
18223 wine_fn_config_dll dpnaddr enable_dpnaddr
18224 wine_fn_config_dll dpnet enable_dpnet clean,implib
18225 wine_fn_config_test dlls/dpnet/tests dpnet_test
18226 wine_fn_config_dll dpnhpast enable_dpnhpast
18227 wine_fn_config_dll dpnlobby enable_dpnlobby
18228 wine_fn_config_dll dpvoice enable_dpvoice clean
18229 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18230 wine_fn_config_dll dpwsockx enable_dpwsockx
18231 wine_fn_config_dll drmclien enable_drmclien
18232 wine_fn_config_dll dsound enable_dsound clean,implib
18233 wine_fn_config_test dlls/dsound/tests dsound_test
18234 wine_fn_config_dll dssenh enable_dssenh
18235 wine_fn_config_test dlls/dssenh/tests dssenh_test
18236 wine_fn_config_dll dswave enable_dswave clean
18237 wine_fn_config_test dlls/dswave/tests dswave_test
18238 wine_fn_config_dll dwmapi enable_dwmapi implib
18239 wine_fn_config_dll dwrite enable_dwrite implib
18240 wine_fn_config_test dlls/dwrite/tests dwrite_test
18241 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18242 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18243 wine_fn_config_lib dxerr8
18244 wine_fn_config_lib dxerr9
18245 wine_fn_config_dll dxgi enable_dxgi implib
18246 wine_fn_config_test dlls/dxgi/tests dxgi_test
18247 wine_fn_config_lib dxguid
18248 wine_fn_config_dll dxva2 enable_dxva2
18249 wine_fn_config_dll esent enable_esent
18250 wine_fn_config_dll evr enable_evr
18251 wine_fn_config_dll explorerframe enable_explorerframe clean
18252 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18253 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18254 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18255 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18256 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18257 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18258 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18259 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18260 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18261 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18262 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18263 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18264 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18265 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18266 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18267 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18268 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
18269 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18270 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18271 wine_fn_config_dll faultrep enable_faultrep implib
18272 wine_fn_config_test dlls/faultrep/tests faultrep_test
18273 wine_fn_config_dll fltlib enable_fltlib
18274 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18275 wine_fn_config_dll fntcache enable_fntcache
18276 wine_fn_config_dll fontsub enable_fontsub
18277 wine_fn_config_dll fusion enable_fusion
18278 wine_fn_config_test dlls/fusion/tests fusion_test
18279 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18280 wine_fn_config_dll gameux enable_gameux clean
18281 wine_fn_config_test dlls/gameux/tests gameux_test
18282 wine_fn_config_dll gdi.exe16 enable_win16
18283 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18284 wine_fn_config_test dlls/gdi32/tests gdi32_test
18285 wine_fn_config_dll gdiplus enable_gdiplus implib
18286 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18287 wine_fn_config_dll glu32 enable_glu32 implib
18288 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18289 wine_fn_config_dll gpkcsp enable_gpkcsp
18290 wine_fn_config_dll hal enable_hal
18291 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18292 wine_fn_config_dll hid enable_hid implib
18293 wine_fn_config_test dlls/hid/tests hid_test
18294 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18295 wine_fn_config_dll hlink enable_hlink clean,implib
18296 wine_fn_config_test dlls/hlink/tests hlink_test
18297 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18298 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18299 wine_fn_config_dll httpapi enable_httpapi
18300 wine_fn_config_dll iccvid enable_iccvid clean
18301 wine_fn_config_dll icmp enable_icmp
18302 wine_fn_config_dll ieframe enable_ieframe clean,implib
18303 wine_fn_config_test dlls/ieframe/tests ieframe_test
18304 wine_fn_config_dll ifsmgr.vxd enable_win16
18305 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18306 wine_fn_config_dll imagehlp enable_imagehlp implib
18307 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18308 wine_fn_config_dll imm.dll16 enable_win16
18309 wine_fn_config_dll imm32 enable_imm32 implib
18310 wine_fn_config_test dlls/imm32/tests imm32_test
18311 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18312 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18313 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18314 wine_fn_config_dll inetmib1 enable_inetmib1
18315 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18316 wine_fn_config_dll infosoft enable_infosoft clean
18317 wine_fn_config_test dlls/infosoft/tests infosoft_test
18318 wine_fn_config_dll initpki enable_initpki
18319 wine_fn_config_dll inkobj enable_inkobj
18320 wine_fn_config_dll inseng enable_inseng clean
18321 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18322 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18323 wine_fn_config_dll iprop enable_iprop
18324 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18325 wine_fn_config_dll itircl enable_itircl
18326 wine_fn_config_dll itss enable_itss clean
18327 wine_fn_config_test dlls/itss/tests itss_test
18328 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18329 wine_fn_config_dll jscript enable_jscript clean
18330 wine_fn_config_test dlls/jscript/tests jscript_test
18331 wine_fn_config_dll jsproxy enable_jsproxy implib
18332 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18333 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18334 wine_fn_config_test dlls/kernel32/tests kernel32_test
18335 wine_fn_config_dll kernelbase enable_kernelbase
18336 wine_fn_config_dll keyboard.drv16 enable_win16
18337 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18338 wine_fn_config_dll ksuser enable_ksuser
18339 wine_fn_config_dll ktmw32 enable_ktmw32
18340 wine_fn_config_dll loadperf enable_loadperf implib
18341 wine_fn_config_dll localspl enable_localspl clean
18342 wine_fn_config_test dlls/localspl/tests localspl_test
18343 wine_fn_config_dll localui enable_localui clean
18344 wine_fn_config_test dlls/localui/tests localui_test
18345 wine_fn_config_dll lz32 enable_lz32 implib
18346 wine_fn_config_test dlls/lz32/tests lz32_test
18347 wine_fn_config_dll lzexpand.dll16 enable_win16
18348 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18349 wine_fn_config_test dlls/mapi32/tests mapi32_test
18350 wine_fn_config_dll mapistub enable_mapistub
18351 wine_fn_config_dll mciavi32 enable_mciavi32
18352 wine_fn_config_dll mcicda enable_mcicda
18353 wine_fn_config_dll mciqtz32 enable_mciqtz32
18354 wine_fn_config_dll mciseq enable_mciseq
18355 wine_fn_config_dll mciwave enable_mciwave
18356 wine_fn_config_dll mf enable_mf implib
18357 wine_fn_config_test dlls/mf/tests mf_test
18358 wine_fn_config_dll mf3216 enable_mf3216
18359 wine_fn_config_dll mfplat enable_mfplat implib
18360 wine_fn_config_test dlls/mfplat/tests mfplat_test
18361 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18362 wine_fn_config_dll mgmtapi enable_mgmtapi
18363 wine_fn_config_dll midimap enable_midimap
18364 wine_fn_config_dll mlang enable_mlang clean,implib
18365 wine_fn_config_test dlls/mlang/tests mlang_test
18366 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18367 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18368 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18369 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18370 wine_fn_config_dll mmdevldr.vxd enable_win16
18371 wine_fn_config_dll mmsystem.dll16 enable_win16
18372 wine_fn_config_dll monodebg.vxd enable_win16
18373 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18374 wine_fn_config_dll mouse.drv16 enable_win16
18375 wine_fn_config_dll mpr enable_mpr clean,implib
18376 wine_fn_config_test dlls/mpr/tests mpr_test
18377 wine_fn_config_dll mprapi enable_mprapi implib
18378 wine_fn_config_dll msacm.dll16 enable_win16
18379 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18380 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18381 wine_fn_config_test dlls/msacm32/tests msacm32_test
18382 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18383 wine_fn_config_dll msasn1 enable_msasn1 implib
18384 wine_fn_config_dll mscat32 enable_mscat32
18385 wine_fn_config_dll mscms enable_mscms implib
18386 wine_fn_config_test dlls/mscms/tests mscms_test
18387 wine_fn_config_dll mscoree enable_mscoree clean
18388 wine_fn_config_test dlls/mscoree/tests mscoree_test
18389 wine_fn_config_dll msctf enable_msctf clean
18390 wine_fn_config_test dlls/msctf/tests msctf_test
18391 wine_fn_config_dll msctfp enable_msctfp clean
18392 wine_fn_config_dll msdaps enable_msdaps clean
18393 wine_fn_config_dll msdelta enable_msdelta
18394 wine_fn_config_dll msdmo enable_msdmo implib
18395 wine_fn_config_test dlls/msdmo/tests msdmo_test
18396 wine_fn_config_dll msdrm enable_msdrm
18397 wine_fn_config_dll msftedit enable_msftedit
18398 wine_fn_config_dll msg711.acm enable_msg711_acm
18399 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18400 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18401 wine_fn_config_dll mshtml enable_mshtml clean,implib
18402 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18403 wine_fn_config_dll msi enable_msi clean,implib
18404 wine_fn_config_test dlls/msi/tests msi_test
18405 wine_fn_config_dll msident enable_msident clean
18406 wine_fn_config_dll msimg32 enable_msimg32 implib
18407 wine_fn_config_dll msimsg enable_msimsg
18408 wine_fn_config_dll msimtf enable_msimtf clean
18409 wine_fn_config_dll msisip enable_msisip
18410 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18411 wine_fn_config_dll msls31 enable_msls31
18412 wine_fn_config_dll msnet32 enable_msnet32
18413 wine_fn_config_dll mspatcha enable_mspatcha implib
18414 wine_fn_config_dll msports enable_msports
18415 wine_fn_config_dll msrle32 enable_msrle32 clean
18416 wine_fn_config_test dlls/msrle32/tests msrle32_test
18417 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18418 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18419 wine_fn_config_dll mssign32 enable_mssign32
18420 wine_fn_config_dll mssip32 enable_mssip32
18421 wine_fn_config_dll mstask enable_mstask clean
18422 wine_fn_config_test dlls/mstask/tests mstask_test
18423 wine_fn_config_dll msvcirt enable_msvcirt
18424 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18425 wine_fn_config_dll msvcm80 enable_msvcm80
18426 wine_fn_config_dll msvcm90 enable_msvcm90
18427 wine_fn_config_dll msvcp100 enable_msvcp100
18428 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18429 wine_fn_config_dll msvcp110 enable_msvcp110
18430 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18431 wine_fn_config_dll msvcp120 enable_msvcp120
18432 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18433 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18434 wine_fn_config_dll msvcp140 enable_msvcp140
18435 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18436 wine_fn_config_dll msvcp60 enable_msvcp60
18437 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18438 wine_fn_config_dll msvcp70 enable_msvcp70
18439 wine_fn_config_dll msvcp71 enable_msvcp71
18440 wine_fn_config_dll msvcp80 enable_msvcp80
18441 wine_fn_config_dll msvcp90 enable_msvcp90
18442 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18443 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18444 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18445 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18446 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18447 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18448 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18449 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18450 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18451 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18452 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18453 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18454 wine_fn_config_dll msvcrt enable_msvcrt implib
18455 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18456 wine_fn_config_dll msvcrt20 enable_msvcrt20
18457 wine_fn_config_dll msvcrt40 enable_msvcrt40
18458 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18459 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18460 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18461 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18462 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18463 wine_fn_config_dll msvideo.dll16 enable_win16
18464 wine_fn_config_dll mswsock enable_mswsock implib
18465 wine_fn_config_dll msxml enable_msxml clean
18466 wine_fn_config_dll msxml2 enable_msxml2 clean
18467 wine_fn_config_dll msxml3 enable_msxml3 clean
18468 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18469 wine_fn_config_dll msxml4 enable_msxml4 clean
18470 wine_fn_config_dll msxml6 enable_msxml6 clean
18471 wine_fn_config_dll mtxdm enable_mtxdm
18472 wine_fn_config_dll ncrypt enable_ncrypt
18473 wine_fn_config_dll nddeapi enable_nddeapi implib
18474 wine_fn_config_dll ndis.sys enable_ndis_sys
18475 wine_fn_config_dll netapi32 enable_netapi32 implib
18476 wine_fn_config_test dlls/netapi32/tests netapi32_test
18477 wine_fn_config_dll netcfgx enable_netcfgx clean
18478 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18479 wine_fn_config_dll netprofm enable_netprofm clean
18480 wine_fn_config_test dlls/netprofm/tests netprofm_test
18481 wine_fn_config_dll newdev enable_newdev implib
18482 wine_fn_config_dll normaliz enable_normaliz implib
18483 wine_fn_config_dll npmshtml enable_npmshtml
18484 wine_fn_config_dll npptools enable_npptools
18485 wine_fn_config_dll ntdll enable_ntdll implib
18486 wine_fn_config_test dlls/ntdll/tests ntdll_test
18487 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18488 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18489 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18490 wine_fn_config_dll ntprint enable_ntprint
18491 wine_fn_config_test dlls/ntprint/tests ntprint_test
18492 wine_fn_config_dll objsel enable_objsel clean
18493 wine_fn_config_dll odbc32 enable_odbc32 implib
18494 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18495 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18496 wine_fn_config_dll odbccu32 enable_odbccu32
18497 wine_fn_config_dll ole2.dll16 enable_win16
18498 wine_fn_config_dll ole2conv.dll16 enable_win16
18499 wine_fn_config_dll ole2disp.dll16 enable_win16
18500 wine_fn_config_dll ole2nls.dll16 enable_win16
18501 wine_fn_config_dll ole2prox.dll16 enable_win16
18502 wine_fn_config_dll ole2thk.dll16 enable_win16
18503 wine_fn_config_dll ole32 enable_ole32 clean,implib
18504 wine_fn_config_test dlls/ole32/tests ole32_test
18505 wine_fn_config_dll oleacc enable_oleacc clean,implib
18506 wine_fn_config_test dlls/oleacc/tests oleacc_test
18507 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18508 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18509 wine_fn_config_dll olecli.dll16 enable_win16
18510 wine_fn_config_dll olecli32 enable_olecli32 implib
18511 wine_fn_config_dll oledb32 enable_oledb32 clean
18512 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18513 wine_fn_config_dll oledlg enable_oledlg clean,implib
18514 wine_fn_config_test dlls/oledlg/tests oledlg_test
18515 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18516 wine_fn_config_dll olesvr.dll16 enable_win16
18517 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18518 wine_fn_config_dll olethk32 enable_olethk32
18519 wine_fn_config_dll openal32 enable_openal32
18520 wine_fn_config_dll opencl enable_opencl
18521 wine_fn_config_dll opengl32 enable_opengl32 implib
18522 wine_fn_config_test dlls/opengl32/tests opengl32_test
18523 wine_fn_config_dll packager enable_packager clean
18524 wine_fn_config_test dlls/packager/tests packager_test
18525 wine_fn_config_dll pdh enable_pdh implib
18526 wine_fn_config_test dlls/pdh/tests pdh_test
18527 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18528 wine_fn_config_dll pidgen enable_pidgen
18529 wine_fn_config_dll powrprof enable_powrprof implib
18530 wine_fn_config_dll printui enable_printui
18531 wine_fn_config_dll prntvpt enable_prntvpt
18532 wine_fn_config_dll propsys enable_propsys clean,implib
18533 wine_fn_config_test dlls/propsys/tests propsys_test
18534 wine_fn_config_dll psapi enable_psapi implib
18535 wine_fn_config_test dlls/psapi/tests psapi_test
18536 wine_fn_config_dll pstorec enable_pstorec clean
18537 wine_fn_config_test dlls/pstorec/tests pstorec_test
18538 wine_fn_config_dll qcap enable_qcap
18539 wine_fn_config_test dlls/qcap/tests qcap_test
18540 wine_fn_config_dll qedit enable_qedit clean
18541 wine_fn_config_test dlls/qedit/tests qedit_test
18542 wine_fn_config_dll qmgr enable_qmgr clean
18543 wine_fn_config_test dlls/qmgr/tests qmgr_test
18544 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18545 wine_fn_config_dll quartz enable_quartz clean,implib
18546 wine_fn_config_test dlls/quartz/tests quartz_test clean
18547 wine_fn_config_dll query enable_query
18548 wine_fn_config_dll rasapi16.dll16 enable_win16
18549 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18550 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18551 wine_fn_config_dll rasdlg enable_rasdlg implib
18552 wine_fn_config_dll regapi enable_regapi
18553 wine_fn_config_dll resutils enable_resutils implib
18554 wine_fn_config_dll riched20 enable_riched20 clean,implib
18555 wine_fn_config_test dlls/riched20/tests riched20_test
18556 wine_fn_config_dll riched32 enable_riched32
18557 wine_fn_config_test dlls/riched32/tests riched32_test
18558 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18559 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18560 wine_fn_config_dll rsabase enable_rsabase
18561 wine_fn_config_dll rsaenh enable_rsaenh implib
18562 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18563 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18564 wine_fn_config_dll rtutils enable_rtutils implib
18565 wine_fn_config_dll samlib enable_samlib
18566 wine_fn_config_dll sane.ds enable_sane_ds clean
18567 wine_fn_config_dll scarddlg enable_scarddlg
18568 wine_fn_config_dll sccbase enable_sccbase
18569 wine_fn_config_dll schannel enable_schannel
18570 wine_fn_config_test dlls/schannel/tests schannel_test
18571 wine_fn_config_dll schedsvc enable_schedsvc clean
18572 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18573 wine_fn_config_dll scrobj enable_scrobj clean
18574 wine_fn_config_dll scrrun enable_scrrun clean
18575 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18576 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18577 wine_fn_config_dll secur32 enable_secur32 implib
18578 wine_fn_config_test dlls/secur32/tests secur32_test
18579 wine_fn_config_dll security enable_security
18580 wine_fn_config_dll sensapi enable_sensapi implib
18581 wine_fn_config_dll serialui enable_serialui clean
18582 wine_fn_config_test dlls/serialui/tests serialui_test
18583 wine_fn_config_dll setupapi enable_setupapi clean,implib
18584 wine_fn_config_test dlls/setupapi/tests setupapi_test
18585 wine_fn_config_dll setupx.dll16 enable_win16
18586 wine_fn_config_dll sfc enable_sfc implib
18587 wine_fn_config_dll sfc_os enable_sfc_os implib
18588 wine_fn_config_dll shdoclc enable_shdoclc clean
18589 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18590 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18591 wine_fn_config_dll shell.dll16 enable_win16
18592 wine_fn_config_dll shell32 enable_shell32 clean,implib
18593 wine_fn_config_test dlls/shell32/tests shell32_test
18594 wine_fn_config_dll shfolder enable_shfolder implib
18595 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18596 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18597 wine_fn_config_dll slbcsp enable_slbcsp
18598 wine_fn_config_dll slc enable_slc implib
18599 wine_fn_config_test dlls/slc/tests slc_test
18600 wine_fn_config_dll snmpapi enable_snmpapi implib
18601 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18602 wine_fn_config_dll softpub enable_softpub
18603 wine_fn_config_dll sound.drv16 enable_win16
18604 wine_fn_config_dll spoolss enable_spoolss implib
18605 wine_fn_config_test dlls/spoolss/tests spoolss_test
18606 wine_fn_config_dll sspicli enable_sspicli
18607 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18608 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18609 wine_fn_config_dll sti enable_sti clean,implib
18610 wine_fn_config_test dlls/sti/tests sti_test
18611 wine_fn_config_dll storage.dll16 enable_win16
18612 wine_fn_config_dll stress.dll16 enable_win16
18613 wine_fn_config_lib strmbase
18614 wine_fn_config_lib strmiids
18615 wine_fn_config_dll svrapi enable_svrapi
18616 wine_fn_config_dll sxs enable_sxs implib
18617 wine_fn_config_test dlls/sxs/tests sxs_test
18618 wine_fn_config_dll system.drv16 enable_win16
18619 wine_fn_config_dll t2embed enable_t2embed implib
18620 wine_fn_config_test dlls/t2embed/tests t2embed_test
18621 wine_fn_config_dll tapi32 enable_tapi32 implib
18622 wine_fn_config_dll taskschd enable_taskschd clean
18623 wine_fn_config_test dlls/taskschd/tests taskschd_test
18624 wine_fn_config_dll tdh enable_tdh
18625 wine_fn_config_dll tdi.sys enable_tdi_sys
18626 wine_fn_config_dll toolhelp.dll16 enable_win16
18627 wine_fn_config_dll traffic enable_traffic
18628 wine_fn_config_dll twain.dll16 enable_win16
18629 wine_fn_config_dll twain_32 enable_twain_32
18630 wine_fn_config_test dlls/twain_32/tests twain_32_test
18631 wine_fn_config_dll typelib.dll16 enable_win16
18632 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18633 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18634 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18635 wine_fn_config_dll unicows enable_unicows implib
18636 wine_fn_config_dll updspapi enable_updspapi
18637 wine_fn_config_dll url enable_url implib
18638 wine_fn_config_dll urlmon enable_urlmon clean,implib
18639 wine_fn_config_test dlls/urlmon/tests urlmon_test
18640 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18641 wine_fn_config_dll user.exe16 enable_win16
18642 wine_fn_config_dll user32 enable_user32 clean,implib
18643 wine_fn_config_test dlls/user32/tests user32_test
18644 wine_fn_config_dll userenv enable_userenv implib
18645 wine_fn_config_test dlls/userenv/tests userenv_test
18646 wine_fn_config_dll usp10 enable_usp10 implib
18647 wine_fn_config_test dlls/usp10/tests usp10_test
18648 wine_fn_config_lib uuid
18649 wine_fn_config_dll uxtheme enable_uxtheme implib
18650 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18651 wine_fn_config_dll vbscript enable_vbscript clean
18652 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18653 wine_fn_config_dll vcomp enable_vcomp
18654 wine_fn_config_test dlls/vcomp/tests vcomp_test
18655 wine_fn_config_dll vcomp100 enable_vcomp100
18656 wine_fn_config_dll vcomp110 enable_vcomp110
18657 wine_fn_config_dll vcomp120 enable_vcomp120
18658 wine_fn_config_dll vcomp140 enable_vcomp140
18659 wine_fn_config_dll vcomp90 enable_vcomp90
18660 wine_fn_config_dll vcruntime140 enable_vcruntime140
18661 wine_fn_config_dll vdhcp.vxd enable_win16
18662 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18663 wine_fn_config_dll ver.dll16 enable_win16
18664 wine_fn_config_dll version enable_version implib
18665 wine_fn_config_test dlls/version/tests version_test
18666 wine_fn_config_dll virtdisk enable_virtdisk
18667 wine_fn_config_dll vmm.vxd enable_win16
18668 wine_fn_config_dll vnbt.vxd enable_win16
18669 wine_fn_config_dll vnetbios.vxd enable_win16
18670 wine_fn_config_dll vssapi enable_vssapi
18671 wine_fn_config_dll vtdapi.vxd enable_win16
18672 wine_fn_config_dll vwin32.vxd enable_win16
18673 wine_fn_config_dll w32skrnl enable_win16
18674 wine_fn_config_dll w32sys.dll16 enable_win16
18675 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18676 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18677 wine_fn_config_dll wbemprox enable_wbemprox clean
18678 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18679 wine_fn_config_dll webservices enable_webservices implib
18680 wine_fn_config_test dlls/webservices/tests webservices_test
18681 wine_fn_config_dll wer enable_wer implib
18682 wine_fn_config_test dlls/wer/tests wer_test
18683 wine_fn_config_dll wevtapi enable_wevtapi
18684 wine_fn_config_dll wiaservc enable_wiaservc clean
18685 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18686 wine_fn_config_dll wimgapi enable_wimgapi
18687 wine_fn_config_dll win32s16.dll16 enable_win16
18688 wine_fn_config_dll win87em.dll16 enable_win16
18689 wine_fn_config_dll winaspi.dll16 enable_win16
18690 wine_fn_config_dll windebug.dll16 enable_win16
18691 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18692 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18693 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18694 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18695 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18696 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18697 wine_fn_config_dll winebus.sys enable_winebus_sys
18698 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18699 wine_fn_config_lib winecrt0
18700 wine_fn_config_dll wined3d enable_wined3d implib
18701 wine_fn_config_dll winegstreamer enable_winegstreamer
18702 wine_fn_config_dll winehid.sys enable_winehid_sys
18703 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18704 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18705 wine_fn_config_dll winemapi enable_winemapi
18706 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18707 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18708 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18709 wine_fn_config_dll wineps16.drv16 enable_win16
18710 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18711 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18712 wine_fn_config_dll winex11.drv enable_winex11_drv
18713 wine_fn_config_dll wing.dll16 enable_win16
18714 wine_fn_config_dll wing32 enable_wing32
18715 wine_fn_config_dll winhttp enable_winhttp clean,implib
18716 wine_fn_config_test dlls/winhttp/tests winhttp_test
18717 wine_fn_config_dll wininet enable_wininet clean,implib
18718 wine_fn_config_test dlls/wininet/tests wininet_test
18719 wine_fn_config_dll winmm enable_winmm clean,implib
18720 wine_fn_config_test dlls/winmm/tests winmm_test
18721 wine_fn_config_dll winnls.dll16 enable_win16
18722 wine_fn_config_dll winnls32 enable_winnls32 implib
18723 wine_fn_config_dll winscard enable_winscard implib
18724 wine_fn_config_dll winsock.dll16 enable_win16
18725 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18726 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18727 wine_fn_config_dll winsta enable_winsta
18728 wine_fn_config_dll wintab.dll16 enable_win16
18729 wine_fn_config_dll wintab32 enable_wintab32 implib
18730 wine_fn_config_test dlls/wintab32/tests wintab32_test
18731 wine_fn_config_dll wintrust enable_wintrust implib
18732 wine_fn_config_test dlls/wintrust/tests wintrust_test
18733 wine_fn_config_dll winusb enable_winusb
18734 wine_fn_config_dll wlanapi enable_wlanapi implib
18735 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18736 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18737 wine_fn_config_test dlls/wldap32/tests wldap32_test
18738 wine_fn_config_dll wmasf enable_wmasf
18739 wine_fn_config_dll wmi enable_wmi
18740 wine_fn_config_dll wmiutils enable_wmiutils clean
18741 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18742 wine_fn_config_dll wmp enable_wmp clean
18743 wine_fn_config_test dlls/wmp/tests wmp_test
18744 wine_fn_config_dll wmvcore enable_wmvcore implib
18745 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18746 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18747 wine_fn_config_dll wow32 enable_win16 implib
18748 wine_fn_config_dll wpc enable_wpc clean
18749 wine_fn_config_test dlls/wpc/tests wpc_test
18750 wine_fn_config_dll wpcap enable_wpcap
18751 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18752 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18753 wine_fn_config_dll wsdapi enable_wsdapi implib
18754 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18755 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18756 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18757 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18758 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18759 wine_fn_config_dll wsock32 enable_wsock32 implib
18760 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18761 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18762 wine_fn_config_dll wuapi enable_wuapi clean
18763 wine_fn_config_dll wuaueng enable_wuaueng
18764 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18765 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18766 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18767 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18768 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18769 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18770 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18771 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18772 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18773 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18774 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18775 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18776 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18777 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18778 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18779 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18780 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18781 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18782 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18783 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18784 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18785 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18786 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18787 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18788 wine_fn_config_dll xinput1_1 enable_xinput1_1
18789 wine_fn_config_dll xinput1_2 enable_xinput1_2
18790 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18791 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18792 wine_fn_config_dll xinput1_4 enable_xinput1_4
18793 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18794 wine_fn_config_dll xmllite enable_xmllite implib
18795 wine_fn_config_test dlls/xmllite/tests xmllite_test
18796 wine_fn_config_dll xolehlp enable_xolehlp
18797 wine_fn_config_dll xpsprint enable_xpsprint
18798 wine_fn_config_dll xpssvcs enable_xpssvcs
18799 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18800 wine_fn_config_makefile include enable_include clean,install-dev
18801 wine_fn_config_makefile libs/port enable_libs_port
18802 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18803 wine_fn_config_makefile libs/wpp enable_libs_wpp
18804 wine_fn_config_makefile loader enable_loader clean,install-lib
18805 wine_fn_config_makefile po enable_po clean
18806 wine_fn_config_program arp enable_arp install
18807 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18808 wine_fn_config_program attrib enable_attrib clean,install
18809 wine_fn_config_program cabarc enable_cabarc install
18810 wine_fn_config_program cacls enable_cacls install
18811 wine_fn_config_program clock enable_clock clean,install
18812 wine_fn_config_program cmd enable_cmd clean,install
18813 wine_fn_config_test programs/cmd/tests cmd.exe_test
18814 wine_fn_config_program conhost enable_conhost install
18815 wine_fn_config_program control enable_control install
18816 wine_fn_config_program cscript enable_cscript clean,install
18817 wine_fn_config_program dpnsvr enable_dpnsvr install
18818 wine_fn_config_program dxdiag enable_dxdiag clean,install
18819 wine_fn_config_program eject enable_eject install
18820 wine_fn_config_program expand enable_expand install
18821 wine_fn_config_program explorer enable_explorer clean,install
18822 wine_fn_config_program extrac32 enable_extrac32 install
18823 wine_fn_config_program findstr enable_findstr install
18824 wine_fn_config_program fsutil enable_fsutil install
18825 wine_fn_config_program hh enable_hh install
18826 wine_fn_config_program hostname enable_hostname clean,install
18827 wine_fn_config_program icacls enable_icacls install
18828 wine_fn_config_program icinfo enable_icinfo install
18829 wine_fn_config_program iexplore enable_iexplore install
18830 wine_fn_config_program ipconfig enable_ipconfig clean,install
18831 wine_fn_config_program lodctr enable_lodctr install
18832 wine_fn_config_program mofcomp enable_mofcomp install
18833 wine_fn_config_program mshta enable_mshta install
18834 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18835 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18836 wine_fn_config_program net enable_net clean,install
18837 wine_fn_config_program netsh enable_netsh install
18838 wine_fn_config_program netstat enable_netstat clean,install
18839 wine_fn_config_program ngen enable_ngen install
18840 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18841 wine_fn_config_program oleview enable_oleview clean,install
18842 wine_fn_config_program ping enable_ping install
18843 wine_fn_config_program plugplay enable_plugplay install
18844 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18845 wine_fn_config_program progman enable_progman clean,install
18846 wine_fn_config_program reg enable_reg clean,install
18847 wine_fn_config_test programs/reg/tests reg.exe_test
18848 wine_fn_config_program regasm enable_regasm install
18849 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18850 wine_fn_config_test programs/regedit/tests regedit.exe_test
18851 wine_fn_config_program regsvcs enable_regsvcs install
18852 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18853 wine_fn_config_program rpcss enable_rpcss clean,install
18854 wine_fn_config_program rundll.exe16 enable_win16 install
18855 wine_fn_config_program rundll32 enable_rundll32 install
18856 wine_fn_config_program sc enable_sc install
18857 wine_fn_config_program schtasks enable_schtasks install
18858 wine_fn_config_program sdbinst enable_sdbinst install
18859 wine_fn_config_program secedit enable_secedit install
18860 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18861 wine_fn_config_program services enable_services clean,install
18862 wine_fn_config_test programs/services/tests services.exe_test
18863 wine_fn_config_program shutdown enable_shutdown install
18864 wine_fn_config_program spoolsv enable_spoolsv install
18865 wine_fn_config_program start enable_start clean,install
18866 wine_fn_config_program subst enable_subst install
18867 wine_fn_config_program svchost enable_svchost install
18868 wine_fn_config_program systeminfo enable_systeminfo install
18869 wine_fn_config_program taskkill enable_taskkill clean,install
18870 wine_fn_config_program tasklist enable_tasklist install
18871 wine_fn_config_program taskmgr enable_taskmgr clean,install
18872 wine_fn_config_program termsv enable_termsv install
18873 wine_fn_config_program uninstaller enable_uninstaller clean,install
18874 wine_fn_config_program unlodctr enable_unlodctr install
18875 wine_fn_config_program view enable_view clean,install
18876 wine_fn_config_program wevtutil enable_wevtutil install
18877 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18878 wine_fn_config_program winebrowser enable_winebrowser install
18879 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18880 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18881 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18882 wine_fn_config_program winedevice enable_winedevice install
18883 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18884 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18885 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18886 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18887 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18888 wine_fn_config_program winetest enable_winetest clean
18889 wine_fn_config_program winevdm enable_win16 install
18890 wine_fn_config_program winhelp.exe16 enable_win16 install
18891 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18892 wine_fn_config_program winoldap.mod16 enable_win16 install
18893 wine_fn_config_program winver enable_winver install
18894 wine_fn_config_program wmic enable_wmic clean,install
18895 wine_fn_config_program wmplayer enable_wmplayer install
18896 wine_fn_config_program wordpad enable_wordpad clean,install
18897 wine_fn_config_program write enable_write clean,install
18898 wine_fn_config_program wscript enable_wscript clean,install
18899 wine_fn_config_test programs/wscript/tests wscript.exe_test
18900 wine_fn_config_program wusa enable_wusa install
18901 wine_fn_config_program xcopy enable_xcopy clean,install
18902 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18903 wine_fn_config_makefile server enable_server clean,install-lib
18904 wine_fn_config_tool tools clean
18905 wine_fn_config_tool tools/sfnt2fon clean
18906 wine_fn_config_tool tools/widl clean,install-dev
18907 wine_fn_config_tool tools/winebuild clean,install-dev
18908 wine_fn_config_tool tools/winedump clean,install-dev
18909 wine_fn_config_tool tools/winegcc clean,install-dev
18910 wine_fn_config_tool tools/winemaker clean,install-dev
18911 wine_fn_config_tool tools/wmc clean,install-dev
18912 wine_fn_config_tool tools/wrc clean,install-dev
18915 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18916 wine_fn_append_file CONFIGURE_TARGETS "tags"
18917 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18918 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18919 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18920 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18921 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18922 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18924 if test "x$enable_tools" != xno
18925 then
18926 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18927 ac_config_commands="$ac_config_commands tools/makedep"
18931 ac_config_commands="$ac_config_commands Makefile"
18934 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18938 if test "x$enable_maintainer_mode" = xyes
18939 then
18940 wine_fn_append_rule "configure: configure.ac aclocal.m4
18941 autoconf --warnings=all
18942 include/config.h.in: include/stamp-h.in
18943 include/stamp-h.in: configure.ac aclocal.m4
18944 autoheader --warnings=all
18945 @echo timestamp > \$@"
18948 if test "x$enable_tools" != xno
18949 then
18950 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18951 @./config.status tools/makedep
18952 Makefile: tools/makedep$ac_exeext"
18953 else
18954 wine_fn_append_rule "\$(MAKEDEP):
18955 @echo \"You need to run make in $TOOLSDIR first\" && false"
18958 if test -n "$with_wine64"
18959 then
18960 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18961 fonts server:
18962 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18963 $with_wine64/loader/wine:
18964 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18965 $with_wine64/loader/wine-preloader:
18966 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18967 clean::
18968 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18969 else
18970 WINELOADER_INSTALL="wine.inf"
18972 wine_fn_append_rule "install install-lib::
18973 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18974 uninstall::
18975 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18976 case $host_os in
18977 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18978 *) wine_fn_append_rule "install install-lib::
18979 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18980 uninstall::
18981 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18982 esac
18985 $as_echo " done" >&6
18986 cat >confcache <<\_ACEOF
18987 # This file is a shell script that caches the results of configure
18988 # tests run on this system so they can be shared between configure
18989 # scripts and configure runs, see configure's option --config-cache.
18990 # It is not useful on other systems. If it contains results you don't
18991 # want to keep, you may remove or edit it.
18993 # config.status only pays attention to the cache file if you give it
18994 # the --recheck option to rerun configure.
18996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18998 # following values.
19000 _ACEOF
19002 # The following way of writing the cache mishandles newlines in values,
19003 # but we know of no workaround that is simple, portable, and efficient.
19004 # So, we kill variables containing newlines.
19005 # Ultrix sh set writes to stderr and can't be redirected directly,
19006 # and sets the high bit in the cache file unless we assign to the vars.
19008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19009 eval ac_val=\$$ac_var
19010 case $ac_val in #(
19011 *${as_nl}*)
19012 case $ac_var in #(
19013 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19014 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19015 esac
19016 case $ac_var in #(
19017 _ | IFS | as_nl) ;; #(
19018 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19019 *) { eval $ac_var=; unset $ac_var;} ;;
19020 esac ;;
19021 esac
19022 done
19024 (set) 2>&1 |
19025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19026 *${as_nl}ac_space=\ *)
19027 # `set' does not quote correctly, so add quotes: double-quote
19028 # substitution turns \\\\ into \\, and sed turns \\ into \.
19029 sed -n \
19030 "s/'/'\\\\''/g;
19031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19032 ;; #(
19034 # `set' quotes correctly as required by POSIX, so do not add quotes.
19035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19037 esac |
19038 sort
19040 sed '
19041 /^ac_cv_env_/b end
19042 t clear
19043 :clear
19044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19045 t end
19046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19047 :end' >>confcache
19048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19049 if test -w "$cache_file"; then
19050 if test "x$cache_file" != "x/dev/null"; then
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19052 $as_echo "$as_me: updating cache $cache_file" >&6;}
19053 if test ! -f "$cache_file" || test -h "$cache_file"; then
19054 cat confcache >"$cache_file"
19055 else
19056 case $cache_file in #(
19057 */* | ?:*)
19058 mv -f confcache "$cache_file"$$ &&
19059 mv -f "$cache_file"$$ "$cache_file" ;; #(
19061 mv -f confcache "$cache_file" ;;
19062 esac
19065 else
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19067 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19070 rm -f confcache
19072 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19073 # Let make expand exec_prefix.
19074 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19076 DEFS=-DHAVE_CONFIG_H
19078 ac_libobjs=
19079 ac_ltlibobjs=
19081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19082 # 1. Remove the extension, and $U if already installed.
19083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19084 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19086 # will be set to the directory where LIBOBJS objects are built.
19087 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19088 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19089 done
19090 LIBOBJS=$ac_libobjs
19092 LTLIBOBJS=$ac_ltlibobjs
19096 : "${CONFIG_STATUS=./config.status}"
19097 ac_write_fail=0
19098 ac_clean_files_save=$ac_clean_files
19099 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19102 as_write_fail=0
19103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19104 #! $SHELL
19105 # Generated by $as_me.
19106 # Run this file to recreate the current configuration.
19107 # Compiler output produced by configure, useful for debugging
19108 # configure, is in config.log if it exists.
19110 debug=false
19111 ac_cs_recheck=false
19112 ac_cs_silent=false
19114 SHELL=\${CONFIG_SHELL-$SHELL}
19115 export SHELL
19116 _ASEOF
19117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19118 ## -------------------- ##
19119 ## M4sh Initialization. ##
19120 ## -------------------- ##
19122 # Be more Bourne compatible
19123 DUALCASE=1; export DUALCASE # for MKS sh
19124 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19125 emulate sh
19126 NULLCMD=:
19127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19128 # is contrary to our usage. Disable this feature.
19129 alias -g '${1+"$@"}'='"$@"'
19130 setopt NO_GLOB_SUBST
19131 else
19132 case `(set -o) 2>/dev/null` in #(
19133 *posix*) :
19134 set -o posix ;; #(
19135 *) :
19137 esac
19141 as_nl='
19143 export as_nl
19144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19148 # Prefer a ksh shell builtin over an external printf program on Solaris,
19149 # but without wasting forks for bash or zsh.
19150 if test -z "$BASH_VERSION$ZSH_VERSION" \
19151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19152 as_echo='print -r --'
19153 as_echo_n='print -rn --'
19154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19155 as_echo='printf %s\n'
19156 as_echo_n='printf %s'
19157 else
19158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19159 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19160 as_echo_n='/usr/ucb/echo -n'
19161 else
19162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19163 as_echo_n_body='eval
19164 arg=$1;
19165 case $arg in #(
19166 *"$as_nl"*)
19167 expr "X$arg" : "X\\(.*\\)$as_nl";
19168 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19169 esac;
19170 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19172 export as_echo_n_body
19173 as_echo_n='sh -c $as_echo_n_body as_echo'
19175 export as_echo_body
19176 as_echo='sh -c $as_echo_body as_echo'
19179 # The user is always right.
19180 if test "${PATH_SEPARATOR+set}" != set; then
19181 PATH_SEPARATOR=:
19182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19184 PATH_SEPARATOR=';'
19189 # IFS
19190 # We need space, tab and new line, in precisely that order. Quoting is
19191 # there to prevent editors from complaining about space-tab.
19192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19193 # splitting by setting IFS to empty value.)
19194 IFS=" "" $as_nl"
19196 # Find who we are. Look in the path if we contain no directory separator.
19197 as_myself=
19198 case $0 in #((
19199 *[\\/]* ) as_myself=$0 ;;
19200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19201 for as_dir in $PATH
19203 IFS=$as_save_IFS
19204 test -z "$as_dir" && as_dir=.
19205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19206 done
19207 IFS=$as_save_IFS
19210 esac
19211 # We did not find ourselves, most probably we were run as `sh COMMAND'
19212 # in which case we are not to be found in the path.
19213 if test "x$as_myself" = x; then
19214 as_myself=$0
19216 if test ! -f "$as_myself"; then
19217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19218 exit 1
19221 # Unset variables that we do not need and which cause bugs (e.g. in
19222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19223 # suppresses any "Segmentation fault" message there. '((' could
19224 # trigger a bug in pdksh 5.2.14.
19225 for as_var in BASH_ENV ENV MAIL MAILPATH
19226 do eval test x\${$as_var+set} = xset \
19227 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19228 done
19229 PS1='$ '
19230 PS2='> '
19231 PS4='+ '
19233 # NLS nuisances.
19234 LC_ALL=C
19235 export LC_ALL
19236 LANGUAGE=C
19237 export LANGUAGE
19239 # CDPATH.
19240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19244 # ----------------------------------------
19245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19247 # script with STATUS, using 1 if that was 0.
19248 as_fn_error ()
19250 as_status=$1; test $as_status -eq 0 && as_status=1
19251 if test "$4"; then
19252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19255 $as_echo "$as_me: error: $2" >&2
19256 as_fn_exit $as_status
19257 } # as_fn_error
19260 # as_fn_set_status STATUS
19261 # -----------------------
19262 # Set $? to STATUS, without forking.
19263 as_fn_set_status ()
19265 return $1
19266 } # as_fn_set_status
19268 # as_fn_exit STATUS
19269 # -----------------
19270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19271 as_fn_exit ()
19273 set +e
19274 as_fn_set_status $1
19275 exit $1
19276 } # as_fn_exit
19278 # as_fn_unset VAR
19279 # ---------------
19280 # Portably unset VAR.
19281 as_fn_unset ()
19283 { eval $1=; unset $1;}
19285 as_unset=as_fn_unset
19286 # as_fn_append VAR VALUE
19287 # ----------------------
19288 # Append the text in VALUE to the end of the definition contained in VAR. Take
19289 # advantage of any shell optimizations that allow amortized linear growth over
19290 # repeated appends, instead of the typical quadratic growth present in naive
19291 # implementations.
19292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19293 eval 'as_fn_append ()
19295 eval $1+=\$2
19297 else
19298 as_fn_append ()
19300 eval $1=\$$1\$2
19302 fi # as_fn_append
19304 # as_fn_arith ARG...
19305 # ------------------
19306 # Perform arithmetic evaluation on the ARGs, and store the result in the
19307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19308 # must be portable across $(()) and expr.
19309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19310 eval 'as_fn_arith ()
19312 as_val=$(( $* ))
19314 else
19315 as_fn_arith ()
19317 as_val=`expr "$@" || test $? -eq 1`
19319 fi # as_fn_arith
19322 if expr a : '\(a\)' >/dev/null 2>&1 &&
19323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19324 as_expr=expr
19325 else
19326 as_expr=false
19329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19330 as_basename=basename
19331 else
19332 as_basename=false
19335 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19336 as_dirname=dirname
19337 else
19338 as_dirname=false
19341 as_me=`$as_basename -- "$0" ||
19342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19343 X"$0" : 'X\(//\)$' \| \
19344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19345 $as_echo X/"$0" |
19346 sed '/^.*\/\([^/][^/]*\)\/*$/{
19347 s//\1/
19350 /^X\/\(\/\/\)$/{
19351 s//\1/
19354 /^X\/\(\/\).*/{
19355 s//\1/
19358 s/.*/./; q'`
19360 # Avoid depending upon Character Ranges.
19361 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19364 as_cr_digits='0123456789'
19365 as_cr_alnum=$as_cr_Letters$as_cr_digits
19367 ECHO_C= ECHO_N= ECHO_T=
19368 case `echo -n x` in #(((((
19369 -n*)
19370 case `echo 'xy\c'` in
19371 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19372 xy) ECHO_C='\c';;
19373 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19374 ECHO_T=' ';;
19375 esac;;
19377 ECHO_N='-n';;
19378 esac
19380 rm -f conf$$ conf$$.exe conf$$.file
19381 if test -d conf$$.dir; then
19382 rm -f conf$$.dir/conf$$.file
19383 else
19384 rm -f conf$$.dir
19385 mkdir conf$$.dir 2>/dev/null
19387 if (echo >conf$$.file) 2>/dev/null; then
19388 if ln -s conf$$.file conf$$ 2>/dev/null; then
19389 as_ln_s='ln -s'
19390 # ... but there are two gotchas:
19391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19393 # In both cases, we have to default to `cp -pR'.
19394 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19395 as_ln_s='cp -pR'
19396 elif ln conf$$.file conf$$ 2>/dev/null; then
19397 as_ln_s=ln
19398 else
19399 as_ln_s='cp -pR'
19401 else
19402 as_ln_s='cp -pR'
19404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19405 rmdir conf$$.dir 2>/dev/null
19408 # as_fn_mkdir_p
19409 # -------------
19410 # Create "$as_dir" as a directory, including parents if necessary.
19411 as_fn_mkdir_p ()
19414 case $as_dir in #(
19415 -*) as_dir=./$as_dir;;
19416 esac
19417 test -d "$as_dir" || eval $as_mkdir_p || {
19418 as_dirs=
19419 while :; do
19420 case $as_dir in #(
19421 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19422 *) as_qdir=$as_dir;;
19423 esac
19424 as_dirs="'$as_qdir' $as_dirs"
19425 as_dir=`$as_dirname -- "$as_dir" ||
19426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19427 X"$as_dir" : 'X\(//\)[^/]' \| \
19428 X"$as_dir" : 'X\(//\)$' \| \
19429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19430 $as_echo X"$as_dir" |
19431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19432 s//\1/
19435 /^X\(\/\/\)[^/].*/{
19436 s//\1/
19439 /^X\(\/\/\)$/{
19440 s//\1/
19443 /^X\(\/\).*/{
19444 s//\1/
19447 s/.*/./; q'`
19448 test -d "$as_dir" && break
19449 done
19450 test -z "$as_dirs" || eval "mkdir $as_dirs"
19451 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19454 } # as_fn_mkdir_p
19455 if mkdir -p . 2>/dev/null; then
19456 as_mkdir_p='mkdir -p "$as_dir"'
19457 else
19458 test -d ./-p && rmdir ./-p
19459 as_mkdir_p=false
19463 # as_fn_executable_p FILE
19464 # -----------------------
19465 # Test if FILE is an executable regular file.
19466 as_fn_executable_p ()
19468 test -f "$1" && test -x "$1"
19469 } # as_fn_executable_p
19470 as_test_x='test -x'
19471 as_executable_p=as_fn_executable_p
19473 # Sed expression to map a string onto a valid CPP name.
19474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19476 # Sed expression to map a string onto a valid variable name.
19477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19480 exec 6>&1
19481 ## ----------------------------------- ##
19482 ## Main body of $CONFIG_STATUS script. ##
19483 ## ----------------------------------- ##
19484 _ASEOF
19485 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19488 # Save the log message, to keep $0 and so on meaningful, and to
19489 # report actual input values of CONFIG_FILES etc. instead of their
19490 # values after options handling.
19491 ac_log="
19492 This file was extended by Wine $as_me 2.10, which was
19493 generated by GNU Autoconf 2.69. Invocation command line was
19495 CONFIG_FILES = $CONFIG_FILES
19496 CONFIG_HEADERS = $CONFIG_HEADERS
19497 CONFIG_LINKS = $CONFIG_LINKS
19498 CONFIG_COMMANDS = $CONFIG_COMMANDS
19499 $ $0 $@
19501 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19504 _ACEOF
19506 case $ac_config_files in *"
19507 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19508 esac
19510 case $ac_config_headers in *"
19511 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19512 esac
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 # Files that config.status was made for.
19517 config_files="$ac_config_files"
19518 config_headers="$ac_config_headers"
19519 config_links="$ac_config_links"
19520 config_commands="$ac_config_commands"
19522 _ACEOF
19524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19525 ac_cs_usage="\
19526 \`$as_me' instantiates files and other configuration actions
19527 from templates according to the current configuration. Unless the files
19528 and actions are specified as TAGs, all are instantiated by default.
19530 Usage: $0 [OPTION]... [TAG]...
19532 -h, --help print this help, then exit
19533 -V, --version print version number and configuration settings, then exit
19534 --config print configuration, then exit
19535 -q, --quiet, --silent
19536 do not print progress messages
19537 -d, --debug don't remove temporary files
19538 --recheck update $as_me by reconfiguring in the same conditions
19539 --file=FILE[:TEMPLATE]
19540 instantiate the configuration file FILE
19541 --header=FILE[:TEMPLATE]
19542 instantiate the configuration header FILE
19544 Configuration files:
19545 $config_files
19547 Configuration headers:
19548 $config_headers
19550 Configuration links:
19551 $config_links
19553 Configuration commands:
19554 $config_commands
19556 Report bugs to <wine-devel@winehq.org>.
19557 Wine home page: <http://www.winehq.org>."
19559 _ACEOF
19560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19561 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19562 ac_cs_version="\\
19563 Wine config.status 2.10
19564 configured by $0, generated by GNU Autoconf 2.69,
19565 with options \\"\$ac_cs_config\\"
19567 Copyright (C) 2012 Free Software Foundation, Inc.
19568 This config.status script is free software; the Free Software Foundation
19569 gives unlimited permission to copy, distribute and modify it."
19571 ac_pwd='$ac_pwd'
19572 srcdir='$srcdir'
19573 test -n "\$AWK" || AWK=awk
19574 _ACEOF
19576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19577 # The default lists apply if the user does not specify any file.
19578 ac_need_defaults=:
19579 while test $# != 0
19581 case $1 in
19582 --*=?*)
19583 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19584 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19585 ac_shift=:
19587 --*=)
19588 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19589 ac_optarg=
19590 ac_shift=:
19593 ac_option=$1
19594 ac_optarg=$2
19595 ac_shift=shift
19597 esac
19599 case $ac_option in
19600 # Handling of the options.
19601 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19602 ac_cs_recheck=: ;;
19603 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19604 $as_echo "$ac_cs_version"; exit ;;
19605 --config | --confi | --conf | --con | --co | --c )
19606 $as_echo "$ac_cs_config"; exit ;;
19607 --debug | --debu | --deb | --de | --d | -d )
19608 debug=: ;;
19609 --file | --fil | --fi | --f )
19610 $ac_shift
19611 case $ac_optarg in
19612 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19613 '') as_fn_error $? "missing file argument" ;;
19614 esac
19615 as_fn_append CONFIG_FILES " '$ac_optarg'"
19616 ac_need_defaults=false;;
19617 --header | --heade | --head | --hea )
19618 $ac_shift
19619 case $ac_optarg in
19620 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19621 esac
19622 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19623 ac_need_defaults=false;;
19624 --he | --h)
19625 # Conflict between --help and --header
19626 as_fn_error $? "ambiguous option: \`$1'
19627 Try \`$0 --help' for more information.";;
19628 --help | --hel | -h )
19629 $as_echo "$ac_cs_usage"; exit ;;
19630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19631 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19632 ac_cs_silent=: ;;
19634 # This is an error.
19635 -*) as_fn_error $? "unrecognized option: \`$1'
19636 Try \`$0 --help' for more information." ;;
19638 *) as_fn_append ac_config_targets " $1"
19639 ac_need_defaults=false ;;
19641 esac
19642 shift
19643 done
19645 ac_configure_extra_args=
19647 if $ac_cs_silent; then
19648 exec 6>/dev/null
19649 ac_configure_extra_args="$ac_configure_extra_args --silent"
19652 _ACEOF
19653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19654 if \$ac_cs_recheck; then
19655 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19656 shift
19657 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19658 CONFIG_SHELL='$SHELL'
19659 export CONFIG_SHELL
19660 exec "\$@"
19663 _ACEOF
19664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19665 exec 5>>config.log
19667 echo
19668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19669 ## Running $as_me. ##
19670 _ASBOX
19671 $as_echo "$ac_log"
19672 } >&5
19674 _ACEOF
19675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19677 # INIT-COMMANDS
19679 wine_fn_output_makedep ()
19681 as_dir=tools; as_fn_mkdir_p
19682 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19684 wine_fn_output_makefile ()
19686 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19687 `cat $wine_rules_file`
19688 _WINE_EOF
19689 as_fn_error $? "could not create Makefile" "$LINENO" 5
19692 _ACEOF
19694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19696 # Handling of arguments.
19697 for ac_config_target in $ac_config_targets
19699 case $ac_config_target in
19700 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19701 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19702 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19703 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19704 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19705 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19706 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19707 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19708 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19709 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19710 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19711 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19712 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19714 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19715 esac
19716 done
19719 # If the user did not use the arguments to specify the items to instantiate,
19720 # then the envvar interface is used. Set only those that are not.
19721 # We use the long form for the default assignment because of an extremely
19722 # bizarre bug on SunOS 4.1.3.
19723 if $ac_need_defaults; then
19724 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19725 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19726 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19730 # Have a temporary directory for convenience. Make it in the build tree
19731 # simply because there is no reason against having it here, and in addition,
19732 # creating and moving files from /tmp can sometimes cause problems.
19733 # Hook for its removal unless debugging.
19734 # Note that there is a small window in which the directory will not be cleaned:
19735 # after its creation but before its name has been assigned to `$tmp'.
19736 $debug ||
19738 tmp= ac_tmp=
19739 trap 'exit_status=$?
19740 : "${ac_tmp:=$tmp}"
19741 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19743 trap 'as_fn_exit 1' 1 2 13 15
19745 # Create a (secure) tmp directory for tmp files.
19748 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19749 test -d "$tmp"
19750 } ||
19752 tmp=./conf$$-$RANDOM
19753 (umask 077 && mkdir "$tmp")
19754 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19755 ac_tmp=$tmp
19757 # Set up the scripts for CONFIG_FILES section.
19758 # No need to generate them if there are no CONFIG_FILES.
19759 # This happens for instance with `./config.status config.h'.
19760 if test -n "$CONFIG_FILES"; then
19763 ac_cr=`echo X | tr X '\015'`
19764 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19765 # But we know of no other shell where ac_cr would be empty at this
19766 # point, so we can use a bashism as a fallback.
19767 if test "x$ac_cr" = x; then
19768 eval ac_cr=\$\'\\r\'
19770 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19771 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19772 ac_cs_awk_cr='\\r'
19773 else
19774 ac_cs_awk_cr=$ac_cr
19777 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19778 _ACEOF
19782 echo "cat >conf$$subs.awk <<_ACEOF" &&
19783 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19784 echo "_ACEOF"
19785 } >conf$$subs.sh ||
19786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19787 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19788 ac_delim='%!_!# '
19789 for ac_last_try in false false false false false :; do
19790 . ./conf$$subs.sh ||
19791 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19793 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19794 if test $ac_delim_n = $ac_delim_num; then
19795 break
19796 elif $ac_last_try; then
19797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19798 else
19799 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19801 done
19802 rm -f conf$$subs.sh
19804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19805 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19806 _ACEOF
19807 sed -n '
19809 s/^/S["/; s/!.*/"]=/
19812 s/^[^!]*!//
19813 :repl
19814 t repl
19815 s/'"$ac_delim"'$//
19816 t delim
19819 s/\(.\{148\}\)..*/\1/
19820 t more1
19821 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19824 b repl
19825 :more1
19826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19829 s/.\{148\}//
19830 t nl
19831 :delim
19833 s/\(.\{148\}\)..*/\1/
19834 t more2
19835 s/["\\]/\\&/g; s/^/"/; s/$/"/
19838 :more2
19839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19842 s/.\{148\}//
19843 t delim
19844 ' <conf$$subs.awk | sed '
19845 /^[^""]/{
19847 s/\n//
19849 ' >>$CONFIG_STATUS || ac_write_fail=1
19850 rm -f conf$$subs.awk
19851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19852 _ACAWK
19853 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19854 for (key in S) S_is_set[key] = 1
19855 FS = "\a"
19859 line = $ 0
19860 nfields = split(line, field, "@")
19861 substed = 0
19862 len = length(field[1])
19863 for (i = 2; i < nfields; i++) {
19864 key = field[i]
19865 keylen = length(key)
19866 if (S_is_set[key]) {
19867 value = S[key]
19868 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19869 len += length(value) + length(field[++i])
19870 substed = 1
19871 } else
19872 len += 1 + keylen
19875 print line
19878 _ACAWK
19879 _ACEOF
19880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19881 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19882 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19883 else
19885 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19886 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19887 _ACEOF
19889 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19890 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19891 # trailing colons and then remove the whole line if VPATH becomes empty
19892 # (actually we leave an empty line to preserve line numbers).
19893 if test "x$srcdir" = x.; then
19894 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19896 s///
19897 s/^/:/
19898 s/[ ]*$/:/
19899 s/:\$(srcdir):/:/g
19900 s/:\${srcdir}:/:/g
19901 s/:@srcdir@:/:/g
19902 s/^:*//
19903 s/:*$//
19905 s/\(=[ ]*\).*/\1/
19907 s/\n//
19908 s/^[^=]*=[ ]*$//
19912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19913 fi # test -n "$CONFIG_FILES"
19915 # Set up the scripts for CONFIG_HEADERS section.
19916 # No need to generate them if there are no CONFIG_HEADERS.
19917 # This happens for instance with `./config.status Makefile'.
19918 if test -n "$CONFIG_HEADERS"; then
19919 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19920 BEGIN {
19921 _ACEOF
19923 # Transform confdefs.h into an awk script `defines.awk', embedded as
19924 # here-document in config.status, that substitutes the proper values into
19925 # config.h.in to produce config.h.
19927 # Create a delimiter string that does not exist in confdefs.h, to ease
19928 # handling of long lines.
19929 ac_delim='%!_!# '
19930 for ac_last_try in false false :; do
19931 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19932 if test -z "$ac_tt"; then
19933 break
19934 elif $ac_last_try; then
19935 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19936 else
19937 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19939 done
19941 # For the awk script, D is an array of macro values keyed by name,
19942 # likewise P contains macro parameters if any. Preserve backslash
19943 # newline sequences.
19945 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19946 sed -n '
19947 s/.\{148\}/&'"$ac_delim"'/g
19948 t rset
19949 :rset
19950 s/^[ ]*#[ ]*define[ ][ ]*/ /
19951 t def
19953 :def
19954 s/\\$//
19955 t bsnl
19956 s/["\\]/\\&/g
19957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19958 D["\1"]=" \3"/p
19959 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19961 :bsnl
19962 s/["\\]/\\&/g
19963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19964 D["\1"]=" \3\\\\\\n"\\/p
19965 t cont
19966 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19967 t cont
19969 :cont
19971 s/.\{148\}/&'"$ac_delim"'/g
19972 t clear
19973 :clear
19974 s/\\$//
19975 t bsnlc
19976 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19978 :bsnlc
19979 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19980 b cont
19981 ' <confdefs.h | sed '
19982 s/'"$ac_delim"'/"\\\
19983 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19986 for (key in D) D_is_set[key] = 1
19987 FS = "\a"
19989 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19990 line = \$ 0
19991 split(line, arg, " ")
19992 if (arg[1] == "#") {
19993 defundef = arg[2]
19994 mac1 = arg[3]
19995 } else {
19996 defundef = substr(arg[1], 2)
19997 mac1 = arg[2]
19999 split(mac1, mac2, "(") #)
20000 macro = mac2[1]
20001 prefix = substr(line, 1, index(line, defundef) - 1)
20002 if (D_is_set[macro]) {
20003 # Preserve the white space surrounding the "#".
20004 print prefix "define", macro P[macro] D[macro]
20005 next
20006 } else {
20007 # Replace #undef with comments. This is necessary, for example,
20008 # in the case of _POSIX_SOURCE, which is predefined and required
20009 # on some systems where configure will not decide to define it.
20010 if (defundef == "undef") {
20011 print "/*", prefix defundef, macro, "*/"
20012 next
20016 { print }
20017 _ACAWK
20018 _ACEOF
20019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20020 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20021 fi # test -n "$CONFIG_HEADERS"
20024 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20025 shift
20026 for ac_tag
20028 case $ac_tag in
20029 :[FHLC]) ac_mode=$ac_tag; continue;;
20030 esac
20031 case $ac_mode$ac_tag in
20032 :[FHL]*:*);;
20033 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20034 :[FH]-) ac_tag=-:-;;
20035 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20036 esac
20037 ac_save_IFS=$IFS
20038 IFS=:
20039 set x $ac_tag
20040 IFS=$ac_save_IFS
20041 shift
20042 ac_file=$1
20043 shift
20045 case $ac_mode in
20046 :L) ac_source=$1;;
20047 :[FH])
20048 ac_file_inputs=
20049 for ac_f
20051 case $ac_f in
20052 -) ac_f="$ac_tmp/stdin";;
20053 *) # Look for the file first in the build tree, then in the source tree
20054 # (if the path is not absolute). The absolute path cannot be DOS-style,
20055 # because $ac_f cannot contain `:'.
20056 test -f "$ac_f" ||
20057 case $ac_f in
20058 [\\/$]*) false;;
20059 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20060 esac ||
20061 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20062 esac
20063 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20064 as_fn_append ac_file_inputs " '$ac_f'"
20065 done
20067 # Let's still pretend it is `configure' which instantiates (i.e., don't
20068 # use $as_me), people would be surprised to read:
20069 # /* config.h. Generated by config.status. */
20070 configure_input='Generated from '`
20071 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20072 `' by configure.'
20073 if test x"$ac_file" != x-; then
20074 configure_input="$ac_file. $configure_input"
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20076 $as_echo "$as_me: creating $ac_file" >&6;}
20078 # Neutralize special characters interpreted by sed in replacement strings.
20079 case $configure_input in #(
20080 *\&* | *\|* | *\\* )
20081 ac_sed_conf_input=`$as_echo "$configure_input" |
20082 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20083 *) ac_sed_conf_input=$configure_input;;
20084 esac
20086 case $ac_tag in
20087 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20089 esac
20091 esac
20093 ac_dir=`$as_dirname -- "$ac_file" ||
20094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20095 X"$ac_file" : 'X\(//\)[^/]' \| \
20096 X"$ac_file" : 'X\(//\)$' \| \
20097 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20098 $as_echo X"$ac_file" |
20099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20100 s//\1/
20103 /^X\(\/\/\)[^/].*/{
20104 s//\1/
20107 /^X\(\/\/\)$/{
20108 s//\1/
20111 /^X\(\/\).*/{
20112 s//\1/
20115 s/.*/./; q'`
20116 as_dir="$ac_dir"; as_fn_mkdir_p
20117 ac_builddir=.
20119 case "$ac_dir" in
20120 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20122 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20123 # A ".." for each directory in $ac_dir_suffix.
20124 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20125 case $ac_top_builddir_sub in
20126 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20127 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20128 esac ;;
20129 esac
20130 ac_abs_top_builddir=$ac_pwd
20131 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20132 # for backward compatibility:
20133 ac_top_builddir=$ac_top_build_prefix
20135 case $srcdir in
20136 .) # We are building in place.
20137 ac_srcdir=.
20138 ac_top_srcdir=$ac_top_builddir_sub
20139 ac_abs_top_srcdir=$ac_pwd ;;
20140 [\\/]* | ?:[\\/]* ) # Absolute name.
20141 ac_srcdir=$srcdir$ac_dir_suffix;
20142 ac_top_srcdir=$srcdir
20143 ac_abs_top_srcdir=$srcdir ;;
20144 *) # Relative name.
20145 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20146 ac_top_srcdir=$ac_top_build_prefix$srcdir
20147 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20148 esac
20149 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20152 case $ac_mode in
20155 # CONFIG_FILE
20158 _ACEOF
20160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20161 # If the template does not know about datarootdir, expand it.
20162 # FIXME: This hack should be removed a few years after 2.60.
20163 ac_datarootdir_hack=; ac_datarootdir_seen=
20164 ac_sed_dataroot='
20165 /datarootdir/ {
20169 /@datadir@/p
20170 /@docdir@/p
20171 /@infodir@/p
20172 /@localedir@/p
20173 /@mandir@/p'
20174 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20175 *datarootdir*) ac_datarootdir_seen=yes;;
20176 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20178 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20179 _ACEOF
20180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20181 ac_datarootdir_hack='
20182 s&@datadir@&$datadir&g
20183 s&@docdir@&$docdir&g
20184 s&@infodir@&$infodir&g
20185 s&@localedir@&$localedir&g
20186 s&@mandir@&$mandir&g
20187 s&\\\${datarootdir}&$datarootdir&g' ;;
20188 esac
20189 _ACEOF
20191 # Neutralize VPATH when `$srcdir' = `.'.
20192 # Shell code in configure.ac might set extrasub.
20193 # FIXME: do we really want to maintain this feature?
20194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20195 ac_sed_extra="$ac_vpsub
20196 $extrasub
20197 _ACEOF
20198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20201 s|@configure_input@|$ac_sed_conf_input|;t t
20202 s&@top_builddir@&$ac_top_builddir_sub&;t t
20203 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20204 s&@srcdir@&$ac_srcdir&;t t
20205 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20206 s&@top_srcdir@&$ac_top_srcdir&;t t
20207 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20208 s&@builddir@&$ac_builddir&;t t
20209 s&@abs_builddir@&$ac_abs_builddir&;t t
20210 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20211 $ac_datarootdir_hack
20213 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20214 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20216 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20217 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20218 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20219 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20221 which seems to be undefined. Please make sure it is defined" >&5
20222 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20223 which seems to be undefined. Please make sure it is defined" >&2;}
20225 rm -f "$ac_tmp/stdin"
20226 case $ac_file in
20227 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20228 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20229 esac \
20230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20234 # CONFIG_HEADER
20236 if test x"$ac_file" != x-; then
20238 $as_echo "/* $configure_input */" \
20239 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20240 } >"$ac_tmp/config.h" \
20241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20242 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20244 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20245 else
20246 rm -f "$ac_file"
20247 mv "$ac_tmp/config.h" "$ac_file" \
20248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20250 else
20251 $as_echo "/* $configure_input */" \
20252 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20253 || as_fn_error $? "could not create -" "$LINENO" 5
20258 # CONFIG_LINK
20261 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20263 else
20264 # Prefer the file from the source tree if names are identical.
20265 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20266 ac_source=$srcdir/$ac_source
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20270 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20272 if test ! -r "$ac_source"; then
20273 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20275 rm -f "$ac_file"
20277 # Try a relative symlink, then a hard link, then a copy.
20278 case $ac_source in
20279 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20280 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20281 esac
20282 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20283 ln "$ac_source" "$ac_file" 2>/dev/null ||
20284 cp -p "$ac_source" "$ac_file" ||
20285 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20288 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20289 $as_echo "$as_me: executing $ac_file commands" >&6;}
20291 esac
20294 case $ac_file$ac_mode in
20295 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20296 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20297 "Makefile":C) wine_fn_output_makefile Makefile ;;
20299 esac
20300 done # for ac_tag
20303 as_fn_exit 0
20304 _ACEOF
20305 ac_clean_files=$ac_clean_files_save
20307 test $ac_write_fail = 0 ||
20308 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20311 # configure is writing to config.log, and then calls config.status.
20312 # config.status does its own redirection, appending to config.log.
20313 # Unfortunately, on DOS this fails, as config.log is still kept open
20314 # by configure, so config.status won't be able to write to it; its
20315 # output is simply discarded. So we exec the FD to /dev/null,
20316 # effectively closing config.log, so it can be properly (re)opened and
20317 # appended to by config.status. When coming back to configure, we
20318 # need to make the FD available again.
20319 if test "$no_create" != yes; then
20320 ac_cs_success=:
20321 ac_config_status_args=
20322 test "$silent" = yes &&
20323 ac_config_status_args="$ac_config_status_args --quiet"
20324 exec 5>/dev/null
20325 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20326 exec 5>>config.log
20327 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20328 # would make configure fail if this is the last instruction.
20329 $ac_cs_success || as_fn_exit 1
20331 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20333 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20337 if test "$no_create" = "yes"
20338 then
20339 exit 0
20342 ac_save_IFS="$IFS"
20343 if test "x$wine_notices" != x; then
20344 echo >&6
20345 IFS="|"
20346 for msg in $wine_notices; do
20347 IFS="$ac_save_IFS"
20348 if ${msg:+false} :; then :
20350 else
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20352 $as_echo "$as_me: $msg" >&6;}
20354 done
20356 IFS="|"
20357 for msg in $wine_warnings; do
20358 IFS="$ac_save_IFS"
20359 if ${msg:+false} :; then :
20361 else
20362 echo >&2
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20364 $as_echo "$as_me: WARNING: $msg" >&2;}
20366 done
20367 IFS="$ac_save_IFS"
20369 $as_echo "
20370 $as_me: Finished. Do '${ac_make}' to compile Wine.
20371 " >&6