api-ms-win-core-crt-l1-1-0: Add dll.
[wine.git] / configure
blob512862b348dd8ed293c97adae6090280ea67898e
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_crt_l1_1_0
893 enable_api_ms_win_core_datetime_l1_1_0
894 enable_api_ms_win_core_datetime_l1_1_1
895 enable_api_ms_win_core_debug_l1_1_0
896 enable_api_ms_win_core_debug_l1_1_1
897 enable_api_ms_win_core_delayload_l1_1_0
898 enable_api_ms_win_core_delayload_l1_1_1
899 enable_api_ms_win_core_errorhandling_l1_1_0
900 enable_api_ms_win_core_errorhandling_l1_1_1
901 enable_api_ms_win_core_errorhandling_l1_1_2
902 enable_api_ms_win_core_fibers_l1_1_0
903 enable_api_ms_win_core_fibers_l1_1_1
904 enable_api_ms_win_core_file_l1_1_0
905 enable_api_ms_win_core_file_l1_2_0
906 enable_api_ms_win_core_file_l1_2_1
907 enable_api_ms_win_core_file_l2_1_0
908 enable_api_ms_win_core_file_l2_1_1
909 enable_api_ms_win_core_handle_l1_1_0
910 enable_api_ms_win_core_heap_l1_1_0
911 enable_api_ms_win_core_heap_l1_2_0
912 enable_api_ms_win_core_heap_obsolete_l1_1_0
913 enable_api_ms_win_core_interlocked_l1_1_0
914 enable_api_ms_win_core_interlocked_l1_2_0
915 enable_api_ms_win_core_io_l1_1_0
916 enable_api_ms_win_core_io_l1_1_1
917 enable_api_ms_win_core_job_l1_1_0
918 enable_api_ms_win_core_job_l2_1_0
919 enable_api_ms_win_core_kernel32_legacy_l1_1_0
920 enable_api_ms_win_core_kernel32_legacy_l1_1_1
921 enable_api_ms_win_core_kernel32_private_l1_1_1
922 enable_api_ms_win_core_libraryloader_l1_1_0
923 enable_api_ms_win_core_libraryloader_l1_1_1
924 enable_api_ms_win_core_libraryloader_l1_2_0
925 enable_api_ms_win_core_libraryloader_l1_2_2
926 enable_api_ms_win_core_localization_l1_1_0
927 enable_api_ms_win_core_localization_l1_2_0
928 enable_api_ms_win_core_localization_l1_2_1
929 enable_api_ms_win_core_localization_l2_1_0
930 enable_api_ms_win_core_localization_obsolete_l1_1_0
931 enable_api_ms_win_core_localization_obsolete_l1_2_0
932 enable_api_ms_win_core_localization_private_l1_1_0
933 enable_api_ms_win_core_localregistry_l1_1_0
934 enable_api_ms_win_core_memory_l1_1_0
935 enable_api_ms_win_core_memory_l1_1_1
936 enable_api_ms_win_core_memory_l1_1_2
937 enable_api_ms_win_core_misc_l1_1_0
938 enable_api_ms_win_core_namedpipe_l1_1_0
939 enable_api_ms_win_core_namedpipe_l1_2_0
940 enable_api_ms_win_core_namespace_l1_1_0
941 enable_api_ms_win_core_normalization_l1_1_0
942 enable_api_ms_win_core_path_l1_1_0
943 enable_api_ms_win_core_privateprofile_l1_1_1
944 enable_api_ms_win_core_processenvironment_l1_1_0
945 enable_api_ms_win_core_processenvironment_l1_2_0
946 enable_api_ms_win_core_processthreads_l1_1_0
947 enable_api_ms_win_core_processthreads_l1_1_1
948 enable_api_ms_win_core_processthreads_l1_1_2
949 enable_api_ms_win_core_profile_l1_1_0
950 enable_api_ms_win_core_psapi_l1_1_0
951 enable_api_ms_win_core_psapi_obsolete_l1_1_0
952 enable_api_ms_win_core_quirks_l1_1_0
953 enable_api_ms_win_core_realtime_l1_1_0
954 enable_api_ms_win_core_registry_l1_1_0
955 enable_api_ms_win_core_registry_l2_1_0
956 enable_api_ms_win_core_registryuserspecific_l1_1_0
957 enable_api_ms_win_core_rtlsupport_l1_1_0
958 enable_api_ms_win_core_rtlsupport_l1_2_0
959 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
960 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
961 enable_api_ms_win_core_sidebyside_l1_1_0
962 enable_api_ms_win_core_string_l1_1_0
963 enable_api_ms_win_core_string_l2_1_0
964 enable_api_ms_win_core_string_obsolete_l1_1_0
965 enable_api_ms_win_core_stringansi_l1_1_0
966 enable_api_ms_win_core_synch_l1_1_0
967 enable_api_ms_win_core_synch_l1_2_0
968 enable_api_ms_win_core_sysinfo_l1_1_0
969 enable_api_ms_win_core_sysinfo_l1_2_0
970 enable_api_ms_win_core_sysinfo_l1_2_1
971 enable_api_ms_win_core_threadpool_l1_1_0
972 enable_api_ms_win_core_threadpool_l1_2_0
973 enable_api_ms_win_core_threadpool_legacy_l1_1_0
974 enable_api_ms_win_core_threadpool_private_l1_1_0
975 enable_api_ms_win_core_timezone_l1_1_0
976 enable_api_ms_win_core_toolhelp_l1_1_0
977 enable_api_ms_win_core_url_l1_1_0
978 enable_api_ms_win_core_util_l1_1_0
979 enable_api_ms_win_core_version_l1_1_0
980 enable_api_ms_win_core_version_private_l1_1_0
981 enable_api_ms_win_core_versionansi_l1_1_0
982 enable_api_ms_win_core_windowserrorreporting_l1_1_0
983 enable_api_ms_win_core_winrt_error_l1_1_0
984 enable_api_ms_win_core_winrt_error_l1_1_1
985 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
986 enable_api_ms_win_core_winrt_l1_1_0
987 enable_api_ms_win_core_winrt_registration_l1_1_0
988 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
989 enable_api_ms_win_core_winrt_string_l1_1_0
990 enable_api_ms_win_core_wow64_l1_1_0
991 enable_api_ms_win_core_xstate_l1_1_0
992 enable_api_ms_win_core_xstate_l2_1_0
993 enable_api_ms_win_crt_conio_l1_1_0
994 enable_api_ms_win_crt_convert_l1_1_0
995 enable_api_ms_win_crt_environment_l1_1_0
996 enable_api_ms_win_crt_filesystem_l1_1_0
997 enable_api_ms_win_crt_heap_l1_1_0
998 enable_api_ms_win_crt_locale_l1_1_0
999 enable_api_ms_win_crt_math_l1_1_0
1000 enable_api_ms_win_crt_multibyte_l1_1_0
1001 enable_api_ms_win_crt_private_l1_1_0
1002 enable_api_ms_win_crt_process_l1_1_0
1003 enable_api_ms_win_crt_runtime_l1_1_0
1004 enable_api_ms_win_crt_stdio_l1_1_0
1005 enable_api_ms_win_crt_string_l1_1_0
1006 enable_api_ms_win_crt_time_l1_1_0
1007 enable_api_ms_win_crt_utility_l1_1_0
1008 enable_api_ms_win_devices_config_l1_1_1
1009 enable_api_ms_win_devices_query_l1_1_1
1010 enable_api_ms_win_downlevel_advapi32_l1_1_0
1011 enable_api_ms_win_downlevel_advapi32_l2_1_0
1012 enable_api_ms_win_downlevel_normaliz_l1_1_0
1013 enable_api_ms_win_downlevel_ole32_l1_1_0
1014 enable_api_ms_win_downlevel_shell32_l1_1_0
1015 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1016 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1017 enable_api_ms_win_downlevel_user32_l1_1_0
1018 enable_api_ms_win_downlevel_version_l1_1_0
1019 enable_api_ms_win_dx_d3dkmt_l1_1_0
1020 enable_api_ms_win_eventing_classicprovider_l1_1_0
1021 enable_api_ms_win_eventing_consumer_l1_1_0
1022 enable_api_ms_win_eventing_controller_l1_1_0
1023 enable_api_ms_win_eventing_provider_l1_1_0
1024 enable_api_ms_win_eventlog_legacy_l1_1_0
1025 enable_api_ms_win_mm_misc_l1_1_1
1026 enable_api_ms_win_mm_mme_l1_1_0
1027 enable_api_ms_win_ntuser_dc_access_l1_1_0
1028 enable_api_ms_win_power_base_l1_1_0
1029 enable_api_ms_win_power_setting_l1_1_0
1030 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1031 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1032 enable_api_ms_win_security_audit_l1_1_1
1033 enable_api_ms_win_security_base_l1_1_0
1034 enable_api_ms_win_security_base_l1_2_0
1035 enable_api_ms_win_security_base_private_l1_1_1
1036 enable_api_ms_win_security_credentials_l1_1_0
1037 enable_api_ms_win_security_grouppolicy_l1_1_0
1038 enable_api_ms_win_security_lsalookup_l1_1_0
1039 enable_api_ms_win_security_lsalookup_l1_1_1
1040 enable_api_ms_win_security_lsalookup_l2_1_1
1041 enable_api_ms_win_security_lsapolicy_l1_1_0
1042 enable_api_ms_win_security_sddl_l1_1_0
1043 enable_api_ms_win_security_systemfunctions_l1_1_0
1044 enable_api_ms_win_service_core_l1_1_0
1045 enable_api_ms_win_service_core_l1_1_1
1046 enable_api_ms_win_service_management_l1_1_0
1047 enable_api_ms_win_service_management_l2_1_0
1048 enable_api_ms_win_service_private_l1_1_1
1049 enable_api_ms_win_service_winsvc_l1_1_0
1050 enable_api_ms_win_service_winsvc_l1_2_0
1051 enable_api_ms_win_shell_shellcom_l1_1_0
1052 enable_api_ms_win_shell_shellfolders_l1_1_0
1053 enable_apphelp
1054 enable_appwiz_cpl
1055 enable_atl
1056 enable_atl100
1057 enable_atl110
1058 enable_atl80
1059 enable_atl90
1060 enable_authz
1061 enable_avicap32
1062 enable_avifil32
1063 enable_avrt
1064 enable_bcrypt
1065 enable_bluetoothapis
1066 enable_browseui
1067 enable_bthprops_cpl
1068 enable_cabinet
1069 enable_capi2032
1070 enable_cards
1071 enable_cfgmgr32
1072 enable_clusapi
1073 enable_combase
1074 enable_comcat
1075 enable_comctl32
1076 enable_comdlg32
1077 enable_compstui
1078 enable_comsvcs
1079 enable_concrt140
1080 enable_connect
1081 enable_credui
1082 enable_crtdll
1083 enable_crypt32
1084 enable_cryptdlg
1085 enable_cryptdll
1086 enable_cryptext
1087 enable_cryptnet
1088 enable_cryptui
1089 enable_ctapi32
1090 enable_ctl3d32
1091 enable_d2d1
1092 enable_d3d10
1093 enable_d3d10_1
1094 enable_d3d10core
1095 enable_d3d11
1096 enable_d3d8
1097 enable_d3d9
1098 enable_d3dcompiler_33
1099 enable_d3dcompiler_34
1100 enable_d3dcompiler_35
1101 enable_d3dcompiler_36
1102 enable_d3dcompiler_37
1103 enable_d3dcompiler_38
1104 enable_d3dcompiler_39
1105 enable_d3dcompiler_40
1106 enable_d3dcompiler_41
1107 enable_d3dcompiler_42
1108 enable_d3dcompiler_43
1109 enable_d3dcompiler_46
1110 enable_d3dcompiler_47
1111 enable_d3dim
1112 enable_d3drm
1113 enable_d3dx10_33
1114 enable_d3dx10_34
1115 enable_d3dx10_35
1116 enable_d3dx10_36
1117 enable_d3dx10_37
1118 enable_d3dx10_38
1119 enable_d3dx10_39
1120 enable_d3dx10_40
1121 enable_d3dx10_41
1122 enable_d3dx10_42
1123 enable_d3dx10_43
1124 enable_d3dx11_42
1125 enable_d3dx11_43
1126 enable_d3dx9_24
1127 enable_d3dx9_25
1128 enable_d3dx9_26
1129 enable_d3dx9_27
1130 enable_d3dx9_28
1131 enable_d3dx9_29
1132 enable_d3dx9_30
1133 enable_d3dx9_31
1134 enable_d3dx9_32
1135 enable_d3dx9_33
1136 enable_d3dx9_34
1137 enable_d3dx9_35
1138 enable_d3dx9_36
1139 enable_d3dx9_37
1140 enable_d3dx9_38
1141 enable_d3dx9_39
1142 enable_d3dx9_40
1143 enable_d3dx9_41
1144 enable_d3dx9_42
1145 enable_d3dx9_43
1146 enable_d3dxof
1147 enable_davclnt
1148 enable_dbgeng
1149 enable_dbghelp
1150 enable_dciman32
1151 enable_ddraw
1152 enable_ddrawex
1153 enable_devenum
1154 enable_dhcpcsvc
1155 enable_difxapi
1156 enable_dinput
1157 enable_dinput8
1158 enable_dispex
1159 enable_dmband
1160 enable_dmcompos
1161 enable_dmime
1162 enable_dmloader
1163 enable_dmscript
1164 enable_dmstyle
1165 enable_dmsynth
1166 enable_dmusic
1167 enable_dmusic32
1168 enable_dnsapi
1169 enable_dplay
1170 enable_dplayx
1171 enable_dpnaddr
1172 enable_dpnet
1173 enable_dpnhpast
1174 enable_dpnlobby
1175 enable_dpvoice
1176 enable_dpwsockx
1177 enable_drmclien
1178 enable_dsound
1179 enable_dssenh
1180 enable_dswave
1181 enable_dwmapi
1182 enable_dwrite
1183 enable_dxdiagn
1184 enable_dxgi
1185 enable_dxva2
1186 enable_esent
1187 enable_evr
1188 enable_explorerframe
1189 enable_ext_ms_win_authz_context_l1_1_0
1190 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1191 enable_ext_ms_win_gdi_dc_create_l1_1_1
1192 enable_ext_ms_win_gdi_dc_l1_2_0
1193 enable_ext_ms_win_gdi_devcaps_l1_1_0
1194 enable_ext_ms_win_gdi_draw_l1_1_1
1195 enable_ext_ms_win_gdi_render_l1_1_0
1196 enable_ext_ms_win_kernel32_package_current_l1_1_0
1197 enable_ext_ms_win_ntuser_message_l1_1_1
1198 enable_ext_ms_win_ntuser_private_l1_1_1
1199 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1200 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1201 enable_ext_ms_win_ntuser_window_l1_1_1
1202 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1203 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1204 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1205 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1206 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1207 enable_faultrep
1208 enable_fltlib
1209 enable_fltmgr_sys
1210 enable_fntcache
1211 enable_fontsub
1212 enable_fusion
1213 enable_fwpuclnt
1214 enable_gameux
1215 enable_gdi32
1216 enable_gdiplus
1217 enable_glu32
1218 enable_gphoto2_ds
1219 enable_gpkcsp
1220 enable_hal
1221 enable_hhctrl_ocx
1222 enable_hid
1223 enable_hidclass_sys
1224 enable_hlink
1225 enable_hnetcfg
1226 enable_httpapi
1227 enable_iccvid
1228 enable_icmp
1229 enable_ieframe
1230 enable_imaadp32_acm
1231 enable_imagehlp
1232 enable_imm32
1233 enable_inetcomm
1234 enable_inetcpl_cpl
1235 enable_inetmib1
1236 enable_infosoft
1237 enable_initpki
1238 enable_inkobj
1239 enable_inseng
1240 enable_iphlpapi
1241 enable_iprop
1242 enable_irprops_cpl
1243 enable_itircl
1244 enable_itss
1245 enable_joy_cpl
1246 enable_jscript
1247 enable_jsproxy
1248 enable_kernel32
1249 enable_kernelbase
1250 enable_ksuser
1251 enable_ktmw32
1252 enable_loadperf
1253 enable_localspl
1254 enable_localui
1255 enable_lz32
1256 enable_mapi32
1257 enable_mapistub
1258 enable_mciavi32
1259 enable_mcicda
1260 enable_mciqtz32
1261 enable_mciseq
1262 enable_mciwave
1263 enable_mf
1264 enable_mf3216
1265 enable_mfplat
1266 enable_mfreadwrite
1267 enable_mgmtapi
1268 enable_midimap
1269 enable_mlang
1270 enable_mmcndmgr
1271 enable_mmdevapi
1272 enable_mountmgr_sys
1273 enable_mpr
1274 enable_mprapi
1275 enable_msacm32_drv
1276 enable_msacm32
1277 enable_msadp32_acm
1278 enable_msasn1
1279 enable_mscat32
1280 enable_mscms
1281 enable_mscoree
1282 enable_msctf
1283 enable_msctfp
1284 enable_msdaps
1285 enable_msdelta
1286 enable_msdmo
1287 enable_msdrm
1288 enable_msftedit
1289 enable_msg711_acm
1290 enable_msgsm32_acm
1291 enable_mshtml_tlb
1292 enable_mshtml
1293 enable_msi
1294 enable_msident
1295 enable_msimg32
1296 enable_msimsg
1297 enable_msimtf
1298 enable_msisip
1299 enable_msisys_ocx
1300 enable_msls31
1301 enable_msnet32
1302 enable_mspatcha
1303 enable_msports
1304 enable_msrle32
1305 enable_msscript_ocx
1306 enable_mssign32
1307 enable_mssip32
1308 enable_mstask
1309 enable_msvcirt
1310 enable_msvcm80
1311 enable_msvcm90
1312 enable_msvcp100
1313 enable_msvcp110
1314 enable_msvcp120
1315 enable_msvcp120_app
1316 enable_msvcp140
1317 enable_msvcp60
1318 enable_msvcp70
1319 enable_msvcp71
1320 enable_msvcp80
1321 enable_msvcp90
1322 enable_msvcr100
1323 enable_msvcr110
1324 enable_msvcr120
1325 enable_msvcr120_app
1326 enable_msvcr70
1327 enable_msvcr71
1328 enable_msvcr80
1329 enable_msvcr90
1330 enable_msvcrt
1331 enable_msvcrt20
1332 enable_msvcrt40
1333 enable_msvcrtd
1334 enable_msvfw32
1335 enable_msvidc32
1336 enable_mswsock
1337 enable_msxml
1338 enable_msxml2
1339 enable_msxml3
1340 enable_msxml4
1341 enable_msxml6
1342 enable_mtxdm
1343 enable_ncrypt
1344 enable_nddeapi
1345 enable_ndis_sys
1346 enable_netapi32
1347 enable_netcfgx
1348 enable_netprofm
1349 enable_newdev
1350 enable_normaliz
1351 enable_npmshtml
1352 enable_npptools
1353 enable_ntdll
1354 enable_ntdsapi
1355 enable_ntoskrnl_exe
1356 enable_ntprint
1357 enable_objsel
1358 enable_odbc32
1359 enable_odbccp32
1360 enable_odbccu32
1361 enable_ole32
1362 enable_oleacc
1363 enable_oleaut32
1364 enable_olecli32
1365 enable_oledb32
1366 enable_oledlg
1367 enable_olepro32
1368 enable_olesvr32
1369 enable_olethk32
1370 enable_openal32
1371 enable_opencl
1372 enable_opengl32
1373 enable_packager
1374 enable_pdh
1375 enable_photometadatahandler
1376 enable_pidgen
1377 enable_powrprof
1378 enable_printui
1379 enable_prntvpt
1380 enable_propsys
1381 enable_psapi
1382 enable_pstorec
1383 enable_qcap
1384 enable_qedit
1385 enable_qmgr
1386 enable_qmgrprxy
1387 enable_quartz
1388 enable_query
1389 enable_rasapi32
1390 enable_rasdlg
1391 enable_regapi
1392 enable_resutils
1393 enable_riched20
1394 enable_riched32
1395 enable_rpcrt4
1396 enable_rsabase
1397 enable_rsaenh
1398 enable_rstrtmgr
1399 enable_rtutils
1400 enable_samlib
1401 enable_sane_ds
1402 enable_scarddlg
1403 enable_sccbase
1404 enable_schannel
1405 enable_schedsvc
1406 enable_scrobj
1407 enable_scrrun
1408 enable_scsiport_sys
1409 enable_secur32
1410 enable_security
1411 enable_sensapi
1412 enable_serialui
1413 enable_setupapi
1414 enable_sfc
1415 enable_sfc_os
1416 enable_shdoclc
1417 enable_shdocvw
1418 enable_shell32
1419 enable_shfolder
1420 enable_shlwapi
1421 enable_slbcsp
1422 enable_slc
1423 enable_snmpapi
1424 enable_softpub
1425 enable_spoolss
1426 enable_sspicli
1427 enable_stdole2_tlb
1428 enable_stdole32_tlb
1429 enable_sti
1430 enable_svrapi
1431 enable_sxs
1432 enable_t2embed
1433 enable_tapi32
1434 enable_taskschd
1435 enable_tdh
1436 enable_tdi_sys
1437 enable_traffic
1438 enable_twain_32
1439 enable_ucrtbase
1440 enable_uiautomationcore
1441 enable_unicows
1442 enable_updspapi
1443 enable_url
1444 enable_urlmon
1445 enable_usbd_sys
1446 enable_user32
1447 enable_userenv
1448 enable_usp10
1449 enable_uxtheme
1450 enable_vbscript
1451 enable_vcomp
1452 enable_vcomp100
1453 enable_vcomp110
1454 enable_vcomp120
1455 enable_vcomp140
1456 enable_vcomp90
1457 enable_vcruntime140
1458 enable_vdmdbg
1459 enable_version
1460 enable_virtdisk
1461 enable_vssapi
1462 enable_wbemdisp
1463 enable_wbemprox
1464 enable_webservices
1465 enable_wer
1466 enable_wevtapi
1467 enable_wiaservc
1468 enable_wimgapi
1469 enable_windowscodecs
1470 enable_windowscodecsext
1471 enable_winealsa_drv
1472 enable_wineandroid_drv
1473 enable_winebus_sys
1474 enable_winecoreaudio_drv
1475 enable_wined3d
1476 enable_winegstreamer
1477 enable_winehid_sys
1478 enable_winejoystick_drv
1479 enable_winemac_drv
1480 enable_winemapi
1481 enable_winemp3_acm
1482 enable_wineoss_drv
1483 enable_wineps_drv
1484 enable_winepulse_drv
1485 enable_wineqtdecoder
1486 enable_winex11_drv
1487 enable_wing32
1488 enable_winhttp
1489 enable_wininet
1490 enable_winmm
1491 enable_winnls32
1492 enable_winscard
1493 enable_winspool_drv
1494 enable_winsta
1495 enable_wintab32
1496 enable_wintrust
1497 enable_winusb
1498 enable_wlanapi
1499 enable_wldap32
1500 enable_wmasf
1501 enable_wmi
1502 enable_wmiutils
1503 enable_wmp
1504 enable_wmvcore
1505 enable_wnaspi32
1506 enable_wpc
1507 enable_wpcap
1508 enable_ws2_32
1509 enable_wsdapi
1510 enable_wshom_ocx
1511 enable_wsnmp32
1512 enable_wsock32
1513 enable_wtsapi32
1514 enable_wuapi
1515 enable_wuaueng
1516 enable_x3daudio1_0
1517 enable_x3daudio1_1
1518 enable_x3daudio1_2
1519 enable_x3daudio1_3
1520 enable_x3daudio1_4
1521 enable_x3daudio1_5
1522 enable_x3daudio1_6
1523 enable_x3daudio1_7
1524 enable_xapofx1_1
1525 enable_xapofx1_2
1526 enable_xapofx1_3
1527 enable_xapofx1_4
1528 enable_xapofx1_5
1529 enable_xaudio2_0
1530 enable_xaudio2_1
1531 enable_xaudio2_2
1532 enable_xaudio2_3
1533 enable_xaudio2_4
1534 enable_xaudio2_5
1535 enable_xaudio2_6
1536 enable_xaudio2_7
1537 enable_xaudio2_8
1538 enable_xaudio2_9
1539 enable_xinput1_1
1540 enable_xinput1_2
1541 enable_xinput1_3
1542 enable_xinput1_4
1543 enable_xinput9_1_0
1544 enable_xmllite
1545 enable_xolehlp
1546 enable_xpsprint
1547 enable_xpssvcs
1548 enable_fonts
1549 enable_include
1550 enable_libs_port
1551 enable_libs_wine
1552 enable_libs_wpp
1553 enable_loader
1554 enable_po
1555 enable_arp
1556 enable_aspnet_regiis
1557 enable_attrib
1558 enable_cabarc
1559 enable_cacls
1560 enable_clock
1561 enable_cmd
1562 enable_conhost
1563 enable_control
1564 enable_cscript
1565 enable_dpnsvr
1566 enable_dxdiag
1567 enable_eject
1568 enable_expand
1569 enable_explorer
1570 enable_extrac32
1571 enable_findstr
1572 enable_fsutil
1573 enable_hh
1574 enable_hostname
1575 enable_icacls
1576 enable_icinfo
1577 enable_iexplore
1578 enable_ipconfig
1579 enable_lodctr
1580 enable_mofcomp
1581 enable_mshta
1582 enable_msiexec
1583 enable_msinfo32
1584 enable_net
1585 enable_netsh
1586 enable_netstat
1587 enable_ngen
1588 enable_notepad
1589 enable_oleview
1590 enable_ping
1591 enable_plugplay
1592 enable_presentationfontcache
1593 enable_progman
1594 enable_reg
1595 enable_regasm
1596 enable_regedit
1597 enable_regsvcs
1598 enable_regsvr32
1599 enable_rpcss
1600 enable_rundll32
1601 enable_sc
1602 enable_schtasks
1603 enable_sdbinst
1604 enable_secedit
1605 enable_servicemodelreg
1606 enable_services
1607 enable_shutdown
1608 enable_spoolsv
1609 enable_start
1610 enable_subst
1611 enable_svchost
1612 enable_systeminfo
1613 enable_taskkill
1614 enable_tasklist
1615 enable_taskmgr
1616 enable_termsv
1617 enable_uninstaller
1618 enable_unlodctr
1619 enable_view
1620 enable_wevtutil
1621 enable_wineboot
1622 enable_winebrowser
1623 enable_winecfg
1624 enable_wineconsole
1625 enable_winedbg
1626 enable_winedevice
1627 enable_winefile
1628 enable_winemenubuilder
1629 enable_winemine
1630 enable_winemsibuilder
1631 enable_winepath
1632 enable_winetest
1633 enable_winhlp32
1634 enable_winver
1635 enable_wmic
1636 enable_wmplayer
1637 enable_wordpad
1638 enable_write
1639 enable_wscript
1640 enable_wusa
1641 enable_xcopy
1642 enable_server
1643 enable_tools
1645 ac_precious_vars='build_alias
1646 host_alias
1647 target_alias
1649 CFLAGS
1650 LDFLAGS
1651 LIBS
1652 CPPFLAGS
1654 CXXFLAGS
1657 XMKMF
1658 XML2_CFLAGS
1659 XML2_LIBS
1660 XSLT_CFLAGS
1661 XSLT_LIBS
1662 DBUS_CFLAGS
1663 DBUS_LIBS
1664 HAL_CFLAGS
1665 HAL_LIBS
1666 GNUTLS_CFLAGS
1667 GNUTLS_LIBS
1668 SANE_CFLAGS
1669 SANE_LIBS
1670 GPHOTO2_CFLAGS
1671 GPHOTO2_LIBS
1672 GPHOTO2_PORT_CFLAGS
1673 GPHOTO2_PORT_LIBS
1674 LCMS2_CFLAGS
1675 LCMS2_LIBS
1676 FREETYPE_CFLAGS
1677 FREETYPE_LIBS
1678 PULSE_CFLAGS
1679 PULSE_LIBS
1680 GSTREAMER_CFLAGS
1681 GSTREAMER_LIBS
1682 UDEV_CFLAGS
1683 UDEV_LIBS
1684 CAPI20_CFLAGS
1685 CAPI20_LIBS
1686 FONTCONFIG_CFLAGS
1687 FONTCONFIG_LIBS
1688 JPEG_CFLAGS
1689 JPEG_LIBS
1690 PNG_CFLAGS
1691 PNG_LIBS
1692 TIFF_CFLAGS
1693 TIFF_LIBS
1694 MPG123_CFLAGS
1695 MPG123_LIBS
1696 NETAPI_CFLAGS
1697 NETAPI_LIBS'
1700 # Initialize some variables set by options.
1701 ac_init_help=
1702 ac_init_version=false
1703 ac_unrecognized_opts=
1704 ac_unrecognized_sep=
1705 # The variables have the same names as the options, with
1706 # dashes changed to underlines.
1707 cache_file=/dev/null
1708 exec_prefix=NONE
1709 no_create=
1710 no_recursion=
1711 prefix=NONE
1712 program_prefix=NONE
1713 program_suffix=NONE
1714 program_transform_name=s,x,x,
1715 silent=
1716 site=
1717 srcdir=
1718 verbose=
1719 x_includes=NONE
1720 x_libraries=NONE
1722 # Installation directory options.
1723 # These are left unexpanded so users can "make install exec_prefix=/foo"
1724 # and all the variables that are supposed to be based on exec_prefix
1725 # by default will actually change.
1726 # Use braces instead of parens because sh, perl, etc. also accept them.
1727 # (The list follows the same order as the GNU Coding Standards.)
1728 bindir='${exec_prefix}/bin'
1729 sbindir='${exec_prefix}/sbin'
1730 libexecdir='${exec_prefix}/libexec'
1731 datarootdir='${prefix}/share'
1732 datadir='${datarootdir}'
1733 sysconfdir='${prefix}/etc'
1734 sharedstatedir='${prefix}/com'
1735 localstatedir='${prefix}/var'
1736 runstatedir='${localstatedir}/run'
1737 includedir='${prefix}/include'
1738 oldincludedir='/usr/include'
1739 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1740 infodir='${datarootdir}/info'
1741 htmldir='${docdir}'
1742 dvidir='${docdir}'
1743 pdfdir='${docdir}'
1744 psdir='${docdir}'
1745 libdir='${exec_prefix}/lib'
1746 localedir='${datarootdir}/locale'
1747 mandir='${datarootdir}/man'
1749 ac_prev=
1750 ac_dashdash=
1751 for ac_option
1753 # If the previous option needs an argument, assign it.
1754 if test -n "$ac_prev"; then
1755 eval $ac_prev=\$ac_option
1756 ac_prev=
1757 continue
1760 case $ac_option in
1761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1762 *=) ac_optarg= ;;
1763 *) ac_optarg=yes ;;
1764 esac
1766 # Accept the important Cygnus configure options, so we can diagnose typos.
1768 case $ac_dashdash$ac_option in
1770 ac_dashdash=yes ;;
1772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1773 ac_prev=bindir ;;
1774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1775 bindir=$ac_optarg ;;
1777 -build | --build | --buil | --bui | --bu)
1778 ac_prev=build_alias ;;
1779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1780 build_alias=$ac_optarg ;;
1782 -cache-file | --cache-file | --cache-fil | --cache-fi \
1783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1784 ac_prev=cache_file ;;
1785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1787 cache_file=$ac_optarg ;;
1789 --config-cache | -C)
1790 cache_file=config.cache ;;
1792 -datadir | --datadir | --datadi | --datad)
1793 ac_prev=datadir ;;
1794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1795 datadir=$ac_optarg ;;
1797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1798 | --dataroo | --dataro | --datar)
1799 ac_prev=datarootdir ;;
1800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1802 datarootdir=$ac_optarg ;;
1804 -disable-* | --disable-*)
1805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1806 # Reject names that are not valid shell variable names.
1807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1808 as_fn_error $? "invalid feature name: $ac_useropt"
1809 ac_useropt_orig=$ac_useropt
1810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1811 case $ac_user_opts in
1813 "enable_$ac_useropt"
1814 "*) ;;
1815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1816 ac_unrecognized_sep=', ';;
1817 esac
1818 eval enable_$ac_useropt=no ;;
1820 -docdir | --docdir | --docdi | --doc | --do)
1821 ac_prev=docdir ;;
1822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1823 docdir=$ac_optarg ;;
1825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1826 ac_prev=dvidir ;;
1827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1828 dvidir=$ac_optarg ;;
1830 -enable-* | --enable-*)
1831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1832 # Reject names that are not valid shell variable names.
1833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1834 as_fn_error $? "invalid feature name: $ac_useropt"
1835 ac_useropt_orig=$ac_useropt
1836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1837 case $ac_user_opts in
1839 "enable_$ac_useropt"
1840 "*) ;;
1841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1842 ac_unrecognized_sep=', ';;
1843 esac
1844 eval enable_$ac_useropt=\$ac_optarg ;;
1846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1848 | --exec | --exe | --ex)
1849 ac_prev=exec_prefix ;;
1850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1852 | --exec=* | --exe=* | --ex=*)
1853 exec_prefix=$ac_optarg ;;
1855 -gas | --gas | --ga | --g)
1856 # Obsolete; use --with-gas.
1857 with_gas=yes ;;
1859 -help | --help | --hel | --he | -h)
1860 ac_init_help=long ;;
1861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1862 ac_init_help=recursive ;;
1863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1864 ac_init_help=short ;;
1866 -host | --host | --hos | --ho)
1867 ac_prev=host_alias ;;
1868 -host=* | --host=* | --hos=* | --ho=*)
1869 host_alias=$ac_optarg ;;
1871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1872 ac_prev=htmldir ;;
1873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1874 | --ht=*)
1875 htmldir=$ac_optarg ;;
1877 -includedir | --includedir | --includedi | --included | --include \
1878 | --includ | --inclu | --incl | --inc)
1879 ac_prev=includedir ;;
1880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1881 | --includ=* | --inclu=* | --incl=* | --inc=*)
1882 includedir=$ac_optarg ;;
1884 -infodir | --infodir | --infodi | --infod | --info | --inf)
1885 ac_prev=infodir ;;
1886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1887 infodir=$ac_optarg ;;
1889 -libdir | --libdir | --libdi | --libd)
1890 ac_prev=libdir ;;
1891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1892 libdir=$ac_optarg ;;
1894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1895 | --libexe | --libex | --libe)
1896 ac_prev=libexecdir ;;
1897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1898 | --libexe=* | --libex=* | --libe=*)
1899 libexecdir=$ac_optarg ;;
1901 -localedir | --localedir | --localedi | --localed | --locale)
1902 ac_prev=localedir ;;
1903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1904 localedir=$ac_optarg ;;
1906 -localstatedir | --localstatedir | --localstatedi | --localstated \
1907 | --localstate | --localstat | --localsta | --localst | --locals)
1908 ac_prev=localstatedir ;;
1909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1911 localstatedir=$ac_optarg ;;
1913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1914 ac_prev=mandir ;;
1915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1916 mandir=$ac_optarg ;;
1918 -nfp | --nfp | --nf)
1919 # Obsolete; use --without-fp.
1920 with_fp=no ;;
1922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1923 | --no-cr | --no-c | -n)
1924 no_create=yes ;;
1926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1928 no_recursion=yes ;;
1930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1932 | --oldin | --oldi | --old | --ol | --o)
1933 ac_prev=oldincludedir ;;
1934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1937 oldincludedir=$ac_optarg ;;
1939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1940 ac_prev=prefix ;;
1941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1942 prefix=$ac_optarg ;;
1944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1945 | --program-pre | --program-pr | --program-p)
1946 ac_prev=program_prefix ;;
1947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1949 program_prefix=$ac_optarg ;;
1951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1952 | --program-suf | --program-su | --program-s)
1953 ac_prev=program_suffix ;;
1954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1956 program_suffix=$ac_optarg ;;
1958 -program-transform-name | --program-transform-name \
1959 | --program-transform-nam | --program-transform-na \
1960 | --program-transform-n | --program-transform- \
1961 | --program-transform | --program-transfor \
1962 | --program-transfo | --program-transf \
1963 | --program-trans | --program-tran \
1964 | --progr-tra | --program-tr | --program-t)
1965 ac_prev=program_transform_name ;;
1966 -program-transform-name=* | --program-transform-name=* \
1967 | --program-transform-nam=* | --program-transform-na=* \
1968 | --program-transform-n=* | --program-transform-=* \
1969 | --program-transform=* | --program-transfor=* \
1970 | --program-transfo=* | --program-transf=* \
1971 | --program-trans=* | --program-tran=* \
1972 | --progr-tra=* | --program-tr=* | --program-t=*)
1973 program_transform_name=$ac_optarg ;;
1975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1976 ac_prev=pdfdir ;;
1977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1978 pdfdir=$ac_optarg ;;
1980 -psdir | --psdir | --psdi | --psd | --ps)
1981 ac_prev=psdir ;;
1982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1983 psdir=$ac_optarg ;;
1985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1986 | -silent | --silent | --silen | --sile | --sil)
1987 silent=yes ;;
1989 -runstatedir | --runstatedir | --runstatedi | --runstated \
1990 | --runstate | --runstat | --runsta | --runst | --runs \
1991 | --run | --ru | --r)
1992 ac_prev=runstatedir ;;
1993 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1994 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1995 | --run=* | --ru=* | --r=*)
1996 runstatedir=$ac_optarg ;;
1998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1999 ac_prev=sbindir ;;
2000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2001 | --sbi=* | --sb=*)
2002 sbindir=$ac_optarg ;;
2004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2006 | --sharedst | --shareds | --shared | --share | --shar \
2007 | --sha | --sh)
2008 ac_prev=sharedstatedir ;;
2009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2012 | --sha=* | --sh=*)
2013 sharedstatedir=$ac_optarg ;;
2015 -site | --site | --sit)
2016 ac_prev=site ;;
2017 -site=* | --site=* | --sit=*)
2018 site=$ac_optarg ;;
2020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2021 ac_prev=srcdir ;;
2022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2023 srcdir=$ac_optarg ;;
2025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2026 | --syscon | --sysco | --sysc | --sys | --sy)
2027 ac_prev=sysconfdir ;;
2028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2030 sysconfdir=$ac_optarg ;;
2032 -target | --target | --targe | --targ | --tar | --ta | --t)
2033 ac_prev=target_alias ;;
2034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2035 target_alias=$ac_optarg ;;
2037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2038 verbose=yes ;;
2040 -version | --version | --versio | --versi | --vers | -V)
2041 ac_init_version=: ;;
2043 -with-* | --with-*)
2044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2045 # Reject names that are not valid shell variable names.
2046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2047 as_fn_error $? "invalid package name: $ac_useropt"
2048 ac_useropt_orig=$ac_useropt
2049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2050 case $ac_user_opts in
2052 "with_$ac_useropt"
2053 "*) ;;
2054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2055 ac_unrecognized_sep=', ';;
2056 esac
2057 eval with_$ac_useropt=\$ac_optarg ;;
2059 -without-* | --without-*)
2060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2061 # Reject names that are not valid shell variable names.
2062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2063 as_fn_error $? "invalid package name: $ac_useropt"
2064 ac_useropt_orig=$ac_useropt
2065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2066 case $ac_user_opts in
2068 "with_$ac_useropt"
2069 "*) ;;
2070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2071 ac_unrecognized_sep=', ';;
2072 esac
2073 eval with_$ac_useropt=no ;;
2075 --x)
2076 # Obsolete; use --with-x.
2077 with_x=yes ;;
2079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2080 | --x-incl | --x-inc | --x-in | --x-i)
2081 ac_prev=x_includes ;;
2082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2084 x_includes=$ac_optarg ;;
2086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2088 ac_prev=x_libraries ;;
2089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2091 x_libraries=$ac_optarg ;;
2093 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2094 Try \`$0 --help' for more information"
2097 *=*)
2098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2099 # Reject names that are not valid shell variable names.
2100 case $ac_envvar in #(
2101 '' | [0-9]* | *[!_$as_cr_alnum]* )
2102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2103 esac
2104 eval $ac_envvar=\$ac_optarg
2105 export $ac_envvar ;;
2108 # FIXME: should be removed in autoconf 3.0.
2109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2115 esac
2116 done
2118 if test -n "$ac_prev"; then
2119 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2120 as_fn_error $? "missing argument to $ac_option"
2123 if test -n "$ac_unrecognized_opts"; then
2124 case $enable_option_checking in
2125 no) ;;
2126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2128 esac
2131 # Check all directory arguments for consistency.
2132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2133 datadir sysconfdir sharedstatedir localstatedir includedir \
2134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2135 libdir localedir mandir runstatedir
2137 eval ac_val=\$$ac_var
2138 # Remove trailing slashes.
2139 case $ac_val in
2140 */ )
2141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2142 eval $ac_var=\$ac_val;;
2143 esac
2144 # Be sure to have absolute directory names.
2145 case $ac_val in
2146 [\\/$]* | ?:[\\/]* ) continue;;
2147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2148 esac
2149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2150 done
2152 # There might be people who depend on the old broken behavior: `$host'
2153 # used to hold the argument of --host etc.
2154 # FIXME: To remove some day.
2155 build=$build_alias
2156 host=$host_alias
2157 target=$target_alias
2159 # FIXME: To remove some day.
2160 if test "x$host_alias" != x; then
2161 if test "x$build_alias" = x; then
2162 cross_compiling=maybe
2163 elif test "x$build_alias" != "x$host_alias"; then
2164 cross_compiling=yes
2168 ac_tool_prefix=
2169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2171 test "$silent" = yes && exec 6>/dev/null
2174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2175 ac_ls_di=`ls -di .` &&
2176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2177 as_fn_error $? "working directory cannot be determined"
2178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2179 as_fn_error $? "pwd does not report name of working directory"
2182 # Find the source files, if location was not specified.
2183 if test -z "$srcdir"; then
2184 ac_srcdir_defaulted=yes
2185 # Try the directory containing this script, then the parent directory.
2186 ac_confdir=`$as_dirname -- "$as_myself" ||
2187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2188 X"$as_myself" : 'X\(//\)[^/]' \| \
2189 X"$as_myself" : 'X\(//\)$' \| \
2190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2191 $as_echo X"$as_myself" |
2192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2193 s//\1/
2196 /^X\(\/\/\)[^/].*/{
2197 s//\1/
2200 /^X\(\/\/\)$/{
2201 s//\1/
2204 /^X\(\/\).*/{
2205 s//\1/
2208 s/.*/./; q'`
2209 srcdir=$ac_confdir
2210 if test ! -r "$srcdir/$ac_unique_file"; then
2211 srcdir=..
2213 else
2214 ac_srcdir_defaulted=no
2216 if test ! -r "$srcdir/$ac_unique_file"; then
2217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2221 ac_abs_confdir=`(
2222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2223 pwd)`
2224 # When building in place, set srcdir=.
2225 if test "$ac_abs_confdir" = "$ac_pwd"; then
2226 srcdir=.
2228 # Remove unnecessary trailing slashes from srcdir.
2229 # Double slashes in file names in object file debugging info
2230 # mess up M-x gdb in Emacs.
2231 case $srcdir in
2232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2233 esac
2234 for ac_var in $ac_precious_vars; do
2235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2236 eval ac_env_${ac_var}_value=\$${ac_var}
2237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2239 done
2242 # Report the --help message.
2244 if test "$ac_init_help" = "long"; then
2245 # Omit some internal or obsolete options to make the list less imposing.
2246 # This message is too long to be a string in the A/UX 3.1 sh.
2247 cat <<_ACEOF
2248 \`configure' configures Wine 2.10 to adapt to many kinds of systems.
2250 Usage: $0 [OPTION]... [VAR=VALUE]...
2252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2253 VAR=VALUE. See below for descriptions of some of the useful variables.
2255 Defaults for the options are specified in brackets.
2257 Configuration:
2258 -h, --help display this help and exit
2259 --help=short display options specific to this package
2260 --help=recursive display the short help of all the included packages
2261 -V, --version display version information and exit
2262 -q, --quiet, --silent do not print \`checking ...' messages
2263 --cache-file=FILE cache test results in FILE [disabled]
2264 -C, --config-cache alias for \`--cache-file=config.cache'
2265 -n, --no-create do not create output files
2266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2268 Installation directories:
2269 --prefix=PREFIX install architecture-independent files in PREFIX
2270 [$ac_default_prefix]
2271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2272 [PREFIX]
2274 By default, \`make install' will install all the files in
2275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2277 for instance \`--prefix=\$HOME'.
2279 For better control, use the options below.
2281 Fine tuning of the installation directories:
2282 --bindir=DIR user executables [EPREFIX/bin]
2283 --sbindir=DIR system admin executables [EPREFIX/sbin]
2284 --libexecdir=DIR program executables [EPREFIX/libexec]
2285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2288 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2289 --libdir=DIR object code libraries [EPREFIX/lib]
2290 --includedir=DIR C header files [PREFIX/include]
2291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2294 --infodir=DIR info documentation [DATAROOTDIR/info]
2295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2296 --mandir=DIR man documentation [DATAROOTDIR/man]
2297 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2298 --htmldir=DIR html documentation [DOCDIR]
2299 --dvidir=DIR dvi documentation [DOCDIR]
2300 --pdfdir=DIR pdf documentation [DOCDIR]
2301 --psdir=DIR ps documentation [DOCDIR]
2302 _ACEOF
2304 cat <<\_ACEOF
2306 X features:
2307 --x-includes=DIR X include files are in DIR
2308 --x-libraries=DIR X library files are in DIR
2310 System types:
2311 --build=BUILD configure for building on BUILD [guessed]
2312 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2313 _ACEOF
2316 if test -n "$ac_init_help"; then
2317 case $ac_init_help in
2318 short | recursive ) echo "Configuration of Wine 2.10:";;
2319 esac
2320 cat <<\_ACEOF
2322 Optional Features:
2323 --disable-option-checking ignore unrecognized --enable/--with options
2324 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2325 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2326 --disable-win16 do not include Win16 support
2327 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2328 binaries)
2329 --disable-tests do not build the regression tests
2330 --enable-maintainer-mode
2331 enable maintainer-specific build rules
2332 --disable-largefile omit support for large files
2334 Optional Packages:
2335 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2336 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2337 --without-alsa do not use the Alsa sound support
2338 --without-capi do not use CAPI (ISDN support)
2339 --without-cms do not use CMS (color management support)
2340 --without-coreaudio do not use the CoreAudio sound support
2341 --without-cups do not use CUPS
2342 --without-curses do not use (n)curses
2343 --without-dbus do not use DBus (dynamic device support)
2344 --without-fontconfig do not use fontconfig
2345 --without-freetype do not use the FreeType library
2346 --without-gettext do not use gettext
2347 --with-gettextpo use the GetTextPO library to rebuild po files
2348 --without-gphoto do not use gphoto (Digital Camera support)
2349 --without-glu do not use the GLU library
2350 --without-gnutls do not use GnuTLS (schannel support)
2351 --without-gsm do not use libgsm (GSM 06.10 codec support)
2352 --without-gstreamer do not use GStreamer (codecs support)
2353 --without-hal do not use HAL (dynamic device support)
2354 --without-jpeg do not use JPEG
2355 --without-ldap do not use LDAP
2356 --without-mpg123 do not use the mpg123 library
2357 --without-netapi do not use the Samba NetAPI library
2358 --without-openal do not use OpenAL
2359 --without-opencl do not use OpenCL
2360 --without-opengl do not use OpenGL
2361 --without-osmesa do not use the OSMesa library
2362 --without-oss do not use the OSS sound support
2363 --without-pcap do not use the Packet Capture library
2364 --without-png do not use PNG
2365 --without-pthread do not use the pthread library
2366 --without-pulse do not use PulseAudio sound support
2367 --without-sane do not use SANE (scanner support)
2368 --without-tiff do not use TIFF
2369 --without-udev do not use udev (plug and play support)
2370 --without-v4l do not use v4l1 (v4l support)
2371 --without-xcomposite do not use the Xcomposite extension
2372 --without-xcursor do not use the Xcursor extension
2373 --without-xfixes do not use Xfixes for clipboard change notifications
2374 --without-xinerama do not use Xinerama (multi-monitor support)
2375 --without-xinput do not use the Xinput extension
2376 --without-xinput2 do not use the Xinput 2 extension
2377 --without-xml do not use XML
2378 --without-xrandr do not use Xrandr (resolution changes)
2379 --without-xrender do not use the Xrender extension
2380 --without-xshape do not use the Xshape extension
2381 --without-xshm do not use XShm (shared memory extension)
2382 --without-xslt do not use XSLT
2383 --without-xxf86vm do not use XFree video mode extension
2384 --without-zlib do not use Zlib (data compression)
2385 --with-wine-tools=DIR use Wine tools from directory DIR
2386 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2387 --with-x use the X Window System
2389 Some influential environment variables:
2390 CC C compiler command
2391 CFLAGS C compiler flags
2392 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2393 nonstandard directory <lib dir>
2394 LIBS libraries to pass to the linker, e.g. -l<library>
2395 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2396 you have headers in a nonstandard directory <include dir>
2397 CXX C++ compiler command
2398 CXXFLAGS C++ compiler flags
2399 CPP C preprocessor
2400 XMKMF Path to xmkmf, Makefile generator for X Window System
2401 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2402 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2403 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2404 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2405 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2406 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2407 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2408 HAL_LIBS Linker flags for hal, overriding pkg-config
2409 GNUTLS_CFLAGS
2410 C compiler flags for gnutls, overriding pkg-config
2411 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2412 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2413 SANE_LIBS Linker flags for libsane, overriding pkg-config
2414 GPHOTO2_CFLAGS
2415 C compiler flags for libgphoto2, overriding pkg-config
2416 GPHOTO2_LIBS
2417 Linker flags for libgphoto2, overriding pkg-config
2418 GPHOTO2_PORT_CFLAGS
2419 C compiler flags for libgphoto2_port, overriding pkg-config
2420 GPHOTO2_PORT_LIBS
2421 Linker flags for libgphoto2_port, overriding pkg-config
2422 LCMS2_CFLAGS
2423 C compiler flags for lcms2, overriding pkg-config
2424 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2425 FREETYPE_CFLAGS
2426 C compiler flags for freetype2, overriding pkg-config
2427 FREETYPE_LIBS
2428 Linker flags for freetype2, overriding pkg-config
2429 PULSE_CFLAGS
2430 C compiler flags for libpulse, overriding pkg-config
2431 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2432 GSTREAMER_CFLAGS
2433 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2434 gstreamer-audio-1.0, overriding pkg-config
2435 GSTREAMER_LIBS
2436 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2437 gstreamer-audio-1.0, overriding pkg-config
2438 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2439 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2440 CAPI20_CFLAGS
2441 C compiler flags for capi20, overriding pkg-config
2442 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2443 FONTCONFIG_CFLAGS
2444 C compiler flags for fontconfig, overriding pkg-config
2445 FONTCONFIG_LIBS
2446 Linker flags for fontconfig, overriding pkg-config
2447 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2448 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2449 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2450 PNG_LIBS Linker flags for libpng, overriding pkg-config
2451 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2452 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2453 MPG123_CFLAGS
2454 C compiler flags for libmpg123, overriding pkg-config
2455 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2456 NETAPI_CFLAGS
2457 C compiler flags for netapi, overriding pkg-config
2458 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2460 Use these variables to override the choices made by `configure' or to help
2461 it to find libraries and programs with nonstandard names/locations.
2463 Report bugs to <wine-devel@winehq.org>.
2464 Wine home page: <http://www.winehq.org>.
2465 _ACEOF
2466 ac_status=$?
2469 if test "$ac_init_help" = "recursive"; then
2470 # If there are subdirs, report their specific --help.
2471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2472 test -d "$ac_dir" ||
2473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2474 continue
2475 ac_builddir=.
2477 case "$ac_dir" in
2478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2480 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2481 # A ".." for each directory in $ac_dir_suffix.
2482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2483 case $ac_top_builddir_sub in
2484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2486 esac ;;
2487 esac
2488 ac_abs_top_builddir=$ac_pwd
2489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2490 # for backward compatibility:
2491 ac_top_builddir=$ac_top_build_prefix
2493 case $srcdir in
2494 .) # We are building in place.
2495 ac_srcdir=.
2496 ac_top_srcdir=$ac_top_builddir_sub
2497 ac_abs_top_srcdir=$ac_pwd ;;
2498 [\\/]* | ?:[\\/]* ) # Absolute name.
2499 ac_srcdir=$srcdir$ac_dir_suffix;
2500 ac_top_srcdir=$srcdir
2501 ac_abs_top_srcdir=$srcdir ;;
2502 *) # Relative name.
2503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2504 ac_top_srcdir=$ac_top_build_prefix$srcdir
2505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2506 esac
2507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2509 cd "$ac_dir" || { ac_status=$?; continue; }
2510 # Check for guested configure.
2511 if test -f "$ac_srcdir/configure.gnu"; then
2512 echo &&
2513 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2514 elif test -f "$ac_srcdir/configure"; then
2515 echo &&
2516 $SHELL "$ac_srcdir/configure" --help=recursive
2517 else
2518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2519 fi || ac_status=$?
2520 cd "$ac_pwd" || { ac_status=$?; break; }
2521 done
2524 test -n "$ac_init_help" && exit $ac_status
2525 if $ac_init_version; then
2526 cat <<\_ACEOF
2527 Wine configure 2.10
2528 generated by GNU Autoconf 2.69
2530 Copyright (C) 2012 Free Software Foundation, Inc.
2531 This configure script is free software; the Free Software Foundation
2532 gives unlimited permission to copy, distribute and modify it.
2533 _ACEOF
2534 exit
2537 ## ------------------------ ##
2538 ## Autoconf initialization. ##
2539 ## ------------------------ ##
2541 # ac_fn_c_try_compile LINENO
2542 # --------------------------
2543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2544 ac_fn_c_try_compile ()
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 rm -f conftest.$ac_objext
2548 if { { ac_try="$ac_compile"
2549 case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552 esac
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_compile") 2>conftest.err
2556 ac_status=$?
2557 if test -s conftest.err; then
2558 grep -v '^ *+' conftest.err >conftest.er1
2559 cat conftest.er1 >&5
2560 mv -f conftest.er1 conftest.err
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; } && {
2564 test -z "$ac_c_werror_flag" ||
2565 test ! -s conftest.err
2566 } && test -s conftest.$ac_objext; then :
2567 ac_retval=0
2568 else
2569 $as_echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2572 ac_retval=1
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 as_fn_set_status $ac_retval
2577 } # ac_fn_c_try_compile
2579 # ac_fn_cxx_try_compile LINENO
2580 # ----------------------------
2581 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2582 ac_fn_cxx_try_compile ()
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 rm -f conftest.$ac_objext
2586 if { { ac_try="$ac_compile"
2587 case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590 esac
2591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2592 $as_echo "$ac_try_echo"; } >&5
2593 (eval "$ac_compile") 2>conftest.err
2594 ac_status=$?
2595 if test -s conftest.err; then
2596 grep -v '^ *+' conftest.err >conftest.er1
2597 cat conftest.er1 >&5
2598 mv -f conftest.er1 conftest.err
2600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2601 test $ac_status = 0; } && {
2602 test -z "$ac_cxx_werror_flag" ||
2603 test ! -s conftest.err
2604 } && test -s conftest.$ac_objext; then :
2605 ac_retval=0
2606 else
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 ac_retval=1
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 as_fn_set_status $ac_retval
2615 } # ac_fn_cxx_try_compile
2617 # ac_fn_c_try_link LINENO
2618 # -----------------------
2619 # Try to link conftest.$ac_ext, and return whether this succeeded.
2620 ac_fn_c_try_link ()
2622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2623 rm -f conftest.$ac_objext conftest$ac_exeext
2624 if { { ac_try="$ac_link"
2625 case "(($ac_try" in
2626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2628 esac
2629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_link") 2>conftest.err
2632 ac_status=$?
2633 if test -s conftest.err; then
2634 grep -v '^ *+' conftest.err >conftest.er1
2635 cat conftest.er1 >&5
2636 mv -f conftest.er1 conftest.err
2638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2639 test $ac_status = 0; } && {
2640 test -z "$ac_c_werror_flag" ||
2641 test ! -s conftest.err
2642 } && test -s conftest$ac_exeext && {
2643 test "$cross_compiling" = yes ||
2644 test -x conftest$ac_exeext
2645 }; then :
2646 ac_retval=0
2647 else
2648 $as_echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2651 ac_retval=1
2653 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2654 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2655 # interfere with the next link command; also delete a directory that is
2656 # left behind by Apple's compiler. We do this before executing the actions.
2657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2659 as_fn_set_status $ac_retval
2661 } # ac_fn_c_try_link
2663 # ac_fn_c_try_cpp LINENO
2664 # ----------------------
2665 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2666 ac_fn_c_try_cpp ()
2668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2669 if { { ac_try="$ac_cpp conftest.$ac_ext"
2670 case "(($ac_try" in
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672 *) ac_try_echo=$ac_try;;
2673 esac
2674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2677 ac_status=$?
2678 if test -s conftest.err; then
2679 grep -v '^ *+' conftest.err >conftest.er1
2680 cat conftest.er1 >&5
2681 mv -f conftest.er1 conftest.err
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; } > conftest.i && {
2685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 }; then :
2688 ac_retval=0
2689 else
2690 $as_echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_retval=1
2695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696 as_fn_set_status $ac_retval
2698 } # ac_fn_c_try_cpp
2700 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2701 # -------------------------------------------------------
2702 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2703 # the include files in INCLUDES and setting the cache variable VAR
2704 # accordingly.
2705 ac_fn_c_check_header_mongrel ()
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 if eval \${$3+:} false; then :
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2710 $as_echo_n "checking for $2... " >&6; }
2711 if eval \${$3+:} false; then :
2712 $as_echo_n "(cached) " >&6
2714 eval ac_res=\$$3
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2716 $as_echo "$ac_res" >&6; }
2717 else
2718 # Is the header compilable?
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2720 $as_echo_n "checking $2 usability... " >&6; }
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2724 #include <$2>
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727 ac_header_compiler=yes
2728 else
2729 ac_header_compiler=no
2731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2733 $as_echo "$ac_header_compiler" >&6; }
2735 # Is the header present?
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2737 $as_echo_n "checking $2 presence... " >&6; }
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2740 #include <$2>
2741 _ACEOF
2742 if ac_fn_c_try_cpp "$LINENO"; then :
2743 ac_header_preproc=yes
2744 else
2745 ac_header_preproc=no
2747 rm -f conftest.err conftest.i conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2749 $as_echo "$ac_header_preproc" >&6; }
2751 # So? What about this header?
2752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2753 yes:no: )
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2755 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2759 no:yes:* )
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2761 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2763 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2765 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2767 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2769 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2770 ( $as_echo "## ------------------------------------ ##
2771 ## Report this to wine-devel@winehq.org ##
2772 ## ------------------------------------ ##"
2773 ) | sed "s/^/$as_me: WARNING: /" >&2
2775 esac
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 $as_echo_n "checking for $2... " >&6; }
2778 if eval \${$3+:} false; then :
2779 $as_echo_n "(cached) " >&6
2780 else
2781 eval "$3=\$ac_header_compiler"
2783 eval ac_res=\$$3
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2785 $as_echo "$ac_res" >&6; }
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 } # ac_fn_c_check_header_mongrel
2791 # ac_fn_c_try_run LINENO
2792 # ----------------------
2793 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2794 # that executables *can* be run.
2795 ac_fn_c_try_run ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 if { { ac_try="$ac_link"
2799 case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_link") 2>&5
2806 ac_status=$?
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2809 { { case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 $as_echo "$ac_try_echo"; } >&5
2815 (eval "$ac_try") 2>&5
2816 ac_status=$?
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; }; }; then :
2819 ac_retval=0
2820 else
2821 $as_echo "$as_me: program exited with status $ac_status" >&5
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 ac_retval=$ac_status
2827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 as_fn_set_status $ac_retval
2831 } # ac_fn_c_try_run
2833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2834 # -------------------------------------------------------
2835 # Tests whether HEADER exists and can be compiled using the include files in
2836 # INCLUDES, setting the cache variable VAR accordingly.
2837 ac_fn_c_check_header_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2841 $as_echo_n "checking for $2... " >&6; }
2842 if eval \${$3+:} false; then :
2843 $as_echo_n "(cached) " >&6
2844 else
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2848 #include <$2>
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851 eval "$3=yes"
2852 else
2853 eval "$3=no"
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 eval ac_res=\$$3
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2859 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_header_compile
2864 # ac_fn_c_check_func LINENO FUNC VAR
2865 # ----------------------------------
2866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2867 ac_fn_c_check_func ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2871 $as_echo_n "checking for $2... " >&6; }
2872 if eval \${$3+:} false; then :
2873 $as_echo_n "(cached) " >&6
2874 else
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2879 #define $2 innocuous_$2
2881 /* System header to define __stub macros and hopefully few prototypes,
2882 which can conflict with char $2 (); below.
2883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2884 <limits.h> exists even on freestanding compilers. */
2886 #ifdef __STDC__
2887 # include <limits.h>
2888 #else
2889 # include <assert.h>
2890 #endif
2892 #undef $2
2894 /* Override any GCC internal prototype to avoid an error.
2895 Use char because int might match the return type of a GCC
2896 builtin and then its argument prototype would still apply. */
2897 #ifdef __cplusplus
2898 extern "C"
2899 #endif
2900 char $2 ();
2901 /* The GNU C library defines this for functions which it implements
2902 to always fail with ENOSYS. Some functions are actually named
2903 something starting with __ and the normal name is an alias. */
2904 #if defined __stub_$2 || defined __stub___$2
2905 choke me
2906 #endif
2909 main ()
2911 return $2 ();
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_link "$LINENO"; then :
2917 eval "$3=yes"
2918 else
2919 eval "$3=no"
2921 rm -f core conftest.err conftest.$ac_objext \
2922 conftest$ac_exeext conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 $as_echo "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_func
2931 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2932 # ----------------------------------------------------
2933 # Tries to find if the field MEMBER exists in type AGGR, after including
2934 # INCLUDES, setting cache variable VAR accordingly.
2935 ac_fn_c_check_member ()
2937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2939 $as_echo_n "checking for $2.$3... " >&6; }
2940 if eval \${$4+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942 else
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2947 main ()
2949 static $2 ac_aggr;
2950 if (ac_aggr.$3)
2951 return 0;
2953 return 0;
2955 _ACEOF
2956 if ac_fn_c_try_compile "$LINENO"; then :
2957 eval "$4=yes"
2958 else
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2963 main ()
2965 static $2 ac_aggr;
2966 if (sizeof ac_aggr.$3)
2967 return 0;
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 eval "$4=yes"
2974 else
2975 eval "$4=no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 eval ac_res=\$$4
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2983 $as_echo "$ac_res" >&6; }
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 } # ac_fn_c_check_member
2988 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2989 # -------------------------------------------
2990 # Tests whether TYPE exists after having included INCLUDES, setting cache
2991 # variable VAR accordingly.
2992 ac_fn_c_check_type ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2996 $as_echo_n "checking for $2... " >&6; }
2997 if eval \${$3+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 eval "$3=no"
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3005 main ()
3007 if (sizeof ($2))
3008 return 0;
3010 return 0;
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"; then :
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main ()
3020 if (sizeof (($2)))
3021 return 0;
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3028 else
3029 eval "$3=yes"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 eval ac_res=\$$3
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3037 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_type
3041 cat >config.log <<_ACEOF
3042 This file contains any messages produced by compilers while
3043 running configure, to aid debugging if configure makes a mistake.
3045 It was created by Wine $as_me 2.10, which was
3046 generated by GNU Autoconf 2.69. Invocation command line was
3048 $ $0 $@
3050 _ACEOF
3051 exec 5>>config.log
3053 cat <<_ASUNAME
3054 ## --------- ##
3055 ## Platform. ##
3056 ## --------- ##
3058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3075 _ASUNAME
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 $as_echo "PATH: $as_dir"
3083 done
3084 IFS=$as_save_IFS
3086 } >&5
3088 cat >&5 <<_ACEOF
3091 ## ----------- ##
3092 ## Core tests. ##
3093 ## ----------- ##
3095 _ACEOF
3098 # Keep a trace of the command line.
3099 # Strip out --no-create and --no-recursion so they do not pile up.
3100 # Strip out --silent because we don't want to record it for future runs.
3101 # Also quote any args containing shell meta-characters.
3102 # Make two passes to allow for proper duplicate-argument suppression.
3103 ac_configure_args=
3104 ac_configure_args0=
3105 ac_configure_args1=
3106 ac_must_keep_next=false
3107 for ac_pass in 1 2
3109 for ac_arg
3111 case $ac_arg in
3112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3114 | -silent | --silent | --silen | --sile | --sil)
3115 continue ;;
3116 *\'*)
3117 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3118 esac
3119 case $ac_pass in
3120 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3122 as_fn_append ac_configure_args1 " '$ac_arg'"
3123 if test $ac_must_keep_next = true; then
3124 ac_must_keep_next=false # Got value, back to normal.
3125 else
3126 case $ac_arg in
3127 *=* | --config-cache | -C | -disable-* | --disable-* \
3128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3130 | -with-* | --with-* | -without-* | --without-* | --x)
3131 case "$ac_configure_args0 " in
3132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3133 esac
3135 -* ) ac_must_keep_next=true ;;
3136 esac
3138 as_fn_append ac_configure_args " '$ac_arg'"
3140 esac
3141 done
3142 done
3143 { ac_configure_args0=; unset ac_configure_args0;}
3144 { ac_configure_args1=; unset ac_configure_args1;}
3146 # When interrupted or exit'd, cleanup temporary files, and complete
3147 # config.log. We remove comments because anyway the quotes in there
3148 # would cause problems or look ugly.
3149 # WARNING: Use '\'' to represent an apostrophe within the trap.
3150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3151 trap 'exit_status=$?
3152 # Save into config.log some information that might help in debugging.
3154 echo
3156 $as_echo "## ---------------- ##
3157 ## Cache variables. ##
3158 ## ---------------- ##"
3159 echo
3160 # The following way of writing the cache mishandles newlines in values,
3162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3163 eval ac_val=\$$ac_var
3164 case $ac_val in #(
3165 *${as_nl}*)
3166 case $ac_var in #(
3167 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3168 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3169 esac
3170 case $ac_var in #(
3171 _ | IFS | as_nl) ;; #(
3172 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3173 *) { eval $ac_var=; unset $ac_var;} ;;
3174 esac ;;
3175 esac
3176 done
3177 (set) 2>&1 |
3178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3179 *${as_nl}ac_space=\ *)
3180 sed -n \
3181 "s/'\''/'\''\\\\'\'''\''/g;
3182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3183 ;; #(
3185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3187 esac |
3188 sort
3190 echo
3192 $as_echo "## ----------------- ##
3193 ## Output variables. ##
3194 ## ----------------- ##"
3195 echo
3196 for ac_var in $ac_subst_vars
3198 eval ac_val=\$$ac_var
3199 case $ac_val in
3200 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3201 esac
3202 $as_echo "$ac_var='\''$ac_val'\''"
3203 done | sort
3204 echo
3206 if test -n "$ac_subst_files"; then
3207 $as_echo "## ------------------- ##
3208 ## File substitutions. ##
3209 ## ------------------- ##"
3210 echo
3211 for ac_var in $ac_subst_files
3213 eval ac_val=\$$ac_var
3214 case $ac_val in
3215 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3216 esac
3217 $as_echo "$ac_var='\''$ac_val'\''"
3218 done | sort
3219 echo
3222 if test -s confdefs.h; then
3223 $as_echo "## ----------- ##
3224 ## confdefs.h. ##
3225 ## ----------- ##"
3226 echo
3227 cat confdefs.h
3228 echo
3230 test "$ac_signal" != 0 &&
3231 $as_echo "$as_me: caught signal $ac_signal"
3232 $as_echo "$as_me: exit $exit_status"
3233 } >&5
3234 rm -f core *.core core.conftest.* &&
3235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3236 exit $exit_status
3238 for ac_signal in 1 2 13 15; do
3239 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3240 done
3241 ac_signal=0
3243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3244 rm -f -r conftest* confdefs.h
3246 $as_echo "/* confdefs.h */" > confdefs.h
3248 # Predefined preprocessor variables.
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_NAME "$PACKAGE_NAME"
3252 _ACEOF
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3256 _ACEOF
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3260 _ACEOF
3262 cat >>confdefs.h <<_ACEOF
3263 #define PACKAGE_STRING "$PACKAGE_STRING"
3264 _ACEOF
3266 cat >>confdefs.h <<_ACEOF
3267 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3268 _ACEOF
3270 cat >>confdefs.h <<_ACEOF
3271 #define PACKAGE_URL "$PACKAGE_URL"
3272 _ACEOF
3275 # Let the site file select an alternate cache file if it wants to.
3276 # Prefer an explicitly selected file to automatically selected ones.
3277 ac_site_file1=NONE
3278 ac_site_file2=NONE
3279 if test -n "$CONFIG_SITE"; then
3280 # We do not want a PATH search for config.site.
3281 case $CONFIG_SITE in #((
3282 -*) ac_site_file1=./$CONFIG_SITE;;
3283 */*) ac_site_file1=$CONFIG_SITE;;
3284 *) ac_site_file1=./$CONFIG_SITE;;
3285 esac
3286 elif test "x$prefix" != xNONE; then
3287 ac_site_file1=$prefix/share/config.site
3288 ac_site_file2=$prefix/etc/config.site
3289 else
3290 ac_site_file1=$ac_default_prefix/share/config.site
3291 ac_site_file2=$ac_default_prefix/etc/config.site
3293 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3295 test "x$ac_site_file" = xNONE && continue
3296 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3298 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3299 sed 's/^/| /' "$ac_site_file" >&5
3300 . "$ac_site_file" \
3301 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error $? "failed to load site script $ac_site_file
3304 See \`config.log' for more details" "$LINENO" 5; }
3306 done
3308 if test -r "$cache_file"; then
3309 # Some versions of bash will fail to source /dev/null (special files
3310 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3311 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3313 $as_echo "$as_me: loading cache $cache_file" >&6;}
3314 case $cache_file in
3315 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3316 *) . "./$cache_file";;
3317 esac
3319 else
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3321 $as_echo "$as_me: creating cache $cache_file" >&6;}
3322 >$cache_file
3325 # Check that the precious variables saved in the cache have kept the same
3326 # value.
3327 ac_cache_corrupted=false
3328 for ac_var in $ac_precious_vars; do
3329 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3330 eval ac_new_set=\$ac_env_${ac_var}_set
3331 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3332 eval ac_new_val=\$ac_env_${ac_var}_value
3333 case $ac_old_set,$ac_new_set in
3334 set,)
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3336 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3337 ac_cache_corrupted=: ;;
3338 ,set)
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3340 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3341 ac_cache_corrupted=: ;;
3342 ,);;
3344 if test "x$ac_old_val" != "x$ac_new_val"; then
3345 # differences in whitespace do not lead to failure.
3346 ac_old_val_w=`echo x $ac_old_val`
3347 ac_new_val_w=`echo x $ac_new_val`
3348 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3350 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3351 ac_cache_corrupted=:
3352 else
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3354 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3355 eval $ac_var=\$ac_old_val
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3358 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3360 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3361 fi;;
3362 esac
3363 # Pass precious variables to config.status.
3364 if test "$ac_new_set" = set; then
3365 case $ac_new_val in
3366 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3367 *) ac_arg=$ac_var=$ac_new_val ;;
3368 esac
3369 case " $ac_configure_args " in
3370 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3371 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3372 esac
3374 done
3375 if $ac_cache_corrupted; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3379 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3380 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3382 ## -------------------- ##
3383 ## Main body of script. ##
3384 ## -------------------- ##
3386 ac_ext=c
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3394 ac_config_headers="$ac_config_headers include/config.h"
3396 ac_aux_dir=
3397 for ac_dir in tools "$srcdir"/tools; do
3398 if test -f "$ac_dir/install-sh"; then
3399 ac_aux_dir=$ac_dir
3400 ac_install_sh="$ac_aux_dir/install-sh -c"
3401 break
3402 elif test -f "$ac_dir/install.sh"; then
3403 ac_aux_dir=$ac_dir
3404 ac_install_sh="$ac_aux_dir/install.sh -c"
3405 break
3406 elif test -f "$ac_dir/shtool"; then
3407 ac_aux_dir=$ac_dir
3408 ac_install_sh="$ac_aux_dir/shtool install -c"
3409 break
3411 done
3412 if test -z "$ac_aux_dir"; then
3413 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3416 # These three variables are undocumented and unsupported,
3417 # and are intended to be withdrawn in a future Autoconf release.
3418 # They can cause serious problems if a builder's source tree is in a directory
3419 # whose full name contains unusual characters.
3420 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3421 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3422 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3426 libwine_version="1.0"
3430 # Check whether --enable-win16 was given.
3431 if test "${enable_win16+set}" = set; then :
3432 enableval=$enable_win16;
3435 # Check whether --enable-win64 was given.
3436 if test "${enable_win64+set}" = set; then :
3437 enableval=$enable_win64;
3440 # Check whether --enable-tests was given.
3441 if test "${enable_tests+set}" = set; then :
3442 enableval=$enable_tests;
3445 # Check whether --enable-maintainer-mode was given.
3446 if test "${enable_maintainer_mode+set}" = set; then :
3447 enableval=$enable_maintainer_mode;
3452 # Check whether --with-alsa was given.
3453 if test "${with_alsa+set}" = set; then :
3454 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3458 # Check whether --with-capi was given.
3459 if test "${with_capi+set}" = set; then :
3460 withval=$with_capi;
3464 # Check whether --with-cms was given.
3465 if test "${with_cms+set}" = set; then :
3466 withval=$with_cms;
3470 # Check whether --with-coreaudio was given.
3471 if test "${with_coreaudio+set}" = set; then :
3472 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3476 # Check whether --with-cups was given.
3477 if test "${with_cups+set}" = set; then :
3478 withval=$with_cups;
3482 # Check whether --with-curses was given.
3483 if test "${with_curses+set}" = set; then :
3484 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3488 # Check whether --with-dbus was given.
3489 if test "${with_dbus+set}" = set; then :
3490 withval=$with_dbus;
3494 # Check whether --with-fontconfig was given.
3495 if test "${with_fontconfig+set}" = set; then :
3496 withval=$with_fontconfig;
3500 # Check whether --with-freetype was given.
3501 if test "${with_freetype+set}" = set; then :
3502 withval=$with_freetype;
3506 # Check whether --with-gettext was given.
3507 if test "${with_gettext+set}" = set; then :
3508 withval=$with_gettext;
3512 # Check whether --with-gettextpo was given.
3513 if test "${with_gettextpo+set}" = set; then :
3514 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3518 # Check whether --with-gphoto was given.
3519 if test "${with_gphoto+set}" = set; then :
3520 withval=$with_gphoto;
3524 # Check whether --with-glu was given.
3525 if test "${with_glu+set}" = set; then :
3526 withval=$with_glu;
3530 # Check whether --with-gnutls was given.
3531 if test "${with_gnutls+set}" = set; then :
3532 withval=$with_gnutls;
3536 # Check whether --with-gsm was given.
3537 if test "${with_gsm+set}" = set; then :
3538 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3542 # Check whether --with-gstreamer was given.
3543 if test "${with_gstreamer+set}" = set; then :
3544 withval=$with_gstreamer;
3548 # Check whether --with-hal was given.
3549 if test "${with_hal+set}" = set; then :
3550 withval=$with_hal;
3554 # Check whether --with-jpeg was given.
3555 if test "${with_jpeg+set}" = set; then :
3556 withval=$with_jpeg;
3560 # Check whether --with-ldap was given.
3561 if test "${with_ldap+set}" = set; then :
3562 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3566 # Check whether --with-mpg123 was given.
3567 if test "${with_mpg123+set}" = set; then :
3568 withval=$with_mpg123;
3572 # Check whether --with-netapi was given.
3573 if test "${with_netapi+set}" = set; then :
3574 withval=$with_netapi;
3578 # Check whether --with-openal was given.
3579 if test "${with_openal+set}" = set; then :
3580 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3584 # Check whether --with-opencl was given.
3585 if test "${with_opencl+set}" = set; then :
3586 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3590 # Check whether --with-opengl was given.
3591 if test "${with_opengl+set}" = set; then :
3592 withval=$with_opengl;
3596 # Check whether --with-osmesa was given.
3597 if test "${with_osmesa+set}" = set; then :
3598 withval=$with_osmesa;
3602 # Check whether --with-oss was given.
3603 if test "${with_oss+set}" = set; then :
3604 withval=$with_oss;
3608 # Check whether --with-pcap was given.
3609 if test "${with_pcap+set}" = set; then :
3610 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3614 # Check whether --with-png was given.
3615 if test "${with_png+set}" = set; then :
3616 withval=$with_png;
3620 # Check whether --with-pthread was given.
3621 if test "${with_pthread+set}" = set; then :
3622 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3626 # Check whether --with-pulse was given.
3627 if test "${with_pulse+set}" = set; then :
3628 withval=$with_pulse;
3632 # Check whether --with-sane was given.
3633 if test "${with_sane+set}" = set; then :
3634 withval=$with_sane;
3638 # Check whether --with-tiff was given.
3639 if test "${with_tiff+set}" = set; then :
3640 withval=$with_tiff;
3644 # Check whether --with-udev was given.
3645 if test "${with_udev+set}" = set; then :
3646 withval=$with_udev;
3650 # Check whether --with-v4l was given.
3651 if test "${with_v4l+set}" = set; then :
3652 withval=$with_v4l;
3656 # Check whether --with-xcomposite was given.
3657 if test "${with_xcomposite+set}" = set; then :
3658 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3662 # Check whether --with-xcursor was given.
3663 if test "${with_xcursor+set}" = set; then :
3664 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3668 # Check whether --with-xfixes was given.
3669 if test "${with_xfixes+set}" = set; then :
3670 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3674 # Check whether --with-xinerama was given.
3675 if test "${with_xinerama+set}" = set; then :
3676 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3680 # Check whether --with-xinput was given.
3681 if test "${with_xinput+set}" = set; then :
3682 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3686 # Check whether --with-xinput2 was given.
3687 if test "${with_xinput2+set}" = set; then :
3688 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3692 # Check whether --with-xml was given.
3693 if test "${with_xml+set}" = set; then :
3694 withval=$with_xml;
3698 # Check whether --with-xrandr was given.
3699 if test "${with_xrandr+set}" = set; then :
3700 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3704 # Check whether --with-xrender was given.
3705 if test "${with_xrender+set}" = set; then :
3706 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3710 # Check whether --with-xshape was given.
3711 if test "${with_xshape+set}" = set; then :
3712 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3716 # Check whether --with-xshm was given.
3717 if test "${with_xshm+set}" = set; then :
3718 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3722 # Check whether --with-xslt was given.
3723 if test "${with_xslt+set}" = set; then :
3724 withval=$with_xslt;
3728 # Check whether --with-xxf86vm was given.
3729 if test "${with_xxf86vm+set}" = set; then :
3730 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
3734 # Check whether --with-zlib was given.
3735 if test "${with_zlib+set}" = set; then :
3736 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3741 # Check whether --with-wine-tools was given.
3742 if test "${with_wine_tools+set}" = set; then :
3743 withval=$with_wine_tools;
3747 # Check whether --with-wine64 was given.
3748 if test "${with_wine64+set}" = set; then :
3749 withval=$with_wine64;
3753 # Make sure we can run config.sub.
3754 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3755 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3758 $as_echo_n "checking build system type... " >&6; }
3759 if ${ac_cv_build+:} false; then :
3760 $as_echo_n "(cached) " >&6
3761 else
3762 ac_build_alias=$build_alias
3763 test "x$ac_build_alias" = x &&
3764 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3765 test "x$ac_build_alias" = x &&
3766 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3767 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3768 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3772 $as_echo "$ac_cv_build" >&6; }
3773 case $ac_cv_build in
3774 *-*-*) ;;
3775 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3776 esac
3777 build=$ac_cv_build
3778 ac_save_IFS=$IFS; IFS='-'
3779 set x $ac_cv_build
3780 shift
3781 build_cpu=$1
3782 build_vendor=$2
3783 shift; shift
3784 # Remember, the first character of IFS is used to create $*,
3785 # except with old shells:
3786 build_os=$*
3787 IFS=$ac_save_IFS
3788 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3792 $as_echo_n "checking host system type... " >&6; }
3793 if ${ac_cv_host+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 if test "x$host_alias" = x; then
3797 ac_cv_host=$ac_cv_build
3798 else
3799 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3800 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3805 $as_echo "$ac_cv_host" >&6; }
3806 case $ac_cv_host in
3807 *-*-*) ;;
3808 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3809 esac
3810 host=$ac_cv_host
3811 ac_save_IFS=$IFS; IFS='-'
3812 set x $ac_cv_host
3813 shift
3814 host_cpu=$1
3815 host_vendor=$2
3816 shift; shift
3817 # Remember, the first character of IFS is used to create $*,
3818 # except with old shells:
3819 host_os=$*
3820 IFS=$ac_save_IFS
3821 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3825 case "$srcdir" in
3826 .) ;;
3827 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3828 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3829 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3830 fi ;;
3831 esac
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3835 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3836 set x ${MAKE-make}
3837 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3838 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3839 $as_echo_n "(cached) " >&6
3840 else
3841 cat >conftest.make <<\_ACEOF
3842 SHELL = /bin/sh
3843 all:
3844 @echo '@@@%%%=$(MAKE)=@@@%%%'
3845 _ACEOF
3846 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3847 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3848 *@@@%%%=?*=@@@%%%*)
3849 eval ac_cv_prog_make_${ac_make}_set=yes;;
3851 eval ac_cv_prog_make_${ac_make}_set=no;;
3852 esac
3853 rm -f conftest.make
3855 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857 $as_echo "yes" >&6; }
3858 SET_MAKE=
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3862 SET_MAKE="MAKE=${MAKE-make}"
3865 ac_ext=c
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870 if test -n "$ac_tool_prefix"; then
3871 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3872 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CC+:} false; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC="$CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 CC=$ac_cv_prog_CC
3899 if test -n "$CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3901 $as_echo "$CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3909 if test -z "$ac_cv_prog_CC"; then
3910 ac_ct_CC=$CC
3911 # Extract the first word of "gcc", so it can be a program name with args.
3912 set dummy gcc; ac_word=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 if test -n "$ac_ct_CC"; then
3919 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3920 else
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH
3924 IFS=$as_save_IFS
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_ac_ct_CC="gcc"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 break 2
3932 done
3933 done
3934 IFS=$as_save_IFS
3938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3939 if test -n "$ac_ct_CC"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3941 $as_echo "$ac_ct_CC" >&6; }
3942 else
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3947 if test "x$ac_ct_CC" = x; then
3948 CC=""
3949 else
3950 case $cross_compiling:$ac_tool_warned in
3951 yes:)
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954 ac_tool_warned=yes ;;
3955 esac
3956 CC=$ac_ct_CC
3958 else
3959 CC="$ac_cv_prog_CC"
3962 if test -z "$CC"; then
3963 if test -n "$ac_tool_prefix"; then
3964 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3965 set dummy ${ac_tool_prefix}cc; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_CC+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$CC"; then
3972 ac_cv_prog_CC="$CC" # Let the user override the test.
3973 else
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 for as_dir in $PATH
3977 IFS=$as_save_IFS
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_CC="${ac_tool_prefix}cc"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 break 2
3985 done
3986 done
3987 IFS=$as_save_IFS
3991 CC=$ac_cv_prog_CC
3992 if test -n "$CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994 $as_echo "$CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4003 if test -z "$CC"; then
4004 # Extract the first word of "cc", so it can be a program name with args.
4005 set dummy cc; ac_word=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_CC+:} false; then :
4009 $as_echo_n "(cached) " >&6
4010 else
4011 if test -n "$CC"; then
4012 ac_cv_prog_CC="$CC" # Let the user override the test.
4013 else
4014 ac_prog_rejected=no
4015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 for as_dir in $PATH
4018 IFS=$as_save_IFS
4019 test -z "$as_dir" && as_dir=.
4020 for ac_exec_ext in '' $ac_executable_extensions; do
4021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4023 ac_prog_rejected=yes
4024 continue
4026 ac_cv_prog_CC="cc"
4027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4028 break 2
4030 done
4031 done
4032 IFS=$as_save_IFS
4034 if test $ac_prog_rejected = yes; then
4035 # We found a bogon in the path, so make sure we never use it.
4036 set dummy $ac_cv_prog_CC
4037 shift
4038 if test $# != 0; then
4039 # We chose a different compiler from the bogus one.
4040 # However, it has the same basename, so the bogon will be chosen
4041 # first if we set CC to just the basename; use the full file name.
4042 shift
4043 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4048 CC=$ac_cv_prog_CC
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4052 else
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4059 if test -z "$CC"; then
4060 if test -n "$ac_tool_prefix"; then
4061 for ac_prog in cl.exe
4063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_CC+:} false; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 if test -n "$CC"; then
4071 ac_cv_prog_CC="$CC" # Let the user override the test.
4072 else
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 for as_dir in $PATH
4076 IFS=$as_save_IFS
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 break 2
4084 done
4085 done
4086 IFS=$as_save_IFS
4090 CC=$ac_cv_prog_CC
4091 if test -n "$CC"; then
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4093 $as_echo "$CC" >&6; }
4094 else
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4100 test -n "$CC" && break
4101 done
4103 if test -z "$CC"; then
4104 ac_ct_CC=$CC
4105 for ac_prog in cl.exe
4107 # Extract the first word of "$ac_prog", so it can be a program name with args.
4108 set dummy $ac_prog; ac_word=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4112 $as_echo_n "(cached) " >&6
4113 else
4114 if test -n "$ac_ct_CC"; then
4115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4116 else
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $PATH
4120 IFS=$as_save_IFS
4121 test -z "$as_dir" && as_dir=.
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4124 ac_cv_prog_ac_ct_CC="$ac_prog"
4125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 break 2
4128 done
4129 done
4130 IFS=$as_save_IFS
4134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4135 if test -n "$ac_ct_CC"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4137 $as_echo "$ac_ct_CC" >&6; }
4138 else
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4144 test -n "$ac_ct_CC" && break
4145 done
4147 if test "x$ac_ct_CC" = x; then
4148 CC=""
4149 else
4150 case $cross_compiling:$ac_tool_warned in
4151 yes:)
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4154 ac_tool_warned=yes ;;
4155 esac
4156 CC=$ac_ct_CC
4163 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error $? "no acceptable C compiler found in \$PATH
4166 See \`config.log' for more details" "$LINENO" 5; }
4168 # Provide some information about the compiler.
4169 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4170 set X $ac_compile
4171 ac_compiler=$2
4172 for ac_option in --version -v -V -qversion; do
4173 { { ac_try="$ac_compiler $ac_option >&5"
4174 case "(($ac_try" in
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4177 esac
4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4179 $as_echo "$ac_try_echo"; } >&5
4180 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4181 ac_status=$?
4182 if test -s conftest.err; then
4183 sed '10a\
4184 ... rest of stderr output deleted ...
4185 10q' conftest.err >conftest.er1
4186 cat conftest.er1 >&5
4188 rm -f conftest.er1 conftest.err
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; }
4191 done
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 ac_clean_files_save=$ac_clean_files
4205 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4206 # Try to create an executable without -o first, disregard a.out.
4207 # It will help us diagnose broken compilers, and finding out an intuition
4208 # of exeext.
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4210 $as_echo_n "checking whether the C compiler works... " >&6; }
4211 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4213 # The possible output files:
4214 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4216 ac_rmfiles=
4217 for ac_file in $ac_files
4219 case $ac_file in
4220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4221 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4222 esac
4223 done
4224 rm -f $ac_rmfiles
4226 if { { ac_try="$ac_link_default"
4227 case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_link_default") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }; then :
4237 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4238 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4239 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4240 # so that the user can short-circuit this test for compilers unknown to
4241 # Autoconf.
4242 for ac_file in $ac_files ''
4244 test -f "$ac_file" || continue
4245 case $ac_file in
4246 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4248 [ab].out )
4249 # We found the default executable, but exeext='' is most
4250 # certainly right.
4251 break;;
4252 *.* )
4253 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4254 then :; else
4255 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4257 # We set ac_cv_exeext here because the later test for it is not
4258 # safe: cross compilers may not add the suffix if given an `-o'
4259 # argument, so we may need to know it at that point already.
4260 # Even if this section looks crufty: it has the advantage of
4261 # actually working.
4262 break;;
4264 break;;
4265 esac
4266 done
4267 test "$ac_cv_exeext" = no && ac_cv_exeext=
4269 else
4270 ac_file=''
4272 if test -z "$ac_file"; then :
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4275 $as_echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error 77 "C compiler cannot create executables
4281 See \`config.log' for more details" "$LINENO" 5; }
4282 else
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4284 $as_echo "yes" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4287 $as_echo_n "checking for C compiler default output file name... " >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4289 $as_echo "$ac_file" >&6; }
4290 ac_exeext=$ac_cv_exeext
4292 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4293 ac_clean_files=$ac_clean_files_save
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4295 $as_echo_n "checking for suffix of executables... " >&6; }
4296 if { { ac_try="$ac_link"
4297 case "(($ac_try" in
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4300 esac
4301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4302 $as_echo "$ac_try_echo"; } >&5
4303 (eval "$ac_link") 2>&5
4304 ac_status=$?
4305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4306 test $ac_status = 0; }; then :
4307 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4308 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4309 # work properly (i.e., refer to `conftest.exe'), while it won't with
4310 # `rm'.
4311 for ac_file in conftest.exe conftest conftest.*; do
4312 test -f "$ac_file" || continue
4313 case $ac_file in
4314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4315 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4316 break;;
4317 * ) break;;
4318 esac
4319 done
4320 else
4321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4324 See \`config.log' for more details" "$LINENO" 5; }
4326 rm -f conftest conftest$ac_cv_exeext
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4328 $as_echo "$ac_cv_exeext" >&6; }
4330 rm -f conftest.$ac_ext
4331 EXEEXT=$ac_cv_exeext
4332 ac_exeext=$EXEEXT
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdio.h>
4337 main ()
4339 FILE *f = fopen ("conftest.out", "w");
4340 return ferror (f) || fclose (f) != 0;
4343 return 0;
4345 _ACEOF
4346 ac_clean_files="$ac_clean_files conftest.out"
4347 # Check that the compiler produces executables we can run. If not, either
4348 # the compiler is broken, or we cross compile.
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4350 $as_echo_n "checking whether we are cross compiling... " >&6; }
4351 if test "$cross_compiling" != yes; then
4352 { { ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4358 $as_echo "$ac_try_echo"; } >&5
4359 (eval "$ac_link") 2>&5
4360 ac_status=$?
4361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4362 test $ac_status = 0; }
4363 if { ac_try='./conftest$ac_cv_exeext'
4364 { { case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_try") 2>&5
4371 ac_status=$?
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }; }; then
4374 cross_compiling=no
4375 else
4376 if test "$cross_compiling" = maybe; then
4377 cross_compiling=yes
4378 else
4379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381 as_fn_error $? "cannot run C compiled programs.
4382 If you meant to cross compile, use \`--host'.
4383 See \`config.log' for more details" "$LINENO" 5; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4388 $as_echo "$cross_compiling" >&6; }
4390 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4391 ac_clean_files=$ac_clean_files_save
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4393 $as_echo_n "checking for suffix of object files... " >&6; }
4394 if ${ac_cv_objext+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4401 main ()
4405 return 0;
4407 _ACEOF
4408 rm -f conftest.o conftest.obj
4409 if { { ac_try="$ac_compile"
4410 case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4413 esac
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_compile") 2>&5
4417 ac_status=$?
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }; then :
4420 for ac_file in conftest.o conftest.obj conftest.*; do
4421 test -f "$ac_file" || continue;
4422 case $ac_file in
4423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4424 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4425 break;;
4426 esac
4427 done
4428 else
4429 $as_echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.$ac_ext >&5
4432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4434 as_fn_error $? "cannot compute suffix of object files: cannot compile
4435 See \`config.log' for more details" "$LINENO" 5; }
4437 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4440 $as_echo "$ac_cv_objext" >&6; }
4441 OBJEXT=$ac_cv_objext
4442 ac_objext=$OBJEXT
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4444 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4445 if ${ac_cv_c_compiler_gnu+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4452 main ()
4454 #ifndef __GNUC__
4455 choke me
4456 #endif
4459 return 0;
4461 _ACEOF
4462 if ac_fn_c_try_compile "$LINENO"; then :
4463 ac_compiler_gnu=yes
4464 else
4465 ac_compiler_gnu=no
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4468 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4472 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4473 if test $ac_compiler_gnu = yes; then
4474 GCC=yes
4475 else
4476 GCC=
4478 ac_test_CFLAGS=${CFLAGS+set}
4479 ac_save_CFLAGS=$CFLAGS
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4481 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4482 if ${ac_cv_prog_cc_g+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 ac_save_c_werror_flag=$ac_c_werror_flag
4486 ac_c_werror_flag=yes
4487 ac_cv_prog_cc_g=no
4488 CFLAGS="-g"
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_g=yes
4502 else
4503 CFLAGS=""
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4517 else
4518 ac_c_werror_flag=$ac_save_c_werror_flag
4519 CFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_c_try_compile "$LINENO"; then :
4532 ac_cv_prog_cc_g=yes
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 ac_c_werror_flag=$ac_save_c_werror_flag
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4542 $as_echo "$ac_cv_prog_cc_g" >&6; }
4543 if test "$ac_test_CFLAGS" = set; then
4544 CFLAGS=$ac_save_CFLAGS
4545 elif test $ac_cv_prog_cc_g = yes; then
4546 if test "$GCC" = yes; then
4547 CFLAGS="-g -O2"
4548 else
4549 CFLAGS="-g"
4551 else
4552 if test "$GCC" = yes; then
4553 CFLAGS="-O2"
4554 else
4555 CFLAGS=
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4559 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4560 if ${ac_cv_prog_cc_c89+:} false; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 ac_cv_prog_cc_c89=no
4564 ac_save_CC=$CC
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <stdarg.h>
4568 #include <stdio.h>
4569 struct stat;
4570 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4571 struct buf { int x; };
4572 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4573 static char *e (p, i)
4574 char **p;
4575 int i;
4577 return p[i];
4579 static char *f (char * (*g) (char **, int), char **p, ...)
4581 char *s;
4582 va_list v;
4583 va_start (v,p);
4584 s = g (p, va_arg (v,int));
4585 va_end (v);
4586 return s;
4589 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4590 function prototypes and stuff, but not '\xHH' hex character constants.
4591 These don't provoke an error unfortunately, instead are silently treated
4592 as 'x'. The following induces an error, until -std is added to get
4593 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4594 array size at least. It's necessary to write '\x00'==0 to get something
4595 that's true only with -std. */
4596 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4598 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4599 inside strings and character constants. */
4600 #define FOO(x) 'x'
4601 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4603 int test (int i, double x);
4604 struct s1 {int (*f) (int a);};
4605 struct s2 {int (*f) (double a);};
4606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4607 int argc;
4608 char **argv;
4610 main ()
4612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4614 return 0;
4616 _ACEOF
4617 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4620 CC="$ac_save_CC $ac_arg"
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_cv_prog_cc_c89=$ac_arg
4624 rm -f core conftest.err conftest.$ac_objext
4625 test "x$ac_cv_prog_cc_c89" != "xno" && break
4626 done
4627 rm -f conftest.$ac_ext
4628 CC=$ac_save_CC
4631 # AC_CACHE_VAL
4632 case "x$ac_cv_prog_cc_c89" in
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4635 $as_echo "none needed" >&6; } ;;
4636 xno)
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4638 $as_echo "unsupported" >&6; } ;;
4640 CC="$CC $ac_cv_prog_cc_c89"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4642 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4643 esac
4644 if test "x$ac_cv_prog_cc_c89" != xno; then :
4648 ac_ext=c
4649 ac_cpp='$CPP $CPPFLAGS'
4650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4654 ac_ext=cpp
4655 ac_cpp='$CXXCPP $CPPFLAGS'
4656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4659 if test -z "$CXX"; then
4660 if test -n "$CCC"; then
4661 CXX=$CCC
4662 else
4663 if test -n "$ac_tool_prefix"; then
4664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if ${ac_cv_prog_CXX+:} false; then :
4671 $as_echo_n "(cached) " >&6
4672 else
4673 if test -n "$CXX"; then
4674 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4675 else
4676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 for as_dir in $PATH
4679 IFS=$as_save_IFS
4680 test -z "$as_dir" && as_dir=.
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4683 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 break 2
4687 done
4688 done
4689 IFS=$as_save_IFS
4693 CXX=$ac_cv_prog_CXX
4694 if test -n "$CXX"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4696 $as_echo "$CXX" >&6; }
4697 else
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 $as_echo "no" >&6; }
4703 test -n "$CXX" && break
4704 done
4706 if test -z "$CXX"; then
4707 ac_ct_CXX=$CXX
4708 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4710 # Extract the first word of "$ac_prog", so it can be a program name with args.
4711 set dummy $ac_prog; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4715 $as_echo_n "(cached) " >&6
4716 else
4717 if test -n "$ac_ct_CXX"; then
4718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4723 IFS=$as_save_IFS
4724 test -z "$as_dir" && as_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_ac_ct_CXX="$ac_prog"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 break 2
4731 done
4732 done
4733 IFS=$as_save_IFS
4737 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4738 if test -n "$ac_ct_CXX"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4740 $as_echo "$ac_ct_CXX" >&6; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 test -n "$ac_ct_CXX" && break
4748 done
4750 if test "x$ac_ct_CXX" = x; then
4751 CXX="g++"
4752 else
4753 case $cross_compiling:$ac_tool_warned in
4754 yes:)
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned=yes ;;
4758 esac
4759 CXX=$ac_ct_CXX
4765 # Provide some information about the compiler.
4766 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4767 set X $ac_compile
4768 ac_compiler=$2
4769 for ac_option in --version -v -V -qversion; do
4770 { { ac_try="$ac_compiler $ac_option >&5"
4771 case "(($ac_try" in
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4774 esac
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4778 ac_status=$?
4779 if test -s conftest.err; then
4780 sed '10a\
4781 ... rest of stderr output deleted ...
4782 10q' conftest.err >conftest.er1
4783 cat conftest.er1 >&5
4785 rm -f conftest.er1 conftest.err
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }
4788 done
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4791 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4792 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4799 main ()
4801 #ifndef __GNUC__
4802 choke me
4803 #endif
4806 return 0;
4808 _ACEOF
4809 if ac_fn_cxx_try_compile "$LINENO"; then :
4810 ac_compiler_gnu=yes
4811 else
4812 ac_compiler_gnu=no
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4819 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4820 if test $ac_compiler_gnu = yes; then
4821 GXX=yes
4822 else
4823 GXX=
4825 ac_test_CXXFLAGS=${CXXFLAGS+set}
4826 ac_save_CXXFLAGS=$CXXFLAGS
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4828 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4829 if ${ac_cv_prog_cxx_g+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4833 ac_cxx_werror_flag=yes
4834 ac_cv_prog_cxx_g=no
4835 CXXFLAGS="-g"
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4840 main ()
4844 return 0;
4846 _ACEOF
4847 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 ac_cv_prog_cxx_g=yes
4849 else
4850 CXXFLAGS=""
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 main ()
4859 return 0;
4861 _ACEOF
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4864 else
4865 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4866 CXXFLAGS="-g"
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4871 main ()
4875 return 0;
4877 _ACEOF
4878 if ac_fn_cxx_try_compile "$LINENO"; then :
4879 ac_cv_prog_cxx_g=yes
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4889 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4890 if test "$ac_test_CXXFLAGS" = set; then
4891 CXXFLAGS=$ac_save_CXXFLAGS
4892 elif test $ac_cv_prog_cxx_g = yes; then
4893 if test "$GXX" = yes; then
4894 CXXFLAGS="-g -O2"
4895 else
4896 CXXFLAGS="-g"
4898 else
4899 if test "$GXX" = yes; then
4900 CXXFLAGS="-O2"
4901 else
4902 CXXFLAGS=
4905 ac_ext=c
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 if test -n "$ac_tool_prefix"; then
4912 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4913 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_CPPBIN+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$CPPBIN"; then
4920 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 CPPBIN=$ac_cv_prog_CPPBIN
4940 if test -n "$CPPBIN"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4942 $as_echo "$CPPBIN" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4950 if test -z "$ac_cv_prog_CPPBIN"; then
4951 ac_ct_CPPBIN=$CPPBIN
4952 # Extract the first word of "cpp", so it can be a program name with args.
4953 set dummy cpp; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 if test -n "$ac_ct_CPPBIN"; then
4960 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_CPPBIN="cpp"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4980 if test -n "$ac_ct_CPPBIN"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4982 $as_echo "$ac_ct_CPPBIN" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4988 if test "x$ac_ct_CPPBIN" = x; then
4989 CPPBIN="cpp"
4990 else
4991 case $cross_compiling:$ac_tool_warned in
4992 yes:)
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4995 ac_tool_warned=yes ;;
4996 esac
4997 CPPBIN=$ac_ct_CPPBIN
4999 else
5000 CPPBIN="$ac_cv_prog_CPPBIN"
5004 cat >>confdefs.h <<_ACEOF
5005 #define EXEEXT "$ac_exeext"
5006 _ACEOF
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ld; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_LD+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$LD"; then
5017 ac_cv_prog_LD="$LD" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_LD="${ac_tool_prefix}ld"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 LD=$ac_cv_prog_LD
5037 if test -n "$LD"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5039 $as_echo "$LD" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5047 if test -z "$ac_cv_prog_LD"; then
5048 ac_ct_LD=$LD
5049 # Extract the first word of "ld", so it can be a program name with args.
5050 set dummy ld; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$ac_ct_LD"; then
5057 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_ac_ct_LD="ld"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5077 if test -n "$ac_ct_LD"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5079 $as_echo "$ac_ct_LD" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5085 if test "x$ac_ct_LD" = x; then
5086 LD=""
5087 else
5088 case $cross_compiling:$ac_tool_warned in
5089 yes:)
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5093 esac
5094 LD=$ac_ct_LD
5096 else
5097 LD="$ac_cv_prog_LD"
5101 case $host in
5102 *-darwin*)
5103 with_fontconfig=${with_fontconfig:-no}
5105 *-mingw32*|*-cygwin*)
5106 enable_win16=${enable_win16:-no}
5107 CFLAGS="$CFLAGS -D_WIN32"
5109 esac
5111 case $host in
5112 x86_64*|amd64*)
5113 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5114 then
5115 CC="$CC -m32"
5116 CXX="$CXX -m32"
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5118 $as_echo_n "checking whether $CC works... " >&6; }
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5124 main ()
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_link "$LINENO"; then :
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5133 $as_echo "yes" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5139 rm -f core conftest.err conftest.$ac_objext \
5140 conftest$ac_exeext conftest.$ac_ext
5141 host_cpu="i386"
5142 notice_platform="32-bit "
5143 TARGETFLAGS="-m32"
5145 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5146 export PKG_CONFIG_PATH
5147 enable_win16=${enable_win16:-yes}
5148 else
5149 if test "x${GCC}" = "xyes"
5150 then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5152 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h. */
5155 #include <stdarg.h>
5157 main ()
5159 void func(__builtin_ms_va_list *args);
5161 return 0;
5163 _ACEOF
5164 if ac_fn_c_try_compile "$LINENO"; then :
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 $as_echo "yes" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5170 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5174 CC="$CC -m64"
5175 CXX="$CXX -m64"
5176 host_cpu="x86_64"
5177 notice_platform="64-bit "
5178 TARGETFLAGS="-m64"
5182 arm*)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5184 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5187 int ac_test(int i) { return i; }
5189 main ()
5191 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5193 return 0;
5195 _ACEOF
5196 if ac_fn_c_try_link "$LINENO"; then :
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5198 $as_echo "yes" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5202 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5204 rm -f core conftest.err conftest.$ac_objext \
5205 conftest$ac_exeext conftest.$ac_ext
5206 CFLAGS="$CFLAGS -marm"
5207 TARGETFLAGS="-marm"
5210 i[3456789]86*)
5211 enable_win16=${enable_win16:-yes}
5213 esac
5215 enable_win16=${enable_win16:-no}
5216 enable_win64=${enable_win64:-no}
5218 enable_winetest=${enable_winetest:-$enable_tests}
5220 if test -n "$with_wine64"
5221 then
5222 if test "x$enable_win64" = "xyes"
5223 then
5224 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5225 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5227 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5228 You should create a separate build directory and run configure from there." "$LINENO" 5
5229 enable_fonts=${enable_fonts:-no}
5230 enable_server=${enable_server:-no}
5231 elif test "x$enable_win64" = "xyes"
5232 then
5233 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5237 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5238 if ${wine_cv_toolsdir+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 wine_cv_toolsdir="$with_wine_tools"
5242 if test -z "$with_wine_tools"; then
5243 if test "$cross_compiling" = "yes"; then
5244 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5245 elif test -n "$with_wine64"; then
5246 wine_cv_toolsdir="$with_wine64"
5249 if test -z "$wine_cv_toolsdir"; then
5250 wine_makedep=tools/makedep
5251 wine_cv_toolsdir="\$(top_builddir)"
5252 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5253 wine_makedep=$wine_cv_toolsdir/tools/makedep
5254 case "$wine_cv_toolsdir" in
5255 /*) ;;
5256 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5257 esac
5258 enable_tools=${enable_tools:-no}
5259 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5260 else
5261 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5265 $as_echo "$wine_cv_toolsdir" >&6; }
5266 TOOLSDIR=$wine_cv_toolsdir
5268 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5269 then
5270 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5274 for ac_prog in flex
5276 # Extract the first word of "$ac_prog", so it can be a program name with args.
5277 set dummy $ac_prog; ac_word=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_FLEX+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 if test -n "$FLEX"; then
5284 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_FLEX="$ac_prog"
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5299 IFS=$as_save_IFS
5303 FLEX=$ac_cv_prog_FLEX
5304 if test -n "$FLEX"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5306 $as_echo "$FLEX" >&6; }
5307 else
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5313 test -n "$FLEX" && break
5314 done
5315 test -n "$FLEX" || FLEX="none"
5317 if test "$FLEX" = "none"
5318 then
5319 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5322 $as_echo_n "checking whether flex is recent enough... " >&6; }
5323 cat >conftest.l <<EOF
5324 %top{
5325 #include "prediluvian.h"
5329 if $FLEX -t conftest.l >/dev/null 2>&5
5330 then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5332 $as_echo "yes" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5336 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5339 for ac_prog in bison
5341 # Extract the first word of "$ac_prog", so it can be a program name with args.
5342 set dummy $ac_prog; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_BISON+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$BISON"; then
5349 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_BISON="$ac_prog"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 BISON=$ac_cv_prog_BISON
5369 if test -n "$BISON"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5371 $as_echo "$BISON" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5378 test -n "$BISON" && break
5379 done
5380 test -n "$BISON" || BISON="none"
5382 if test "$BISON" = "none"
5383 then
5384 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5387 if test -n "$ac_tool_prefix"; then
5388 for ac_prog in ar gar
5390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_AR+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$AR"; then
5398 ac_cv_prog_AR="$AR" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 AR=$ac_cv_prog_AR
5418 if test -n "$AR"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5420 $as_echo "$AR" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$AR" && break
5428 done
5430 if test -z "$AR"; then
5431 ac_ct_AR=$AR
5432 for ac_prog in ar gar
5434 # Extract the first word of "$ac_prog", so it can be a program name with args.
5435 set dummy $ac_prog; ac_word=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 if test -n "$ac_ct_AR"; then
5442 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5443 else
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_ac_ct_AR="$ac_prog"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5461 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5462 if test -n "$ac_ct_AR"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5464 $as_echo "$ac_ct_AR" >&6; }
5465 else
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 test -n "$ac_ct_AR" && break
5472 done
5474 if test "x$ac_ct_AR" = x; then
5475 AR="ar"
5476 else
5477 case $cross_compiling:$ac_tool_warned in
5478 yes:)
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483 AR=$ac_ct_AR
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_STRIP+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5518 $as_echo "$STRIP" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5558 $as_echo "$ac_ct_STRIP" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 STRIP=$ac_ct_STRIP
5575 else
5576 STRIP="$ac_cv_prog_STRIP"
5579 ARFLAGS=rc
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_RANLIB+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$RANLIB"; then
5590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 RANLIB=$ac_cv_prog_RANLIB
5610 if test -n "$RANLIB"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5612 $as_echo "$RANLIB" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_RANLIB"; then
5621 ac_ct_RANLIB=$RANLIB
5622 # Extract the first word of "ranlib", so it can be a program name with args.
5623 set dummy ranlib; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_RANLIB"; then
5630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_RANLIB="ranlib"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5650 if test -n "$ac_ct_RANLIB"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5652 $as_echo "$ac_ct_RANLIB" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_RANLIB" = x; then
5659 RANLIB=":"
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 RANLIB=$ac_ct_RANLIB
5669 else
5670 RANLIB="$ac_cv_prog_RANLIB"
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5674 $as_echo_n "checking whether ln -s works... " >&6; }
5675 LN_S=$as_ln_s
5676 if test "$LN_S" = "ln -s"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5678 $as_echo "yes" >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5681 $as_echo "no, using $LN_S" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5685 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5686 if ${ac_cv_path_GREP+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -z "$GREP"; then
5690 ac_path_GREP_found=false
5691 # Loop through the user's path and test for each of PROGNAME-LIST
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_prog in grep ggrep; do
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5700 as_fn_executable_p "$ac_path_GREP" || continue
5701 # Check for GNU ac_path_GREP and select it if it is found.
5702 # Check for GNU $ac_path_GREP
5703 case `"$ac_path_GREP" --version 2>&1` in
5704 *GNU*)
5705 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5707 ac_count=0
5708 $as_echo_n 0123456789 >"conftest.in"
5709 while :
5711 cat "conftest.in" "conftest.in" >"conftest.tmp"
5712 mv "conftest.tmp" "conftest.in"
5713 cp "conftest.in" "conftest.nl"
5714 $as_echo 'GREP' >> "conftest.nl"
5715 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5717 as_fn_arith $ac_count + 1 && ac_count=$as_val
5718 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5719 # Best one so far, save it but keep looking for a better one
5720 ac_cv_path_GREP="$ac_path_GREP"
5721 ac_path_GREP_max=$ac_count
5723 # 10*(2^10) chars as input seems more than enough
5724 test $ac_count -gt 10 && break
5725 done
5726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5727 esac
5729 $ac_path_GREP_found && break 3
5730 done
5731 done
5732 done
5733 IFS=$as_save_IFS
5734 if test -z "$ac_cv_path_GREP"; then
5735 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5737 else
5738 ac_cv_path_GREP=$GREP
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5743 $as_echo "$ac_cv_path_GREP" >&6; }
5744 GREP="$ac_cv_path_GREP"
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5748 $as_echo_n "checking for egrep... " >&6; }
5749 if ${ac_cv_path_EGREP+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5753 then ac_cv_path_EGREP="$GREP -E"
5754 else
5755 if test -z "$EGREP"; then
5756 ac_path_EGREP_found=false
5757 # Loop through the user's path and test for each of PROGNAME-LIST
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5761 IFS=$as_save_IFS
5762 test -z "$as_dir" && as_dir=.
5763 for ac_prog in egrep; do
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5766 as_fn_executable_p "$ac_path_EGREP" || continue
5767 # Check for GNU ac_path_EGREP and select it if it is found.
5768 # Check for GNU $ac_path_EGREP
5769 case `"$ac_path_EGREP" --version 2>&1` in
5770 *GNU*)
5771 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5773 ac_count=0
5774 $as_echo_n 0123456789 >"conftest.in"
5775 while :
5777 cat "conftest.in" "conftest.in" >"conftest.tmp"
5778 mv "conftest.tmp" "conftest.in"
5779 cp "conftest.in" "conftest.nl"
5780 $as_echo 'EGREP' >> "conftest.nl"
5781 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5783 as_fn_arith $ac_count + 1 && ac_count=$as_val
5784 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5785 # Best one so far, save it but keep looking for a better one
5786 ac_cv_path_EGREP="$ac_path_EGREP"
5787 ac_path_EGREP_max=$ac_count
5789 # 10*(2^10) chars as input seems more than enough
5790 test $ac_count -gt 10 && break
5791 done
5792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5793 esac
5795 $ac_path_EGREP_found && break 3
5796 done
5797 done
5798 done
5799 IFS=$as_save_IFS
5800 if test -z "$ac_cv_path_EGREP"; then
5801 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5803 else
5804 ac_cv_path_EGREP=$EGREP
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5810 $as_echo "$ac_cv_path_EGREP" >&6; }
5811 EGREP="$ac_cv_path_EGREP"
5814 # Extract the first word of "ldconfig", so it can be a program name with args.
5815 set dummy ldconfig; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_path_LDCONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 case $LDCONFIG in
5822 [\\/]* | ?:[\\/]*)
5823 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in /sbin /usr/sbin $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5841 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5843 esac
5845 LDCONFIG=$ac_cv_path_LDCONFIG
5846 if test -n "$LDCONFIG"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5848 $as_echo "$LDCONFIG" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 for ac_prog in msgfmt
5857 # Extract the first word of "$ac_prog", so it can be a program name with args.
5858 set dummy $ac_prog; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_MSGFMT+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$MSGFMT"; then
5865 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_MSGFMT="$ac_prog"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 MSGFMT=$ac_cv_prog_MSGFMT
5885 if test -n "$MSGFMT"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5887 $as_echo "$MSGFMT" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5894 test -n "$MSGFMT" && break
5895 done
5896 test -n "$MSGFMT" || MSGFMT="false"
5898 if ${ac_tool_prefix+:} false; then :
5899 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5900 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$PKG_CONFIG"; then
5907 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5927 if test -n "$PKG_CONFIG"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5929 $as_echo "$PKG_CONFIG" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5937 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5938 if test "x$cross_compiling" = xyes; then :
5940 else
5941 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5942 # Extract the first word of "pkg-config", so it can be a program name with args.
5943 set dummy pkg-config; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 if test -n "$PKG_CONFIG"; then
5950 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5955 IFS=$as_save_IFS
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_PKG_CONFIG="pkg-config"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 break 2
5963 done
5964 done
5965 IFS=$as_save_IFS
5969 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5970 if test -n "$PKG_CONFIG"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5972 $as_echo "$PKG_CONFIG" >&6; }
5973 else
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5980 else
5981 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5984 if test "x$enable_maintainer_mode" != "xyes"
5985 then
5986 FONTFORGE=""
5987 RSVG=""
5988 CONVERT=""
5989 ICOTOOL=""
5990 else
5991 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5992 for ac_prog in fontforge
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_FONTFORGE+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if test -n "$FONTFORGE"; then
6002 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6007 IFS=$as_save_IFS
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_FONTFORGE="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 break 2
6015 done
6016 done
6017 IFS=$as_save_IFS
6021 FONTFORGE=$ac_cv_prog_FONTFORGE
6022 if test -n "$FONTFORGE"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6024 $as_echo "$FONTFORGE" >&6; }
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$FONTFORGE" && break
6032 done
6033 test -n "$FONTFORGE" || FONTFORGE="false"
6035 for ac_prog in rsvg-convert rsvg
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_RSVG+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$RSVG"; then
6045 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_RSVG="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 RSVG=$ac_cv_prog_RSVG
6065 if test -n "$RSVG"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6067 $as_echo "$RSVG" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$RSVG" && break
6075 done
6076 test -n "$RSVG" || RSVG="false"
6078 for ac_prog in convert
6080 # Extract the first word of "$ac_prog", so it can be a program name with args.
6081 set dummy $ac_prog; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_CONVERT+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$CONVERT"; then
6088 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_CONVERT="$ac_prog"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 CONVERT=$ac_cv_prog_CONVERT
6108 if test -n "$CONVERT"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6110 $as_echo "$CONVERT" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6117 test -n "$CONVERT" && break
6118 done
6119 test -n "$CONVERT" || CONVERT="false"
6121 for ac_prog in icotool
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_ICOTOOL+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$ICOTOOL"; then
6131 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ICOTOOL="$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 ICOTOOL=$ac_cv_prog_ICOTOOL
6151 if test -n "$ICOTOOL"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6153 $as_echo "$ICOTOOL" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$ICOTOOL" && break
6161 done
6162 test -n "$ICOTOOL" || ICOTOOL="false"
6164 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6165 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6167 if test "$CONVERT" = false
6168 then
6169 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6172 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6173 convert_version=`convert --version | head -n1`
6174 if test "x$convert_version" != "x"
6175 then
6176 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6177 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6178 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6179 then
6180 CONVERT=false
6183 if test "$CONVERT" = false
6184 then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6186 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6187 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6190 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6194 if test "$ICOTOOL" = false
6195 then
6196 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6199 $as_echo_n "checking for recent enough icotool... " >&6; }
6200 icotool_version=`icotool --version | head -n1`
6201 if test "x$icotool_version" != "x"
6202 then
6203 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6204 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6205 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6206 then
6207 ICOTOOL=false
6208 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6211 if test "$ICOTOOL" = false
6212 then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6214 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6215 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6218 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6222 with_gettext=yes
6223 with_gettextpo=yes
6224 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6227 test "x$with_gettext" != xno || MSGFMT=false
6228 if test "$MSGFMT" != "false"
6229 then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6231 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6232 cat >conftest.po <<EOF
6233 # comment
6234 msgctxt "ctxt"
6235 msgid "id"
6236 msgstr "str"
6238 if $MSGFMT -o /dev/null conftest.po 2>&5
6239 then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6241 $as_echo "yes" >&6; }
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6245 MSGFMT=false
6248 if test "$MSGFMT" = false; then :
6249 case "x$with_gettext" in
6250 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6251 xno) ;;
6252 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6253 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6254 esac
6255 enable_po=${enable_po:-no}
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6260 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6261 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 ac_check_lib_save_LIBS=$LIBS
6265 LIBS="-li386 $LIBS"
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6269 /* Override any GCC internal prototype to avoid an error.
6270 Use char because int might match the return type of a GCC
6271 builtin and then its argument prototype would still apply. */
6272 #ifdef __cplusplus
6273 extern "C"
6274 #endif
6275 char i386_set_ldt ();
6277 main ()
6279 return i386_set_ldt ();
6281 return 0;
6283 _ACEOF
6284 if ac_fn_c_try_link "$LINENO"; then :
6285 ac_cv_lib_i386_i386_set_ldt=yes
6286 else
6287 ac_cv_lib_i386_i386_set_ldt=no
6289 rm -f core conftest.err conftest.$ac_objext \
6290 conftest$ac_exeext conftest.$ac_ext
6291 LIBS=$ac_check_lib_save_LIBS
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6294 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6295 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6296 cat >>confdefs.h <<_ACEOF
6297 #define HAVE_LIBI386 1
6298 _ACEOF
6300 LIBS="-li386 $LIBS"
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6305 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6306 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6307 $as_echo_n "(cached) " >&6
6308 else
6309 ac_check_lib_save_LIBS=$LIBS
6310 LIBS="-lossaudio $LIBS"
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6314 /* Override any GCC internal prototype to avoid an error.
6315 Use char because int might match the return type of a GCC
6316 builtin and then its argument prototype would still apply. */
6317 #ifdef __cplusplus
6318 extern "C"
6319 #endif
6320 char _oss_ioctl ();
6322 main ()
6324 return _oss_ioctl ();
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_link "$LINENO"; then :
6330 ac_cv_lib_ossaudio__oss_ioctl=yes
6331 else
6332 ac_cv_lib_ossaudio__oss_ioctl=no
6334 rm -f core conftest.err conftest.$ac_objext \
6335 conftest$ac_exeext conftest.$ac_ext
6336 LIBS=$ac_check_lib_save_LIBS
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6339 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6340 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6341 cat >>confdefs.h <<_ACEOF
6342 #define HAVE_LIBOSSAUDIO 1
6343 _ACEOF
6345 LIBS="-lossaudio $LIBS"
6350 OPENGL_LIBS=""
6354 # Check whether --enable-largefile was given.
6355 if test "${enable_largefile+set}" = set; then :
6356 enableval=$enable_largefile;
6359 if test "$enable_largefile" != no; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6362 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6363 if ${ac_cv_sys_largefile_CC+:} false; then :
6364 $as_echo_n "(cached) " >&6
6365 else
6366 ac_cv_sys_largefile_CC=no
6367 if test "$GCC" != yes; then
6368 ac_save_CC=$CC
6369 while :; do
6370 # IRIX 6.2 and later do not support large files by default,
6371 # so use the C compiler's -n32 option if that helps.
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6374 #include <sys/types.h>
6375 /* Check that off_t can represent 2**63 - 1 correctly.
6376 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6377 since some C++ compilers masquerading as C compilers
6378 incorrectly reject 9223372036854775807. */
6379 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6380 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6381 && LARGE_OFF_T % 2147483647 == 1)
6382 ? 1 : -1];
6384 main ()
6388 return 0;
6390 _ACEOF
6391 if ac_fn_c_try_compile "$LINENO"; then :
6392 break
6394 rm -f core conftest.err conftest.$ac_objext
6395 CC="$CC -n32"
6396 if ac_fn_c_try_compile "$LINENO"; then :
6397 ac_cv_sys_largefile_CC=' -n32'; break
6399 rm -f core conftest.err conftest.$ac_objext
6400 break
6401 done
6402 CC=$ac_save_CC
6403 rm -f conftest.$ac_ext
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6407 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6408 if test "$ac_cv_sys_largefile_CC" != no; then
6409 CC=$CC$ac_cv_sys_largefile_CC
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6413 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6414 if ${ac_cv_sys_file_offset_bits+:} false; then :
6415 $as_echo_n "(cached) " >&6
6416 else
6417 while :; do
6418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 #include <sys/types.h>
6421 /* Check that off_t can represent 2**63 - 1 correctly.
6422 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6423 since some C++ compilers masquerading as C compilers
6424 incorrectly reject 9223372036854775807. */
6425 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6426 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6427 && LARGE_OFF_T % 2147483647 == 1)
6428 ? 1 : -1];
6430 main ()
6434 return 0;
6436 _ACEOF
6437 if ac_fn_c_try_compile "$LINENO"; then :
6438 ac_cv_sys_file_offset_bits=no; break
6440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6443 #define _FILE_OFFSET_BITS 64
6444 #include <sys/types.h>
6445 /* Check that off_t can represent 2**63 - 1 correctly.
6446 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6447 since some C++ compilers masquerading as C compilers
6448 incorrectly reject 9223372036854775807. */
6449 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6450 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6451 && LARGE_OFF_T % 2147483647 == 1)
6452 ? 1 : -1];
6454 main ()
6458 return 0;
6460 _ACEOF
6461 if ac_fn_c_try_compile "$LINENO"; then :
6462 ac_cv_sys_file_offset_bits=64; break
6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6465 ac_cv_sys_file_offset_bits=unknown
6466 break
6467 done
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6470 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6471 case $ac_cv_sys_file_offset_bits in #(
6472 no | unknown) ;;
6474 cat >>confdefs.h <<_ACEOF
6475 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6476 _ACEOF
6478 esac
6479 rm -rf conftest*
6480 if test $ac_cv_sys_file_offset_bits = unknown; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6482 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6483 if ${ac_cv_sys_large_files+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 while :; do
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <sys/types.h>
6490 /* Check that off_t can represent 2**63 - 1 correctly.
6491 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6492 since some C++ compilers masquerading as C compilers
6493 incorrectly reject 9223372036854775807. */
6494 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6495 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6496 && LARGE_OFF_T % 2147483647 == 1)
6497 ? 1 : -1];
6499 main ()
6503 return 0;
6505 _ACEOF
6506 if ac_fn_c_try_compile "$LINENO"; then :
6507 ac_cv_sys_large_files=no; break
6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #define _LARGE_FILES 1
6513 #include <sys/types.h>
6514 /* Check that off_t can represent 2**63 - 1 correctly.
6515 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6516 since some C++ compilers masquerading as C compilers
6517 incorrectly reject 9223372036854775807. */
6518 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6519 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6520 && LARGE_OFF_T % 2147483647 == 1)
6521 ? 1 : -1];
6523 main ()
6527 return 0;
6529 _ACEOF
6530 if ac_fn_c_try_compile "$LINENO"; then :
6531 ac_cv_sys_large_files=1; break
6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534 ac_cv_sys_large_files=unknown
6535 break
6536 done
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6539 $as_echo "$ac_cv_sys_large_files" >&6; }
6540 case $ac_cv_sys_large_files in #(
6541 no | unknown) ;;
6543 cat >>confdefs.h <<_ACEOF
6544 #define _LARGE_FILES $ac_cv_sys_large_files
6545 _ACEOF
6547 esac
6548 rm -rf conftest*
6555 ac_ext=c
6556 ac_cpp='$CPP $CPPFLAGS'
6557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6561 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6562 # On Suns, sometimes $CPP names a directory.
6563 if test -n "$CPP" && test -d "$CPP"; then
6564 CPP=
6566 if test -z "$CPP"; then
6567 if ${ac_cv_prog_CPP+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 # Double quotes because CPP needs to be expanded
6571 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6573 ac_preproc_ok=false
6574 for ac_c_preproc_warn_flag in '' yes
6576 # Use a header file that comes with gcc, so configuring glibc
6577 # with a fresh cross-compiler works.
6578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6579 # <limits.h> exists even on freestanding compilers.
6580 # On the NeXT, cc -E runs the code through the compiler's parser,
6581 # not just through cpp. "Syntax error" is here to catch this case.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #ifdef __STDC__
6585 # include <limits.h>
6586 #else
6587 # include <assert.h>
6588 #endif
6589 Syntax error
6590 _ACEOF
6591 if ac_fn_c_try_cpp "$LINENO"; then :
6593 else
6594 # Broken: fails on valid input.
6595 continue
6597 rm -f conftest.err conftest.i conftest.$ac_ext
6599 # OK, works on sane cases. Now check whether nonexistent headers
6600 # can be detected and how.
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <ac_nonexistent.h>
6604 _ACEOF
6605 if ac_fn_c_try_cpp "$LINENO"; then :
6606 # Broken: success on invalid input.
6607 continue
6608 else
6609 # Passes both tests.
6610 ac_preproc_ok=:
6611 break
6613 rm -f conftest.err conftest.i conftest.$ac_ext
6615 done
6616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6617 rm -f conftest.i conftest.err conftest.$ac_ext
6618 if $ac_preproc_ok; then :
6619 break
6622 done
6623 ac_cv_prog_CPP=$CPP
6626 CPP=$ac_cv_prog_CPP
6627 else
6628 ac_cv_prog_CPP=$CPP
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6631 $as_echo "$CPP" >&6; }
6632 ac_preproc_ok=false
6633 for ac_c_preproc_warn_flag in '' yes
6635 # Use a header file that comes with gcc, so configuring glibc
6636 # with a fresh cross-compiler works.
6637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6638 # <limits.h> exists even on freestanding compilers.
6639 # On the NeXT, cc -E runs the code through the compiler's parser,
6640 # not just through cpp. "Syntax error" is here to catch this case.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #ifdef __STDC__
6644 # include <limits.h>
6645 #else
6646 # include <assert.h>
6647 #endif
6648 Syntax error
6649 _ACEOF
6650 if ac_fn_c_try_cpp "$LINENO"; then :
6652 else
6653 # Broken: fails on valid input.
6654 continue
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 # OK, works on sane cases. Now check whether nonexistent headers
6659 # can be detected and how.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <ac_nonexistent.h>
6663 _ACEOF
6664 if ac_fn_c_try_cpp "$LINENO"; then :
6665 # Broken: success on invalid input.
6666 continue
6667 else
6668 # Passes both tests.
6669 ac_preproc_ok=:
6670 break
6672 rm -f conftest.err conftest.i conftest.$ac_ext
6674 done
6675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6676 rm -f conftest.i conftest.err conftest.$ac_ext
6677 if $ac_preproc_ok; then :
6679 else
6680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6682 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6683 See \`config.log' for more details" "$LINENO" 5; }
6686 ac_ext=c
6687 ac_cpp='$CPP $CPPFLAGS'
6688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6694 $as_echo_n "checking for ANSI C header files... " >&6; }
6695 if ${ac_cv_header_stdc+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6700 #include <stdlib.h>
6701 #include <stdarg.h>
6702 #include <string.h>
6703 #include <float.h>
6706 main ()
6710 return 0;
6712 _ACEOF
6713 if ac_fn_c_try_compile "$LINENO"; then :
6714 ac_cv_header_stdc=yes
6715 else
6716 ac_cv_header_stdc=no
6718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6720 if test $ac_cv_header_stdc = yes; then
6721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724 #include <string.h>
6726 _ACEOF
6727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6728 $EGREP "memchr" >/dev/null 2>&1; then :
6730 else
6731 ac_cv_header_stdc=no
6733 rm -f conftest*
6737 if test $ac_cv_header_stdc = yes; then
6738 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 #include <stdlib.h>
6743 _ACEOF
6744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6745 $EGREP "free" >/dev/null 2>&1; then :
6747 else
6748 ac_cv_header_stdc=no
6750 rm -f conftest*
6754 if test $ac_cv_header_stdc = yes; then
6755 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6756 if test "$cross_compiling" = yes; then :
6758 else
6759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761 #include <ctype.h>
6762 #include <stdlib.h>
6763 #if ((' ' & 0x0FF) == 0x020)
6764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6766 #else
6767 # define ISLOWER(c) \
6768 (('a' <= (c) && (c) <= 'i') \
6769 || ('j' <= (c) && (c) <= 'r') \
6770 || ('s' <= (c) && (c) <= 'z'))
6771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6772 #endif
6774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6776 main ()
6778 int i;
6779 for (i = 0; i < 256; i++)
6780 if (XOR (islower (i), ISLOWER (i))
6781 || toupper (i) != TOUPPER (i))
6782 return 2;
6783 return 0;
6785 _ACEOF
6786 if ac_fn_c_try_run "$LINENO"; then :
6788 else
6789 ac_cv_header_stdc=no
6791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6792 conftest.$ac_objext conftest.beam conftest.$ac_ext
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6798 $as_echo "$ac_cv_header_stdc" >&6; }
6799 if test $ac_cv_header_stdc = yes; then
6801 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6805 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6806 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6807 inttypes.h stdint.h unistd.h
6808 do :
6809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 _ACEOF
6819 done
6822 for ac_header in \
6823 AL/al.h \
6824 ApplicationServices/ApplicationServices.h \
6825 AudioToolbox/AudioConverter.h \
6826 AudioUnit/AudioUnit.h \
6827 AudioUnit/AudioComponent.h \
6828 CL/cl.h \
6829 Carbon/Carbon.h \
6830 CommonCrypto/CommonDigest.h \
6831 CoreAudio/CoreAudio.h \
6832 CoreServices/CoreServices.h \
6833 DiskArbitration/DiskArbitration.h \
6834 EGL/egl.h \
6835 IOKit/IOKitLib.h \
6836 IOKit/hid/IOHIDLib.h \
6837 OpenAL/al.h \
6838 OpenCL/opencl.h \
6839 QuickTime/ImageCompression.h \
6840 Security/Security.h \
6841 alias.h \
6842 alsa/asoundlib.h \
6843 arpa/inet.h \
6844 arpa/nameser.h \
6845 asm/types.h \
6846 asm/user.h \
6847 curses.h \
6848 direct.h \
6849 dirent.h \
6850 dlfcn.h \
6851 elf.h \
6852 float.h \
6853 fnmatch.h \
6854 getopt.h \
6855 gettext-po.h \
6856 grp.h \
6857 gsm.h \
6858 gsm/gsm.h \
6859 ieeefp.h \
6860 inet/mib2.h \
6861 io.h \
6862 kstat.h \
6863 lber.h \
6864 ldap.h \
6865 libproc.h \
6866 link.h \
6867 linux/cdrom.h \
6868 linux/compiler.h \
6869 linux/filter.h \
6870 linux/hdreg.h \
6871 linux/hidraw.h \
6872 linux/input.h \
6873 linux/ioctl.h \
6874 linux/joystick.h \
6875 linux/major.h \
6876 linux/param.h \
6877 linux/serial.h \
6878 linux/types.h \
6879 linux/ucdrom.h \
6880 lwp.h \
6881 mach-o/nlist.h \
6882 mach-o/loader.h \
6883 mach/mach.h \
6884 mach/machine.h \
6885 machine/cpu.h \
6886 machine/limits.h \
6887 machine/sysarch.h \
6888 mntent.h \
6889 ncurses.h \
6890 netdb.h \
6891 netinet/in.h \
6892 netinet/in_systm.h \
6893 netinet/tcp.h \
6894 netinet/tcp_fsm.h \
6895 pcap/pcap.h \
6896 poll.h \
6897 port.h \
6898 process.h \
6899 pthread.h \
6900 pwd.h \
6901 sched.h \
6902 scsi/scsi.h \
6903 scsi/scsi_ioctl.h \
6904 scsi/sg.h \
6905 stdbool.h \
6906 stdint.h \
6907 stropts.h \
6908 sys/asoundlib.h \
6909 sys/attr.h \
6910 sys/auxv.h \
6911 sys/cdio.h \
6912 sys/elf32.h \
6913 sys/epoll.h \
6914 sys/event.h \
6915 sys/exec_elf.h \
6916 sys/filio.h \
6917 sys/inotify.h \
6918 sys/ioctl.h \
6919 sys/ipc.h \
6920 sys/limits.h \
6921 sys/link.h \
6922 sys/mman.h \
6923 sys/modem.h \
6924 sys/msg.h \
6925 sys/mtio.h \
6926 sys/param.h \
6927 sys/poll.h \
6928 sys/prctl.h \
6929 sys/protosw.h \
6930 sys/ptrace.h \
6931 sys/queue.h \
6932 sys/resource.h \
6933 sys/scsiio.h \
6934 sys/shm.h \
6935 sys/signal.h \
6936 sys/socket.h \
6937 sys/socketvar.h \
6938 sys/sockio.h \
6939 sys/statvfs.h \
6940 sys/strtio.h \
6941 sys/syscall.h \
6942 sys/sysinfo.h \
6943 sys/tihdr.h \
6944 sys/time.h \
6945 sys/timeout.h \
6946 sys/times.h \
6947 sys/uio.h \
6948 sys/user.h \
6949 sys/utsname.h \
6950 sys/vm86.h \
6951 sys/vnode.h \
6952 sys/wait.h \
6953 syscall.h \
6954 termios.h \
6955 unistd.h \
6956 utime.h \
6957 valgrind/memcheck.h \
6958 valgrind/valgrind.h \
6959 zlib.h
6961 do :
6962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6963 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6964 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6965 cat >>confdefs.h <<_ACEOF
6966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6967 _ACEOF
6971 done
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6974 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6975 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6976 $as_echo_n "(cached) " >&6
6977 else
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #include <sys/types.h>
6982 main ()
6984 return makedev(0, 0);
6986 return 0;
6988 _ACEOF
6989 if ac_fn_c_try_link "$LINENO"; then :
6990 ac_cv_header_sys_types_h_makedev=yes
6991 else
6992 ac_cv_header_sys_types_h_makedev=no
6994 rm -f core conftest.err conftest.$ac_objext \
6995 conftest$ac_exeext conftest.$ac_ext
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6999 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7001 if test $ac_cv_header_sys_types_h_makedev = no; then
7002 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7003 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7005 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7011 if test $ac_cv_header_sys_mkdev_h = no; then
7012 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7013 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7015 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7024 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7025 if ${ac_cv_header_stat_broken+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #include <sys/types.h>
7031 #include <sys/stat.h>
7033 #if defined S_ISBLK && defined S_IFDIR
7034 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7035 #endif
7037 #if defined S_ISBLK && defined S_IFCHR
7038 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7039 #endif
7041 #if defined S_ISLNK && defined S_IFREG
7042 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7043 #endif
7045 #if defined S_ISSOCK && defined S_IFREG
7046 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7047 #endif
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_header_stat_broken=no
7052 else
7053 ac_cv_header_stat_broken=yes
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7058 $as_echo "$ac_cv_header_stat_broken" >&6; }
7059 if test $ac_cv_header_stat_broken = yes; then
7061 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7067 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7068 do :
7069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7071 #ifdef HAVE_SYS_PARAM_H
7072 # include <sys/param.h>
7073 #endif
7075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7076 cat >>confdefs.h <<_ACEOF
7077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7078 _ACEOF
7082 done
7085 for ac_header in \
7086 netinet/ip.h \
7087 net/if.h \
7088 net/if_arp.h \
7089 net/if_dl.h \
7090 net/if_types.h \
7091 net/route.h \
7092 netinet/if_ether.h \
7093 netinet/if_inarp.h \
7094 netinet/in_pcb.h \
7095 netinet/ip_icmp.h \
7096 netinet/ip_var.h \
7097 netinet/udp.h \
7098 netipx/ipx.h \
7099 sys/un.h \
7101 do :
7102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7104 #ifdef HAVE_SYS_SOCKET_H
7105 # include <sys/socket.h>
7106 #endif
7107 #ifdef HAVE_SYS_SOCKETVAR_H
7108 # include <sys/socketvar.h>
7109 #endif
7110 #ifdef HAVE_NET_ROUTE_H
7111 # include <net/route.h>
7112 #endif
7113 #ifdef HAVE_NETINET_IN_H
7114 # include <netinet/in.h>
7115 #endif
7116 #ifdef HAVE_NETINET_IN_SYSTM_H
7117 # include <netinet/in_systm.h>
7118 #endif
7119 #ifdef HAVE_NET_IF_H
7120 # include <net/if.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IP_H
7123 # include <netinet/ip.h>
7124 #endif
7126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7129 _ACEOF
7133 done
7136 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7137 do :
7138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7140 #ifdef HAVE_ALIAS_H
7141 # include <alias.h>
7142 #endif
7143 #ifdef HAVE_SYS_SOCKET_H
7144 # include <sys/socket.h>
7145 #endif
7146 #ifdef HAVE_SYS_SOCKETVAR_H
7147 # include <sys/socketvar.h>
7148 #endif
7149 #ifdef HAVE_SYS_TIMEOUT_H
7150 # include <sys/timeout.h>
7151 #endif
7152 #ifdef HAVE_NETINET_IN_H
7153 # include <netinet/in.h>
7154 #endif
7155 #ifdef HAVE_NETINET_IN_SYSTM_H
7156 # include <netinet/in_systm.h>
7157 #endif
7158 #ifdef HAVE_NETINET_IP_H
7159 # include <netinet/ip.h>
7160 #endif
7161 #ifdef HAVE_NETINET_IP_VAR_H
7162 # include <netinet/ip_var.h>
7163 #endif
7164 #ifdef HAVE_NETINET_IP_ICMP_H
7165 # include <netinet/ip_icmp.h>
7166 #endif
7167 #ifdef HAVE_NETINET_UDP_H
7168 # include <netinet/udp.h>
7169 #endif
7170 #ifdef HAVE_NETINET_TCP_H
7171 # include <netinet/tcp.h>
7172 #endif
7173 #ifdef HAVE_NETINET_TCP_TIMER_H
7174 #include <netinet/tcp_timer.h>
7175 #endif
7177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 _ACEOF
7184 done
7187 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7188 do :
7189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7191 #ifdef HAVE_ASM_TYPES_H
7192 # include <asm/types.h>
7193 #endif
7194 #ifdef HAVE_SYS_SOCKET_H
7195 # include <sys/socket.h>
7196 #endif
7197 #ifdef HAVE_LINUX_TYPES_H
7198 # include <linux/types.h>
7199 #endif
7201 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7202 cat >>confdefs.h <<_ACEOF
7203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204 _ACEOF
7208 done
7211 for ac_header in mach-o/dyld_images.h
7212 do :
7213 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7214 # include <stdbool.h>
7215 #endif
7216 #ifdef HAVE_STDINT_H
7217 # include <stdint.h>
7218 #endif
7220 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7223 _ACEOF
7227 done
7230 for ac_header in resolv.h
7231 do :
7232 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7233 #ifdef HAVE_SYS_SOCKET_H
7234 # include <sys/socket.h>
7235 #endif
7236 #ifdef HAVE_NETINET_IN_H
7237 # include <netinet/in.h>
7238 #endif
7239 #ifdef HAVE_ARPA_NAMESER_H
7240 # include <arpa/nameser.h>
7241 #endif
7243 if test "x$ac_cv_header_resolv_h" = xyes; then :
7244 cat >>confdefs.h <<_ACEOF
7245 #define HAVE_RESOLV_H 1
7246 _ACEOF
7250 done
7253 for ac_header in ifaddrs.h
7254 do :
7255 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7257 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7258 cat >>confdefs.h <<_ACEOF
7259 #define HAVE_IFADDRS_H 1
7260 _ACEOF
7264 done
7267 for ac_header in sys/ucontext.h
7268 do :
7269 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7271 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define HAVE_SYS_UCONTEXT_H 1
7274 _ACEOF
7278 done
7281 for ac_header in sys/thr.h
7282 do :
7283 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7284 #ifdef HAVE_SYS_UCONTEXT_H
7285 #include <sys/ucontext.h>
7286 #endif
7288 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7289 cat >>confdefs.h <<_ACEOF
7290 #define HAVE_SYS_THR_H 1
7291 _ACEOF
7295 done
7298 for ac_header in pthread_np.h
7299 do :
7300 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7301 #include <pthread.h>
7302 #endif
7304 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define HAVE_PTHREAD_NP_H 1
7307 _ACEOF
7311 done
7314 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7315 do :
7316 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7317 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7318 #include <sys/time.h>
7319 #endif
7320 #include <sys/types.h>
7321 #ifdef HAVE_ASM_TYPES_H
7322 #include <asm/types.h>
7323 #endif
7325 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7326 cat >>confdefs.h <<_ACEOF
7327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7328 _ACEOF
7332 done
7335 for ac_header in libprocstat.h
7336 do :
7337 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7338 #include <sys/param.h>
7339 #endif
7340 #ifdef HAVE_SYS_QUEUE_H
7341 #include <sys/queue.h>
7342 #endif
7343 #ifdef HAVE_SYS_SOCKET_H
7344 #include <sys/socket.h>
7345 #endif
7347 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7348 cat >>confdefs.h <<_ACEOF
7349 #define HAVE_LIBPROCSTAT_H 1
7350 _ACEOF
7354 done
7358 dlldir="\${libdir}/wine"
7360 DLLFLAGS="-D_REENTRANT"
7362 LDRPATH_INSTALL=""
7364 LDRPATH_LOCAL=""
7366 LDEXECFLAGS=""
7368 WINELOADER_LDFLAGS=""
7370 LIBEXT="so"
7371 DLLEXT=".so"
7372 IMPLIBEXT="def"
7373 # Extract the first word of "ldd", so it can be a program name with args.
7374 set dummy ldd; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_path_LDD+:} false; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 case $LDD in
7381 [\\/]* | ?:[\\/]*)
7382 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 as_dummy="/sbin:/usr/sbin:$PATH"
7387 for as_dir in $as_dummy
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7397 done
7398 done
7399 IFS=$as_save_IFS
7401 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7403 esac
7405 LDD=$ac_cv_path_LDD
7406 if test -n "$LDD"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7408 $as_echo "$LDD" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}otool; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if ${ac_cv_prog_OTOOL+:} false; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 if test -n "$OTOOL"; then
7424 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7437 done
7438 done
7439 IFS=$as_save_IFS
7443 OTOOL=$ac_cv_prog_OTOOL
7444 if test -n "$OTOOL"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7446 $as_echo "$OTOOL" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7454 if test -z "$ac_cv_prog_OTOOL"; then
7455 ac_ct_OTOOL=$OTOOL
7456 # Extract the first word of "otool", so it can be a program name with args.
7457 set dummy otool; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7461 $as_echo_n "(cached) " >&6
7462 else
7463 if test -n "$ac_ct_OTOOL"; then
7464 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7465 else
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 for as_dir in $PATH
7469 IFS=$as_save_IFS
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7473 ac_cv_prog_ac_ct_OTOOL="otool"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 break 2
7477 done
7478 done
7479 IFS=$as_save_IFS
7483 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7484 if test -n "$ac_ct_OTOOL"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7486 $as_echo "$ac_ct_OTOOL" >&6; }
7487 else
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7492 if test "x$ac_ct_OTOOL" = x; then
7493 OTOOL="otool"
7494 else
7495 case $cross_compiling:$ac_tool_warned in
7496 yes:)
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7499 ac_tool_warned=yes ;;
7500 esac
7501 OTOOL=$ac_ct_OTOOL
7503 else
7504 OTOOL="$ac_cv_prog_OTOOL"
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_READELF+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$READELF"; then
7516 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7529 done
7530 done
7531 IFS=$as_save_IFS
7535 READELF=$ac_cv_prog_READELF
7536 if test -n "$READELF"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7538 $as_echo "$READELF" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7546 if test -z "$ac_cv_prog_READELF"; then
7547 ac_ct_READELF=$READELF
7548 # Extract the first word of "readelf", so it can be a program name with args.
7549 set dummy readelf; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$ac_ct_READELF"; then
7556 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_ac_ct_READELF="readelf"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7569 done
7570 done
7571 IFS=$as_save_IFS
7575 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7576 if test -n "$ac_ct_READELF"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7578 $as_echo "$ac_ct_READELF" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7584 if test "x$ac_ct_READELF" = x; then
7585 READELF="true"
7586 else
7587 case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593 READELF=$ac_ct_READELF
7595 else
7596 READELF="$ac_cv_prog_READELF"
7599 wine_rules_file=conf$$rules.make
7600 rm -f $wine_rules_file
7601 SUBDIRS=""
7603 DISABLED_SUBDIRS=""
7605 CONFIGURE_TARGETS=""
7607 ALL_TEST_RESOURCES=""
7610 wine_fn_append_file ()
7612 as_fn_append $1 " \\$as_nl $2"
7615 wine_fn_append_rule ()
7617 $as_echo "$1" >>$wine_rules_file
7620 wine_fn_has_flag ()
7622 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7625 wine_fn_all_rules ()
7627 wine_fn_append_file SUBDIRS $ac_dir
7628 wine_fn_append_rule \
7629 "all: $ac_dir
7630 .PHONY: $ac_dir
7631 $ac_dir: dummy
7632 @cd $ac_dir && \$(MAKE)"
7635 wine_fn_install_rules ()
7637 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7639 wine_fn_append_rule \
7640 ".PHONY: $ac_dir/install $ac_dir/uninstall
7641 $ac_dir/install:: $ac_dir
7642 @cd $ac_dir && \$(MAKE) install
7643 $ac_dir/uninstall::
7644 @cd $ac_dir && \$(MAKE) uninstall
7645 install:: $ac_dir/install
7646 __uninstall__: $ac_dir/uninstall"
7648 if wine_fn_has_flag install-lib
7649 then
7650 wine_fn_append_rule \
7651 ".PHONY: $ac_dir/install-lib
7652 $ac_dir/install-lib:: $ac_dir
7653 @cd $ac_dir && \$(MAKE) install-lib
7654 install-lib:: $ac_dir/install-lib"
7657 if wine_fn_has_flag install-dev
7658 then
7659 wine_fn_append_rule \
7660 ".PHONY: $ac_dir/install-dev
7661 $ac_dir/install-dev:: $ac_dir
7662 @cd $ac_dir && \$(MAKE) install-dev
7663 install-dev:: $ac_dir/install-dev"
7667 wine_fn_clean_rules ()
7669 ac_clean=$@
7671 if wine_fn_has_flag clean
7672 then
7673 wine_fn_append_rule \
7674 "$ac_dir/clean: dummy
7675 @cd $ac_dir && \$(MAKE) clean"
7676 else
7677 wine_fn_append_rule \
7678 "$ac_dir/clean: dummy
7679 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7681 wine_fn_append_rule \
7682 "__clean__: $ac_dir/clean
7683 .PHONY: $ac_dir/clean"
7686 wine_fn_disabled_rules ()
7688 ac_clean=$@
7690 wine_fn_append_file SUBDIRS $ac_dir
7691 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7692 wine_fn_append_rule \
7693 "__clean__: $ac_dir/clean
7694 .PHONY: $ac_dir/clean
7695 $ac_dir/clean: dummy
7696 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7699 wine_fn_config_makefile ()
7701 ac_dir=$1
7702 ac_enable=$2
7703 ac_flags=$3
7705 case $ac_dir in
7706 fonts|server) test -z "$with_wine64" || return ;;
7707 esac
7708 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7709 wine_fn_disabled_rules; return
7711 wine_fn_all_rules
7712 wine_fn_install_rules
7713 wine_fn_clean_rules
7716 wine_fn_config_lib ()
7718 ac_name=$1
7719 ac_flags=$2
7720 ac_dir=dlls/$ac_name
7721 ac_deps="include"
7723 if test "x$enable_tools" = xno; then :
7725 else
7726 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7728 wine_fn_all_rules
7729 wine_fn_clean_rules
7731 wine_fn_append_rule \
7732 ".PHONY: $ac_dir/install $ac_dir/uninstall
7733 $ac_dir/install:: $ac_dir
7734 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7735 $ac_dir/uninstall::
7736 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7737 install install-dev:: $ac_dir/install
7738 __uninstall__: $ac_dir/uninstall
7739 __builddeps__: $ac_dir
7740 $ac_dir: $ac_deps"
7743 wine_fn_config_dll ()
7745 ac_name=$1
7746 ac_dir=dlls/$ac_name
7747 ac_enable=$2
7748 ac_flags=$3
7749 ac_implib=${4:-$ac_name}
7750 ac_file=$ac_dir/lib$ac_implib
7751 ac_dll=$ac_name
7752 ac_deps="include"
7753 ac_implibflags=""
7755 if test "x$enable_tools" = xno; then :
7757 else
7758 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7760 case $ac_name in
7761 *.*16) ac_implibflags=" -m16" ;;
7762 *.*) ;;
7763 *) ac_dll=$ac_dll.dll ;;
7764 esac
7766 ac_clean=
7767 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7768 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7770 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7771 if test "$ac_enable" != enable_win16
7772 then
7773 wine_fn_clean_rules $ac_clean
7774 wine_fn_append_file SUBDIRS $ac_dir
7775 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7776 else
7777 wine_fn_disabled_rules $ac_clean
7778 return
7780 else
7781 wine_fn_all_rules
7782 wine_fn_clean_rules $ac_clean
7783 wine_fn_append_rule \
7784 "$ac_dir: __builddeps__
7785 manpages htmlpages sgmlpages xmlpages::
7786 @cd $ac_dir && \$(MAKE) \$@
7787 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7788 install install-lib:: $ac_dir/install-lib
7789 __uninstall__: $ac_dir/uninstall"
7790 if test -n "$DLLEXT"
7791 then
7792 wine_fn_append_rule \
7793 "$ac_dir/install-lib:: $ac_dir
7794 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7795 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7796 $ac_dir/uninstall::
7797 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7798 else
7799 wine_fn_append_rule \
7800 "$ac_dir/install-lib:: $ac_dir
7801 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7802 $ac_dir/uninstall::
7803 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7807 if wine_fn_has_flag staticimplib
7808 then
7809 wine_fn_append_rule \
7810 "__builddeps__: $ac_file.a
7811 $ac_file.a $ac_file.cross.a: $ac_deps
7812 $ac_file.a: dummy
7813 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7814 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7815 $ac_dir/install-dev:: $ac_file.a
7816 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7817 $ac_dir/uninstall::
7818 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7819 install install-dev:: $ac_dir/install-dev
7820 __uninstall__: $ac_dir/uninstall"
7822 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7823 then
7824 wine_fn_append_rule \
7825 "__builddeps__: $ac_file.cross.a
7826 $ac_file.cross.a: dummy
7827 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7830 elif wine_fn_has_flag implib
7831 then
7832 wine_fn_append_rule \
7833 "__builddeps__: $ac_file.$IMPLIBEXT
7834 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7835 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7836 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7837 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7838 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7839 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7840 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7841 $ac_dir/uninstall::
7842 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7843 install install-dev:: $ac_dir/install-dev
7844 __uninstall__: $ac_dir/uninstall"
7845 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7846 then
7847 wine_fn_append_rule \
7848 "__builddeps__: $ac_file.cross.a
7849 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7850 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7855 wine_fn_config_program ()
7857 ac_name=$1
7858 ac_dir=programs/$ac_name
7859 ac_enable=$2
7860 ac_flags=$3
7861 ac_program=$ac_name
7863 case $ac_name in
7864 *.*) ;;
7865 *) ac_program=$ac_program.exe ;;
7866 esac
7868 ac_clean=
7869 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7870 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7872 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7873 wine_fn_disabled_rules $ac_clean; return
7876 wine_fn_all_rules
7877 wine_fn_clean_rules $ac_clean
7878 wine_fn_append_rule "$ac_dir: __builddeps__"
7880 wine_fn_has_flag install || return
7881 wine_fn_append_rule \
7882 ".PHONY: $ac_dir/install $ac_dir/uninstall
7883 install install-lib:: $ac_dir/install
7884 __uninstall__: $ac_dir/uninstall"
7886 if test -n "$DLLEXT"
7887 then
7888 wine_fn_append_rule \
7889 "$ac_dir/install:: $ac_dir
7890 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7891 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7892 $ac_dir/uninstall::
7893 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7895 if test -z "$with_wine64" && wine_fn_has_flag installbin
7896 then
7897 wine_fn_append_rule \
7898 "$ac_dir/install:: __tooldeps__
7899 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7900 $ac_dir/uninstall::
7901 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7903 else
7904 wine_fn_append_rule \
7905 "$ac_dir/install:: $ac_dir
7906 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7907 $ac_dir/uninstall::
7908 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7911 if test -z "$with_wine64" && wine_fn_has_flag manpage
7912 then
7913 wine_fn_append_rule \
7914 "$ac_dir/install:: $ac_dir
7915 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7916 $ac_dir/uninstall::
7917 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7921 wine_fn_config_test ()
7923 ac_dir=$1
7924 ac_name=$2
7925 ac_flags=$3
7927 ac_clean=
7928 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7929 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7931 if test "x$enable_tests" = xno; then :
7932 wine_fn_disabled_rules $ac_clean; return
7935 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7936 wine_fn_all_rules
7937 wine_fn_clean_rules $ac_clean
7939 wine_fn_append_rule \
7940 "$ac_dir: __builddeps__
7941 programs/winetest: $ac_dir
7942 check test: $ac_dir/test
7943 .PHONY: $ac_dir/test
7944 $ac_dir/test: dummy
7945 @cd $ac_dir && \$(MAKE) test
7946 testclean::
7947 \$(RM) $ac_dir/*.ok"
7949 if test -n "$CROSSTARGET"
7950 then
7951 wine_fn_append_rule \
7952 "crosstest: $ac_dir/crosstest
7953 .PHONY: $ac_dir/crosstest
7954 $ac_dir/crosstest: __builddeps__ dummy
7955 @cd $ac_dir && \$(MAKE) crosstest"
7959 wine_fn_config_tool ()
7961 ac_dir=$1
7962 ac_flags=$2
7963 if test "x$enable_tools" = xno; then :
7964 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7967 wine_fn_all_rules
7968 wine_fn_install_rules
7969 wine_fn_clean_rules
7971 wine_fn_append_rule "__tooldeps__: $ac_dir"
7972 wine_fn_append_rule "$ac_dir: libs/port"
7973 case $ac_dir in
7974 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7975 esac
7978 wine_fn_config_symlink ()
7980 ac_linkdir=
7981 if test "x$1" = "x-d"
7982 then
7983 ac_linkdir=$2
7984 shift; shift
7986 ac_links=$@
7987 wine_fn_append_rule \
7988 "$ac_links:
7989 @./config.status \$@"
7990 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7991 test -n "$ac_linkdir" || return
7992 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7995 wine_binary="wine"
7996 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7997 WINELOADER_PROGRAMS="$wine_binary"
7999 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8001 case $host_os in
8002 cygwin*|mingw32*)
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8005 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_DLLTOOL+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 if test -n "$DLLTOOL"; then
8012 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8013 else
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 for as_dir in $PATH
8017 IFS=$as_save_IFS
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 break 2
8025 done
8026 done
8027 IFS=$as_save_IFS
8031 DLLTOOL=$ac_cv_prog_DLLTOOL
8032 if test -n "$DLLTOOL"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8034 $as_echo "$DLLTOOL" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8042 if test -z "$ac_cv_prog_DLLTOOL"; then
8043 ac_ct_DLLTOOL=$DLLTOOL
8044 # Extract the first word of "dlltool", so it can be a program name with args.
8045 set dummy dlltool; ac_word=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 if test -n "$ac_ct_DLLTOOL"; then
8052 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8065 done
8066 done
8067 IFS=$as_save_IFS
8071 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8072 if test -n "$ac_ct_DLLTOOL"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8074 $as_echo "$ac_ct_DLLTOOL" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8080 if test "x$ac_ct_DLLTOOL" = x; then
8081 DLLTOOL="false"
8082 else
8083 case $cross_compiling:$ac_tool_warned in
8084 yes:)
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned=yes ;;
8088 esac
8089 DLLTOOL=$ac_ct_DLLTOOL
8091 else
8092 DLLTOOL="$ac_cv_prog_DLLTOOL"
8095 LIBEXT="dll"
8096 DLLEXT=""
8097 IMPLIBEXT="a"
8098 enable_iphlpapi=${enable_iphlpapi:-no}
8099 enable_kernel32=${enable_kernel32:-no}
8100 enable_msvcrt=${enable_msvcrt:-no}
8101 enable_ntdll=${enable_ntdll:-no}
8102 enable_ws2_32=${enable_ws2_32:-no}
8103 enable_loader=${enable_loader:-no}
8104 enable_server=${enable_server:-no}
8105 with_x=${with_x:-no}
8106 with_pthread=${with_pthread:-no}
8108 crtlibs=""
8109 case $host_os in
8110 mingw32*)
8111 crtlibs="-lmsvcrt"
8112 SOCKET_LIBS="-lws2_32"
8114 esac
8116 LIBWINE_SHAREDLIB="libwine.dll"
8118 LIBWINE_IMPORTLIB="libwine.a"
8120 LIBWINE_INSTALL_LIB="libwine.dll"
8122 LIBWINE_INSTALL_DEV="libwine.a"
8124 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8126 LIBWINE_DEPENDS="wine.def"
8130 darwin*|macosx*)
8131 for ac_header in libunwind.h
8132 do :
8133 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8135 cat >>confdefs.h <<_ACEOF
8136 #define HAVE_LIBUNWIND_H 1
8137 _ACEOF
8141 done
8143 LIBEXT="dylib"
8144 DLLFLAGS="$DLLFLAGS -fPIC"
8145 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8146 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8147 COREFOUNDATION_LIBS="-framework CoreFoundation"
8149 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8151 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8153 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8155 CORESERVICES_LIBS="-framework CoreServices"
8157 APPKIT_LIBS="-framework AppKit"
8159 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8161 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8162 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 ac_wine_try_cflags_saved=$CFLAGS
8166 CFLAGS="$CFLAGS -Wl,-no_pie"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 int main(int argc, char **argv) { return 0; }
8170 _ACEOF
8171 if ac_fn_c_try_link "$LINENO"; then :
8172 ac_cv_cflags__Wl__no_pie=yes
8173 else
8174 ac_cv_cflags__Wl__no_pie=no
8176 rm -f core conftest.err conftest.$ac_objext \
8177 conftest$ac_exeext conftest.$ac_ext
8178 CFLAGS=$ac_wine_try_cflags_saved
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8181 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8182 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8183 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8185 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8186 then
8187 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8190 if test "$ac_cv_header_Security_Security_h" = "yes"
8191 then
8192 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8194 ac_save_LIBS="$LIBS"
8195 LIBS="$LIBS $SECURITY_LIBS"
8196 for ac_func in SSLCopyPeerCertificates
8197 do :
8198 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8199 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8200 cat >>confdefs.h <<_ACEOF
8201 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8202 _ACEOF
8205 done
8207 LIBS="$ac_save_LIBS"
8208 with_gnutls=${with_gnutls:-no}
8210 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8211 then
8212 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8213 then
8214 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8216 else
8217 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8220 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8221 ac_save_LIBS="$LIBS"
8222 LIBS="$LIBS $COREAUDIO_LIBS"
8223 for ac_func in AUGraphAddNode
8224 do :
8225 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8226 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8227 cat >>confdefs.h <<_ACEOF
8228 #define HAVE_AUGRAPHADDNODE 1
8229 _ACEOF
8232 done
8234 LIBS="$ac_save_LIBS"
8236 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8237 then
8238 OPENAL_LIBS="-framework OpenAL"
8241 cat >>confdefs.h <<_ACEOF
8242 #define HAVE_OPENAL 1
8243 _ACEOF
8245 ac_cv_lib_openal=yes
8247 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8248 then
8249 OPENCL_LIBS="-framework OpenCL"
8251 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8253 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8254 then
8255 ac_save_LIBS="$LIBS"
8256 LIBS="$LIBS $IOKIT_LIBS"
8257 for ac_func in IOHIDManagerCreate
8258 do :
8259 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8260 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8261 cat >>confdefs.h <<_ACEOF
8262 #define HAVE_IOHIDMANAGERCREATE 1
8263 _ACEOF
8266 done
8268 LIBS="$ac_save_LIBS"
8270 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8271 then
8272 ac_save_LIBS="$LIBS"
8273 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8275 $as_echo_n "checking for the QuickTime framework... " >&6; }
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 #include <QuickTime/ImageCompression.h>
8280 main ()
8282 CodecManagerVersion(NULL);
8284 return 0;
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8289 $as_echo "yes" >&6; }
8290 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8292 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8293 else
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8296 ac_cv_header_QuickTime_ImageCompression_h=no
8298 rm -f core conftest.err conftest.$ac_objext \
8299 conftest$ac_exeext conftest.$ac_ext
8300 LIBS="$ac_save_LIBS"
8302 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8303 then
8304 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8306 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8307 then
8308 CARBON_LIBS="-framework Carbon"
8312 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8313 then
8314 ac_save_LIBS="$LIBS"
8315 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8316 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8317 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8318 enable_winemac_drv=${enable_winemac_drv:-yes}
8321 LIBS="$ac_save_LIBS"
8324 if test "x$enable_win16" = "xyes"
8325 then
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8327 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8328 if test "$cross_compiling" = yes; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8330 $as_echo "cross-compiling, assuming yes" >&6; }
8331 else
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 asm(".text\n"
8335 "bad:\tnop;nop\n"
8336 "good:\tnop;nop\n\t"
8337 ".globl _testfunc\n"
8338 "_testfunc:\tcallw good");
8339 extern void testfunc();
8341 main ()
8343 unsigned short *p = (unsigned short *)testfunc;
8344 return p[0] != 0xe866 || p[1] != 0xfffa
8346 return 0;
8348 _ACEOF
8349 if ac_fn_c_try_run "$LINENO"; then :
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8351 $as_echo "yes" >&6; }
8352 else
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354 $as_echo "no" >&6; }
8355 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
8357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8358 conftest.$ac_objext conftest.beam conftest.$ac_ext
8363 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8365 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8367 LIBWINE_INSTALL_DEV="libwine.dylib"
8369 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8371 WINELOADER_DEPENDS="wine_info.plist"
8375 linux-android*)
8376 DLLFLAGS="$DLLFLAGS -fPIC"
8377 LDEXECFLAGS="-Wl,-pie"
8378 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8380 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8381 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8382 $as_echo_n "(cached) " >&6
8383 else
8384 ac_wine_try_cflags_saved=$CFLAGS
8385 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8388 int main(int argc, char **argv) { return 0; }
8389 _ACEOF
8390 if ac_fn_c_try_link "$LINENO"; then :
8391 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8392 else
8393 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8395 rm -f core conftest.err conftest.$ac_objext \
8396 conftest$ac_exeext conftest.$ac_ext
8397 CFLAGS=$ac_wine_try_cflags_saved
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8400 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8401 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8402 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8404 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8406 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8407 if eval \${$as_ac_var+:} false; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 ac_wine_try_cflags_saved=$CFLAGS
8411 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8414 int main(int argc, char **argv) { return 0; }
8415 _ACEOF
8416 if ac_fn_c_try_link "$LINENO"; then :
8417 eval "$as_ac_var=yes"
8418 else
8419 eval "$as_ac_var=no"
8421 rm -f core conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 CFLAGS=$ac_wine_try_cflags_saved
8425 eval ac_res=\$$as_ac_var
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8427 $as_echo "$ac_res" >&6; }
8428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8429 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8430 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8431 else
8432 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8434 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8435 if eval \${$as_ac_var+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 int main(int argc, char **argv) { return 0; }
8443 _ACEOF
8444 if ac_fn_c_try_link "$LINENO"; then :
8445 eval "$as_ac_var=yes"
8446 else
8447 eval "$as_ac_var=no"
8449 rm -f core conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8451 CFLAGS=$ac_wine_try_cflags_saved
8453 eval ac_res=\$$as_ac_var
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8455 $as_echo "$ac_res" >&6; }
8456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8457 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8458 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8462 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8463 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_wine_try_cflags_saved=$CFLAGS
8467 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473 ac_cv_cflags__Wl___enable_new_dtags=yes
8474 else
8475 ac_cv_cflags__Wl___enable_new_dtags=no
8477 rm -f core conftest.err conftest.$ac_objext \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8482 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8483 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8484 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8487 LIBWINE_SHAREDLIB="libwine.so"
8489 LIBWINE_INSTALL_LIB="libwine.so"
8491 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8495 $as_echo_n "checking for -lEGL... " >&6; }
8496 if ${ac_cv_lib_soname_EGL+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_check_soname_save_LIBS=$LIBS
8500 LIBS="-lEGL $LIBS"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8504 /* Override any GCC internal prototype to avoid an error.
8505 Use char because int might match the return type of a GCC
8506 builtin and then its argument prototype would still apply. */
8507 #ifdef __cplusplus
8508 extern "C"
8509 #endif
8510 char eglGetProcAddress ();
8512 main ()
8514 return eglGetProcAddress ();
8516 return 0;
8518 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 case "$LIBEXT" in
8521 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8522 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'` ;;
8523 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8524 if ${ac_cv_lib_soname_EGL:+false} :; then :
8525 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8526 fi ;;
8527 esac
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 LIBS=$ac_check_soname_save_LIBS
8533 if ${ac_cv_lib_soname_EGL:+false} :; then :
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8535 $as_echo "not found" >&6; }
8537 else
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8539 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8541 cat >>confdefs.h <<_ACEOF
8542 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8543 _ACEOF
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8548 $as_echo_n "checking for -lGLESv2... " >&6; }
8549 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_check_soname_save_LIBS=$LIBS
8553 LIBS="-lGLESv2 $LIBS"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8560 #ifdef __cplusplus
8561 extern "C"
8562 #endif
8563 char glFlush ();
8565 main ()
8567 return glFlush ();
8569 return 0;
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 case "$LIBEXT" in
8574 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8575 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'` ;;
8576 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8577 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8578 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8579 fi ;;
8580 esac
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 LIBS=$ac_check_soname_save_LIBS
8586 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8588 $as_echo "not found" >&6; }
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8592 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8594 cat >>confdefs.h <<_ACEOF
8595 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8596 _ACEOF
8601 if test "x$exec_prefix" = xNONE
8602 then
8603 case $host_cpu in
8604 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8605 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8606 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8607 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8608 esac
8613 DLLFLAGS="$DLLFLAGS -fPIC"
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8615 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8616 if ${ac_cv_c_dll_gnuelf+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 void myfunc() {}
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 ac_cv_c_dll_gnuelf="yes"
8627 else
8628 ac_cv_c_dll_gnuelf="no"
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 CFLAGS=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8635 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8636 if test "$ac_cv_c_dll_gnuelf" = "yes"
8637 then
8638 LIBWINE_LDFLAGS="-shared"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8640 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8641 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8652 else
8653 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8660 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8661 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8662 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8663 else
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8665 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8666 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8677 else
8678 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8685 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8686 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8687 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8691 echo '{ global: *; };' >conftest.map
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8693 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8694 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8695 $as_echo_n "(cached) " >&6
8696 else
8697 ac_wine_try_cflags_saved=$CFLAGS
8698 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8700 /* end confdefs.h. */
8701 int main(int argc, char **argv) { return 0; }
8702 _ACEOF
8703 if ac_fn_c_try_link "$LINENO"; then :
8704 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8705 else
8706 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8708 rm -f core conftest.err conftest.$ac_objext \
8709 conftest$ac_exeext conftest.$ac_ext
8710 CFLAGS=$ac_wine_try_cflags_saved
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8713 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8714 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8715 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8717 rm -f conftest.map
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8720 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8721 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8732 else
8733 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8740 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8741 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8742 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8745 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8747 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8748 if eval \${$as_ac_var+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 eval "$as_ac_var=yes"
8759 else
8760 eval "$as_ac_var=no"
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 eval ac_res=\$$as_ac_var
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8768 $as_echo "$ac_res" >&6; }
8769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8770 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8771 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8772 else
8773 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8775 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8776 if eval \${$as_ac_var+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 eval "$as_ac_var=yes"
8787 else
8788 eval "$as_ac_var=no"
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 eval ac_res=\$$as_ac_var
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8796 $as_echo "$ac_res" >&6; }
8797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8798 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8799 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8804 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8805 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__Wl___enable_new_dtags=yes
8816 else
8817 ac_cv_cflags__Wl___enable_new_dtags=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8824 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8825 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8826 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8829 case $host_cpu in
8830 *i[3456789]86* | x86_64)
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8832 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8833 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 ac_wine_try_cflags_saved=$CFLAGS
8837 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8840 int main(int argc, char **argv) { return 0; }
8841 _ACEOF
8842 if ac_fn_c_try_link "$LINENO"; then :
8843 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8844 else
8845 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8852 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8853 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8854 case $host_os in
8855 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8856 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8857 esac
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8860 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8861 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8872 else
8873 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8880 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8881 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8882 case $host_os in
8883 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8884 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8885 esac
8887 # Extract the first word of "prelink", so it can be a program name with args.
8888 set dummy prelink; ac_word=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8890 $as_echo_n "checking for $ac_word... " >&6; }
8891 if ${ac_cv_path_PRELINK+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 case $PRELINK in
8895 [\\/]* | ?:[\\/]*)
8896 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in /sbin /usr/sbin $PATH
8902 IFS=$as_save_IFS
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 break 2
8910 done
8911 done
8912 IFS=$as_save_IFS
8914 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8916 esac
8918 PRELINK=$ac_cv_path_PRELINK
8919 if test -n "$PRELINK"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8921 $as_echo "$PRELINK" >&6; }
8922 else
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8928 if test "x$PRELINK" = xfalse
8929 then
8930 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8934 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8935 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 ac_wine_try_cflags_saved=$CFLAGS
8939 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8942 int main(int argc, char **argv) { return 0; }
8943 _ACEOF
8944 if ac_fn_c_try_link "$LINENO"; then :
8945 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8946 else
8947 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 CFLAGS=$ac_wine_try_cflags_saved
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8954 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8955 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8956 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8959 esac
8961 else
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8963 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8964 if ${ac_cv_c_dll_unixware+:} false; then :
8965 $as_echo_n "(cached) " >&6
8966 else
8967 ac_wine_try_cflags_saved=$CFLAGS
8968 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 void myfunc() {}
8972 _ACEOF
8973 if ac_fn_c_try_link "$LINENO"; then :
8974 ac_cv_c_dll_unixware="yes"
8975 else
8976 ac_cv_c_dll_unixware="no"
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 CFLAGS=$ac_wine_try_cflags_saved
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8983 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8984 if test "$ac_cv_c_dll_unixware" = "yes"
8985 then
8986 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8989 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8991 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8993 LIBWINE_INSTALL_DEV="libwine.so"
8995 LIBWINE_DEPENDS="wine.map"
8998 esac
9000 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9001 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9002 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9003 enable_winemac_drv=${enable_winemac_drv:-no}
9004 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9006 CROSSTARGET=""
9008 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9009 then
9010 case "$host_cpu" in
9011 arm*)
9012 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9013 i[3456789]86*)
9014 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
9015 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9016 mingw32-gcc" ;;
9017 x86_64)
9018 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
9019 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9021 ac_prefix_list="" ;;
9022 esac
9023 for ac_prog in $ac_prefix_list
9025 # Extract the first word of "$ac_prog", so it can be a program name with args.
9026 set dummy $ac_prog; ac_word=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 $as_echo_n "checking for $ac_word... " >&6; }
9029 if ${ac_cv_prog_CROSSCC+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 if test -n "$CROSSCC"; then
9033 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9034 else
9035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9036 for as_dir in $PATH
9038 IFS=$as_save_IFS
9039 test -z "$as_dir" && as_dir=.
9040 for ac_exec_ext in '' $ac_executable_extensions; do
9041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9042 ac_cv_prog_CROSSCC="$ac_prog"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9044 break 2
9046 done
9047 done
9048 IFS=$as_save_IFS
9052 CROSSCC=$ac_cv_prog_CROSSCC
9053 if test -n "$CROSSCC"; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9055 $as_echo "$CROSSCC" >&6; }
9056 else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058 $as_echo "no" >&6; }
9062 test -n "$CROSSCC" && break
9063 done
9064 test -n "$CROSSCC" || CROSSCC="false"
9066 if test "$CROSSCC" != "false"
9067 then
9068 ac_save_CC="$CC"
9069 CC="$CROSSCC"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9071 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9076 main ()
9080 return 0;
9082 _ACEOF
9083 if ac_fn_c_try_compile "$LINENO"; then :
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9085 $as_echo "yes" >&6; }
9086 set x $CROSSCC
9087 shift
9088 while test $# -ge 1
9090 case "$1" in
9091 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9092 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9093 esac
9094 shift
9095 done
9096 else
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9101 CC="$ac_save_CC"
9106 if test "$ac_cv_header_pthread_h" = "yes"
9107 then
9108 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9109 if test "x$ac_cv_func_pthread_create" = xyes; then :
9111 else
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9113 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9114 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 ac_check_lib_save_LIBS=$LIBS
9118 LIBS="-lpthread $LIBS"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char pthread_create ();
9130 main ()
9132 return pthread_create ();
9134 return 0;
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_lib_pthread_pthread_create=yes
9139 else
9140 ac_cv_lib_pthread_pthread_create=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 LIBS=$ac_check_lib_save_LIBS
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9147 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9148 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9149 PTHREAD_LIBS="-lpthread"
9156 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9157 case "x$with_pthread" in
9158 xno) ;;
9159 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9160 Wine cannot support threads without libpthread.
9161 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9162 esac
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9168 $as_echo_n "checking for X... " >&6; }
9171 # Check whether --with-x was given.
9172 if test "${with_x+set}" = set; then :
9173 withval=$with_x;
9176 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9177 if test "x$with_x" = xno; then
9178 # The user explicitly disabled X.
9179 have_x=disabled
9180 else
9181 case $x_includes,$x_libraries in #(
9182 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9183 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 # One or both of the vars are not set, and there is no cached value.
9187 ac_x_includes=no ac_x_libraries=no
9188 rm -f -r conftest.dir
9189 if mkdir conftest.dir; then
9190 cd conftest.dir
9191 cat >Imakefile <<'_ACEOF'
9192 incroot:
9193 @echo incroot='${INCROOT}'
9194 usrlibdir:
9195 @echo usrlibdir='${USRLIBDIR}'
9196 libdir:
9197 @echo libdir='${LIBDIR}'
9198 _ACEOF
9199 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9200 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9201 for ac_var in incroot usrlibdir libdir; do
9202 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9203 done
9204 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9205 for ac_extension in a so sl dylib la dll; do
9206 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9207 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9208 ac_im_usrlibdir=$ac_im_libdir; break
9210 done
9211 # Screen out bogus values from the imake configuration. They are
9212 # bogus both because they are the default anyway, and because
9213 # using them would break gcc on systems where it needs fixed includes.
9214 case $ac_im_incroot in
9215 /usr/include) ac_x_includes= ;;
9216 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9217 esac
9218 case $ac_im_usrlibdir in
9219 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9220 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9221 esac
9223 cd ..
9224 rm -f -r conftest.dir
9227 # Standard set of common directories for X headers.
9228 # Check X11 before X11Rn because it is often a symlink to the current release.
9229 ac_x_header_dirs='
9230 /usr/X11/include
9231 /usr/X11R7/include
9232 /usr/X11R6/include
9233 /usr/X11R5/include
9234 /usr/X11R4/include
9236 /usr/include/X11
9237 /usr/include/X11R7
9238 /usr/include/X11R6
9239 /usr/include/X11R5
9240 /usr/include/X11R4
9242 /usr/local/X11/include
9243 /usr/local/X11R7/include
9244 /usr/local/X11R6/include
9245 /usr/local/X11R5/include
9246 /usr/local/X11R4/include
9248 /usr/local/include/X11
9249 /usr/local/include/X11R7
9250 /usr/local/include/X11R6
9251 /usr/local/include/X11R5
9252 /usr/local/include/X11R4
9254 /usr/X386/include
9255 /usr/x386/include
9256 /usr/XFree86/include/X11
9258 /usr/include
9259 /usr/local/include
9260 /usr/unsupported/include
9261 /usr/athena/include
9262 /usr/local/x11r5/include
9263 /usr/lpp/Xamples/include
9265 /usr/openwin/include
9266 /usr/openwin/share/include'
9268 if test "$ac_x_includes" = no; then
9269 # Guess where to find include files, by looking for Xlib.h.
9270 # First, try using that file with no special directory specified.
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9273 #include <X11/Xlib.h>
9274 _ACEOF
9275 if ac_fn_c_try_cpp "$LINENO"; then :
9276 # We can compile using X headers with no special include directory.
9277 ac_x_includes=
9278 else
9279 for ac_dir in $ac_x_header_dirs; do
9280 if test -r "$ac_dir/X11/Xlib.h"; then
9281 ac_x_includes=$ac_dir
9282 break
9284 done
9286 rm -f conftest.err conftest.i conftest.$ac_ext
9287 fi # $ac_x_includes = no
9289 if test "$ac_x_libraries" = no; then
9290 # Check for the libraries.
9291 # See if we find them without any special options.
9292 # Don't add to $LIBS permanently.
9293 ac_save_LIBS=$LIBS
9294 LIBS="-lX11 $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9297 #include <X11/Xlib.h>
9299 main ()
9301 XrmInitialize ()
9303 return 0;
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 LIBS=$ac_save_LIBS
9308 # We can link X programs with no special library path.
9309 ac_x_libraries=
9310 else
9311 LIBS=$ac_save_LIBS
9312 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9314 # Don't even attempt the hair of trying to link an X program!
9315 for ac_extension in a so sl dylib la dll; do
9316 if test -r "$ac_dir/libX11.$ac_extension"; then
9317 ac_x_libraries=$ac_dir
9318 break 2
9320 done
9321 done
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 fi # $ac_x_libraries = no
9327 case $ac_x_includes,$ac_x_libraries in #(
9328 no,* | *,no | *\'*)
9329 # Didn't find X, or a directory has "'" in its name.
9330 ac_cv_have_x="have_x=no";; #(
9332 # Record where we found X for the cache.
9333 ac_cv_have_x="have_x=yes\
9334 ac_x_includes='$ac_x_includes'\
9335 ac_x_libraries='$ac_x_libraries'"
9336 esac
9338 ;; #(
9339 *) have_x=yes;;
9340 esac
9341 eval "$ac_cv_have_x"
9342 fi # $with_x != no
9344 if test "$have_x" != yes; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9346 $as_echo "$have_x" >&6; }
9347 no_x=yes
9348 else
9349 # If each of the values was on the command line, it overrides each guess.
9350 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9351 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9352 # Update the cache value to reflect the command line values.
9353 ac_cv_have_x="have_x=yes\
9354 ac_x_includes='$x_includes'\
9355 ac_x_libraries='$x_libraries'"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9357 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9360 if test "$no_x" = yes; then
9361 # Not all programs may use this symbol, but it does not hurt to define it.
9363 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9365 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9366 else
9367 if test -n "$x_includes"; then
9368 X_CFLAGS="$X_CFLAGS -I$x_includes"
9371 # It would also be nice to do this for all -L options, not just this one.
9372 if test -n "$x_libraries"; then
9373 X_LIBS="$X_LIBS -L$x_libraries"
9374 # For Solaris; some versions of Sun CC require a space after -R and
9375 # others require no space. Words are not sufficient . . . .
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9377 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9378 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9379 ac_xsave_c_werror_flag=$ac_c_werror_flag
9380 ac_c_werror_flag=yes
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9385 main ()
9389 return 0;
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9394 $as_echo "no" >&6; }
9395 X_LIBS="$X_LIBS -R$x_libraries"
9396 else
9397 LIBS="$ac_xsave_LIBS -R $x_libraries"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9402 main ()
9406 return 0;
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9411 $as_echo "yes" >&6; }
9412 X_LIBS="$X_LIBS -R $x_libraries"
9413 else
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9415 $as_echo "neither works" >&6; }
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 ac_c_werror_flag=$ac_xsave_c_werror_flag
9423 LIBS=$ac_xsave_LIBS
9426 # Check for system-dependent libraries X programs must link with.
9427 # Do this before checking for the system-independent R6 libraries
9428 # (-lICE), since we may need -lsocket or whatever for X linking.
9430 if test "$ISC" = yes; then
9431 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9432 else
9433 # Martyn Johnson says this is needed for Ultrix, if the X
9434 # libraries were built with DECnet support. And Karl Berry says
9435 # the Alpha needs dnet_stub (dnet does not exist).
9436 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9443 #ifdef __cplusplus
9444 extern "C"
9445 #endif
9446 char XOpenDisplay ();
9448 main ()
9450 return XOpenDisplay ();
9452 return 0;
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9457 else
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9459 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9460 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_check_lib_save_LIBS=$LIBS
9464 LIBS="-ldnet $LIBS"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 char dnet_ntoa ();
9476 main ()
9478 return dnet_ntoa ();
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_lib_dnet_dnet_ntoa=yes
9485 else
9486 ac_cv_lib_dnet_dnet_ntoa=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9493 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9494 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9495 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9498 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9500 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9501 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 ac_check_lib_save_LIBS=$LIBS
9505 LIBS="-ldnet_stub $LIBS"
9506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9512 #ifdef __cplusplus
9513 extern "C"
9514 #endif
9515 char dnet_ntoa ();
9517 main ()
9519 return dnet_ntoa ();
9521 return 0;
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9526 else
9527 ac_cv_lib_dnet_stub_dnet_ntoa=no
9529 rm -f core conftest.err conftest.$ac_objext \
9530 conftest$ac_exeext conftest.$ac_ext
9531 LIBS=$ac_check_lib_save_LIBS
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9534 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9535 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9536 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS="$ac_xsave_LIBS"
9545 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9546 # to get the SysV transport functions.
9547 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9548 # needs -lnsl.
9549 # The nsl library prevents programs from opening the X display
9550 # on Irix 5.2, according to T.E. Dickey.
9551 # The functions gethostbyname, getservbyname, and inet_addr are
9552 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9553 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9554 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9558 if test $ac_cv_func_gethostbyname = no; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9560 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9561 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lnsl $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char gethostbyname ();
9577 main ()
9579 return gethostbyname ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_lib_nsl_gethostbyname=yes
9586 else
9587 ac_cv_lib_nsl_gethostbyname=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9594 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9595 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9599 if test $ac_cv_lib_nsl_gethostbyname = no; then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9601 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9602 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9603 $as_echo_n "(cached) " >&6
9604 else
9605 ac_check_lib_save_LIBS=$LIBS
9606 LIBS="-lbsd $LIBS"
9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608 /* end confdefs.h. */
9610 /* Override any GCC internal prototype to avoid an error.
9611 Use char because int might match the return type of a GCC
9612 builtin and then its argument prototype would still apply. */
9613 #ifdef __cplusplus
9614 extern "C"
9615 #endif
9616 char gethostbyname ();
9618 main ()
9620 return gethostbyname ();
9622 return 0;
9624 _ACEOF
9625 if ac_fn_c_try_link "$LINENO"; then :
9626 ac_cv_lib_bsd_gethostbyname=yes
9627 else
9628 ac_cv_lib_bsd_gethostbyname=no
9630 rm -f core conftest.err conftest.$ac_objext \
9631 conftest$ac_exeext conftest.$ac_ext
9632 LIBS=$ac_check_lib_save_LIBS
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9635 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9636 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9637 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9643 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9644 # socket/setsockopt and other routines are undefined under SCO ODT
9645 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9646 # on later versions), says Simon Leinen: it contains gethostby*
9647 # variants that don't use the name server (or something). -lsocket
9648 # must be given before -lnsl if both are needed. We assume that
9649 # if connect needs -lnsl, so does gethostbyname.
9650 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9651 if test "x$ac_cv_func_connect" = xyes; then :
9655 if test $ac_cv_func_connect = no; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9657 $as_echo_n "checking for connect in -lsocket... " >&6; }
9658 if ${ac_cv_lib_socket_connect+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_lib_save_LIBS=$LIBS
9662 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char connect ();
9674 main ()
9676 return connect ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 ac_cv_lib_socket_connect=yes
9683 else
9684 ac_cv_lib_socket_connect=no
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9691 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9692 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9693 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9698 # Guillermo Gomez says -lposix is necessary on A/UX.
9699 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9700 if test "x$ac_cv_func_remove" = xyes; then :
9704 if test $ac_cv_func_remove = no; then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9706 $as_echo_n "checking for remove in -lposix... " >&6; }
9707 if ${ac_cv_lib_posix_remove+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_check_lib_save_LIBS=$LIBS
9711 LIBS="-lposix $LIBS"
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9718 #ifdef __cplusplus
9719 extern "C"
9720 #endif
9721 char remove ();
9723 main ()
9725 return remove ();
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_link "$LINENO"; then :
9731 ac_cv_lib_posix_remove=yes
9732 else
9733 ac_cv_lib_posix_remove=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9740 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9741 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9742 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9747 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9748 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9749 if test "x$ac_cv_func_shmat" = xyes; then :
9753 if test $ac_cv_func_shmat = no; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9755 $as_echo_n "checking for shmat in -lipc... " >&6; }
9756 if ${ac_cv_lib_ipc_shmat+:} false; then :
9757 $as_echo_n "(cached) " >&6
9758 else
9759 ac_check_lib_save_LIBS=$LIBS
9760 LIBS="-lipc $LIBS"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9767 #ifdef __cplusplus
9768 extern "C"
9769 #endif
9770 char shmat ();
9772 main ()
9774 return shmat ();
9776 return 0;
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780 ac_cv_lib_ipc_shmat=yes
9781 else
9782 ac_cv_lib_ipc_shmat=no
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 LIBS=$ac_check_lib_save_LIBS
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9789 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9790 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9791 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9797 # Check for libraries that X11R6 Xt/Xaw programs need.
9798 ac_save_LDFLAGS=$LDFLAGS
9799 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9800 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9801 # check for ICE first), but we must link in the order -lSM -lICE or
9802 # we get undefined symbols. So assume we have SM if we have ICE.
9803 # These have to be linked with before -lX11, unlike the other
9804 # libraries we check for below, so use a different variable.
9805 # John Interrante, Karl Berry
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9807 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9808 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_check_lib_save_LIBS=$LIBS
9812 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9819 #ifdef __cplusplus
9820 extern "C"
9821 #endif
9822 char IceConnectionNumber ();
9824 main ()
9826 return IceConnectionNumber ();
9828 return 0;
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 ac_cv_lib_ICE_IceConnectionNumber=yes
9833 else
9834 ac_cv_lib_ICE_IceConnectionNumber=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 LIBS=$ac_check_lib_save_LIBS
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9841 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9842 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9843 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9846 LDFLAGS=$ac_save_LDFLAGS
9851 if test "$have_x" = "yes"
9852 then
9853 ac_save_CPPFLAGS="$CPPFLAGS"
9854 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9857 $as_echo_n "checking for -lX11... " >&6; }
9858 if ${ac_cv_lib_soname_X11+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_check_soname_save_LIBS=$LIBS
9862 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9869 #ifdef __cplusplus
9870 extern "C"
9871 #endif
9872 char XCreateWindow ();
9874 main ()
9876 return XCreateWindow ();
9878 return 0;
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 case "$LIBEXT" in
9883 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9884 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'` ;;
9885 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9886 if ${ac_cv_lib_soname_X11:+false} :; then :
9887 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9888 fi ;;
9889 esac
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 LIBS=$ac_check_soname_save_LIBS
9895 if ${ac_cv_lib_soname_X11:+false} :; then :
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9897 $as_echo "not found" >&6; }
9899 else
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9901 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9903 cat >>confdefs.h <<_ACEOF
9904 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9905 _ACEOF
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9910 $as_echo_n "checking for -lXext... " >&6; }
9911 if ${ac_cv_lib_soname_Xext+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_soname_save_LIBS=$LIBS
9915 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char XextCreateExtension ();
9927 main ()
9929 return XextCreateExtension ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 case "$LIBEXT" in
9936 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xext:+false} :; then :
9940 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 fi ;;
9942 esac
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xext:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9952 else
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9954 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9956 cat >>confdefs.h <<_ACEOF
9957 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9958 _ACEOF
9960 X_LIBS="$X_LIBS -lXext"
9962 X_LIBS="$X_LIBS -lX11"
9964 for ac_header in X11/Xlib.h \
9965 X11/XKBlib.h \
9966 X11/Xutil.h \
9967 X11/Xcursor/Xcursor.h \
9968 X11/extensions/shape.h \
9969 X11/extensions/XInput.h \
9970 X11/extensions/XInput2.h \
9971 X11/extensions/XShm.h \
9972 X11/extensions/Xcomposite.h \
9973 X11/extensions/Xfixes.h \
9974 X11/extensions/Xinerama.h \
9975 X11/extensions/Xrandr.h \
9976 X11/extensions/Xrender.h \
9977 X11/extensions/xf86vmode.h \
9978 X11/extensions/xf86vmproto.h
9979 do :
9980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9982 # include <X11/Xlib.h>
9983 #endif
9984 #ifdef HAVE_X11_XUTIL_H
9985 # include <X11/Xutil.h>
9986 #endif
9988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9989 cat >>confdefs.h <<_ACEOF
9990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9991 _ACEOF
9995 done
9998 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9999 then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10001 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10002 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_check_lib_save_LIBS=$LIBS
10006 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 #ifdef __cplusplus
10014 extern "C"
10015 #endif
10016 char XkbQueryExtension ();
10018 main ()
10020 return XkbQueryExtension ();
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_lib_X11_XkbQueryExtension=yes
10027 else
10028 ac_cv_lib_X11_XkbQueryExtension=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_lib_save_LIBS
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10035 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10036 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10038 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10044 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10045 then
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10047 $as_echo_n "checking for -lXcursor... " >&6; }
10048 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_check_soname_save_LIBS=$LIBS
10052 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10059 #ifdef __cplusplus
10060 extern "C"
10061 #endif
10062 char XcursorImageLoadCursor ();
10064 main ()
10066 return XcursorImageLoadCursor ();
10068 return 0;
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 case "$LIBEXT" in
10073 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10074 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'` ;;
10075 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10076 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10077 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10078 fi ;;
10079 esac
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_soname_save_LIBS
10085 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10087 $as_echo "not found" >&6; }
10089 else
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10091 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10093 cat >>confdefs.h <<_ACEOF
10094 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10095 _ACEOF
10100 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10101 case "x$with_xcursor" in
10102 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10103 xno) ;;
10104 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10105 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10106 esac
10110 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10111 then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10113 $as_echo_n "checking for -lXi... " >&6; }
10114 if ${ac_cv_lib_soname_Xi+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_check_soname_save_LIBS=$LIBS
10118 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10122 /* Override any GCC internal prototype to avoid an error.
10123 Use char because int might match the return type of a GCC
10124 builtin and then its argument prototype would still apply. */
10125 #ifdef __cplusplus
10126 extern "C"
10127 #endif
10128 char XOpenDevice ();
10130 main ()
10132 return XOpenDevice ();
10134 return 0;
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"; then :
10138 case "$LIBEXT" in
10139 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10140 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'` ;;
10141 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10142 if ${ac_cv_lib_soname_Xi:+false} :; then :
10143 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10144 fi ;;
10145 esac
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_soname_save_LIBS
10151 if ${ac_cv_lib_soname_Xi:+false} :; then :
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10153 $as_echo "not found" >&6; }
10155 else
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10157 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10159 cat >>confdefs.h <<_ACEOF
10160 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10161 _ACEOF
10166 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10167 case "x$with_xinput" in
10168 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10169 xno) ;;
10170 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10171 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10172 esac
10176 if test "x$ac_cv_lib_soname_Xi" != x
10177 then
10178 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10179 case "x$with_xinput2" in
10180 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10181 xno) ;;
10182 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10183 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10184 esac
10189 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10190 then
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10192 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10193 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_check_lib_save_LIBS=$LIBS
10197 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10204 #ifdef __cplusplus
10205 extern "C"
10206 #endif
10207 char XShmQueryExtension ();
10209 main ()
10211 return XShmQueryExtension ();
10213 return 0;
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_lib_Xext_XShmQueryExtension=yes
10218 else
10219 ac_cv_lib_Xext_XShmQueryExtension=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_lib_save_LIBS
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10226 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10227 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10229 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10234 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10235 case "x$with_xshm" in
10236 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10237 xno) ;;
10238 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10239 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10240 esac
10244 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10245 then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10247 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10248 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10256 /* Override any GCC internal prototype to avoid an error.
10257 Use char because int might match the return type of a GCC
10258 builtin and then its argument prototype would still apply. */
10259 #ifdef __cplusplus
10260 extern "C"
10261 #endif
10262 char XShapeQueryExtension ();
10264 main ()
10266 return XShapeQueryExtension ();
10268 return 0;
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"; then :
10272 ac_cv_lib_Xext_XShapeQueryExtension=yes
10273 else
10274 ac_cv_lib_Xext_XShapeQueryExtension=no
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10281 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10282 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10284 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10289 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10290 case "x$with_xshape" in
10291 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10292 xno) ;;
10293 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10294 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10295 esac
10299 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10300 then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10302 $as_echo_n "checking for -lXxf86vm... " >&6; }
10303 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_soname_save_LIBS=$LIBS
10307 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XF86VidModeQueryExtension ();
10319 main ()
10321 return XF86VidModeQueryExtension ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 case "$LIBEXT" in
10328 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10332 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 fi ;;
10334 esac
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10344 else
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10346 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10348 cat >>confdefs.h <<_ACEOF
10349 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10350 _ACEOF
10355 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10356 case "x$with_xxf86vm" in
10357 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10358 xno) ;;
10359 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10360 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10361 esac
10365 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10366 then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10368 $as_echo_n "checking for -lXrender... " >&6; }
10369 if ${ac_cv_lib_soname_Xrender+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char XRenderQueryExtension ();
10385 main ()
10387 return XRenderQueryExtension ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 case "$LIBEXT" in
10394 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10398 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 fi ;;
10400 esac
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10410 else
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10412 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10414 cat >>confdefs.h <<_ACEOF
10415 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10416 _ACEOF
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10419 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10420 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10421 $as_echo_n "(cached) " >&6
10422 else
10423 ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10431 #ifdef __cplusplus
10432 extern "C"
10433 #endif
10434 char XRenderSetPictureTransform ();
10436 main ()
10438 return XRenderSetPictureTransform ();
10440 return 0;
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10445 else
10446 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_lib_save_LIBS
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10453 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10454 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10456 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10461 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10462 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_check_lib_save_LIBS=$LIBS
10466 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10473 #ifdef __cplusplus
10474 extern "C"
10475 #endif
10476 char XRenderCreateLinearGradient ();
10478 main ()
10480 return XRenderCreateLinearGradient ();
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10487 else
10488 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_lib_save_LIBS
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10495 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10496 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10498 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10505 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10506 case "x$with_xrender" in
10507 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10508 xno) ;;
10509 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10510 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10511 esac
10515 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10516 then
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10519 #include <X11/Xlib.h>
10520 #include <X11/extensions/Xrandr.h>
10522 main ()
10524 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10526 return 0;
10528 _ACEOF
10529 if ac_fn_c_try_compile "$LINENO"; then :
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10531 $as_echo_n "checking for -lXrandr... " >&6; }
10532 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10533 $as_echo_n "(cached) " >&6
10534 else
10535 ac_check_soname_save_LIBS=$LIBS
10536 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10543 #ifdef __cplusplus
10544 extern "C"
10545 #endif
10546 char XRRQueryExtension ();
10548 main ()
10550 return XRRQueryExtension ();
10552 return 0;
10554 _ACEOF
10555 if ac_fn_c_try_link "$LINENO"; then :
10556 case "$LIBEXT" in
10557 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10558 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'` ;;
10559 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10560 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10561 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10562 fi ;;
10563 esac
10565 rm -f core conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 LIBS=$ac_check_soname_save_LIBS
10569 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10571 $as_echo "not found" >&6; }
10573 else
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10575 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10577 cat >>confdefs.h <<_ACEOF
10578 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10579 _ACEOF
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10583 #include <X11/Xlib.h>
10584 #include <X11/extensions/Xrandr.h>
10586 main ()
10588 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_compile "$LINENO"; then :
10595 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10603 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10604 case "x$with_xrandr" in
10605 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10606 xno) ;;
10607 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10608 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10609 esac
10613 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10614 then
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10617 #include <X11/Xlib.h>
10618 #include <X11/extensions/Xfixes.h>
10620 main ()
10622 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10624 return 0;
10626 _ACEOF
10627 if ac_fn_c_try_compile "$LINENO"; then :
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10629 $as_echo_n "checking for -lXfixes... " >&6; }
10630 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_check_soname_save_LIBS=$LIBS
10634 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10641 #ifdef __cplusplus
10642 extern "C"
10643 #endif
10644 char XFixesQueryVersion ();
10646 main ()
10648 return XFixesQueryVersion ();
10650 return 0;
10652 _ACEOF
10653 if ac_fn_c_try_link "$LINENO"; then :
10654 case "$LIBEXT" in
10655 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10656 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'` ;;
10657 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10658 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10659 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10660 fi ;;
10661 esac
10663 rm -f core conftest.err conftest.$ac_objext \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_soname_save_LIBS
10667 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10669 $as_echo "not found" >&6; }
10671 else
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10673 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10675 cat >>confdefs.h <<_ACEOF
10676 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10677 _ACEOF
10682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10684 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10685 case "x$with_xfixes" in
10686 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10687 xno) ;;
10688 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10689 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10690 esac
10694 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10695 then
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10698 #include <X11/Xlib.h>
10699 #include <X11/extensions/Xinerama.h>
10701 main ()
10703 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10705 return 0;
10707 _ACEOF
10708 if ac_fn_c_try_compile "$LINENO"; then :
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10710 $as_echo_n "checking for -lXinerama... " >&6; }
10711 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_check_soname_save_LIBS=$LIBS
10715 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10722 #ifdef __cplusplus
10723 extern "C"
10724 #endif
10725 char XineramaQueryScreens ();
10727 main ()
10729 return XineramaQueryScreens ();
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"; then :
10735 case "$LIBEXT" in
10736 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10737 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'` ;;
10738 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10739 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10740 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10741 fi ;;
10742 esac
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_soname_save_LIBS
10748 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10750 $as_echo "not found" >&6; }
10752 else
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10754 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10756 cat >>confdefs.h <<_ACEOF
10757 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10758 _ACEOF
10763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10765 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10766 case "x$with_xinerama" in
10767 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10770 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10771 esac
10775 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10776 then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10778 $as_echo_n "checking for -lXcomposite... " >&6; }
10779 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 ac_check_soname_save_LIBS=$LIBS
10783 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 /* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10790 #ifdef __cplusplus
10791 extern "C"
10792 #endif
10793 char XCompositeRedirectWindow ();
10795 main ()
10797 return XCompositeRedirectWindow ();
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 case "$LIBEXT" in
10804 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10805 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'` ;;
10806 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10807 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10808 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10809 fi ;;
10810 esac
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_soname_save_LIBS
10816 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10818 $as_echo "not found" >&6; }
10820 else
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10822 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10824 cat >>confdefs.h <<_ACEOF
10825 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10826 _ACEOF
10831 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10832 case "x$with_xcomposite" in
10833 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10834 xno) ;;
10835 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10836 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10837 esac
10841 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10842 #include <X11/Xlib.h>
10843 #endif
10845 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10847 cat >>confdefs.h <<_ACEOF
10848 #define HAVE_XICCALLBACK_CALLBACK 1
10849 _ACEOF
10853 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10854 #include <X11/Xlib.h>
10855 #endif
10857 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10859 cat >>confdefs.h <<_ACEOF
10860 #define HAVE_XEVENT_XCOOKIE 1
10861 _ACEOF
10868 opengl_msg=""
10869 if test "x$with_opengl" != "xno"
10870 then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10872 $as_echo_n "checking for -lGL... " >&6; }
10873 if ${ac_cv_lib_soname_GL+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_soname_save_LIBS=$LIBS
10877 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char glXCreateContext ();
10889 main ()
10891 return glXCreateContext ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 case "$LIBEXT" in
10898 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10899 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'` ;;
10900 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10901 if ${ac_cv_lib_soname_GL:+false} :; then :
10902 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10903 fi ;;
10904 esac
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_soname_save_LIBS
10910 if ${ac_cv_lib_soname_GL:+false} :; then :
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10912 $as_echo "not found" >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10914 $as_echo_n "checking for -lGL... " >&6; }
10915 if ${ac_cv_lib_soname_GL+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_soname_save_LIBS=$LIBS
10919 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"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char glXCreateContext ();
10931 main ()
10933 return glXCreateContext ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 case "$LIBEXT" in
10940 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10941 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'` ;;
10942 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10943 if ${ac_cv_lib_soname_GL:+false} :; then :
10944 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10945 fi ;;
10946 esac
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_soname_save_LIBS
10952 if ${ac_cv_lib_soname_GL:+false} :; then :
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10954 $as_echo "not found" >&6; }
10955 if test -f /usr/X11R6/lib/libGL.a
10956 then
10957 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10958 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10959 else
10960 opengl_msg="No OpenGL library found on this system."
10962 else
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10964 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10966 cat >>confdefs.h <<_ACEOF
10967 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10968 _ACEOF
10970 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"
10972 else
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10974 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10976 cat >>confdefs.h <<_ACEOF
10977 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10978 _ACEOF
10980 OPENGL_LIBS="-lGL"
10982 if test "x$with_glu" != "xno"
10983 then
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10985 $as_echo_n "checking for -lGLU... " >&6; }
10986 if ${ac_cv_lib_soname_GLU+:} false; then :
10987 $as_echo_n "(cached) " >&6
10988 else
10989 ac_check_soname_save_LIBS=$LIBS
10990 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char gluLookAt ();
11002 main ()
11004 return gluLookAt ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 case "$LIBEXT" in
11011 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11012 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'` ;;
11013 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11014 if ${ac_cv_lib_soname_GLU:+false} :; then :
11015 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11016 fi ;;
11017 esac
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_soname_save_LIBS
11023 if ${ac_cv_lib_soname_GLU:+false} :; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11025 $as_echo "not found" >&6; }
11027 else
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11029 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11031 cat >>confdefs.h <<_ACEOF
11032 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11033 _ACEOF
11037 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11038 case "x$with_glu" in
11039 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11040 xno) ;;
11041 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11042 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11043 esac
11048 if test "x$with_osmesa" != "xno"
11049 then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11051 $as_echo_n "checking for -lOSMesa... " >&6; }
11052 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11053 $as_echo_n "(cached) " >&6
11054 else
11055 ac_check_soname_save_LIBS=$LIBS
11056 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11063 #ifdef __cplusplus
11064 extern "C"
11065 #endif
11066 char OSMesaGetProcAddress ();
11068 main ()
11070 return OSMesaGetProcAddress ();
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 case "$LIBEXT" in
11077 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11078 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'` ;;
11079 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11080 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11081 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11082 fi ;;
11083 esac
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_soname_save_LIBS
11089 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11091 $as_echo "not found" >&6; }
11093 else
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11095 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11097 cat >>confdefs.h <<_ACEOF
11098 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11099 _ACEOF
11103 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11104 case "x$with_osmesa" in
11105 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11106 xno) ;;
11107 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11108 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11109 esac
11114 if test -n "$opengl_msg"; then :
11115 case "x$with_opengl" in
11116 x) as_fn_append wine_warnings "|$opengl_msg
11117 OpenGL and Direct3D won't be supported." ;;
11118 xno) ;;
11119 *) as_fn_error $? "$opengl_msg
11120 OpenGL and Direct3D won't be supported.
11121 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11122 esac
11126 CPPFLAGS="$ac_save_CPPFLAGS"
11127 else
11128 X_CFLAGS=""
11129 X_LIBS=""
11132 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11133 then
11134 if test "x$X_LIBS" = "x"; then :
11135 case "x$with_x" in
11136 xno) ;;
11137 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11138 without X support, which probably isn't what you want. You will need
11139 to install ${notice_platform}development packages of Xlib at the very least.
11140 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11141 esac
11142 enable_winex11_drv=${enable_winex11_drv:-no}
11144 else
11145 if test "x$X_LIBS" = "x"; then :
11146 case "x$with_x" in
11147 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11148 xno) ;;
11149 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11150 This is an error since --with-x was requested." "$LINENO" 5 ;;
11151 esac
11152 enable_winex11_drv=${enable_winex11_drv:-no}
11156 if test "$ac_cv_header_CL_cl_h" = "yes"
11157 then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11159 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11160 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-lOpenCL $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char clGetPlatformInfo ();
11176 main ()
11178 return clGetPlatformInfo ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11185 else
11186 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11193 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11194 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11195 OPENCL_LIBS="-lOpenCL"
11200 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11201 case "x$with_opencl" in
11202 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11203 xno) ;;
11204 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11205 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11206 esac
11207 enable_opencl=${enable_opencl:-no}
11210 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11211 then
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11213 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11214 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11215 $as_echo_n "(cached) " >&6
11216 else
11217 ac_check_lib_save_LIBS=$LIBS
11218 LIBS="-lpcap $LIBS"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11225 #ifdef __cplusplus
11226 extern "C"
11227 #endif
11228 char pcap_create ();
11230 main ()
11232 return pcap_create ();
11234 return 0;
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"; then :
11238 ac_cv_lib_pcap_pcap_create=yes
11239 else
11240 ac_cv_lib_pcap_pcap_create=no
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_lib_save_LIBS
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11247 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11248 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11249 PCAP_LIBS="-lpcap"
11254 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11255 case "x$with_pcap" in
11256 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11257 xno) ;;
11258 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11259 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11260 esac
11261 enable_wpcap=${enable_wpcap:-no}
11265 if test "x$with_xml" != "xno"
11266 then
11267 if ${XML2_CFLAGS:+false} :; then :
11268 if ${PKG_CONFIG+:} false; then :
11269 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11272 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11273 if ${XML2_LIBS:+false} :; then :
11274 if ${PKG_CONFIG+:} false; then :
11275 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11278 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11279 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11280 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11281 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11282 ac_save_CPPFLAGS=$CPPFLAGS
11283 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11284 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11285 do :
11286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11287 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11289 cat >>confdefs.h <<_ACEOF
11290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11291 _ACEOF
11295 done
11297 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"
11298 then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11300 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11301 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lxml2 $XML2_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char xmlParseMemory ();
11317 main ()
11319 return xmlParseMemory ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_xml2_xmlParseMemory=yes
11326 else
11327 ac_cv_lib_xml2_xmlParseMemory=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11334 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11335 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11337 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11339 else
11340 XML2_LIBS=""
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11344 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11345 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lxml2 $XML2_LIBS $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char xmlReadMemory ();
11361 main ()
11363 return xmlReadMemory ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_xml2_xmlReadMemory=yes
11370 else
11371 ac_cv_lib_xml2_xmlReadMemory=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11378 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11379 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11381 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11386 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11387 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lxml2 $XML2_LIBS $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char xmlNewDocPI ();
11403 main ()
11405 return xmlNewDocPI ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_xml2_xmlNewDocPI=yes
11412 else
11413 ac_cv_lib_xml2_xmlNewDocPI=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11420 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11421 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11423 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11428 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11429 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-lxml2 $XML2_LIBS $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char xmlSchemaSetParserStructuredErrors ();
11445 main ()
11447 return xmlSchemaSetParserStructuredErrors ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11454 else
11455 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11462 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11463 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11465 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11470 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11471 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lxml2 $XML2_LIBS $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char xmlSchemaSetValidStructuredErrors ();
11487 main ()
11489 return xmlSchemaSetValidStructuredErrors ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11496 else
11497 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11504 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11505 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11507 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11512 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11513 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-lxml2 $XML2_LIBS $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char xmlFirstElementChild ();
11529 main ()
11531 return xmlFirstElementChild ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_xml2_xmlFirstElementChild=yes
11538 else
11539 ac_cv_lib_xml2_xmlFirstElementChild=no
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11546 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11547 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11549 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11553 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11555 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11557 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11561 else
11562 XML2_CFLAGS=""
11563 XML2_LIBS=""
11565 CPPFLAGS=$ac_save_CPPFLAGS
11566 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11567 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11570 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11571 case "x$with_xml" in
11572 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11573 xno) ;;
11574 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11575 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11576 esac
11580 if test "x$with_xslt" != "xno"
11581 then
11582 if ${XSLT_CFLAGS:+false} :; then :
11583 if ${PKG_CONFIG+:} false; then :
11584 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11587 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11588 if ${XSLT_LIBS:+false} :; then :
11589 if ${PKG_CONFIG+:} false; then :
11590 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11593 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11594 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11595 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11596 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11597 ac_save_CPPFLAGS=$CPPFLAGS
11598 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11599 for ac_header in libxslt/pattern.h libxslt/transform.h
11600 do :
11601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11602 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11603 # include <libxslt/pattern.h>
11604 #endif
11606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11607 cat >>confdefs.h <<_ACEOF
11608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11609 _ACEOF
11613 done
11615 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11616 then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11618 $as_echo_n "checking for -lxslt... " >&6; }
11619 if ${ac_cv_lib_soname_xslt+:} false; then :
11620 $as_echo_n "(cached) " >&6
11621 else
11622 ac_check_soname_save_LIBS=$LIBS
11623 LIBS="-lxslt $XSLT_LIBS $LIBS"
11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11625 /* end confdefs.h. */
11627 /* Override any GCC internal prototype to avoid an error.
11628 Use char because int might match the return type of a GCC
11629 builtin and then its argument prototype would still apply. */
11630 #ifdef __cplusplus
11631 extern "C"
11632 #endif
11633 char xsltCompilePattern ();
11635 main ()
11637 return xsltCompilePattern ();
11639 return 0;
11641 _ACEOF
11642 if ac_fn_c_try_link "$LINENO"; then :
11643 case "$LIBEXT" in
11644 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11645 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'` ;;
11646 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11647 if ${ac_cv_lib_soname_xslt:+false} :; then :
11648 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11649 fi ;;
11650 esac
11652 rm -f core conftest.err conftest.$ac_objext \
11653 conftest$ac_exeext conftest.$ac_ext
11654 LIBS=$ac_check_soname_save_LIBS
11656 if ${ac_cv_lib_soname_xslt:+false} :; then :
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11658 $as_echo "not found" >&6; }
11660 else
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11662 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11664 cat >>confdefs.h <<_ACEOF
11665 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11666 _ACEOF
11670 else
11671 XSLT_CFLAGS=""
11673 CPPFLAGS=$ac_save_CPPFLAGS
11674 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11675 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11678 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11679 case "x$with_xslt" in
11680 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11681 xno) ;;
11682 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11683 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11684 esac
11688 if test "x$with_dbus" != "xno"
11689 then
11690 if ${DBUS_CFLAGS:+false} :; then :
11691 if ${PKG_CONFIG+:} false; then :
11692 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11696 if ${DBUS_LIBS:+false} :; then :
11697 if ${PKG_CONFIG+:} false; then :
11698 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11703 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11705 ac_save_CPPFLAGS=$CPPFLAGS
11706 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11707 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11708 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11710 $as_echo_n "checking for -ldbus-1... " >&6; }
11711 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_soname_save_LIBS=$LIBS
11715 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char dbus_connection_close ();
11727 main ()
11729 return dbus_connection_close ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 case "$LIBEXT" in
11736 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11737 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'` ;;
11738 *) 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'`
11739 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11740 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 fi ;;
11742 esac
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11751 DBUS_CFLAGS=""
11752 else
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11754 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11756 cat >>confdefs.h <<_ACEOF
11757 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11758 _ACEOF
11762 else
11763 DBUS_CFLAGS=""
11767 CPPFLAGS=$ac_save_CPPFLAGS
11768 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11769 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11772 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11773 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11774 case "x$with_dbus" in
11775 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11776 xno) ;;
11777 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11778 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11779 esac
11783 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11784 then
11785 if ${HAL_CFLAGS:+false} :; then :
11786 if ${PKG_CONFIG+:} false; then :
11787 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11791 if ${HAL_LIBS:+false} :; then :
11792 if ${PKG_CONFIG+:} false; then :
11793 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11797 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11798 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11799 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11800 ac_save_CPPFLAGS=$CPPFLAGS
11801 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11802 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11803 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11805 $as_echo_n "checking for -lhal... " >&6; }
11806 if ${ac_cv_lib_soname_hal+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-lhal $HAL_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char libhal_ctx_new ();
11822 main ()
11824 return libhal_ctx_new ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11834 if ${ac_cv_lib_soname_hal:+false} :; then :
11835 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_hal:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11846 HAL_CFLAGS=""
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11849 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11853 _ACEOF
11857 else
11858 HAL_CFLAGS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11863 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11864 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11866 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11867 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11868 case "x$with_hal" in
11869 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11870 xno) ;;
11871 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11872 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11873 esac
11878 if test "x$with_gnutls" != "xno"
11879 then
11880 if ${GNUTLS_CFLAGS:+false} :; then :
11881 if ${PKG_CONFIG+:} false; then :
11882 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11886 if ${GNUTLS_LIBS:+false} :; then :
11887 if ${PKG_CONFIG+:} false; then :
11888 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11893 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11894 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11895 ac_save_CPPFLAGS=$CPPFLAGS
11896 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11897 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11898 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #include <gnutls/gnutls.h>
11902 #include <gnutls/crypto.h>
11904 main ()
11906 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_compile "$LINENO"; then :
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11913 $as_echo_n "checking for -lgnutls... " >&6; }
11914 if ${ac_cv_lib_soname_gnutls+:} false; then :
11915 $as_echo_n "(cached) " >&6
11916 else
11917 ac_check_soname_save_LIBS=$LIBS
11918 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11925 #ifdef __cplusplus
11926 extern "C"
11927 #endif
11928 char gnutls_global_init ();
11930 main ()
11932 return gnutls_global_init ();
11934 return 0;
11936 _ACEOF
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 case "$LIBEXT" in
11939 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11940 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'` ;;
11941 *) 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'`
11942 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11943 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'`
11944 fi ;;
11945 esac
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_soname_save_LIBS
11951 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11953 $as_echo "not found" >&6; }
11954 GNUTLS_CFLAGS=""
11955 else
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11957 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11959 cat >>confdefs.h <<_ACEOF
11960 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11961 _ACEOF
11965 ac_wine_check_funcs_save_LIBS="$LIBS"
11966 LIBS="$LIBS $GNUTLS_LIBS"
11967 for ac_func in gnutls_hash
11968 do :
11969 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11970 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11971 cat >>confdefs.h <<_ACEOF
11972 #define HAVE_GNUTLS_HASH 1
11973 _ACEOF
11975 else
11976 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11978 done
11980 LIBS="$ac_wine_check_funcs_save_LIBS"
11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11983 else
11984 GNUTLS_CFLAGS=""
11988 CPPFLAGS=$ac_save_CPPFLAGS
11989 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11990 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11993 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11994 case "x$with_gnutls" in
11995 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11996 xno) ;;
11997 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11998 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11999 esac
12003 CURSES_LIBS=""
12004 if test "$ac_cv_header_ncurses_h" = "yes"
12005 then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12007 $as_echo_n "checking for -lncurses... " >&6; }
12008 if ${ac_cv_lib_soname_ncurses+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_soname_save_LIBS=$LIBS
12012 LIBS="-lncurses $LIBS"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 char waddch ();
12024 main ()
12026 return waddch ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 case "$LIBEXT" in
12033 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12034 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'` ;;
12035 *) 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'`
12036 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12037 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12038 fi ;;
12039 esac
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_soname_save_LIBS
12045 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12047 $as_echo "not found" >&6; }
12049 else
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12051 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12053 cat >>confdefs.h <<_ACEOF
12054 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12055 _ACEOF
12057 CURSES_LIBS="-lncurses"
12059 elif test "$ac_cv_header_curses_h" = "yes"
12060 then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12062 $as_echo_n "checking for -lcurses... " >&6; }
12063 if ${ac_cv_lib_soname_curses+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_soname_save_LIBS=$LIBS
12067 LIBS="-lcurses $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char waddch ();
12079 main ()
12081 return waddch ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 case "$LIBEXT" in
12088 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12089 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'` ;;
12090 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12091 if ${ac_cv_lib_soname_curses:+false} :; then :
12092 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12093 fi ;;
12094 esac
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_soname_save_LIBS
12100 if ${ac_cv_lib_soname_curses:+false} :; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12102 $as_echo "not found" >&6; }
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12106 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12108 cat >>confdefs.h <<_ACEOF
12109 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12110 _ACEOF
12112 CURSES_LIBS="-lcurses"
12115 ac_save_LIBS="$LIBS"
12116 LIBS="$LIBS $CURSES_LIBS"
12117 for ac_func in mousemask
12118 do :
12119 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12120 if test "x$ac_cv_func_mousemask" = xyes; then :
12121 cat >>confdefs.h <<_ACEOF
12122 #define HAVE_MOUSEMASK 1
12123 _ACEOF
12126 done
12128 LIBS="$ac_save_LIBS"
12129 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12130 case "x$with_curses" in
12131 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12132 xno) ;;
12133 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12134 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12135 esac
12139 if test "x$with_sane" != "xno"
12140 then
12141 if ${SANE_CFLAGS:+false} :; then :
12142 if ${PKG_CONFIG+:} false; then :
12143 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12146 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12147 if ${SANE_LIBS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12152 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12155 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12156 ac_save_CPPFLAGS=$CPPFLAGS
12157 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12158 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12159 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12161 $as_echo_n "checking for -lsane... " >&6; }
12162 if ${ac_cv_lib_soname_sane+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_soname_save_LIBS=$LIBS
12166 LIBS="-lsane $SANE_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char sane_init ();
12178 main ()
12180 return sane_init ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 case "$LIBEXT" in
12187 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12188 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'` ;;
12189 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12190 if ${ac_cv_lib_soname_sane:+false} :; then :
12191 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12192 fi ;;
12193 esac
12195 rm -f core conftest.err conftest.$ac_objext \
12196 conftest$ac_exeext conftest.$ac_ext
12197 LIBS=$ac_check_soname_save_LIBS
12199 if ${ac_cv_lib_soname_sane:+false} :; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12201 $as_echo "not found" >&6; }
12202 SANE_CFLAGS=""
12203 else
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12205 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12207 cat >>confdefs.h <<_ACEOF
12208 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12209 _ACEOF
12213 else
12214 SANE_CFLAGS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12219 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12224 case "x$with_sane" in
12225 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12228 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12229 esac
12233 if test "x$with_v4l" != "xno"
12234 then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12236 $as_echo_n "checking for -lv4l1... " >&6; }
12237 if ${ac_cv_lib_soname_v4l1+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_check_soname_save_LIBS=$LIBS
12241 LIBS="-lv4l1 $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 #ifdef __cplusplus
12249 extern "C"
12250 #endif
12251 char v4l1_open ();
12253 main ()
12255 return v4l1_open ();
12257 return 0;
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 case "$LIBEXT" in
12262 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12263 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'` ;;
12264 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12265 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12266 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12267 fi ;;
12268 esac
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12280 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12284 _ACEOF
12289 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12290 case "x$with_v4l" in
12291 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12292 xno) ;;
12293 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12294 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12295 esac
12299 if test "x$with_gphoto" != "xno"
12300 then
12301 if ${GPHOTO2_CFLAGS:+false} :; then :
12302 if ${PKG_CONFIG+:} false; then :
12303 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12306 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12307 if ${GPHOTO2_LIBS:+false} :; then :
12308 if ${PKG_CONFIG+:} false; then :
12309 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12312 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12313 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12314 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12315 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12316 ac_save_CPPFLAGS=$CPPFLAGS
12317 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12318 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12319 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12321 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12322 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char gp_camera_new ();
12338 main ()
12340 return gp_camera_new ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_gphoto2_gp_camera_new=yes
12347 else
12348 ac_cv_lib_gphoto2_gp_camera_new=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12355 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12356 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12358 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12360 else
12361 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12364 else
12365 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12369 CPPFLAGS=$ac_save_CPPFLAGS
12370 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12371 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12373 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12374 if ${PKG_CONFIG+:} false; then :
12375 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12378 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12379 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12380 if ${PKG_CONFIG+:} false; then :
12381 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12384 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12385 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12386 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12387 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12388 ac_save_CPPFLAGS=$CPPFLAGS
12389 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12390 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12391 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12393 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12394 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12395 $as_echo_n "(cached) " >&6
12396 else
12397 ac_check_lib_save_LIBS=$LIBS
12398 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12405 #ifdef __cplusplus
12406 extern "C"
12407 #endif
12408 char gp_port_info_list_new ();
12410 main ()
12412 return gp_port_info_list_new ();
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_link "$LINENO"; then :
12418 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12419 else
12420 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12422 rm -f core conftest.err conftest.$ac_objext \
12423 conftest$ac_exeext conftest.$ac_ext
12424 LIBS=$ac_check_lib_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12427 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12428 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12430 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12432 else
12433 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12436 else
12437 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12441 CPPFLAGS=$ac_save_CPPFLAGS
12442 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12447 case "x$with_gphoto" in
12448 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12449 xno) ;;
12450 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12451 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12452 esac
12455 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12456 case "x$with_gphoto" in
12457 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12458 xno) ;;
12459 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12460 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12461 esac
12466 if test "$ac_cv_header_resolv_h" = "yes"
12467 then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12469 $as_echo_n "checking for resolver library... " >&6; }
12470 if ${ac_cv_have_resolv+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_save_LIBS="$LIBS"
12474 for lib in '' -lresolv
12476 LIBS="$lib $ac_save_LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12479 #ifdef HAVE_NETINET_IN_H
12480 #include <netinet/in.h>
12481 #endif
12482 #include <resolv.h>
12484 main ()
12486 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 ac_cv_have_resolv=${lib:-"none required"}
12493 else
12494 ac_cv_have_resolv="not found"
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12498 test "x$ac_cv_have_resolv" = "xnot found" || break
12499 done
12500 LIBS="$ac_save_LIBS"
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12503 $as_echo "$ac_cv_have_resolv" >&6; }
12505 case "$ac_cv_have_resolv" in
12506 "not found") ;;
12507 "none required")
12509 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12512 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12514 RESOLV_LIBS=$ac_cv_have_resolv
12516 esac
12519 if test "x$with_cms" != "xno"
12520 then
12521 if ${LCMS2_CFLAGS:+false} :; then :
12522 if ${PKG_CONFIG+:} false; then :
12523 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12527 if ${LCMS2_LIBS:+false} :; then :
12528 if ${PKG_CONFIG+:} false; then :
12529 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12533 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12534 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12536 ac_save_CPPFLAGS=$CPPFLAGS
12537 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12538 for ac_header in lcms2.h
12539 do :
12540 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12541 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE_LCMS2_H 1
12544 _ACEOF
12548 done
12550 if test "$ac_cv_header_lcms2_h" = "yes"
12551 then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12553 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12554 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_check_lib_save_LIBS=$LIBS
12558 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12565 #ifdef __cplusplus
12566 extern "C"
12567 #endif
12568 char cmsOpenProfileFromFile ();
12570 main ()
12572 return cmsOpenProfileFromFile ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"; then :
12578 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12579 else
12580 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12582 rm -f core conftest.err conftest.$ac_objext \
12583 conftest$ac_exeext conftest.$ac_ext
12584 LIBS=$ac_check_lib_save_LIBS
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12587 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12588 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12590 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12592 else
12593 LCMS2_LIBS=""
12596 else
12597 LCMS2_CFLAGS=""
12598 LCMS2_LIBS=""
12600 CPPFLAGS=$ac_save_CPPFLAGS
12601 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12602 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12605 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12606 case "x$with_cms" in
12607 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12608 xno) ;;
12609 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12610 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12611 esac
12615 if test "x$with_freetype" != "xno"
12616 then
12617 if ${FREETYPE_CFLAGS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12622 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12623 if ${FREETYPE_LIBS:+false} :; then :
12624 if ${PKG_CONFIG+:} false; then :
12625 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12628 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12629 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12630 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12631 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12632 ac_save_CPPFLAGS=$CPPFLAGS
12633 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12634 for ac_header in ft2build.h
12635 do :
12636 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12637 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12638 cat >>confdefs.h <<_ACEOF
12639 #define HAVE_FT2BUILD_H 1
12640 _ACEOF
12644 done
12646 if test "$ac_cv_header_ft2build_h" = "yes"
12647 then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12649 $as_echo_n "checking for -lfreetype... " >&6; }
12650 if ${ac_cv_lib_soname_freetype+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 ac_check_soname_save_LIBS=$LIBS
12654 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char FT_Init_FreeType ();
12666 main ()
12668 return FT_Init_FreeType ();
12670 return 0;
12672 _ACEOF
12673 if ac_fn_c_try_link "$LINENO"; then :
12674 case "$LIBEXT" in
12675 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12676 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'` ;;
12677 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12678 if ${ac_cv_lib_soname_freetype:+false} :; then :
12679 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12680 fi ;;
12681 esac
12683 rm -f core conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_soname_save_LIBS
12687 if ${ac_cv_lib_soname_freetype:+false} :; then :
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12689 $as_echo "not found" >&6; }
12690 FREETYPE_LIBS=""
12691 else
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12693 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12695 cat >>confdefs.h <<_ACEOF
12696 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12697 _ACEOF
12700 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12702 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12703 #include FT_MODULE_H
12705 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12707 cat >>confdefs.h <<_ACEOF
12708 #define HAVE_FT_TRUETYPEENGINETYPE 1
12709 _ACEOF
12715 else
12716 FREETYPE_CFLAGS=""
12717 FREETYPE_LIBS=""
12719 CPPFLAGS=$ac_save_CPPFLAGS
12720 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12721 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12724 if test "x$ac_cv_lib_soname_freetype" = x; then :
12725 case "x$with_freetype" in
12726 xno) ;;
12727 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12728 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12729 esac
12730 enable_fonts=${enable_fonts:-no}
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12734 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12735 if ${ac_cv_c_ppdev+:} false; then :
12736 $as_echo_n "(cached) " >&6
12737 else
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12740 #ifdef HAVE_SYS_IOCTL_H
12741 # include <sys/ioctl.h>
12742 #endif
12743 #include <linux/ppdev.h>
12745 main ()
12747 ioctl (1,PPCLAIM,0)
12749 return 0;
12751 _ACEOF
12752 if ac_fn_c_try_compile "$LINENO"; then :
12753 ac_cv_c_ppdev="yes"
12754 else
12755 ac_cv_c_ppdev="no"
12757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12760 $as_echo "$ac_cv_c_ppdev" >&6; }
12761 if test "$ac_cv_c_ppdev" = "yes"
12762 then
12764 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12768 ac_wine_check_funcs_save_LIBS="$LIBS"
12769 LIBS="$LIBS $PTHREAD_LIBS"
12770 for ac_func in \
12771 pthread_attr_get_np \
12772 pthread_getattr_np \
12773 pthread_getthreadid_np \
12774 pthread_get_stackaddr_np \
12775 pthread_get_stacksize_np
12776 do :
12777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12780 cat >>confdefs.h <<_ACEOF
12781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12782 _ACEOF
12785 done
12787 LIBS="$ac_wine_check_funcs_save_LIBS"
12789 if test "$ac_cv_header_zlib_h" = "yes"
12790 then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12792 $as_echo_n "checking for inflate in -lz... " >&6; }
12793 if ${ac_cv_lib_z_inflate+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lz $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char inflate ();
12809 main ()
12811 return inflate ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_z_inflate=yes
12818 else
12819 ac_cv_lib_z_inflate=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12826 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12827 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12829 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12831 Z_LIBS="-lz"
12836 if test "x$Z_LIBS" = "x"; then :
12837 case "x$with_zlib" in
12838 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12841 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12842 esac
12846 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12847 then
12848 if test "$ac_cv_header_gettext_po_h" = "yes"
12849 then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12851 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12852 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lgettextpo $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char po_message_msgctxt ();
12868 main ()
12870 return po_message_msgctxt ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12877 else
12878 ac_cv_lib_gettextpo_po_message_msgctxt=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12885 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12886 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12888 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12890 GETTEXTPO_LIBS="-lgettextpo"
12895 if test "x$GETTEXTPO_LIBS" = "x"; then :
12896 case "x$with_gettextpo" in
12897 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12898 xno) ;;
12899 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12900 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12901 esac
12904 if test "$srcdir" != .; then :
12905 case "x$with_gettextpo" in
12906 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12907 xno) ;;
12908 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12909 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12910 esac
12915 if test "x$with_pulse" != "xno";
12916 then
12917 if ${PULSE_CFLAGS:+false} :; then :
12918 if ${PKG_CONFIG+:} false; then :
12919 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12923 if ${PULSE_LIBS:+false} :; then :
12924 if ${PKG_CONFIG+:} false; then :
12925 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12930 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12931 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12932 ac_save_CPPFLAGS=$CPPFLAGS
12933 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12934 for ac_header in pulse/pulseaudio.h
12935 do :
12936 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12937 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12938 cat >>confdefs.h <<_ACEOF
12939 #define HAVE_PULSE_PULSEAUDIO_H 1
12940 _ACEOF
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12942 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12943 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12944 $as_echo_n "(cached) " >&6
12945 else
12946 ac_check_lib_save_LIBS=$LIBS
12947 LIBS="-lpulse $PULSE_LIBS $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char pa_stream_is_corked ();
12959 main ()
12961 return pa_stream_is_corked ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"; then :
12967 ac_cv_lib_pulse_pa_stream_is_corked=yes
12968 else
12969 ac_cv_lib_pulse_pa_stream_is_corked=no
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_lib_save_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12976 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12977 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12979 else
12980 PULSE_LIBS=""
12983 else
12984 PULSE_LIBS=""
12987 done
12989 CPPFLAGS=$ac_save_CPPFLAGS
12990 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12991 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12994 if test -z "$PULSE_LIBS"; then :
12995 case "x$with_pulse" in
12996 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12997 xno) ;;
12998 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12999 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13000 esac
13001 enable_winepulse_drv=${enable_winepulse_drv:-no}
13004 if test "x$with_gstreamer" != "xno"
13005 then
13006 if ${GSTREAMER_CFLAGS:+false} :; then :
13007 if ${PKG_CONFIG+:} false; then :
13008 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13012 if ${GSTREAMER_LIBS:+false} :; then :
13013 if ${PKG_CONFIG+:} false; then :
13014 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13019 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13020 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13021 ac_save_CPPFLAGS=$CPPFLAGS
13022 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13023 ac_gst_incl=""
13024 for i in $GSTREAMER_CFLAGS
13026 case "$i" in
13027 -I*) ac_gst_incl="$ac_gst_incl $i";;
13028 esac
13029 done
13030 GSTREAMER_CFLAGS=$ac_gst_incl
13031 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13032 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13033 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13035 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13038 #include <gst/gst.h>
13040 main ()
13042 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_compile "$LINENO"; then :
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13049 $as_echo "yes" >&6; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13051 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13052 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_check_lib_save_LIBS=$LIBS
13056 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13063 #ifdef __cplusplus
13064 extern "C"
13065 #endif
13066 char gst_pad_new ();
13068 main ()
13070 return gst_pad_new ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"; then :
13076 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13077 else
13078 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_lib_save_LIBS
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13085 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13086 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13090 else
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13093 ac_glib2_broken=yes
13094 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13100 CPPFLAGS=$ac_save_CPPFLAGS
13101 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 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 :
13106 case "x$with_gstreamer" in
13107 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13108 xno) ;;
13109 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13110 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13111 esac
13114 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13116 ALSA_LIBS=""
13118 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13119 then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13121 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13122 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_lib_save_LIBS=$LIBS
13126 LIBS="-lasound $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char snd_pcm_hw_params_get_access_mask ();
13138 main ()
13140 return snd_pcm_hw_params_get_access_mask ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13147 else
13148 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13150 rm -f core conftest.err conftest.$ac_objext \
13151 conftest$ac_exeext conftest.$ac_ext
13152 LIBS=$ac_check_lib_save_LIBS
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13155 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13156 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159 #ifdef HAVE_ALSA_ASOUNDLIB_H
13160 #include <alsa/asoundlib.h>
13161 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13162 #include <sys/asoundlib.h>
13163 #endif
13165 main ()
13167 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_compile "$LINENO"; then :
13173 ALSA_LIBS="-lasound"
13175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13179 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13181 if test "x$with_oss" != xno
13182 then
13183 ac_save_CPPFLAGS="$CPPFLAGS"
13184 if test -f /etc/oss.conf
13185 then
13186 . /etc/oss.conf
13188 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13189 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13190 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13191 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13192 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13194 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13196 cat >>confdefs.h <<_ACEOF
13197 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13198 _ACEOF
13200 OSS4_CFLAGS="$ac_oss_incl"
13207 CPPFLAGS="$ac_save_CPPFLAGS"
13209 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13210 case "x$with_oss" in
13211 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13212 xno) ;;
13213 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13214 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13215 esac
13216 enable_wineoss_drv=${enable_wineoss_drv:-no}
13219 if test "x$with_udev" != "xno"
13220 then
13221 if ${UDEV_CFLAGS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13227 if ${UDEV_LIBS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13233 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13234 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13236 ac_save_CPPFLAGS=$CPPFLAGS
13237 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13238 for ac_header in libudev.h
13239 do :
13240 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_libudev_h" = xyes; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define HAVE_LIBUDEV_H 1
13244 _ACEOF
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13246 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13247 if ${ac_cv_lib_udev_udev_new+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_lib_save_LIBS=$LIBS
13251 LIBS="-ludev $UDEV_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char udev_new ();
13263 main ()
13265 return udev_new ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_udev_udev_new=yes
13272 else
13273 ac_cv_lib_udev_udev_new=no
13275 rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LIBS=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13280 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13281 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13283 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13285 else
13286 UDEV_LIBS=""
13289 else
13290 UDEV_LIBS=""
13293 done
13295 CPPFLAGS=$ac_save_CPPFLAGS
13296 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13297 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13300 if test "x$UDEV_LIBS" = "x"; then :
13301 case "x$with_udev" in
13302 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13305 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13306 esac
13310 if test "x$with_capi" != "xno"
13311 then
13312 if ${CAPI20_CFLAGS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13318 if ${CAPI20_LIBS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13325 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13327 ac_save_CPPFLAGS=$CPPFLAGS
13328 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13329 for ac_header in capi20.h linux/capi.h
13330 do :
13331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13335 cat >>confdefs.h <<_ACEOF
13336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13337 _ACEOF
13341 done
13343 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13344 then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13346 $as_echo_n "checking for -lcapi20... " >&6; }
13347 if ${ac_cv_lib_soname_capi20+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_soname_save_LIBS=$LIBS
13351 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char capi20_register ();
13363 main ()
13365 return capi20_register ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 case "$LIBEXT" in
13372 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13373 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'` ;;
13374 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13375 if ${ac_cv_lib_soname_capi20:+false} :; then :
13376 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13377 fi ;;
13378 esac
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_soname_save_LIBS
13384 if ${ac_cv_lib_soname_capi20:+false} :; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13386 $as_echo "not found" >&6; }
13388 else
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13390 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13392 cat >>confdefs.h <<_ACEOF
13393 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13394 _ACEOF
13399 CPPFLAGS=$ac_save_CPPFLAGS
13400 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13401 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13404 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13405 case "x$with_capi" in
13406 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13407 xno) ;;
13408 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13409 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13410 esac
13414 CUPS_CFLAGS=""
13416 if test "x$with_cups" != "xno"
13417 then
13418 ac_save_CPPFLAGS="$CPPFLAGS"
13419 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13420 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13421 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13422 for ac_header in cups/cups.h
13423 do :
13424 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13425 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13426 cat >>confdefs.h <<_ACEOF
13427 #define HAVE_CUPS_CUPS_H 1
13428 _ACEOF
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13430 $as_echo_n "checking for -lcups... " >&6; }
13431 if ${ac_cv_lib_soname_cups+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 ac_check_soname_save_LIBS=$LIBS
13435 LIBS="-lcups $ac_cups_libs $LIBS"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13442 #ifdef __cplusplus
13443 extern "C"
13444 #endif
13445 char cupsGetDefault ();
13447 main ()
13449 return cupsGetDefault ();
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_link "$LINENO"; then :
13455 case "$LIBEXT" in
13456 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13457 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'` ;;
13458 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13459 if ${ac_cv_lib_soname_cups:+false} :; then :
13460 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13461 fi ;;
13462 esac
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_cups:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13474 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13478 _ACEOF
13480 CUPS_CFLAGS="$ac_cups_cflags"
13482 for ac_header in cups/ppd.h
13483 do :
13484 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13485 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13486 cat >>confdefs.h <<_ACEOF
13487 #define HAVE_CUPS_PPD_H 1
13488 _ACEOF
13492 done
13496 done
13498 CPPFLAGS="$ac_save_CPPFLAGS"
13500 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13501 case "x$with_cups" in
13502 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13503 xno) ;;
13504 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13505 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13506 esac
13510 if test "x$with_fontconfig" != "xno"
13511 then
13512 if ${FONTCONFIG_CFLAGS:+false} :; then :
13513 if ${PKG_CONFIG+:} false; then :
13514 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13517 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13518 if ${FONTCONFIG_LIBS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13523 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13525 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13526 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13527 ac_save_CPPFLAGS=$CPPFLAGS
13528 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13529 for ac_header in fontconfig/fontconfig.h
13530 do :
13531 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13532 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13533 cat >>confdefs.h <<_ACEOF
13534 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13535 _ACEOF
13539 done
13541 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13542 then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13544 $as_echo_n "checking for -lfontconfig... " >&6; }
13545 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13546 $as_echo_n "(cached) " >&6
13547 else
13548 ac_check_soname_save_LIBS=$LIBS
13549 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char FcInit ();
13561 main ()
13563 return FcInit ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 case "$LIBEXT" in
13570 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13571 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'` ;;
13572 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13573 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13574 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13575 fi ;;
13576 esac
13578 rm -f core conftest.err conftest.$ac_objext \
13579 conftest$ac_exeext conftest.$ac_ext
13580 LIBS=$ac_check_soname_save_LIBS
13582 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13584 $as_echo "not found" >&6; }
13585 FONTCONFIG_CFLAGS=""
13586 else
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13588 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13590 cat >>confdefs.h <<_ACEOF
13591 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13592 _ACEOF
13596 else
13597 FONTCONFIG_CFLAGS=""
13599 CPPFLAGS=$ac_save_CPPFLAGS
13600 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13601 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13604 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13605 case "x$with_fontconfig" in
13606 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13607 xno) ;;
13608 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13609 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13610 esac
13614 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13615 then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13617 $as_echo_n "checking for -lgsm... " >&6; }
13618 if ${ac_cv_lib_soname_gsm+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_check_soname_save_LIBS=$LIBS
13622 LIBS="-lgsm $LIBS"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13626 /* Override any GCC internal prototype to avoid an error.
13627 Use char because int might match the return type of a GCC
13628 builtin and then its argument prototype would still apply. */
13629 #ifdef __cplusplus
13630 extern "C"
13631 #endif
13632 char gsm_create ();
13634 main ()
13636 return gsm_create ();
13638 return 0;
13640 _ACEOF
13641 if ac_fn_c_try_link "$LINENO"; then :
13642 case "$LIBEXT" in
13643 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13644 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'` ;;
13645 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13646 if ${ac_cv_lib_soname_gsm:+false} :; then :
13647 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13648 fi ;;
13649 esac
13651 rm -f core conftest.err conftest.$ac_objext \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS=$ac_check_soname_save_LIBS
13655 if ${ac_cv_lib_soname_gsm:+false} :; then :
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13657 $as_echo "not found" >&6; }
13659 else
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13661 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13663 cat >>confdefs.h <<_ACEOF
13664 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13665 _ACEOF
13670 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13671 case "x$with_gsm" in
13672 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13673 xno) ;;
13674 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13675 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13676 esac
13680 if test "x$with_jpeg" != "xno"
13681 then
13682 if ${JPEG_CFLAGS:+false} :; then :
13683 if ${PKG_CONFIG+:} false; then :
13684 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13688 if ${JPEG_LIBS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13695 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13697 ac_save_CPPFLAGS=$CPPFLAGS
13698 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13699 for ac_header in jpeglib.h
13700 do :
13701 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13702 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_JPEGLIB_H 1
13705 _ACEOF
13709 done
13711 if test "$ac_cv_header_jpeglib_h" = "yes"
13712 then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13714 $as_echo_n "checking for -ljpeg... " >&6; }
13715 if ${ac_cv_lib_soname_jpeg+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_check_soname_save_LIBS=$LIBS
13719 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13726 #ifdef __cplusplus
13727 extern "C"
13728 #endif
13729 char jpeg_start_decompress ();
13731 main ()
13733 return jpeg_start_decompress ();
13735 return 0;
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 case "$LIBEXT" in
13740 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13741 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'` ;;
13742 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13743 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13744 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13745 fi ;;
13746 esac
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_soname_save_LIBS
13752 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13754 $as_echo "not found" >&6; }
13755 JPEG_CFLAGS=""
13756 else
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13758 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13760 cat >>confdefs.h <<_ACEOF
13761 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13762 _ACEOF
13766 else
13767 JPEG_CFLAGS=""
13769 CPPFLAGS=$ac_save_CPPFLAGS
13770 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13771 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13774 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13775 case "x$with_jpeg" in
13776 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13777 xno) ;;
13778 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13779 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13780 esac
13784 if test "x$with_png" != "xno"
13785 then
13786 if ${PNG_CFLAGS:+false} :; then :
13787 if ${PKG_CONFIG+:} false; then :
13788 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13791 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13792 if ${PNG_LIBS:+false} :; then :
13793 if ${PKG_CONFIG+:} false; then :
13794 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13797 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13799 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13800 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13801 ac_save_CPPFLAGS=$CPPFLAGS
13802 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13803 for ac_header in png.h
13804 do :
13805 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13806 if test "x$ac_cv_header_png_h" = xyes; then :
13807 cat >>confdefs.h <<_ACEOF
13808 #define HAVE_PNG_H 1
13809 _ACEOF
13813 done
13815 if test "$ac_cv_header_png_h" = "yes"
13816 then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13818 $as_echo_n "checking for -lpng... " >&6; }
13819 if ${ac_cv_lib_soname_png+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_soname_save_LIBS=$LIBS
13823 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 #ifdef __cplusplus
13831 extern "C"
13832 #endif
13833 char png_create_read_struct ();
13835 main ()
13837 return png_create_read_struct ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 case "$LIBEXT" in
13844 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13845 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'` ;;
13846 *) 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'`
13847 if ${ac_cv_lib_soname_png:+false} :; then :
13848 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13849 fi ;;
13850 esac
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_png:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13859 PNG_CFLAGS=""
13860 else
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13862 $as_echo "$ac_cv_lib_soname_png" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13866 _ACEOF
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <png.h>
13872 main ()
13874 typeof(png_set_expand_gray_1_2_4_to_8) *p
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_compile "$LINENO"; then :
13881 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 else
13887 PNG_CFLAGS=""
13889 CPPFLAGS=$ac_save_CPPFLAGS
13890 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13891 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13894 if test "x$ac_cv_lib_soname_png" = "x"; then :
13895 case "x$with_png" in
13896 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13897 xno) ;;
13898 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13899 This is an error since --with-png was requested." "$LINENO" 5 ;;
13900 esac
13904 if test "x$with_tiff" != "xno"
13905 then
13906 if ${TIFF_CFLAGS:+false} :; then :
13907 if ${PKG_CONFIG+:} false; then :
13908 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13912 if ${TIFF_LIBS:+false} :; then :
13913 if ${PKG_CONFIG+:} false; then :
13914 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13919 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13920 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13921 ac_save_CPPFLAGS=$CPPFLAGS
13922 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13923 for ac_header in tiffio.h
13924 do :
13925 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13926 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13927 cat >>confdefs.h <<_ACEOF
13928 #define HAVE_TIFFIO_H 1
13929 _ACEOF
13933 done
13935 if test "$ac_cv_header_tiffio_h" = "yes"
13936 then
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13938 $as_echo_n "checking for -ltiff... " >&6; }
13939 if ${ac_cv_lib_soname_tiff+:} false; then :
13940 $as_echo_n "(cached) " >&6
13941 else
13942 ac_check_soname_save_LIBS=$LIBS
13943 LIBS="-ltiff $TIFF_LIBS $LIBS"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 #ifdef __cplusplus
13951 extern "C"
13952 #endif
13953 char TIFFClientOpen ();
13955 main ()
13957 return TIFFClientOpen ();
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"; then :
13963 case "$LIBEXT" in
13964 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13965 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'` ;;
13966 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13967 if ${ac_cv_lib_soname_tiff:+false} :; then :
13968 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13969 fi ;;
13970 esac
13972 rm -f core conftest.err conftest.$ac_objext \
13973 conftest$ac_exeext conftest.$ac_ext
13974 LIBS=$ac_check_soname_save_LIBS
13976 if ${ac_cv_lib_soname_tiff:+false} :; then :
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13978 $as_echo "not found" >&6; }
13980 else
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13982 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13984 cat >>confdefs.h <<_ACEOF
13985 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13986 _ACEOF
13991 CPPFLAGS=$ac_save_CPPFLAGS
13992 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13993 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13996 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13997 case "x$with_tiff" in
13998 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13999 xno) ;;
14000 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14001 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14002 esac
14006 if test "x$with_mpg123" != "xno"
14007 then
14008 if ${MPG123_CFLAGS:+false} :; then :
14009 if ${PKG_CONFIG+:} false; then :
14010 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14014 if ${MPG123_LIBS:+false} :; then :
14015 if ${PKG_CONFIG+:} false; then :
14016 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14020 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14021 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14022 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14023 ac_save_CPPFLAGS=$CPPFLAGS
14024 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14025 for ac_header in mpg123.h
14026 do :
14027 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14028 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14029 cat >>confdefs.h <<_ACEOF
14030 #define HAVE_MPG123_H 1
14031 _ACEOF
14035 done
14037 if test "$ac_cv_header_mpg123_h" = "yes"
14038 then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14040 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14041 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char mpg123_feed ();
14057 main ()
14059 return mpg123_feed ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 ac_cv_lib_mpg123_mpg123_feed=yes
14066 else
14067 ac_cv_lib_mpg123_mpg123_feed=no
14069 rm -f core conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14074 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14075 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14077 else
14078 MPG123_LIBS=""
14081 else
14082 MPG123_CFLAGS=""
14083 MPG123_LIBS=""
14085 CPPFLAGS=$ac_save_CPPFLAGS
14086 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14087 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14090 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14091 case "x$with_mpg123" in
14092 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14093 xno) ;;
14094 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14095 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14096 esac
14097 enable_winemp3_acm=${enable_winemp3_acm:-no}
14100 if test "$ac_cv_header_AL_al_h" = "yes"
14101 then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14103 $as_echo_n "checking for -lopenal... " >&6; }
14104 if ${ac_cv_lib_soname_openal+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_check_soname_save_LIBS=$LIBS
14108 LIBS="-lopenal $LIBS"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14112 /* Override any GCC internal prototype to avoid an error.
14113 Use char because int might match the return type of a GCC
14114 builtin and then its argument prototype would still apply. */
14115 #ifdef __cplusplus
14116 extern "C"
14117 #endif
14118 char alGetSource3i ();
14120 main ()
14122 return alGetSource3i ();
14124 return 0;
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 case "$LIBEXT" in
14129 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14130 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'` ;;
14131 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14132 if ${ac_cv_lib_soname_openal:+false} :; then :
14133 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14134 fi ;;
14135 esac
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_soname_save_LIBS
14141 if ${ac_cv_lib_soname_openal:+false} :; then :
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14143 $as_echo "not found" >&6; }
14145 else
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14147 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14149 cat >>confdefs.h <<_ACEOF
14150 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14151 _ACEOF
14153 OPENAL_LIBS="-lopenal"
14155 ac_cv_lib_openal=yes
14157 cat >>confdefs.h <<_ACEOF
14158 #define HAVE_OPENAL 1
14159 _ACEOF
14163 if test "x$ac_cv_lib_openal" != xyes; then :
14164 case "x$with_openal" in
14165 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14166 xno) ;;
14167 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14168 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14169 esac
14170 enable_openal32=${enable_openal32:-no}
14173 if test "x$ac_cv_lib_openal" = xyes
14174 then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14176 $as_echo_n "checking for openal-soft... " >&6; }
14177 if ${ac_cv_have_openalsoft+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 #include <AL/al.h>
14183 #include <AL/alc.h>
14184 #include <AL/alext.h>
14185 LPALCRENDERSAMPLESSOFT x;
14187 main ()
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_compile "$LINENO"; then :
14195 ac_cv_have_openalsoft=yes
14196 else
14197 ac_cv_have_openalsoft=no
14199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14202 $as_echo "$ac_cv_have_openalsoft" >&6; }
14204 if test "x$ac_cv_have_openalsoft" != xyes
14205 then
14206 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14207 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14208 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14209 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14210 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14211 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14212 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14213 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14214 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14215 enable_xapofx1_1=${enable_xapofx1_1:-no}
14216 enable_xapofx1_2=${enable_xapofx1_2:-no}
14217 enable_xapofx1_3=${enable_xapofx1_3:-no}
14218 enable_xapofx1_4=${enable_xapofx1_4:-no}
14219 enable_xapofx1_5=${enable_xapofx1_5:-no}
14220 enable_xaudio2_0=${enable_xaudio2_0:-no}
14221 enable_xaudio2_1=${enable_xaudio2_1:-no}
14222 enable_xaudio2_2=${enable_xaudio2_2:-no}
14223 enable_xaudio2_3=${enable_xaudio2_3:-no}
14224 enable_xaudio2_4=${enable_xaudio2_4:-no}
14225 enable_xaudio2_5=${enable_xaudio2_5:-no}
14226 enable_xaudio2_6=${enable_xaudio2_6:-no}
14227 enable_xaudio2_7=${enable_xaudio2_7:-no}
14228 enable_xaudio2_8=${enable_xaudio2_8:-no}
14229 enable_xaudio2_9=${enable_xaudio2_9:-no}
14232 if test "$ac_cv_header_kstat_h" = "yes"
14233 then
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14235 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14236 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_check_lib_save_LIBS=$LIBS
14240 LIBS="-lkstat $LIBS"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 #ifdef __cplusplus
14248 extern "C"
14249 #endif
14250 char kstat_open ();
14252 main ()
14254 return kstat_open ();
14256 return 0;
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 ac_cv_lib_kstat_kstat_open=yes
14261 else
14262 ac_cv_lib_kstat_kstat_open=no
14264 rm -f core conftest.err conftest.$ac_objext \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_lib_save_LIBS
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14269 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14270 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14272 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14274 KSTAT_LIBS="-lkstat"
14280 if test "$ac_cv_header_libprocstat_h" = "yes"
14281 then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14283 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14284 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_check_lib_save_LIBS=$LIBS
14288 LIBS="-lprocstat $LIBS"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14292 /* Override any GCC internal prototype to avoid an error.
14293 Use char because int might match the return type of a GCC
14294 builtin and then its argument prototype would still apply. */
14295 #ifdef __cplusplus
14296 extern "C"
14297 #endif
14298 char procstat_open_sysctl ();
14300 main ()
14302 return procstat_open_sysctl ();
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 ac_cv_lib_procstat_procstat_open_sysctl=yes
14309 else
14310 ac_cv_lib_procstat_procstat_open_sysctl=no
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS=$ac_check_lib_save_LIBS
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14317 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14318 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14320 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14322 PROCSTAT_LIBS="-lprocstat"
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14329 $as_echo_n "checking for -lodbc... " >&6; }
14330 if ${ac_cv_lib_soname_odbc+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_check_soname_save_LIBS=$LIBS
14334 LIBS="-lodbc $LIBS"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14338 /* Override any GCC internal prototype to avoid an error.
14339 Use char because int might match the return type of a GCC
14340 builtin and then its argument prototype would still apply. */
14341 #ifdef __cplusplus
14342 extern "C"
14343 #endif
14344 char SQLConnect ();
14346 main ()
14348 return SQLConnect ();
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 case "$LIBEXT" in
14355 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_odbc:+false} :; then :
14359 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14360 fi ;;
14361 esac
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14365 LIBS=$ac_check_soname_save_LIBS
14367 if ${ac_cv_lib_soname_odbc:+false} :; then :
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14369 $as_echo "not found" >&6; }
14370 cat >>confdefs.h <<_ACEOF
14371 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14372 _ACEOF
14374 else
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14376 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14378 cat >>confdefs.h <<_ACEOF
14379 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14380 _ACEOF
14385 if test "x$with_netapi" != "xno"
14386 then
14387 if ${NETAPI_CFLAGS:+false} :; then :
14388 if ${PKG_CONFIG+:} false; then :
14389 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14393 if ${NETAPI_LIBS:+false} :; then :
14394 if ${PKG_CONFIG+:} false; then :
14395 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14400 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14401 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14402 ac_save_CPPFLAGS=$CPPFLAGS
14403 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14405 $as_echo_n "checking for -lnetapi... " >&6; }
14406 if ${ac_cv_lib_soname_netapi+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 ac_check_soname_save_LIBS=$LIBS
14410 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 /* Override any GCC internal prototype to avoid an error.
14415 Use char because int might match the return type of a GCC
14416 builtin and then its argument prototype would still apply. */
14417 #ifdef __cplusplus
14418 extern "C"
14419 #endif
14420 char libnetapi_init ();
14422 main ()
14424 return libnetapi_init ();
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 case "$LIBEXT" in
14431 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14432 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'` ;;
14433 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14434 if ${ac_cv_lib_soname_netapi:+false} :; then :
14435 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14436 fi ;;
14437 esac
14439 rm -f core conftest.err conftest.$ac_objext \
14440 conftest$ac_exeext conftest.$ac_ext
14441 LIBS=$ac_check_soname_save_LIBS
14443 if ${ac_cv_lib_soname_netapi:+false} :; then :
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14445 $as_echo "not found" >&6; }
14446 cat >>confdefs.h <<_ACEOF
14447 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14448 _ACEOF
14450 else
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14452 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14454 cat >>confdefs.h <<_ACEOF
14455 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14456 _ACEOF
14460 CPPFLAGS=$ac_save_CPPFLAGS
14461 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14462 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14466 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14467 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14468 then
14469 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14473 EXTRACFLAGS=""
14475 if test "x${GCC}" = "xyes"
14476 then
14477 EXTRACFLAGS="-Wall -pipe"
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14480 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14481 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14482 $as_echo_n "(cached) " >&6
14483 else
14484 if test "$cross_compiling" = yes; then :
14485 ac_cv_c_gcc_strength_bug="no"
14486 else
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int L[4] = {0,1,2,3};
14491 main ()
14493 static int Array[3];
14494 unsigned int B = 3;
14495 int i;
14496 for(i=0; i<B; i++) Array[i] = i - 3;
14497 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14498 L[i] = 4;
14499 return (Array[1] != -2 || L[2] != 3)
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_run "$LINENO"; then :
14505 ac_cv_c_gcc_strength_bug="no"
14506 else
14507 ac_cv_c_gcc_strength_bug="yes"
14509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14510 conftest.$ac_objext conftest.beam conftest.$ac_ext
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14515 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14516 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14517 then
14518 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14522 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14523 if ${ac_cv_cflags__fno_builtin+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_wine_try_cflags_saved=$CFLAGS
14527 CFLAGS="$CFLAGS -fno-builtin"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 int main(int argc, char **argv) { return 0; }
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 ac_cv_cflags__fno_builtin=yes
14534 else
14535 ac_cv_cflags__fno_builtin=no
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 CFLAGS=$ac_wine_try_cflags_saved
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14542 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14543 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14544 BUILTINFLAG="-fno-builtin"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14548 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14549 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 ac_wine_try_cflags_saved=$CFLAGS
14553 CFLAGS="$CFLAGS -fno-strict-aliasing"
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 int main(int argc, char **argv) { return 0; }
14557 _ACEOF
14558 if ac_fn_c_try_link "$LINENO"; then :
14559 ac_cv_cflags__fno_strict_aliasing=yes
14560 else
14561 ac_cv_cflags__fno_strict_aliasing=no
14563 rm -f core conftest.err conftest.$ac_objext \
14564 conftest$ac_exeext conftest.$ac_ext
14565 CFLAGS=$ac_wine_try_cflags_saved
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14568 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14569 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14570 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14573 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14574 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14575 $as_echo_n "(cached) " >&6
14576 else
14577 ac_wine_try_cflags_saved=$CFLAGS
14578 CFLAGS="$CFLAGS -fexcess-precision=standard"
14579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h. */
14581 int main(int argc, char **argv) { return 0; }
14582 _ACEOF
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_cflags__fexcess_precision_standard=yes
14585 else
14586 ac_cv_cflags__fexcess_precision_standard=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 CFLAGS=$ac_wine_try_cflags_saved
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14593 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14594 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14595 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14598 saved_CFLAGS=$CFLAGS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14600 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14601 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14602 $as_echo_n "(cached) " >&6
14603 else
14604 ac_wine_try_cflags_saved=$CFLAGS
14605 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14608 int main(int argc, char **argv) { return 0; }
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 ac_cv_cflags__Werror_unknown_warning_option=yes
14612 else
14613 ac_cv_cflags__Werror_unknown_warning_option=no
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 CFLAGS=$ac_wine_try_cflags_saved
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14620 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14621 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14622 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14625 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14626 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 ac_wine_try_cflags_saved=$CFLAGS
14630 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 int main(int argc, char **argv) { return 0; }
14634 _ACEOF
14635 if ac_fn_c_try_link "$LINENO"; then :
14636 ac_cv_cflags__Wdeclaration_after_statement=yes
14637 else
14638 ac_cv_cflags__Wdeclaration_after_statement=no
14640 rm -f core conftest.err conftest.$ac_objext \
14641 conftest$ac_exeext conftest.$ac_ext
14642 CFLAGS=$ac_wine_try_cflags_saved
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14645 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14646 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14647 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14650 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14651 if ${ac_cv_cflags__Wempty_body+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_wine_try_cflags_saved=$CFLAGS
14655 CFLAGS="$CFLAGS -Wempty-body"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 int main(int argc, char **argv) { return 0; }
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_cflags__Wempty_body=yes
14662 else
14663 ac_cv_cflags__Wempty_body=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 CFLAGS=$ac_wine_try_cflags_saved
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14670 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14671 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14672 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14675 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14676 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14677 $as_echo_n "(cached) " >&6
14678 else
14679 ac_wine_try_cflags_saved=$CFLAGS
14680 CFLAGS="$CFLAGS -Wignored-qualifiers"
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14683 int main(int argc, char **argv) { return 0; }
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 ac_cv_cflags__Wignored_qualifiers=yes
14687 else
14688 ac_cv_cflags__Wignored_qualifiers=no
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14692 CFLAGS=$ac_wine_try_cflags_saved
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14695 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14696 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14697 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14700 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14701 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_wine_try_cflags_saved=$CFLAGS
14705 CFLAGS="$CFLAGS -Wshift-overflow=2"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14708 int main(int argc, char **argv) { return 0; }
14709 _ACEOF
14710 if ac_fn_c_try_link "$LINENO"; then :
14711 ac_cv_cflags__Wshift_overflow_2=yes
14712 else
14713 ac_cv_cflags__Wshift_overflow_2=no
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14717 CFLAGS=$ac_wine_try_cflags_saved
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14720 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14721 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14722 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14725 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14726 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_wine_try_cflags_saved=$CFLAGS
14730 CFLAGS="$CFLAGS -Wstrict-prototypes"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14733 int main(int argc, char **argv) { return 0; }
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_cflags__Wstrict_prototypes=yes
14737 else
14738 ac_cv_cflags__Wstrict_prototypes=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 CFLAGS=$ac_wine_try_cflags_saved
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14745 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14746 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14747 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14750 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14751 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_wine_try_cflags_saved=$CFLAGS
14755 CFLAGS="$CFLAGS -Wtype-limits"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 int main(int argc, char **argv) { return 0; }
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_cflags__Wtype_limits=yes
14762 else
14763 ac_cv_cflags__Wtype_limits=no
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext conftest.$ac_ext
14767 CFLAGS=$ac_wine_try_cflags_saved
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14770 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14771 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14772 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14775 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14776 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_cflags__Wunused_but_set_parameter=yes
14787 else
14788 ac_cv_cflags__Wunused_but_set_parameter=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 CFLAGS=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14795 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14796 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14797 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14800 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14801 if ${ac_cv_cflags__Wvla+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_wine_try_cflags_saved=$CFLAGS
14805 CFLAGS="$CFLAGS -Wvla"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 int main(int argc, char **argv) { return 0; }
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_cflags__Wvla=yes
14812 else
14813 ac_cv_cflags__Wvla=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 CFLAGS=$ac_wine_try_cflags_saved
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14820 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14821 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14822 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14825 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14826 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14827 $as_echo_n "(cached) " >&6
14828 else
14829 ac_wine_try_cflags_saved=$CFLAGS
14830 CFLAGS="$CFLAGS -Wwrite-strings"
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14833 int main(int argc, char **argv) { return 0; }
14834 _ACEOF
14835 if ac_fn_c_try_link "$LINENO"; then :
14836 ac_cv_cflags__Wwrite_strings=yes
14837 else
14838 ac_cv_cflags__Wwrite_strings=no
14840 rm -f core conftest.err conftest.$ac_objext \
14841 conftest$ac_exeext conftest.$ac_ext
14842 CFLAGS=$ac_wine_try_cflags_saved
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14845 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14846 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14847 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14851 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14852 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 ac_wine_try_cflags_saved=$CFLAGS
14856 CFLAGS="$CFLAGS -Wpointer-arith"
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14859 int main(int argc, char **argv) { return 0; }
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"; then :
14862 ac_cv_cflags__Wpointer_arith=yes
14863 else
14864 ac_cv_cflags__Wpointer_arith=no
14866 rm -f core conftest.err conftest.$ac_objext \
14867 conftest$ac_exeext conftest.$ac_ext
14868 CFLAGS=$ac_wine_try_cflags_saved
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14871 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14872 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14873 saved_string_h_CFLAGS=$CFLAGS
14874 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14876 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14877 if ${ac_cv_c_string_h_warnings+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 #include <string.h>
14884 main ()
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_compile "$LINENO"; then :
14892 ac_cv_c_string_h_warnings=no
14893 else
14894 ac_cv_c_string_h_warnings=yes
14896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14899 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14900 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14901 CFLAGS=$saved_string_h_CFLAGS
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14905 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14906 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_wine_try_cflags_saved=$CFLAGS
14910 CFLAGS="$CFLAGS -Wlogical-op"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 int main(int argc, char **argv) { return 0; }
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 ac_cv_cflags__Wlogical_op=yes
14917 else
14918 ac_cv_cflags__Wlogical_op=no
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext conftest.$ac_ext
14922 CFLAGS=$ac_wine_try_cflags_saved
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14925 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14926 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14927 saved_string_h_CFLAGS=$CFLAGS
14928 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14930 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14931 if ${ac_cv_c_logicalop_noisy+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 #include <string.h>
14937 char*f(const char *h,char n) {return strchr(h,n);}
14939 main ()
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_compile "$LINENO"; then :
14947 ac_cv_c_logicalop_noisy=no
14948 else
14949 ac_cv_c_logicalop_noisy=yes
14951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14954 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14955 CFLAGS=$saved_string_h_CFLAGS
14956 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14959 CFLAGS=$saved_CFLAGS
14961 for ac_flag in $CFLAGS; do
14962 case $ac_flag in
14963 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14964 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14965 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 ac_wine_try_cflags_saved=$CFLAGS
14969 CFLAGS="$CFLAGS -gdwarf-2"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 int main(int argc, char **argv) { return 0; }
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_cflags__gdwarf_2=yes
14976 else
14977 ac_cv_cflags__gdwarf_2=no
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14981 CFLAGS=$ac_wine_try_cflags_saved
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14984 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14985 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14986 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14989 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14990 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 ac_wine_try_cflags_saved=$CFLAGS
14994 CFLAGS="$CFLAGS -gstrict-dwarf"
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 int main(int argc, char **argv) { return 0; }
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 ac_cv_cflags__gstrict_dwarf=yes
15001 else
15002 ac_cv_cflags__gstrict_dwarf=no
15004 rm -f core conftest.err conftest.$ac_objext \
15005 conftest$ac_exeext conftest.$ac_ext
15006 CFLAGS=$ac_wine_try_cflags_saved
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15009 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15010 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15011 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15012 fi ;;
15013 esac
15014 done
15016 case $host_cpu in
15017 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15018 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15019 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_wine_try_cflags_saved=$CFLAGS
15023 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 int main(int argc, char **argv) { return 0; }
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_cflags__fno_omit_frame_pointer=yes
15030 else
15031 ac_cv_cflags__fno_omit_frame_pointer=no
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035 CFLAGS=$ac_wine_try_cflags_saved
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15038 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15039 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15040 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15041 fi ;;
15042 esac
15044 case $host in
15045 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15046 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15047 if ${ac_cv_cflags__Wno_format+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_wine_try_cflags_saved=$CFLAGS
15051 CFLAGS="$CFLAGS -Wno-format"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 int main(int argc, char **argv) { return 0; }
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_cflags__Wno_format=yes
15058 else
15059 ac_cv_cflags__Wno_format=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15066 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15067 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15068 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15069 fi ;;
15070 esac
15072 if test "x$enable_maintainer_mode" = "xyes"
15073 then
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15075 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15076 if ${ac_cv_cflags__Werror+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_wine_try_cflags_saved=$CFLAGS
15080 CFLAGS="$CFLAGS -Werror"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 int main(int argc, char **argv) { return 0; }
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_cflags__Werror=yes
15087 else
15088 ac_cv_cflags__Werror=no
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15092 CFLAGS=$ac_wine_try_cflags_saved
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15095 $as_echo "$ac_cv_cflags__Werror" >&6; }
15096 if test "x$ac_cv_cflags__Werror" = xyes; then :
15097 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15101 saved_CFLAGS="$CFLAGS"
15102 CFLAGS="$CFLAGS -Werror"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15104 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15105 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15112 main ()
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_compile "$LINENO"; then :
15120 ac_cv_have_ms_hook_prologue="yes"
15121 else
15122 ac_cv_have_ms_hook_prologue="no"
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15127 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15128 CFLAGS="$saved_CFLAGS"
15129 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15130 then
15132 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15134 else
15135 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15142 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15143 if ${ac_cv_c_fortify_enabled+:} false; then :
15144 $as_echo_n "(cached) " >&6
15145 else
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15148 #include <string.h>
15150 main ()
15152 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15153 #error Fortify enabled
15154 #endif
15156 return 0;
15158 _ACEOF
15159 if ac_fn_c_try_compile "$LINENO"; then :
15160 ac_cv_c_fortify_enabled=no
15161 else
15162 ac_cv_c_fortify_enabled=yes
15164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15167 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15168 if test "$ac_cv_c_fortify_enabled" = yes
15169 then
15170 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15175 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15176 if ${ac_cv_c_extern_prefix+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 extern int ac_test;
15183 main ()
15185 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 ac_cv_c_extern_prefix="yes"
15192 else
15193 ac_cv_c_extern_prefix="no"
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15199 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15201 case $host_cpu in
15202 *i[3456789]86*)
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15204 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15205 if ${ac_cv_c_stdcall_suffix+:} false; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 #ifndef _MSC_VER
15211 #define __stdcall __attribute__((__stdcall__))
15212 #endif
15213 int __stdcall ac_test(int i) { return i; }
15215 main ()
15217 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 ac_cv_c_stdcall_suffix="yes"
15224 else
15225 ac_cv_c_stdcall_suffix="no"
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15231 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15232 *) ac_cv_c_stdcall_suffix="no" ;;
15233 esac
15236 if test "$ac_cv_c_extern_prefix" = "yes"
15237 then
15238 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15240 asm_name_prefix="_"
15241 else
15242 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15244 asm_name_prefix=""
15248 if test "$ac_cv_c_stdcall_suffix" = "yes"
15249 then
15250 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15252 else
15253 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15259 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15260 if ${ac_cv_asm_func_def+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15267 main ()
15269 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15271 return 0;
15273 _ACEOF
15274 if ac_fn_c_try_link "$LINENO"; then :
15275 ac_cv_asm_func_def=".def"
15276 else
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15281 main ()
15283 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15285 return 0;
15287 _ACEOF
15288 if ac_fn_c_try_link "$LINENO"; then :
15289 ac_cv_asm_func_def=".type @function"
15290 else
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15295 main ()
15297 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15299 return 0;
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_asm_func_def=".type 2"
15304 else
15305 ac_cv_asm_func_def="unknown"
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15317 $as_echo "$ac_cv_asm_func_def" >&6; }
15320 case "$ac_cv_asm_func_def" in
15321 ".def")
15322 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15324 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15325 ".type @function")
15326 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15328 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15329 ".type 2")
15330 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15332 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15334 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15336 asm_func_header="" ;;
15337 esac
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15340 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15341 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 asm(".text\n\t.long 0");
15348 main ()
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_compile "$LINENO"; then :
15356 ac_cv_c_asm_outside_funcs="yes"
15357 else
15358 ac_cv_c_asm_outside_funcs="no"
15360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15363 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15366 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15367 if ${ac_cv_c_dot_previous+:} false; then :
15368 $as_echo_n "(cached) " >&6
15369 else
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15374 main ()
15376 asm(".text\nac_test:\t.long 0\n\t.previous");
15378 return 0;
15380 _ACEOF
15381 if ac_fn_c_try_link "$LINENO"; then :
15382 ac_cv_c_dot_previous="yes"
15383 else
15384 ac_cv_c_dot_previous="no"
15386 rm -f core conftest.err conftest.$ac_objext \
15387 conftest$ac_exeext conftest.$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15390 $as_echo "$ac_cv_c_dot_previous" >&6; }
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15393 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15394 if ${ac_cv_c_cfi_support+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15401 main ()
15405 return 0;
15407 _ACEOF
15408 if ac_fn_c_try_compile "$LINENO"; then :
15409 ac_cv_c_cfi_support="yes"
15410 else
15411 ac_cv_c_cfi_support="no"
15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15416 $as_echo "$ac_cv_c_cfi_support" >&6; }
15418 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15419 asm_func_trailer=""
15420 if test "$ac_cv_c_dot_previous" = "yes"
15421 then
15422 asm_func_trailer="\\n\\t.previous"
15424 if test "$ac_cv_c_cfi_support" = "yes"
15425 then
15426 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15427 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15429 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15431 UNWINDFLAGS=-fasynchronous-unwind-tables
15433 else
15434 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15436 if test "x$enable_win64" = "xyes"
15437 then
15438 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15442 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15445 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15446 then
15447 cat >>confdefs.h <<_ACEOF
15448 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15449 _ACEOF
15451 else
15452 cat >>confdefs.h <<_ACEOF
15453 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15454 _ACEOF
15458 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15461 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15465 case $build_os in
15466 cygwin*|mingw32*) TOOLSEXT=".exe"
15468 esac
15470 case $host_os in
15471 linux*)
15472 case $host_cpu in
15473 *i[3456789]86*|x86_64*)
15474 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15475 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15477 esac
15479 esac
15482 ac_save_CFLAGS="$CFLAGS"
15483 CFLAGS="$CFLAGS $BUILTINFLAG"
15484 for ac_func in \
15485 __res_get_state \
15486 __res_getservers \
15487 _finite \
15488 _isnan \
15489 _pclose \
15490 _popen \
15491 _snprintf \
15492 _spawnvp \
15493 _strdup \
15494 _stricmp \
15495 _strnicmp \
15496 _strtoi64 \
15497 _strtoui64 \
15498 _vsnprintf \
15499 asctime_r \
15500 chsize \
15501 dlopen \
15502 epoll_create \
15503 ffs \
15504 finitef \
15505 fnmatch \
15506 fork \
15507 fpclass \
15508 fstatfs \
15509 fstatvfs \
15510 ftruncate \
15511 futimens \
15512 futimes \
15513 futimesat \
15514 getattrlist \
15515 getauxval \
15516 getifaddrs \
15517 getopt_long_only \
15518 getpwuid \
15519 gettimeofday \
15520 getuid \
15521 isnanf \
15522 kqueue \
15523 lstat \
15524 memmove \
15525 mmap \
15526 pclose \
15527 pipe2 \
15528 poll \
15529 popen \
15530 port_create \
15531 prctl \
15532 pread \
15533 proc_pidinfo \
15534 pwrite \
15535 readdir \
15536 readlink \
15537 sched_yield \
15538 select \
15539 setproctitle \
15540 setprogname \
15541 setrlimit \
15542 settimeofday \
15543 sigaltstack \
15544 sigprocmask \
15545 snprintf \
15546 statfs \
15547 statvfs \
15548 strcasecmp \
15549 strdup \
15550 strerror \
15551 strncasecmp \
15552 strtold \
15553 strtoll \
15554 strtoull \
15555 symlink \
15556 sysinfo \
15557 tcdrain \
15558 thr_kill2 \
15559 timegm \
15560 usleep \
15561 vsnprintf
15563 do :
15564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15567 cat >>confdefs.h <<_ACEOF
15568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15569 _ACEOF
15572 done
15574 CFLAGS="$ac_save_CFLAGS"
15576 if test "$ac_cv_func_dlopen" = no
15577 then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15579 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15580 if ${ac_cv_lib_dl_dlopen+:} false; then :
15581 $as_echo_n "(cached) " >&6
15582 else
15583 ac_check_lib_save_LIBS=$LIBS
15584 LIBS="-ldl $LIBS"
15585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15586 /* end confdefs.h. */
15588 /* Override any GCC internal prototype to avoid an error.
15589 Use char because int might match the return type of a GCC
15590 builtin and then its argument prototype would still apply. */
15591 #ifdef __cplusplus
15592 extern "C"
15593 #endif
15594 char dlopen ();
15596 main ()
15598 return dlopen ();
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"; then :
15604 ac_cv_lib_dl_dlopen=yes
15605 else
15606 ac_cv_lib_dl_dlopen=no
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_check_lib_save_LIBS
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15613 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15614 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15615 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15616 DL_LIBS="-ldl"
15621 ac_wine_check_funcs_save_LIBS="$LIBS"
15622 LIBS="$LIBS $DL_LIBS"
15623 for ac_func in dladdr
15624 do :
15625 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15626 if test "x$ac_cv_func_dladdr" = xyes; then :
15627 cat >>confdefs.h <<_ACEOF
15628 #define HAVE_DLADDR 1
15629 _ACEOF
15632 done
15634 LIBS="$ac_wine_check_funcs_save_LIBS"
15636 if test "$ac_cv_func_poll" = no
15637 then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15639 $as_echo_n "checking for poll in -lpoll... " >&6; }
15640 if ${ac_cv_lib_poll_poll+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_check_lib_save_LIBS=$LIBS
15644 LIBS="-lpoll $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char poll ();
15656 main ()
15658 return poll ();
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 ac_cv_lib_poll_poll=yes
15665 else
15666 ac_cv_lib_poll_poll=no
15668 rm -f core conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15670 LIBS=$ac_check_lib_save_LIBS
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15673 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15674 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15675 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15676 POLL_LIBS="-lpoll"
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15683 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15684 if ${ac_cv_search_gethostbyname+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_func_search_save_LIBS=$LIBS
15688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15691 /* Override any GCC internal prototype to avoid an error.
15692 Use char because int might match the return type of a GCC
15693 builtin and then its argument prototype would still apply. */
15694 #ifdef __cplusplus
15695 extern "C"
15696 #endif
15697 char gethostbyname ();
15699 main ()
15701 return gethostbyname ();
15703 return 0;
15705 _ACEOF
15706 for ac_lib in '' nsl; do
15707 if test -z "$ac_lib"; then
15708 ac_res="none required"
15709 else
15710 ac_res=-l$ac_lib
15711 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 ac_cv_search_gethostbyname=$ac_res
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext
15718 if ${ac_cv_search_gethostbyname+:} false; then :
15719 break
15721 done
15722 if ${ac_cv_search_gethostbyname+:} false; then :
15724 else
15725 ac_cv_search_gethostbyname=no
15727 rm conftest.$ac_ext
15728 LIBS=$ac_func_search_save_LIBS
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15731 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15732 ac_res=$ac_cv_search_gethostbyname
15733 if test "$ac_res" != no; then :
15734 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15740 $as_echo_n "checking for library containing connect... " >&6; }
15741 if ${ac_cv_search_connect+:} false; then :
15742 $as_echo_n "(cached) " >&6
15743 else
15744 ac_func_search_save_LIBS=$LIBS
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15751 #ifdef __cplusplus
15752 extern "C"
15753 #endif
15754 char connect ();
15756 main ()
15758 return connect ();
15760 return 0;
15762 _ACEOF
15763 for ac_lib in '' socket; do
15764 if test -z "$ac_lib"; then
15765 ac_res="none required"
15766 else
15767 ac_res=-l$ac_lib
15768 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15770 if ac_fn_c_try_link "$LINENO"; then :
15771 ac_cv_search_connect=$ac_res
15773 rm -f core conftest.err conftest.$ac_objext \
15774 conftest$ac_exeext
15775 if ${ac_cv_search_connect+:} false; then :
15776 break
15778 done
15779 if ${ac_cv_search_connect+:} false; then :
15781 else
15782 ac_cv_search_connect=no
15784 rm conftest.$ac_ext
15785 LIBS=$ac_func_search_save_LIBS
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15788 $as_echo "$ac_cv_search_connect" >&6; }
15789 ac_res=$ac_cv_search_connect
15790 if test "$ac_res" != no; then :
15791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15797 $as_echo_n "checking for library containing inet_aton... " >&6; }
15798 if ${ac_cv_search_inet_aton+:} false; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 ac_func_search_save_LIBS=$LIBS
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 #ifdef __cplusplus
15809 extern "C"
15810 #endif
15811 char inet_aton ();
15813 main ()
15815 return inet_aton ();
15817 return 0;
15819 _ACEOF
15820 for ac_lib in '' resolv; do
15821 if test -z "$ac_lib"; then
15822 ac_res="none required"
15823 else
15824 ac_res=-l$ac_lib
15825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 ac_cv_search_inet_aton=$ac_res
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext
15832 if ${ac_cv_search_inet_aton+:} false; then :
15833 break
15835 done
15836 if ${ac_cv_search_inet_aton+:} false; then :
15838 else
15839 ac_cv_search_inet_aton=no
15841 rm conftest.$ac_ext
15842 LIBS=$ac_func_search_save_LIBS
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15845 $as_echo "$ac_cv_search_inet_aton" >&6; }
15846 ac_res=$ac_cv_search_inet_aton
15847 if test "$ac_res" != no; then :
15848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15853 for ac_func in \
15854 getaddrinfo \
15855 getnameinfo \
15856 getnetbyname \
15857 getprotobyname \
15858 getprotobynumber \
15859 getservbyport \
15860 inet_addr \
15861 inet_network \
15862 inet_ntop \
15863 inet_pton \
15864 sendmsg \
15865 socketpair \
15867 do :
15868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15873 _ACEOF
15876 done
15879 ac_save_LIBS=$LIBS
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15881 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15882 if ${ac_cv_search_clock_gettime+:} false; then :
15883 $as_echo_n "(cached) " >&6
15884 else
15885 ac_func_search_save_LIBS=$LIBS
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15889 /* Override any GCC internal prototype to avoid an error.
15890 Use char because int might match the return type of a GCC
15891 builtin and then its argument prototype would still apply. */
15892 #ifdef __cplusplus
15893 extern "C"
15894 #endif
15895 char clock_gettime ();
15897 main ()
15899 return clock_gettime ();
15901 return 0;
15903 _ACEOF
15904 for ac_lib in '' rt; do
15905 if test -z "$ac_lib"; then
15906 ac_res="none required"
15907 else
15908 ac_res=-l$ac_lib
15909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15911 if ac_fn_c_try_link "$LINENO"; then :
15912 ac_cv_search_clock_gettime=$ac_res
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext
15916 if ${ac_cv_search_clock_gettime+:} false; then :
15917 break
15919 done
15920 if ${ac_cv_search_clock_gettime+:} false; then :
15922 else
15923 ac_cv_search_clock_gettime=no
15925 rm conftest.$ac_ext
15926 LIBS=$ac_func_search_save_LIBS
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15929 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15930 ac_res=$ac_cv_search_clock_gettime
15931 if test "$ac_res" != no; then :
15932 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15934 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15936 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15940 LIBS=$ac_save_LIBS
15942 LDAP_LIBS=""
15944 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15945 then
15946 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15948 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15950 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15951 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15952 $as_echo_n "(cached) " >&6
15953 else
15954 ac_check_lib_save_LIBS=$LIBS
15955 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15959 /* Override any GCC internal prototype to avoid an error.
15960 Use char because int might match the return type of a GCC
15961 builtin and then its argument prototype would still apply. */
15962 #ifdef __cplusplus
15963 extern "C"
15964 #endif
15965 char ldap_initialize ();
15967 main ()
15969 return ldap_initialize ();
15971 return 0;
15973 _ACEOF
15974 if ac_fn_c_try_link "$LINENO"; then :
15975 ac_cv_lib_ldap_r_ldap_initialize=yes
15976 else
15977 ac_cv_lib_ldap_r_ldap_initialize=no
15979 rm -f core conftest.err conftest.$ac_objext \
15980 conftest$ac_exeext conftest.$ac_ext
15981 LIBS=$ac_check_lib_save_LIBS
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15984 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15985 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15987 $as_echo_n "checking for ber_init in -llber... " >&6; }
15988 if ${ac_cv_lib_lber_ber_init+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_check_lib_save_LIBS=$LIBS
15992 LIBS="-llber $PTHREAD_LIBS $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 #ifdef __cplusplus
16000 extern "C"
16001 #endif
16002 char ber_init ();
16004 main ()
16006 return ber_init ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_lib_lber_ber_init=yes
16013 else
16014 ac_cv_lib_lber_ber_init=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16018 LIBS=$ac_check_lib_save_LIBS
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16021 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16022 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16024 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16026 LDAP_LIBS="-lldap_r -llber"
16033 ac_wine_check_funcs_save_LIBS="$LIBS"
16034 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16035 for ac_func in \
16036 ldap_count_references \
16037 ldap_first_reference \
16038 ldap_next_reference \
16039 ldap_parse_reference \
16040 ldap_parse_sort_control \
16041 ldap_parse_sortresponse_control \
16042 ldap_parse_vlv_control \
16043 ldap_parse_vlvresponse_control
16044 do :
16045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16050 _ACEOF
16053 done
16055 LIBS="$ac_wine_check_funcs_save_LIBS"
16057 if test "x$LDAP_LIBS" = "x"; then :
16058 case "x$with_ldap" in
16059 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16060 xno) ;;
16061 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16062 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16063 esac
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16068 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16069 if ${wine_cv_one_arg_mkdir+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073 /* end confdefs.h. */
16074 #include <sys/stat.h>
16076 main ()
16078 mkdir("foo");
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_compile "$LINENO"; then :
16084 wine_cv_one_arg_mkdir=yes
16085 else
16086 wine_cv_one_arg_mkdir=no
16088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16091 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16092 if test "$wine_cv_one_arg_mkdir" = "yes"
16093 then
16095 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16100 $as_echo_n "checking for sched_setaffinity... " >&6; }
16101 if ${wine_cv_have_sched_setaffinity+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16106 #define _GNU_SOURCE
16107 #include <sched.h>
16109 main ()
16111 sched_setaffinity(0, 0, 0);
16113 return 0;
16115 _ACEOF
16116 if ac_fn_c_try_link "$LINENO"; then :
16117 wine_cv_have_sched_setaffinity=yes
16118 else
16119 wine_cv_have_sched_setaffinity=no
16121 rm -f core conftest.err conftest.$ac_objext \
16122 conftest$ac_exeext conftest.$ac_ext
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16125 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16126 if test "$wine_cv_have_sched_setaffinity" = "yes"
16127 then
16129 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16134 $as_echo_n "checking for fallocate... " >&6; }
16135 if ${wine_cv_have_fallocate+:} false; then :
16136 $as_echo_n "(cached) " >&6
16137 else
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140 #define _GNU_SOURCE
16141 #include <fcntl.h>
16143 main ()
16145 fallocate(-1, 0, 0, 0);
16147 return 0;
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"; then :
16151 wine_cv_have_fallocate=yes
16152 else
16153 wine_cv_have_fallocate=no
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16159 $as_echo "$wine_cv_have_fallocate" >&6; }
16160 if test "$wine_cv_have_fallocate" = "yes"
16161 then
16163 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16169 $as_echo_n "checking for inline... " >&6; }
16170 if ${ac_cv_c_inline+:} false; then :
16171 $as_echo_n "(cached) " >&6
16172 else
16173 ac_cv_c_inline=no
16174 for ac_kw in inline __inline__ __inline; do
16175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16177 #ifndef __cplusplus
16178 typedef int foo_t;
16179 static $ac_kw foo_t static_foo () {return 0; }
16180 $ac_kw foo_t foo () {return 0; }
16181 #endif
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185 ac_cv_c_inline=$ac_kw
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 test "$ac_cv_c_inline" != no && break
16189 done
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16193 $as_echo "$ac_cv_c_inline" >&6; }
16195 case $ac_cv_c_inline in
16196 inline | yes) ;;
16198 case $ac_cv_c_inline in
16199 no) ac_val=;;
16200 *) ac_val=$ac_cv_c_inline;;
16201 esac
16202 cat >>confdefs.h <<_ACEOF
16203 #ifndef __cplusplus
16204 #define inline $ac_val
16205 #endif
16206 _ACEOF
16208 esac
16210 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16211 if test "x$ac_cv_type_mode_t" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_MODE_T 1
16215 _ACEOF
16219 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16220 if test "x$ac_cv_type_off_t" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_OFF_T 1
16224 _ACEOF
16228 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16229 if test "x$ac_cv_type_pid_t" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_PID_T 1
16233 _ACEOF
16237 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16238 if test "x$ac_cv_type_size_t" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_SIZE_T 1
16242 _ACEOF
16246 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16247 if test "x$ac_cv_type_ssize_t" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_SSIZE_T 1
16251 _ACEOF
16255 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16256 if test "x$ac_cv_type_long_long" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_LONG_LONG 1
16260 _ACEOF
16264 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16265 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_FSBLKCNT_T 1
16269 _ACEOF
16273 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16274 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_FSFILCNT_T 1
16278 _ACEOF
16283 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16284 #include <signal.h>
16286 if test "x$ac_cv_type_sigset_t" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_SIGSET_T 1
16290 _ACEOF
16295 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16297 if test "x$ac_cv_type_request_sense" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_REQUEST_SENSE 1
16301 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16308 #ifdef HAVE_SYS_SOCKET_H
16309 #include <sys/socket.h>
16310 #endif
16311 #ifdef HAVE_SYS_SOCKETVAR_H
16312 #include <sys/socketvar.h>
16313 #endif
16314 #ifdef HAVE_NET_ROUTE_H
16315 #include <net/route.h>
16316 #endif
16317 #ifdef HAVE_NETINET_IN_H
16318 #include <netinet/in.h>
16319 #endif
16320 #ifdef HAVE_NETINET_IN_SYSTM_H
16321 #include <netinet/in_systm.h>
16322 #endif
16323 #ifdef HAVE_NETINET_IP_H
16324 #include <netinet/ip.h>
16325 #endif
16326 #ifdef HAVE_NETINET_IN_PCB_H
16327 #include <netinet/in_pcb.h>
16328 #endif
16330 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_XINPGEN 1
16334 _ACEOF
16340 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16341 #include <link.h>
16342 #endif
16343 #ifdef HAVE_SYS_LINK_H
16344 #include <sys/link.h>
16345 #endif
16347 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_R_DEBUG 1
16351 _ACEOF
16355 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16356 #include <link.h>
16357 #endif
16358 #ifdef HAVE_SYS_LINK_H
16359 #include <sys/link.h>
16360 #endif
16362 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_LINK_MAP 1
16366 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16373 #include <linux/input.h>
16374 #endif
16376 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16380 _ACEOF
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16387 $as_echo_n "checking for if_nameindex... " >&6; }
16388 if ${wine_cv_have_if_nameindex+:} false; then :
16389 $as_echo_n "(cached) " >&6
16390 else
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #ifdef HAVE_SYS_TYPES_H
16394 #include <sys/types.h>
16395 #endif
16396 #ifdef HAVE_NET_IF_H
16397 # include <net/if.h>
16398 #endif
16400 main ()
16402 struct if_nameindex *p = if_nameindex(); return p->if_index;
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 wine_cv_have_if_nameindex=yes
16409 else
16410 wine_cv_have_if_nameindex=no
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16416 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16417 if test "$wine_cv_have_if_nameindex" = "yes"
16418 then
16420 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16425 $as_echo_n "checking for sigaddset... " >&6; }
16426 if ${wine_cv_have_sigaddset+:} false; then :
16427 $as_echo_n "(cached) " >&6
16428 else
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <signal.h>
16433 main ()
16435 sigset_t set; sigaddset(&set,SIGTERM);
16437 return 0;
16439 _ACEOF
16440 if ac_fn_c_try_link "$LINENO"; then :
16441 wine_cv_have_sigaddset=yes
16442 else
16443 wine_cv_have_sigaddset=no
16445 rm -f core conftest.err conftest.$ac_objext \
16446 conftest$ac_exeext conftest.$ac_ext
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16449 $as_echo "$wine_cv_have_sigaddset" >&6; }
16450 if test "$wine_cv_have_sigaddset" = "yes"
16451 then
16453 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16459 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16460 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #include <netdb.h>
16467 main ()
16470 char *name=0;
16471 struct hostent he;
16472 struct hostent *result;
16473 char *buf=0;
16474 int bufsize=0;
16475 int errnr;
16476 char *addr=0;
16477 int addrlen=0;
16478 int addrtype=0;
16479 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16480 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16483 return 0;
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487 wine_cv_linux_gethostbyname_r_6=yes
16488 else
16489 wine_cv_linux_gethostbyname_r_6=no
16492 rm -f core conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16497 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16498 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16499 then
16501 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16505 if test "$ac_cv_header_linux_joystick_h" = "yes"
16506 then
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16508 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16509 if ${wine_cv_linux_joystick_22_api+:} false; then :
16510 $as_echo_n "(cached) " >&6
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16515 #include <sys/ioctl.h>
16516 #include <sys/types.h>
16517 #include <linux/joystick.h>
16519 struct js_event blub;
16520 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16521 #error "no 2.2 header"
16522 #endif
16525 main ()
16527 /*empty*/
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_compile "$LINENO"; then :
16533 wine_cv_linux_joystick_22_api=yes
16534 else
16535 wine_cv_linux_joystick_22_api=no
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16541 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16542 if test "$wine_cv_linux_joystick_22_api" = "yes"
16543 then
16545 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16551 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16552 #ifdef HAVE_SYS_PARAM_H
16553 # include <sys/param.h>
16554 #endif
16555 #ifdef HAVE_SYS_MOUNT_H
16556 # include <sys/mount.h>
16557 #endif
16558 #ifdef HAVE_SYS_VFS_H
16559 # include <sys/vfs.h>
16560 #endif
16561 #ifdef HAVE_SYS_STATFS_H
16562 # include <sys/statfs.h>
16563 #endif
16565 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_STRUCT_STATFS_F_BFREE 1
16569 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16574 #ifdef HAVE_SYS_PARAM_H
16575 # include <sys/param.h>
16576 #endif
16577 #ifdef HAVE_SYS_MOUNT_H
16578 # include <sys/mount.h>
16579 #endif
16580 #ifdef HAVE_SYS_VFS_H
16581 # include <sys/vfs.h>
16582 #endif
16583 #ifdef HAVE_SYS_STATFS_H
16584 # include <sys/statfs.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16591 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16596 #ifdef HAVE_SYS_PARAM_H
16597 # include <sys/param.h>
16598 #endif
16599 #ifdef HAVE_SYS_MOUNT_H
16600 # include <sys/mount.h>
16601 #endif
16602 #ifdef HAVE_SYS_VFS_H
16603 # include <sys/vfs.h>
16604 #endif
16605 #ifdef HAVE_SYS_STATFS_H
16606 # include <sys/statfs.h>
16607 #endif
16609 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16613 _ACEOF
16617 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16618 #ifdef HAVE_SYS_PARAM_H
16619 # include <sys/param.h>
16620 #endif
16621 #ifdef HAVE_SYS_MOUNT_H
16622 # include <sys/mount.h>
16623 #endif
16624 #ifdef HAVE_SYS_VFS_H
16625 # include <sys/vfs.h>
16626 #endif
16627 #ifdef HAVE_SYS_STATFS_H
16628 # include <sys/statfs.h>
16629 #endif
16631 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STATFS_F_FFREE 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16640 #ifdef HAVE_SYS_PARAM_H
16641 # include <sys/param.h>
16642 #endif
16643 #ifdef HAVE_SYS_MOUNT_H
16644 # include <sys/mount.h>
16645 #endif
16646 #ifdef HAVE_SYS_VFS_H
16647 # include <sys/vfs.h>
16648 #endif
16649 #ifdef HAVE_SYS_STATFS_H
16650 # include <sys/statfs.h>
16651 #endif
16653 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16657 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16662 #ifdef HAVE_SYS_PARAM_H
16663 # include <sys/param.h>
16664 #endif
16665 #ifdef HAVE_SYS_MOUNT_H
16666 # include <sys/mount.h>
16667 #endif
16668 #ifdef HAVE_SYS_VFS_H
16669 # include <sys/vfs.h>
16670 #endif
16671 #ifdef HAVE_SYS_STATFS_H
16672 # include <sys/statfs.h>
16673 #endif
16675 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16679 _ACEOF
16685 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16686 #include <sys/statvfs.h>
16687 #endif
16689 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16693 _ACEOF
16699 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16700 #include <dirent.h>
16701 #endif
16703 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16707 _ACEOF
16713 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16714 #ifdef HAVE_SYS_SOCKET_H
16715 # include <sys/socket.h>
16716 #endif
16717 #ifdef HAVE_SYS_UN_H
16718 # include <sys/un.h>
16719 #endif
16721 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16723 cat >>confdefs.h <<_ACEOF
16724 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16725 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16730 #ifdef HAVE_SYS_SOCKET_H
16731 # include <sys/socket.h>
16732 #endif
16733 #ifdef HAVE_SYS_UN_H
16734 # include <sys/un.h>
16735 #endif
16737 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16741 _ACEOF
16745 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16746 #ifdef HAVE_SYS_SOCKET_H
16747 # include <sys/socket.h>
16748 #endif
16749 #ifdef HAVE_SYS_UN_H
16750 # include <sys/un.h>
16751 #endif
16753 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16757 _ACEOF
16763 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16764 #ifdef HAVE_SCSI_SG_H
16765 #include <scsi/sg.h>
16766 #endif
16768 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_SCSIREQ_T_CMD 1
16772 _ACEOF
16776 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>
16777 #ifdef HAVE_SCSI_SG_H
16778 #include <scsi/sg.h>
16779 #endif
16781 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16785 _ACEOF
16791 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16793 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_SIGINFO_T_SI_FD 1
16797 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16804 #ifdef HAVE_SYS_MTIO_H
16805 #include <sys/mtio.h>
16806 #endif
16808 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16810 cat >>confdefs.h <<_ACEOF
16811 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16812 _ACEOF
16816 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16817 #ifdef HAVE_SYS_MTIO_H
16818 #include <sys/mtio.h>
16819 #endif
16821 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16825 _ACEOF
16829 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16830 #ifdef HAVE_SYS_MTIO_H
16831 #include <sys/mtio.h>
16832 #endif
16834 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16838 _ACEOF
16844 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16845 #include <getopt.h>
16846 #endif
16848 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_STRUCT_OPTION_NAME 1
16852 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16859 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16863 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16868 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_STRUCT_STAT_ST_MTIM 1
16872 _ACEOF
16876 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16877 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16881 _ACEOF
16885 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16886 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_STAT_ST_CTIM 1
16890 _ACEOF
16894 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16895 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16899 _ACEOF
16903 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16904 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STAT_ST_ATIM 1
16908 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16913 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16917 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16935 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16953 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16962 _ACEOF
16968 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
16969 #include <sys/types.h>
16970 #endif
16971 #ifdef HAVE_NETINET_IN_H
16972 #include <netinet/in.h>
16973 #endif
16975 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16979 _ACEOF
16985 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16986 #include <sys/types.h>
16987 #endif
16988 #ifdef HAVE_NETINET_IN_H
16989 #include <netinet/in.h>
16990 #endif
16991 #ifdef HAVE_RESOLV_H
16992 #include <resolv.h>
16993 #endif
16995 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT___RES_STATE 1
16999 _ACEOF
17005 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
17006 #include <resolv.h>
17007 #endif
17009 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17013 _ACEOF
17019 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17020 #include <sys/types.h>
17021 #endif
17022 #ifdef HAVE_NETINET_IN_H
17023 # include <netinet/in.h>
17024 #endif
17025 #ifdef HAVE_ARPA_NAMESER_H
17026 # include <arpa/nameser.h>
17027 #endif
17029 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17031 cat >>confdefs.h <<_ACEOF
17032 #define HAVE_NS_MSG__MSG_PTR 1
17033 _ACEOF
17039 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17040 #include <sys/types.h>
17041 #endif
17042 #ifdef HAVE_NETINET_IN_H
17043 #include <netinet/in.h>
17044 #endif
17045 #ifdef HAVE_NETINET_IP_H
17046 #include <netinet/ip.h>
17047 #endif
17048 #ifdef HAVE_NETINET_IP_ICMP_H
17049 #include <netinet/ip_icmp.h>
17050 #endif
17051 #ifdef HAVE_NETINET_ICMP_VAR_H
17052 #include <netinet/icmp_var.h>
17053 #endif
17055 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17057 cat >>confdefs.h <<_ACEOF
17058 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17059 _ACEOF
17065 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17066 #include <sys/types.h>
17067 #endif
17068 #ifdef HAVE_ALIAS_H
17069 #include <alias.h>
17070 #endif
17071 #ifdef HAVE_SYS_SOCKET_H
17072 #include <sys/socket.h>
17073 #endif
17074 #ifdef HAVE_SYS_SOCKETVAR_H
17075 #include <sys/socketvar.h>
17076 #endif
17077 #ifdef HAVE_SYS_TIMEOUT_H
17078 #include <sys/timeout.h>
17079 #endif
17080 #ifdef HAVE_NETINET_IN_H
17081 #include <netinet/in.h>
17082 #endif
17083 #ifdef HAVE_NETINET_IN_SYSTM_H
17084 #include <netinet/in_systm.h>
17085 #endif
17086 #ifdef HAVE_NETINET_IP_H
17087 #include <netinet/ip.h>
17088 #endif
17089 #ifdef HAVE_NETINET_IP_VAR_H
17090 #include <netinet/ip_var.h>
17091 #endif
17092 #ifdef HAVE_NETINET_IP_ICMP_H
17093 #include <netinet/ip_icmp.h>
17094 #endif
17095 #ifdef HAVE_NETINET_ICMP_VAR_H
17096 #include <netinet/icmp_var.h>
17097 #endif
17099 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17103 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17110 #include <sys/types.h>
17111 #endif
17112 #ifdef HAVE_SYS_SOCKETVAR_H
17113 #include <sys/socketvar.h>
17114 #endif
17115 #ifdef HAVE_NETINET_IN_H
17116 #include <netinet/in.h>
17117 #endif
17118 #ifdef HAVE_NETINET_IP_VAR_H
17119 #include <netinet/ip_var.h>
17120 #endif
17122 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17126 _ACEOF
17132 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
17133 #include <netinet/ip_var.h>
17134 #endif
17136 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17138 cat >>confdefs.h <<_ACEOF
17139 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17140 _ACEOF
17146 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17147 #include <sys/types.h>
17148 #endif
17149 #ifdef HAVE_SYS_SOCKETVAR_H
17150 #include <sys/socketvar.h>
17151 #endif
17152 #ifdef HAVE_NETINET_IN_H
17153 #include <netinet/in.h>
17154 #endif
17155 #ifdef HAVE_NETINET_TCP_H
17156 #include <netinet/tcp.h>
17157 #endif
17158 #ifdef HAVE_NETINET_TCP_VAR_H
17159 #include <netinet/tcp_var.h>
17160 #endif
17162 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17164 cat >>confdefs.h <<_ACEOF
17165 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17166 _ACEOF
17172 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
17173 #include <netinet/tcp_var.h>
17174 #endif
17176 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17180 _ACEOF
17186 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17187 #include <sys/types.h>
17188 #endif
17189 #ifdef HAVE_NETINET_IN_H
17190 #include <netinet/in.h>
17191 #endif
17192 #ifdef HAVE_NETINET_IP_VAR_H
17193 #include <netinet/ip_var.h>
17194 #endif
17195 #ifdef HAVE_NETINET_UDP_H
17196 #include <netinet/udp.h>
17197 #endif
17198 #ifdef HAVE_NETINET_UDP_VAR_H
17199 #include <netinet/udp_var.h>
17200 #endif
17202 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17206 _ACEOF
17212 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17213 #include <sys/types.h>
17214 #endif
17215 #ifdef HAVE_NET_IF_H
17216 # include <net/if.h>
17217 #endif
17219 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17223 _ACEOF
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17230 $as_echo_n "checking for timezone variable... " >&6; }
17231 if ${ac_cv_have_timezone+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #include <time.h>
17238 main ()
17240 timezone = 1
17242 return 0;
17244 _ACEOF
17245 if ac_fn_c_try_link "$LINENO"; then :
17246 ac_cv_have_timezone="yes"
17247 else
17248 ac_cv_have_timezone="no"
17250 rm -f core conftest.err conftest.$ac_objext \
17251 conftest$ac_exeext conftest.$ac_ext
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17254 $as_echo "$ac_cv_have_timezone" >&6; }
17255 if test "$ac_cv_have_timezone" = "yes"
17256 then
17258 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17262 $as_echo_n "checking for daylight variable... " >&6; }
17263 if ${ac_cv_have_daylight+:} false; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17268 #include <time.h>
17270 main ()
17272 daylight = 1
17274 return 0;
17276 _ACEOF
17277 if ac_fn_c_try_link "$LINENO"; then :
17278 ac_cv_have_daylight="yes"
17279 else
17280 ac_cv_have_daylight="no"
17282 rm -f core conftest.err conftest.$ac_objext \
17283 conftest$ac_exeext conftest.$ac_ext
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17286 $as_echo "$ac_cv_have_daylight" >&6; }
17287 if test "$ac_cv_have_daylight" = "yes"
17288 then
17290 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17294 ac_save_LIBS="$LIBS"
17295 LIBS="$LIBS -lm"
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17297 $as_echo_n "checking for isfinite... " >&6; }
17298 if ${ac_cv_have_isfinite+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #define _GNU_SOURCE
17304 #include <math.h>
17306 main ()
17308 float f = 0.0; return isfinite(f)
17310 return 0;
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"; then :
17314 ac_cv_have_isfinite="yes"
17315 else
17316 ac_cv_have_isfinite="no"
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17322 $as_echo "$ac_cv_have_isfinite" >&6; }
17323 if test "$ac_cv_have_isfinite" = "yes"
17324 then
17326 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17331 $as_echo_n "checking for isinf... " >&6; }
17332 if ${ac_cv_have_isinf+:} false; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 #include <math.h>
17339 main ()
17341 float f = 0.0; return isinf(f)
17343 return 0;
17345 _ACEOF
17346 if ac_fn_c_try_link "$LINENO"; then :
17347 ac_cv_have_isinf="yes"
17348 else
17349 ac_cv_have_isinf="no"
17351 rm -f core conftest.err conftest.$ac_objext \
17352 conftest$ac_exeext conftest.$ac_ext
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17355 $as_echo "$ac_cv_have_isinf" >&6; }
17356 if test "$ac_cv_have_isinf" = "yes"
17357 then
17359 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17364 $as_echo_n "checking for isnan... " >&6; }
17365 if ${ac_cv_have_isnan+:} false; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17370 #include <math.h>
17372 main ()
17374 float f = 0.0; return isnan(f)
17376 return 0;
17378 _ACEOF
17379 if ac_fn_c_try_link "$LINENO"; then :
17380 ac_cv_have_isnan="yes"
17381 else
17382 ac_cv_have_isnan="no"
17384 rm -f core conftest.err conftest.$ac_objext \
17385 conftest$ac_exeext conftest.$ac_ext
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17388 $as_echo "$ac_cv_have_isnan" >&6; }
17389 if test "$ac_cv_have_isnan" = "yes"
17390 then
17392 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17396 for ac_func in \
17397 asinh \
17398 asinhf \
17399 cbrt \
17400 cbrtf \
17401 erf \
17402 erff \
17403 exp2 \
17404 exp2f \
17405 lgamma \
17406 lgammaf \
17407 llrint \
17408 llrintf \
17409 llround \
17410 llroundf \
17411 log2 \
17412 log2f \
17413 lrint \
17414 lrintf \
17415 lround \
17416 lroundf \
17417 nearbyint \
17418 nearbyintf \
17419 powl \
17420 remainder \
17421 remainderf \
17422 rint \
17423 rintf \
17424 round \
17425 roundf \
17426 trunc \
17427 truncf
17429 do :
17430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17435 _ACEOF
17438 done
17440 LIBS="$ac_save_LIBS"
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17443 $as_echo_n "checking for __builtin_clz... " >&6; }
17444 if ${ac_cv_have___builtin_clz+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17451 main ()
17453 return __builtin_clz(1)
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_link "$LINENO"; then :
17459 ac_cv_have___builtin_clz="yes"
17460 else
17461 ac_cv_have___builtin_clz="no"
17463 rm -f core conftest.err conftest.$ac_objext \
17464 conftest$ac_exeext conftest.$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17467 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17468 if test "$ac_cv_have___builtin_clz" = "yes"
17469 then
17471 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17476 $as_echo_n "checking for __builtin_popcount... " >&6; }
17477 if ${ac_cv_have___builtin_popcount+:} false; then :
17478 $as_echo_n "(cached) " >&6
17479 else
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17484 main ()
17486 return __builtin_popcount(1)
17488 return 0;
17490 _ACEOF
17491 if ac_fn_c_try_link "$LINENO"; then :
17492 ac_cv_have___builtin_popcount="yes"
17493 else
17494 ac_cv_have___builtin_popcount="no"
17496 rm -f core conftest.err conftest.$ac_objext \
17497 conftest$ac_exeext conftest.$ac_ext
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17500 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17501 if test "$ac_cv_have___builtin_popcount" = "yes"
17502 then
17504 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17509 case $host_cpu in
17510 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17511 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17512 if ${ac_cv_cpp_def___i386__+:} false; then :
17513 $as_echo_n "(cached) " >&6
17514 else
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #ifndef __i386__
17519 #endif
17520 _ACEOF
17521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17522 $EGREP "yes" >/dev/null 2>&1; then :
17523 ac_cv_cpp_def___i386__=yes
17524 else
17525 ac_cv_cpp_def___i386__=no
17527 rm -f conftest*
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17531 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17532 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17533 CFLAGS="$CFLAGS -D__i386__"
17534 LINTFLAGS="$LINTFLAGS -D__i386__"
17535 fi ;;
17536 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17537 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17538 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 #ifndef __x86_64__
17545 #endif
17546 _ACEOF
17547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17548 $EGREP "yes" >/dev/null 2>&1; then :
17549 ac_cv_cpp_def___x86_64__=yes
17550 else
17551 ac_cv_cpp_def___x86_64__=no
17553 rm -f conftest*
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17557 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17558 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17559 CFLAGS="$CFLAGS -D__x86_64__"
17560 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17561 fi ;;
17562 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17563 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17564 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #ifndef __sparc64__
17571 #endif
17572 _ACEOF
17573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17574 $EGREP "yes" >/dev/null 2>&1; then :
17575 ac_cv_cpp_def___sparc64__=yes
17576 else
17577 ac_cv_cpp_def___sparc64__=no
17579 rm -f conftest*
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17583 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17584 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17585 CFLAGS="$CFLAGS -D__sparc64__"
17586 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17587 fi ;;
17588 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17589 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17590 if ${ac_cv_cpp_def___sparc__+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #ifndef __sparc__
17597 #endif
17598 _ACEOF
17599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17600 $EGREP "yes" >/dev/null 2>&1; then :
17601 ac_cv_cpp_def___sparc__=yes
17602 else
17603 ac_cv_cpp_def___sparc__=no
17605 rm -f conftest*
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17609 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17610 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17611 CFLAGS="$CFLAGS -D__sparc__"
17612 LINTFLAGS="$LINTFLAGS -D__sparc__"
17613 fi ;;
17614 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17615 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17616 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #ifndef __powerpc64__
17623 #endif
17624 _ACEOF
17625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17626 $EGREP "yes" >/dev/null 2>&1; then :
17627 ac_cv_cpp_def___powerpc64__=yes
17628 else
17629 ac_cv_cpp_def___powerpc64__=no
17631 rm -f conftest*
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17635 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17636 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17637 CFLAGS="$CFLAGS -D__powerpc64__"
17638 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17639 fi ;;
17640 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17641 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17642 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17643 $as_echo_n "(cached) " >&6
17644 else
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 #ifndef __powerpc__
17649 #endif
17650 _ACEOF
17651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17652 $EGREP "yes" >/dev/null 2>&1; then :
17653 ac_cv_cpp_def___powerpc__=yes
17654 else
17655 ac_cv_cpp_def___powerpc__=no
17657 rm -f conftest*
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17661 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17662 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17663 CFLAGS="$CFLAGS -D__powerpc__"
17664 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17665 fi ;;
17666 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17667 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17668 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #ifndef __aarch64__
17675 #endif
17676 _ACEOF
17677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17678 $EGREP "yes" >/dev/null 2>&1; then :
17679 ac_cv_cpp_def___aarch64__=yes
17680 else
17681 ac_cv_cpp_def___aarch64__=no
17683 rm -f conftest*
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17687 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17688 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17689 CFLAGS="$CFLAGS -D__aarch64__"
17690 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17691 fi ;;
17692 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17693 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17694 if ${ac_cv_cpp_def___arm__+:} false; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 #ifndef __arm__
17701 #endif
17702 _ACEOF
17703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17704 $EGREP "yes" >/dev/null 2>&1; then :
17705 ac_cv_cpp_def___arm__=yes
17706 else
17707 ac_cv_cpp_def___arm__=no
17709 rm -f conftest*
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17713 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17714 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17715 CFLAGS="$CFLAGS -D__arm__"
17716 LINTFLAGS="$LINTFLAGS -D__arm__"
17717 fi ;;
17718 esac
17720 case $host_vendor in
17721 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17722 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17723 if ${ac_cv_cpp_def___sun__+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #ifndef __sun__
17730 #endif
17731 _ACEOF
17732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17733 $EGREP "yes" >/dev/null 2>&1; then :
17734 ac_cv_cpp_def___sun__=yes
17735 else
17736 ac_cv_cpp_def___sun__=no
17738 rm -f conftest*
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17742 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17743 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17744 CFLAGS="$CFLAGS -D__sun__"
17745 LINTFLAGS="$LINTFLAGS -D__sun__"
17746 fi ;;
17747 esac
17753 ac_config_commands="$ac_config_commands include/stamp-h"
17755 $as_echo_n "creating Makefile rules..." >&6
17757 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17758 SOCKET_LIBS = $SOCKET_LIBS
17759 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17760 IOKIT_LIBS = $IOKIT_LIBS
17761 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17762 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17763 CORESERVICES_LIBS = $CORESERVICES_LIBS
17764 APPKIT_LIBS = $APPKIT_LIBS
17765 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17766 SECURITY_LIBS = $SECURITY_LIBS
17767 COREAUDIO_LIBS = $COREAUDIO_LIBS
17768 OPENAL_LIBS = $OPENAL_LIBS
17769 OPENCL_LIBS = $OPENCL_LIBS
17770 QUICKTIME_LIBS = $QUICKTIME_LIBS
17771 CARBON_LIBS = $CARBON_LIBS
17772 PTHREAD_LIBS = $PTHREAD_LIBS
17773 X_CFLAGS = $X_CFLAGS
17774 X_PRE_LIBS = $X_PRE_LIBS
17775 X_LIBS = $X_LIBS
17776 X_EXTRA_LIBS = $X_EXTRA_LIBS
17777 PCAP_LIBS = $PCAP_LIBS
17778 XML2_CFLAGS = $XML2_CFLAGS
17779 XML2_LIBS = $XML2_LIBS
17780 XSLT_CFLAGS = $XSLT_CFLAGS
17781 XSLT_LIBS = $XSLT_LIBS
17782 DBUS_CFLAGS = $DBUS_CFLAGS
17783 DBUS_LIBS = $DBUS_LIBS
17784 HAL_CFLAGS = $HAL_CFLAGS
17785 HAL_LIBS = $HAL_LIBS
17786 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17787 GNUTLS_LIBS = $GNUTLS_LIBS
17788 SANE_CFLAGS = $SANE_CFLAGS
17789 SANE_LIBS = $SANE_LIBS
17790 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17791 GPHOTO2_LIBS = $GPHOTO2_LIBS
17792 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17793 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17794 RESOLV_LIBS = $RESOLV_LIBS
17795 LCMS2_CFLAGS = $LCMS2_CFLAGS
17796 LCMS2_LIBS = $LCMS2_LIBS
17797 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17798 FREETYPE_LIBS = $FREETYPE_LIBS
17799 Z_LIBS = $Z_LIBS
17800 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17801 PULSE_CFLAGS = $PULSE_CFLAGS
17802 PULSE_LIBS = $PULSE_LIBS
17803 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17804 GSTREAMER_LIBS = $GSTREAMER_LIBS
17805 ALSA_LIBS = $ALSA_LIBS
17806 OSS4_CFLAGS = $OSS4_CFLAGS
17807 UDEV_CFLAGS = $UDEV_CFLAGS
17808 UDEV_LIBS = $UDEV_LIBS
17809 CAPI20_CFLAGS = $CAPI20_CFLAGS
17810 CAPI20_LIBS = $CAPI20_LIBS
17811 CUPS_CFLAGS = $CUPS_CFLAGS
17812 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17813 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17814 JPEG_CFLAGS = $JPEG_CFLAGS
17815 JPEG_LIBS = $JPEG_LIBS
17816 PNG_CFLAGS = $PNG_CFLAGS
17817 PNG_LIBS = $PNG_LIBS
17818 TIFF_CFLAGS = $TIFF_CFLAGS
17819 TIFF_LIBS = $TIFF_LIBS
17820 MPG123_CFLAGS = $MPG123_CFLAGS
17821 MPG123_LIBS = $MPG123_LIBS
17822 KSTAT_LIBS = $KSTAT_LIBS
17823 PROCSTAT_LIBS = $PROCSTAT_LIBS
17824 NETAPI_CFLAGS = $NETAPI_CFLAGS
17825 NETAPI_LIBS = $NETAPI_LIBS
17826 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17827 DL_LIBS = $DL_LIBS
17828 POLL_LIBS = $POLL_LIBS
17829 RT_LIBS = $RT_LIBS
17830 LDAP_LIBS = $LDAP_LIBS
17835 wine_fn_append_rule "
17836 # Rules automatically generated by configure
17838 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17840 .INIT: Makefile
17841 .MAKEFILEDEPS:
17842 all: Makefile
17843 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17844 @./config.status Make.tmp Makefile
17845 depend: \$(MAKEDEP) dummy
17846 \$(MAKEDEP)"
17848 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17849 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17851 if test "x$enable_fonts" != xno; then
17852 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17853 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17854 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17855 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17856 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17857 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17859 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17860 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17861 ac_config_links="$ac_config_links wine:tools/winewrapper"
17862 wine_fn_config_symlink wine
17863 if test "x$enable_win64" != xno; then
17864 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17865 wine_fn_config_symlink wine64
17868 wine_fn_config_dll acledit enable_acledit
17869 wine_fn_config_dll aclui enable_aclui implib
17870 wine_fn_config_dll activeds enable_activeds implib
17871 wine_fn_config_dll actxprxy enable_actxprxy clean
17872 wine_fn_config_lib adsiid
17873 wine_fn_config_dll adsldpc enable_adsldpc
17874 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17875 wine_fn_config_test dlls/advapi32/tests advapi32_test
17876 wine_fn_config_dll advpack enable_advpack implib
17877 wine_fn_config_test dlls/advpack/tests advpack_test
17878 wine_fn_config_dll amstream enable_amstream clean
17879 wine_fn_config_test dlls/amstream/tests amstream_test
17880 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17881 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17882 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17883 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17884 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17885 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17886 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17887 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17888 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17889 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17890 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17891 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17892 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17893 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17895 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17897 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17898 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17899 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17900 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17901 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17902 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17903 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17904 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17905 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17906 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17907 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17908 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17909 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17910 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17911 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17912 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17913 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17914 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17915 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17916 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17917 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17919 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17921 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17922 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17923 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17924 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17925 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17926 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17927 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17928 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17929 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17930 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17931 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17932 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17934 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17935 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17936 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17937 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17938 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17939 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17940 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17942 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17943 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17944 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17946 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17947 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17948 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17949 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17950 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17954 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17956 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17959 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17964 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17968 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17970 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17971 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17973 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17985 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17986 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17993 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17994 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17995 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17996 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17997 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17998 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17999 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18000 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18001 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18002 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18003 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18006 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18007 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18008 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18009 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18010 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18011 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18012 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18013 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18014 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18015 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18016 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18017 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18018 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18019 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18020 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18021 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18022 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18023 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18024 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18025 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18026 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18027 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18028 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18029 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18030 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18031 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18032 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18033 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18034 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18035 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18036 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18037 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18038 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18039 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18040 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18041 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18042 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18043 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18044 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18045 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18046 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18047 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18048 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18049 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18050 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18051 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18052 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18053 wine_fn_config_dll apphelp enable_apphelp
18054 wine_fn_config_test dlls/apphelp/tests apphelp_test
18055 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18056 wine_fn_config_dll atl enable_atl clean,implib
18057 wine_fn_config_test dlls/atl/tests atl_test
18058 wine_fn_config_dll atl100 enable_atl100 clean,implib
18059 wine_fn_config_test dlls/atl100/tests atl100_test
18060 wine_fn_config_dll atl110 enable_atl110 clean
18061 wine_fn_config_dll atl80 enable_atl80 clean,implib
18062 wine_fn_config_test dlls/atl80/tests atl80_test
18063 wine_fn_config_dll atl90 enable_atl90 clean
18064 wine_fn_config_dll authz enable_authz
18065 wine_fn_config_dll avicap32 enable_avicap32 implib
18066 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18067 wine_fn_config_test dlls/avifil32/tests avifil32_test
18068 wine_fn_config_dll avifile.dll16 enable_win16
18069 wine_fn_config_dll avrt enable_avrt implib
18070 wine_fn_config_dll bcrypt enable_bcrypt implib
18071 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18072 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18073 wine_fn_config_dll browseui enable_browseui clean
18074 wine_fn_config_test dlls/browseui/tests browseui_test
18075 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18076 wine_fn_config_dll cabinet enable_cabinet implib
18077 wine_fn_config_test dlls/cabinet/tests cabinet_test
18078 wine_fn_config_dll capi2032 enable_capi2032 implib
18079 wine_fn_config_dll cards enable_cards implib
18080 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18081 wine_fn_config_dll clusapi enable_clusapi implib
18082 wine_fn_config_dll combase enable_combase
18083 wine_fn_config_test dlls/combase/tests combase_test
18084 wine_fn_config_dll comcat enable_comcat
18085 wine_fn_config_test dlls/comcat/tests comcat_test
18086 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18087 wine_fn_config_test dlls/comctl32/tests comctl32_test
18088 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18089 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18090 wine_fn_config_dll comm.drv16 enable_win16
18091 wine_fn_config_dll commdlg.dll16 enable_win16
18092 wine_fn_config_dll compobj.dll16 enable_win16
18093 wine_fn_config_dll compstui enable_compstui implib
18094 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18095 wine_fn_config_dll concrt140 enable_concrt140
18096 wine_fn_config_dll connect enable_connect
18097 wine_fn_config_dll credui enable_credui clean,implib
18098 wine_fn_config_test dlls/credui/tests credui_test
18099 wine_fn_config_dll crtdll enable_crtdll
18100 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18101 wine_fn_config_test dlls/crypt32/tests crypt32_test
18102 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18103 wine_fn_config_dll cryptdll enable_cryptdll implib
18104 wine_fn_config_dll cryptext enable_cryptext
18105 wine_fn_config_dll cryptnet enable_cryptnet implib
18106 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18107 wine_fn_config_dll cryptui enable_cryptui clean,implib
18108 wine_fn_config_test dlls/cryptui/tests cryptui_test
18109 wine_fn_config_dll ctapi32 enable_ctapi32
18110 wine_fn_config_dll ctl3d.dll16 enable_win16
18111 wine_fn_config_dll ctl3d32 enable_ctl3d32
18112 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18113 wine_fn_config_dll d2d1 enable_d2d1 implib
18114 wine_fn_config_test dlls/d2d1/tests d2d1_test
18115 wine_fn_config_dll d3d10 enable_d3d10 implib
18116 wine_fn_config_test dlls/d3d10/tests d3d10_test
18117 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18118 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18119 wine_fn_config_dll d3d10core enable_d3d10core implib
18120 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18121 wine_fn_config_dll d3d11 enable_d3d11 implib
18122 wine_fn_config_test dlls/d3d11/tests d3d11_test
18123 wine_fn_config_dll d3d8 enable_d3d8 implib
18124 wine_fn_config_test dlls/d3d8/tests d3d8_test
18125 wine_fn_config_dll d3d9 enable_d3d9 implib
18126 wine_fn_config_test dlls/d3d9/tests d3d9_test
18127 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18128 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18129 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18130 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18131 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18132 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18133 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18134 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18135 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18136 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18137 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18138 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18139 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18140 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18141 wine_fn_config_dll d3dim enable_d3dim
18142 wine_fn_config_dll d3drm enable_d3drm implib
18143 wine_fn_config_test dlls/d3drm/tests d3drm_test
18144 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18145 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18146 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18147 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18148 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18149 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18150 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18151 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18152 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18153 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18154 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18155 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18156 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18157 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18158 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18159 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18160 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18161 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18162 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18163 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18164 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18165 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18166 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18167 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18168 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18169 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18170 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18171 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18172 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18173 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18174 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18175 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18176 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18177 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18178 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18179 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18180 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18181 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18182 wine_fn_config_dll davclnt enable_davclnt
18183 wine_fn_config_dll dbgeng enable_dbgeng implib
18184 wine_fn_config_dll dbghelp enable_dbghelp implib
18185 wine_fn_config_dll dciman32 enable_dciman32 implib
18186 wine_fn_config_dll ddeml.dll16 enable_win16
18187 wine_fn_config_dll ddraw enable_ddraw clean,implib
18188 wine_fn_config_test dlls/ddraw/tests ddraw_test
18189 wine_fn_config_dll ddrawex enable_ddrawex clean
18190 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18191 wine_fn_config_dll devenum enable_devenum clean
18192 wine_fn_config_test dlls/devenum/tests devenum_test
18193 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18194 wine_fn_config_dll difxapi enable_difxapi
18195 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18196 wine_fn_config_test dlls/dinput/tests dinput_test
18197 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18198 wine_fn_config_test dlls/dinput8/tests dinput8_test
18199 wine_fn_config_dll dispdib.dll16 enable_win16
18200 wine_fn_config_dll dispex enable_dispex clean
18201 wine_fn_config_test dlls/dispex/tests dispex_test
18202 wine_fn_config_dll display.drv16 enable_win16
18203 wine_fn_config_dll dmband enable_dmband clean
18204 wine_fn_config_test dlls/dmband/tests dmband_test
18205 wine_fn_config_dll dmcompos enable_dmcompos clean
18206 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18207 wine_fn_config_dll dmime enable_dmime clean
18208 wine_fn_config_test dlls/dmime/tests dmime_test
18209 wine_fn_config_dll dmloader enable_dmloader clean
18210 wine_fn_config_test dlls/dmloader/tests dmloader_test
18211 wine_fn_config_dll dmscript enable_dmscript clean
18212 wine_fn_config_test dlls/dmscript/tests dmscript_test
18213 wine_fn_config_dll dmstyle enable_dmstyle clean
18214 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18215 wine_fn_config_dll dmsynth enable_dmsynth clean
18216 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18217 wine_fn_config_dll dmusic enable_dmusic clean
18218 wine_fn_config_test dlls/dmusic/tests dmusic_test
18219 wine_fn_config_dll dmusic32 enable_dmusic32
18220 wine_fn_config_dll dnsapi enable_dnsapi implib
18221 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18222 wine_fn_config_dll dplay enable_dplay
18223 wine_fn_config_dll dplayx enable_dplayx clean,implib
18224 wine_fn_config_test dlls/dplayx/tests dplayx_test
18225 wine_fn_config_dll dpnaddr enable_dpnaddr
18226 wine_fn_config_dll dpnet enable_dpnet clean,implib
18227 wine_fn_config_test dlls/dpnet/tests dpnet_test
18228 wine_fn_config_dll dpnhpast enable_dpnhpast
18229 wine_fn_config_dll dpnlobby enable_dpnlobby
18230 wine_fn_config_dll dpvoice enable_dpvoice clean
18231 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18232 wine_fn_config_dll dpwsockx enable_dpwsockx
18233 wine_fn_config_dll drmclien enable_drmclien
18234 wine_fn_config_dll dsound enable_dsound clean,implib
18235 wine_fn_config_test dlls/dsound/tests dsound_test
18236 wine_fn_config_dll dssenh enable_dssenh
18237 wine_fn_config_test dlls/dssenh/tests dssenh_test
18238 wine_fn_config_dll dswave enable_dswave clean
18239 wine_fn_config_test dlls/dswave/tests dswave_test
18240 wine_fn_config_dll dwmapi enable_dwmapi implib
18241 wine_fn_config_dll dwrite enable_dwrite implib
18242 wine_fn_config_test dlls/dwrite/tests dwrite_test
18243 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18244 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18245 wine_fn_config_lib dxerr8
18246 wine_fn_config_lib dxerr9
18247 wine_fn_config_dll dxgi enable_dxgi implib
18248 wine_fn_config_test dlls/dxgi/tests dxgi_test
18249 wine_fn_config_lib dxguid
18250 wine_fn_config_dll dxva2 enable_dxva2
18251 wine_fn_config_dll esent enable_esent
18252 wine_fn_config_dll evr enable_evr
18253 wine_fn_config_dll explorerframe enable_explorerframe clean
18254 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18255 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18256 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18257 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18258 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18259 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18260 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18261 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18262 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18263 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18264 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18265 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18266 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18267 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18268 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18269 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18270 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
18271 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18272 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18273 wine_fn_config_dll faultrep enable_faultrep implib
18274 wine_fn_config_test dlls/faultrep/tests faultrep_test
18275 wine_fn_config_dll fltlib enable_fltlib
18276 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18277 wine_fn_config_dll fntcache enable_fntcache
18278 wine_fn_config_dll fontsub enable_fontsub
18279 wine_fn_config_dll fusion enable_fusion
18280 wine_fn_config_test dlls/fusion/tests fusion_test
18281 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18282 wine_fn_config_dll gameux enable_gameux clean
18283 wine_fn_config_test dlls/gameux/tests gameux_test
18284 wine_fn_config_dll gdi.exe16 enable_win16
18285 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18286 wine_fn_config_test dlls/gdi32/tests gdi32_test
18287 wine_fn_config_dll gdiplus enable_gdiplus implib
18288 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18289 wine_fn_config_dll glu32 enable_glu32 implib
18290 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18291 wine_fn_config_dll gpkcsp enable_gpkcsp
18292 wine_fn_config_dll hal enable_hal
18293 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18294 wine_fn_config_dll hid enable_hid implib
18295 wine_fn_config_test dlls/hid/tests hid_test
18296 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18297 wine_fn_config_dll hlink enable_hlink clean,implib
18298 wine_fn_config_test dlls/hlink/tests hlink_test
18299 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18300 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18301 wine_fn_config_dll httpapi enable_httpapi
18302 wine_fn_config_dll iccvid enable_iccvid clean
18303 wine_fn_config_dll icmp enable_icmp
18304 wine_fn_config_dll ieframe enable_ieframe clean,implib
18305 wine_fn_config_test dlls/ieframe/tests ieframe_test
18306 wine_fn_config_dll ifsmgr.vxd enable_win16
18307 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18308 wine_fn_config_dll imagehlp enable_imagehlp implib
18309 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18310 wine_fn_config_dll imm.dll16 enable_win16
18311 wine_fn_config_dll imm32 enable_imm32 implib
18312 wine_fn_config_test dlls/imm32/tests imm32_test
18313 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18314 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18315 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18316 wine_fn_config_dll inetmib1 enable_inetmib1
18317 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18318 wine_fn_config_dll infosoft enable_infosoft clean
18319 wine_fn_config_test dlls/infosoft/tests infosoft_test
18320 wine_fn_config_dll initpki enable_initpki
18321 wine_fn_config_dll inkobj enable_inkobj
18322 wine_fn_config_dll inseng enable_inseng clean
18323 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18324 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18325 wine_fn_config_dll iprop enable_iprop
18326 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18327 wine_fn_config_dll itircl enable_itircl
18328 wine_fn_config_dll itss enable_itss clean
18329 wine_fn_config_test dlls/itss/tests itss_test
18330 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18331 wine_fn_config_dll jscript enable_jscript clean
18332 wine_fn_config_test dlls/jscript/tests jscript_test
18333 wine_fn_config_dll jsproxy enable_jsproxy implib
18334 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18335 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18336 wine_fn_config_test dlls/kernel32/tests kernel32_test
18337 wine_fn_config_dll kernelbase enable_kernelbase
18338 wine_fn_config_dll keyboard.drv16 enable_win16
18339 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18340 wine_fn_config_dll ksuser enable_ksuser
18341 wine_fn_config_dll ktmw32 enable_ktmw32
18342 wine_fn_config_dll loadperf enable_loadperf implib
18343 wine_fn_config_dll localspl enable_localspl clean
18344 wine_fn_config_test dlls/localspl/tests localspl_test
18345 wine_fn_config_dll localui enable_localui clean
18346 wine_fn_config_test dlls/localui/tests localui_test
18347 wine_fn_config_dll lz32 enable_lz32 implib
18348 wine_fn_config_test dlls/lz32/tests lz32_test
18349 wine_fn_config_dll lzexpand.dll16 enable_win16
18350 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18351 wine_fn_config_test dlls/mapi32/tests mapi32_test
18352 wine_fn_config_dll mapistub enable_mapistub
18353 wine_fn_config_dll mciavi32 enable_mciavi32
18354 wine_fn_config_dll mcicda enable_mcicda
18355 wine_fn_config_dll mciqtz32 enable_mciqtz32
18356 wine_fn_config_dll mciseq enable_mciseq
18357 wine_fn_config_dll mciwave enable_mciwave
18358 wine_fn_config_dll mf enable_mf implib
18359 wine_fn_config_test dlls/mf/tests mf_test
18360 wine_fn_config_dll mf3216 enable_mf3216
18361 wine_fn_config_dll mfplat enable_mfplat implib
18362 wine_fn_config_test dlls/mfplat/tests mfplat_test
18363 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18364 wine_fn_config_dll mgmtapi enable_mgmtapi
18365 wine_fn_config_dll midimap enable_midimap
18366 wine_fn_config_dll mlang enable_mlang clean,implib
18367 wine_fn_config_test dlls/mlang/tests mlang_test
18368 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18369 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18370 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18371 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18372 wine_fn_config_dll mmdevldr.vxd enable_win16
18373 wine_fn_config_dll mmsystem.dll16 enable_win16
18374 wine_fn_config_dll monodebg.vxd enable_win16
18375 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18376 wine_fn_config_dll mouse.drv16 enable_win16
18377 wine_fn_config_dll mpr enable_mpr clean,implib
18378 wine_fn_config_test dlls/mpr/tests mpr_test
18379 wine_fn_config_dll mprapi enable_mprapi implib
18380 wine_fn_config_dll msacm.dll16 enable_win16
18381 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18382 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18383 wine_fn_config_test dlls/msacm32/tests msacm32_test
18384 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18385 wine_fn_config_dll msasn1 enable_msasn1 implib
18386 wine_fn_config_dll mscat32 enable_mscat32
18387 wine_fn_config_dll mscms enable_mscms implib
18388 wine_fn_config_test dlls/mscms/tests mscms_test
18389 wine_fn_config_dll mscoree enable_mscoree clean
18390 wine_fn_config_test dlls/mscoree/tests mscoree_test
18391 wine_fn_config_dll msctf enable_msctf clean
18392 wine_fn_config_test dlls/msctf/tests msctf_test
18393 wine_fn_config_dll msctfp enable_msctfp clean
18394 wine_fn_config_dll msdaps enable_msdaps clean
18395 wine_fn_config_dll msdelta enable_msdelta
18396 wine_fn_config_dll msdmo enable_msdmo implib
18397 wine_fn_config_test dlls/msdmo/tests msdmo_test
18398 wine_fn_config_dll msdrm enable_msdrm
18399 wine_fn_config_dll msftedit enable_msftedit
18400 wine_fn_config_dll msg711.acm enable_msg711_acm
18401 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18402 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18403 wine_fn_config_dll mshtml enable_mshtml clean,implib
18404 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18405 wine_fn_config_dll msi enable_msi clean,implib
18406 wine_fn_config_test dlls/msi/tests msi_test
18407 wine_fn_config_dll msident enable_msident clean
18408 wine_fn_config_dll msimg32 enable_msimg32 implib
18409 wine_fn_config_dll msimsg enable_msimsg
18410 wine_fn_config_dll msimtf enable_msimtf clean
18411 wine_fn_config_dll msisip enable_msisip
18412 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18413 wine_fn_config_dll msls31 enable_msls31
18414 wine_fn_config_dll msnet32 enable_msnet32
18415 wine_fn_config_dll mspatcha enable_mspatcha implib
18416 wine_fn_config_dll msports enable_msports
18417 wine_fn_config_dll msrle32 enable_msrle32 clean
18418 wine_fn_config_test dlls/msrle32/tests msrle32_test
18419 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18420 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18421 wine_fn_config_dll mssign32 enable_mssign32
18422 wine_fn_config_dll mssip32 enable_mssip32
18423 wine_fn_config_dll mstask enable_mstask clean
18424 wine_fn_config_test dlls/mstask/tests mstask_test
18425 wine_fn_config_dll msvcirt enable_msvcirt
18426 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18427 wine_fn_config_dll msvcm80 enable_msvcm80
18428 wine_fn_config_dll msvcm90 enable_msvcm90
18429 wine_fn_config_dll msvcp100 enable_msvcp100
18430 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18431 wine_fn_config_dll msvcp110 enable_msvcp110
18432 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18433 wine_fn_config_dll msvcp120 enable_msvcp120
18434 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18435 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18436 wine_fn_config_dll msvcp140 enable_msvcp140
18437 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18438 wine_fn_config_dll msvcp60 enable_msvcp60
18439 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18440 wine_fn_config_dll msvcp70 enable_msvcp70
18441 wine_fn_config_dll msvcp71 enable_msvcp71
18442 wine_fn_config_dll msvcp80 enable_msvcp80
18443 wine_fn_config_dll msvcp90 enable_msvcp90
18444 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18445 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18446 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18447 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18448 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18449 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18450 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18451 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18452 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18453 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18454 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18455 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18456 wine_fn_config_dll msvcrt enable_msvcrt implib
18457 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18458 wine_fn_config_dll msvcrt20 enable_msvcrt20
18459 wine_fn_config_dll msvcrt40 enable_msvcrt40
18460 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18461 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18462 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18463 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18464 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18465 wine_fn_config_dll msvideo.dll16 enable_win16
18466 wine_fn_config_dll mswsock enable_mswsock implib
18467 wine_fn_config_dll msxml enable_msxml clean
18468 wine_fn_config_dll msxml2 enable_msxml2 clean
18469 wine_fn_config_dll msxml3 enable_msxml3 clean
18470 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18471 wine_fn_config_dll msxml4 enable_msxml4 clean
18472 wine_fn_config_dll msxml6 enable_msxml6 clean
18473 wine_fn_config_dll mtxdm enable_mtxdm
18474 wine_fn_config_dll ncrypt enable_ncrypt
18475 wine_fn_config_dll nddeapi enable_nddeapi implib
18476 wine_fn_config_dll ndis.sys enable_ndis_sys
18477 wine_fn_config_dll netapi32 enable_netapi32 implib
18478 wine_fn_config_test dlls/netapi32/tests netapi32_test
18479 wine_fn_config_dll netcfgx enable_netcfgx clean
18480 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18481 wine_fn_config_dll netprofm enable_netprofm clean
18482 wine_fn_config_test dlls/netprofm/tests netprofm_test
18483 wine_fn_config_dll newdev enable_newdev implib
18484 wine_fn_config_dll normaliz enable_normaliz implib
18485 wine_fn_config_dll npmshtml enable_npmshtml
18486 wine_fn_config_dll npptools enable_npptools
18487 wine_fn_config_dll ntdll enable_ntdll implib
18488 wine_fn_config_test dlls/ntdll/tests ntdll_test
18489 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18490 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18491 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18492 wine_fn_config_dll ntprint enable_ntprint
18493 wine_fn_config_test dlls/ntprint/tests ntprint_test
18494 wine_fn_config_dll objsel enable_objsel clean
18495 wine_fn_config_dll odbc32 enable_odbc32 implib
18496 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18497 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18498 wine_fn_config_dll odbccu32 enable_odbccu32
18499 wine_fn_config_dll ole2.dll16 enable_win16
18500 wine_fn_config_dll ole2conv.dll16 enable_win16
18501 wine_fn_config_dll ole2disp.dll16 enable_win16
18502 wine_fn_config_dll ole2nls.dll16 enable_win16
18503 wine_fn_config_dll ole2prox.dll16 enable_win16
18504 wine_fn_config_dll ole2thk.dll16 enable_win16
18505 wine_fn_config_dll ole32 enable_ole32 clean,implib
18506 wine_fn_config_test dlls/ole32/tests ole32_test
18507 wine_fn_config_dll oleacc enable_oleacc clean,implib
18508 wine_fn_config_test dlls/oleacc/tests oleacc_test
18509 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18510 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18511 wine_fn_config_dll olecli.dll16 enable_win16
18512 wine_fn_config_dll olecli32 enable_olecli32 implib
18513 wine_fn_config_dll oledb32 enable_oledb32 clean
18514 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18515 wine_fn_config_dll oledlg enable_oledlg clean,implib
18516 wine_fn_config_test dlls/oledlg/tests oledlg_test
18517 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18518 wine_fn_config_dll olesvr.dll16 enable_win16
18519 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18520 wine_fn_config_dll olethk32 enable_olethk32
18521 wine_fn_config_dll openal32 enable_openal32
18522 wine_fn_config_dll opencl enable_opencl
18523 wine_fn_config_dll opengl32 enable_opengl32 implib
18524 wine_fn_config_test dlls/opengl32/tests opengl32_test
18525 wine_fn_config_dll packager enable_packager clean
18526 wine_fn_config_test dlls/packager/tests packager_test
18527 wine_fn_config_dll pdh enable_pdh implib
18528 wine_fn_config_test dlls/pdh/tests pdh_test
18529 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18530 wine_fn_config_dll pidgen enable_pidgen
18531 wine_fn_config_dll powrprof enable_powrprof implib
18532 wine_fn_config_dll printui enable_printui
18533 wine_fn_config_dll prntvpt enable_prntvpt
18534 wine_fn_config_dll propsys enable_propsys clean,implib
18535 wine_fn_config_test dlls/propsys/tests propsys_test
18536 wine_fn_config_dll psapi enable_psapi implib
18537 wine_fn_config_test dlls/psapi/tests psapi_test
18538 wine_fn_config_dll pstorec enable_pstorec clean
18539 wine_fn_config_test dlls/pstorec/tests pstorec_test
18540 wine_fn_config_dll qcap enable_qcap
18541 wine_fn_config_test dlls/qcap/tests qcap_test
18542 wine_fn_config_dll qedit enable_qedit clean
18543 wine_fn_config_test dlls/qedit/tests qedit_test
18544 wine_fn_config_dll qmgr enable_qmgr clean
18545 wine_fn_config_test dlls/qmgr/tests qmgr_test
18546 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18547 wine_fn_config_dll quartz enable_quartz clean,implib
18548 wine_fn_config_test dlls/quartz/tests quartz_test clean
18549 wine_fn_config_dll query enable_query
18550 wine_fn_config_dll rasapi16.dll16 enable_win16
18551 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18552 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18553 wine_fn_config_dll rasdlg enable_rasdlg implib
18554 wine_fn_config_dll regapi enable_regapi
18555 wine_fn_config_dll resutils enable_resutils implib
18556 wine_fn_config_dll riched20 enable_riched20 clean,implib
18557 wine_fn_config_test dlls/riched20/tests riched20_test
18558 wine_fn_config_dll riched32 enable_riched32
18559 wine_fn_config_test dlls/riched32/tests riched32_test
18560 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18561 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18562 wine_fn_config_dll rsabase enable_rsabase
18563 wine_fn_config_dll rsaenh enable_rsaenh implib
18564 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18565 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18566 wine_fn_config_dll rtutils enable_rtutils implib
18567 wine_fn_config_dll samlib enable_samlib
18568 wine_fn_config_dll sane.ds enable_sane_ds clean
18569 wine_fn_config_dll scarddlg enable_scarddlg
18570 wine_fn_config_dll sccbase enable_sccbase
18571 wine_fn_config_dll schannel enable_schannel
18572 wine_fn_config_test dlls/schannel/tests schannel_test
18573 wine_fn_config_dll schedsvc enable_schedsvc clean
18574 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18575 wine_fn_config_dll scrobj enable_scrobj clean
18576 wine_fn_config_dll scrrun enable_scrrun clean
18577 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18578 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18579 wine_fn_config_dll secur32 enable_secur32 implib
18580 wine_fn_config_test dlls/secur32/tests secur32_test
18581 wine_fn_config_dll security enable_security
18582 wine_fn_config_dll sensapi enable_sensapi implib
18583 wine_fn_config_dll serialui enable_serialui clean
18584 wine_fn_config_test dlls/serialui/tests serialui_test
18585 wine_fn_config_dll setupapi enable_setupapi clean,implib
18586 wine_fn_config_test dlls/setupapi/tests setupapi_test
18587 wine_fn_config_dll setupx.dll16 enable_win16
18588 wine_fn_config_dll sfc enable_sfc implib
18589 wine_fn_config_dll sfc_os enable_sfc_os implib
18590 wine_fn_config_dll shdoclc enable_shdoclc clean
18591 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18592 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18593 wine_fn_config_dll shell.dll16 enable_win16
18594 wine_fn_config_dll shell32 enable_shell32 clean,implib
18595 wine_fn_config_test dlls/shell32/tests shell32_test
18596 wine_fn_config_dll shfolder enable_shfolder implib
18597 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18598 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18599 wine_fn_config_dll slbcsp enable_slbcsp
18600 wine_fn_config_dll slc enable_slc implib
18601 wine_fn_config_test dlls/slc/tests slc_test
18602 wine_fn_config_dll snmpapi enable_snmpapi implib
18603 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18604 wine_fn_config_dll softpub enable_softpub
18605 wine_fn_config_dll sound.drv16 enable_win16
18606 wine_fn_config_dll spoolss enable_spoolss implib
18607 wine_fn_config_test dlls/spoolss/tests spoolss_test
18608 wine_fn_config_dll sspicli enable_sspicli
18609 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18610 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18611 wine_fn_config_dll sti enable_sti clean,implib
18612 wine_fn_config_test dlls/sti/tests sti_test
18613 wine_fn_config_dll storage.dll16 enable_win16
18614 wine_fn_config_dll stress.dll16 enable_win16
18615 wine_fn_config_lib strmbase
18616 wine_fn_config_lib strmiids
18617 wine_fn_config_dll svrapi enable_svrapi
18618 wine_fn_config_dll sxs enable_sxs implib
18619 wine_fn_config_test dlls/sxs/tests sxs_test
18620 wine_fn_config_dll system.drv16 enable_win16
18621 wine_fn_config_dll t2embed enable_t2embed implib
18622 wine_fn_config_test dlls/t2embed/tests t2embed_test
18623 wine_fn_config_dll tapi32 enable_tapi32 implib
18624 wine_fn_config_dll taskschd enable_taskschd clean
18625 wine_fn_config_test dlls/taskschd/tests taskschd_test
18626 wine_fn_config_dll tdh enable_tdh
18627 wine_fn_config_dll tdi.sys enable_tdi_sys
18628 wine_fn_config_dll toolhelp.dll16 enable_win16
18629 wine_fn_config_dll traffic enable_traffic
18630 wine_fn_config_dll twain.dll16 enable_win16
18631 wine_fn_config_dll twain_32 enable_twain_32
18632 wine_fn_config_test dlls/twain_32/tests twain_32_test
18633 wine_fn_config_dll typelib.dll16 enable_win16
18634 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18635 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18636 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18637 wine_fn_config_dll unicows enable_unicows implib
18638 wine_fn_config_dll updspapi enable_updspapi
18639 wine_fn_config_dll url enable_url implib
18640 wine_fn_config_dll urlmon enable_urlmon clean,implib
18641 wine_fn_config_test dlls/urlmon/tests urlmon_test
18642 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18643 wine_fn_config_dll user.exe16 enable_win16
18644 wine_fn_config_dll user32 enable_user32 clean,implib
18645 wine_fn_config_test dlls/user32/tests user32_test
18646 wine_fn_config_dll userenv enable_userenv implib
18647 wine_fn_config_test dlls/userenv/tests userenv_test
18648 wine_fn_config_dll usp10 enable_usp10 implib
18649 wine_fn_config_test dlls/usp10/tests usp10_test
18650 wine_fn_config_lib uuid
18651 wine_fn_config_dll uxtheme enable_uxtheme implib
18652 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18653 wine_fn_config_dll vbscript enable_vbscript clean
18654 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18655 wine_fn_config_dll vcomp enable_vcomp
18656 wine_fn_config_test dlls/vcomp/tests vcomp_test
18657 wine_fn_config_dll vcomp100 enable_vcomp100
18658 wine_fn_config_dll vcomp110 enable_vcomp110
18659 wine_fn_config_dll vcomp120 enable_vcomp120
18660 wine_fn_config_dll vcomp140 enable_vcomp140
18661 wine_fn_config_dll vcomp90 enable_vcomp90
18662 wine_fn_config_dll vcruntime140 enable_vcruntime140
18663 wine_fn_config_dll vdhcp.vxd enable_win16
18664 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18665 wine_fn_config_dll ver.dll16 enable_win16
18666 wine_fn_config_dll version enable_version implib
18667 wine_fn_config_test dlls/version/tests version_test
18668 wine_fn_config_dll virtdisk enable_virtdisk
18669 wine_fn_config_dll vmm.vxd enable_win16
18670 wine_fn_config_dll vnbt.vxd enable_win16
18671 wine_fn_config_dll vnetbios.vxd enable_win16
18672 wine_fn_config_dll vssapi enable_vssapi
18673 wine_fn_config_dll vtdapi.vxd enable_win16
18674 wine_fn_config_dll vwin32.vxd enable_win16
18675 wine_fn_config_dll w32skrnl enable_win16
18676 wine_fn_config_dll w32sys.dll16 enable_win16
18677 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18678 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18679 wine_fn_config_dll wbemprox enable_wbemprox clean
18680 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18681 wine_fn_config_dll webservices enable_webservices implib
18682 wine_fn_config_test dlls/webservices/tests webservices_test
18683 wine_fn_config_dll wer enable_wer implib
18684 wine_fn_config_test dlls/wer/tests wer_test
18685 wine_fn_config_dll wevtapi enable_wevtapi
18686 wine_fn_config_dll wiaservc enable_wiaservc clean
18687 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18688 wine_fn_config_dll wimgapi enable_wimgapi
18689 wine_fn_config_dll win32s16.dll16 enable_win16
18690 wine_fn_config_dll win87em.dll16 enable_win16
18691 wine_fn_config_dll winaspi.dll16 enable_win16
18692 wine_fn_config_dll windebug.dll16 enable_win16
18693 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18694 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18695 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18696 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18697 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18698 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18699 wine_fn_config_dll winebus.sys enable_winebus_sys
18700 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18701 wine_fn_config_lib winecrt0
18702 wine_fn_config_dll wined3d enable_wined3d implib
18703 wine_fn_config_dll winegstreamer enable_winegstreamer
18704 wine_fn_config_dll winehid.sys enable_winehid_sys
18705 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18706 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18707 wine_fn_config_dll winemapi enable_winemapi
18708 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18709 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18710 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18711 wine_fn_config_dll wineps16.drv16 enable_win16
18712 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18713 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18714 wine_fn_config_dll winex11.drv enable_winex11_drv
18715 wine_fn_config_dll wing.dll16 enable_win16
18716 wine_fn_config_dll wing32 enable_wing32
18717 wine_fn_config_dll winhttp enable_winhttp clean,implib
18718 wine_fn_config_test dlls/winhttp/tests winhttp_test
18719 wine_fn_config_dll wininet enable_wininet clean,implib
18720 wine_fn_config_test dlls/wininet/tests wininet_test
18721 wine_fn_config_dll winmm enable_winmm clean,implib
18722 wine_fn_config_test dlls/winmm/tests winmm_test
18723 wine_fn_config_dll winnls.dll16 enable_win16
18724 wine_fn_config_dll winnls32 enable_winnls32 implib
18725 wine_fn_config_dll winscard enable_winscard implib
18726 wine_fn_config_dll winsock.dll16 enable_win16
18727 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18728 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18729 wine_fn_config_dll winsta enable_winsta
18730 wine_fn_config_dll wintab.dll16 enable_win16
18731 wine_fn_config_dll wintab32 enable_wintab32 implib
18732 wine_fn_config_test dlls/wintab32/tests wintab32_test
18733 wine_fn_config_dll wintrust enable_wintrust implib
18734 wine_fn_config_test dlls/wintrust/tests wintrust_test
18735 wine_fn_config_dll winusb enable_winusb
18736 wine_fn_config_dll wlanapi enable_wlanapi implib
18737 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18738 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18739 wine_fn_config_test dlls/wldap32/tests wldap32_test
18740 wine_fn_config_dll wmasf enable_wmasf
18741 wine_fn_config_dll wmi enable_wmi
18742 wine_fn_config_dll wmiutils enable_wmiutils clean
18743 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18744 wine_fn_config_dll wmp enable_wmp clean
18745 wine_fn_config_test dlls/wmp/tests wmp_test
18746 wine_fn_config_dll wmvcore enable_wmvcore implib
18747 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18748 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18749 wine_fn_config_dll wow32 enable_win16 implib
18750 wine_fn_config_dll wpc enable_wpc clean
18751 wine_fn_config_test dlls/wpc/tests wpc_test
18752 wine_fn_config_dll wpcap enable_wpcap
18753 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18754 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18755 wine_fn_config_dll wsdapi enable_wsdapi implib
18756 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18757 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18758 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18759 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18760 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18761 wine_fn_config_dll wsock32 enable_wsock32 implib
18762 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18763 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18764 wine_fn_config_dll wuapi enable_wuapi clean
18765 wine_fn_config_dll wuaueng enable_wuaueng
18766 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18767 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18768 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18769 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18770 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18771 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18772 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18773 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18774 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18775 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18776 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18777 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18778 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18779 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18780 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18781 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18782 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18783 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18784 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18785 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18786 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18787 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18788 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18789 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18790 wine_fn_config_dll xinput1_1 enable_xinput1_1
18791 wine_fn_config_dll xinput1_2 enable_xinput1_2
18792 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18793 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18794 wine_fn_config_dll xinput1_4 enable_xinput1_4
18795 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18796 wine_fn_config_dll xmllite enable_xmllite implib
18797 wine_fn_config_test dlls/xmllite/tests xmllite_test
18798 wine_fn_config_dll xolehlp enable_xolehlp
18799 wine_fn_config_dll xpsprint enable_xpsprint
18800 wine_fn_config_dll xpssvcs enable_xpssvcs
18801 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18802 wine_fn_config_makefile include enable_include clean,install-dev
18803 wine_fn_config_makefile libs/port enable_libs_port
18804 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18805 wine_fn_config_makefile libs/wpp enable_libs_wpp
18806 wine_fn_config_makefile loader enable_loader clean,install-lib
18807 wine_fn_config_makefile po enable_po clean
18808 wine_fn_config_program arp enable_arp install
18809 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18810 wine_fn_config_program attrib enable_attrib clean,install
18811 wine_fn_config_program cabarc enable_cabarc install
18812 wine_fn_config_program cacls enable_cacls install
18813 wine_fn_config_program clock enable_clock clean,install
18814 wine_fn_config_program cmd enable_cmd clean,install
18815 wine_fn_config_test programs/cmd/tests cmd.exe_test
18816 wine_fn_config_program conhost enable_conhost install
18817 wine_fn_config_program control enable_control install
18818 wine_fn_config_program cscript enable_cscript clean,install
18819 wine_fn_config_program dpnsvr enable_dpnsvr install
18820 wine_fn_config_program dxdiag enable_dxdiag clean,install
18821 wine_fn_config_program eject enable_eject install
18822 wine_fn_config_program expand enable_expand install
18823 wine_fn_config_program explorer enable_explorer clean,install
18824 wine_fn_config_program extrac32 enable_extrac32 install
18825 wine_fn_config_program findstr enable_findstr install
18826 wine_fn_config_program fsutil enable_fsutil install
18827 wine_fn_config_program hh enable_hh install
18828 wine_fn_config_program hostname enable_hostname clean,install
18829 wine_fn_config_program icacls enable_icacls install
18830 wine_fn_config_program icinfo enable_icinfo install
18831 wine_fn_config_program iexplore enable_iexplore install
18832 wine_fn_config_program ipconfig enable_ipconfig clean,install
18833 wine_fn_config_program lodctr enable_lodctr install
18834 wine_fn_config_program mofcomp enable_mofcomp install
18835 wine_fn_config_program mshta enable_mshta install
18836 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18837 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18838 wine_fn_config_program net enable_net clean,install
18839 wine_fn_config_program netsh enable_netsh install
18840 wine_fn_config_program netstat enable_netstat clean,install
18841 wine_fn_config_program ngen enable_ngen install
18842 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18843 wine_fn_config_program oleview enable_oleview clean,install
18844 wine_fn_config_program ping enable_ping install
18845 wine_fn_config_program plugplay enable_plugplay install
18846 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18847 wine_fn_config_program progman enable_progman clean,install
18848 wine_fn_config_program reg enable_reg clean,install
18849 wine_fn_config_test programs/reg/tests reg.exe_test
18850 wine_fn_config_program regasm enable_regasm install
18851 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18852 wine_fn_config_test programs/regedit/tests regedit.exe_test
18853 wine_fn_config_program regsvcs enable_regsvcs install
18854 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18855 wine_fn_config_program rpcss enable_rpcss clean,install
18856 wine_fn_config_program rundll.exe16 enable_win16 install
18857 wine_fn_config_program rundll32 enable_rundll32 install
18858 wine_fn_config_program sc enable_sc install
18859 wine_fn_config_program schtasks enable_schtasks install
18860 wine_fn_config_program sdbinst enable_sdbinst install
18861 wine_fn_config_program secedit enable_secedit install
18862 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18863 wine_fn_config_program services enable_services clean,install
18864 wine_fn_config_test programs/services/tests services.exe_test
18865 wine_fn_config_program shutdown enable_shutdown install
18866 wine_fn_config_program spoolsv enable_spoolsv install
18867 wine_fn_config_program start enable_start clean,install
18868 wine_fn_config_program subst enable_subst install
18869 wine_fn_config_program svchost enable_svchost install
18870 wine_fn_config_program systeminfo enable_systeminfo install
18871 wine_fn_config_program taskkill enable_taskkill clean,install
18872 wine_fn_config_program tasklist enable_tasklist install
18873 wine_fn_config_program taskmgr enable_taskmgr clean,install
18874 wine_fn_config_program termsv enable_termsv install
18875 wine_fn_config_program uninstaller enable_uninstaller clean,install
18876 wine_fn_config_program unlodctr enable_unlodctr install
18877 wine_fn_config_program view enable_view clean,install
18878 wine_fn_config_program wevtutil enable_wevtutil install
18879 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18880 wine_fn_config_program winebrowser enable_winebrowser install
18881 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18882 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18883 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18884 wine_fn_config_program winedevice enable_winedevice install
18885 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18886 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18887 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18888 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18889 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18890 wine_fn_config_program winetest enable_winetest clean
18891 wine_fn_config_program winevdm enable_win16 install
18892 wine_fn_config_program winhelp.exe16 enable_win16 install
18893 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18894 wine_fn_config_program winoldap.mod16 enable_win16 install
18895 wine_fn_config_program winver enable_winver install
18896 wine_fn_config_program wmic enable_wmic clean,install
18897 wine_fn_config_program wmplayer enable_wmplayer install
18898 wine_fn_config_program wordpad enable_wordpad clean,install
18899 wine_fn_config_program write enable_write clean,install
18900 wine_fn_config_program wscript enable_wscript clean,install
18901 wine_fn_config_test programs/wscript/tests wscript.exe_test
18902 wine_fn_config_program wusa enable_wusa install
18903 wine_fn_config_program xcopy enable_xcopy clean,install
18904 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18905 wine_fn_config_makefile server enable_server clean,install-lib
18906 wine_fn_config_tool tools clean
18907 wine_fn_config_tool tools/sfnt2fon clean
18908 wine_fn_config_tool tools/widl clean,install-dev
18909 wine_fn_config_tool tools/winebuild clean,install-dev
18910 wine_fn_config_tool tools/winedump clean,install-dev
18911 wine_fn_config_tool tools/winegcc clean,install-dev
18912 wine_fn_config_tool tools/winemaker clean,install-dev
18913 wine_fn_config_tool tools/wmc clean,install-dev
18914 wine_fn_config_tool tools/wrc clean,install-dev
18917 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18918 wine_fn_append_file CONFIGURE_TARGETS "tags"
18919 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18920 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18921 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18922 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18923 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18924 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18926 if test "x$enable_tools" != xno
18927 then
18928 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18929 ac_config_commands="$ac_config_commands tools/makedep"
18933 ac_config_commands="$ac_config_commands Makefile"
18936 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18940 if test "x$enable_maintainer_mode" = xyes
18941 then
18942 wine_fn_append_rule "configure: configure.ac aclocal.m4
18943 autoconf --warnings=all
18944 include/config.h.in: include/stamp-h.in
18945 include/stamp-h.in: configure.ac aclocal.m4
18946 autoheader --warnings=all
18947 @echo timestamp > \$@"
18950 if test "x$enable_tools" != xno
18951 then
18952 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18953 @./config.status tools/makedep
18954 Makefile: tools/makedep$ac_exeext"
18955 else
18956 wine_fn_append_rule "\$(MAKEDEP):
18957 @echo \"You need to run make in $TOOLSDIR first\" && false"
18960 if test -n "$with_wine64"
18961 then
18962 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18963 fonts server:
18964 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18965 $with_wine64/loader/wine:
18966 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18967 $with_wine64/loader/wine-preloader:
18968 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18969 clean::
18970 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18971 else
18972 WINELOADER_INSTALL="wine.inf"
18974 wine_fn_append_rule "install install-lib::
18975 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18976 uninstall::
18977 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18978 case $host_os in
18979 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18980 *) wine_fn_append_rule "install install-lib::
18981 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18982 uninstall::
18983 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18984 esac
18987 $as_echo " done" >&6
18988 cat >confcache <<\_ACEOF
18989 # This file is a shell script that caches the results of configure
18990 # tests run on this system so they can be shared between configure
18991 # scripts and configure runs, see configure's option --config-cache.
18992 # It is not useful on other systems. If it contains results you don't
18993 # want to keep, you may remove or edit it.
18995 # config.status only pays attention to the cache file if you give it
18996 # the --recheck option to rerun configure.
18998 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18999 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19000 # following values.
19002 _ACEOF
19004 # The following way of writing the cache mishandles newlines in values,
19005 # but we know of no workaround that is simple, portable, and efficient.
19006 # So, we kill variables containing newlines.
19007 # Ultrix sh set writes to stderr and can't be redirected directly,
19008 # and sets the high bit in the cache file unless we assign to the vars.
19010 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19011 eval ac_val=\$$ac_var
19012 case $ac_val in #(
19013 *${as_nl}*)
19014 case $ac_var in #(
19015 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19017 esac
19018 case $ac_var in #(
19019 _ | IFS | as_nl) ;; #(
19020 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19021 *) { eval $ac_var=; unset $ac_var;} ;;
19022 esac ;;
19023 esac
19024 done
19026 (set) 2>&1 |
19027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19028 *${as_nl}ac_space=\ *)
19029 # `set' does not quote correctly, so add quotes: double-quote
19030 # substitution turns \\\\ into \\, and sed turns \\ into \.
19031 sed -n \
19032 "s/'/'\\\\''/g;
19033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19034 ;; #(
19036 # `set' quotes correctly as required by POSIX, so do not add quotes.
19037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19039 esac |
19040 sort
19042 sed '
19043 /^ac_cv_env_/b end
19044 t clear
19045 :clear
19046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19047 t end
19048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19049 :end' >>confcache
19050 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19051 if test -w "$cache_file"; then
19052 if test "x$cache_file" != "x/dev/null"; then
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19054 $as_echo "$as_me: updating cache $cache_file" >&6;}
19055 if test ! -f "$cache_file" || test -h "$cache_file"; then
19056 cat confcache >"$cache_file"
19057 else
19058 case $cache_file in #(
19059 */* | ?:*)
19060 mv -f confcache "$cache_file"$$ &&
19061 mv -f "$cache_file"$$ "$cache_file" ;; #(
19063 mv -f confcache "$cache_file" ;;
19064 esac
19067 else
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19069 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19072 rm -f confcache
19074 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19075 # Let make expand exec_prefix.
19076 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19078 DEFS=-DHAVE_CONFIG_H
19080 ac_libobjs=
19081 ac_ltlibobjs=
19083 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19084 # 1. Remove the extension, and $U if already installed.
19085 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19086 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19087 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19088 # will be set to the directory where LIBOBJS objects are built.
19089 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19090 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19091 done
19092 LIBOBJS=$ac_libobjs
19094 LTLIBOBJS=$ac_ltlibobjs
19098 : "${CONFIG_STATUS=./config.status}"
19099 ac_write_fail=0
19100 ac_clean_files_save=$ac_clean_files
19101 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19103 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19104 as_write_fail=0
19105 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19106 #! $SHELL
19107 # Generated by $as_me.
19108 # Run this file to recreate the current configuration.
19109 # Compiler output produced by configure, useful for debugging
19110 # configure, is in config.log if it exists.
19112 debug=false
19113 ac_cs_recheck=false
19114 ac_cs_silent=false
19116 SHELL=\${CONFIG_SHELL-$SHELL}
19117 export SHELL
19118 _ASEOF
19119 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19120 ## -------------------- ##
19121 ## M4sh Initialization. ##
19122 ## -------------------- ##
19124 # Be more Bourne compatible
19125 DUALCASE=1; export DUALCASE # for MKS sh
19126 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19127 emulate sh
19128 NULLCMD=:
19129 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19130 # is contrary to our usage. Disable this feature.
19131 alias -g '${1+"$@"}'='"$@"'
19132 setopt NO_GLOB_SUBST
19133 else
19134 case `(set -o) 2>/dev/null` in #(
19135 *posix*) :
19136 set -o posix ;; #(
19137 *) :
19139 esac
19143 as_nl='
19145 export as_nl
19146 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19147 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19148 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19149 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19150 # Prefer a ksh shell builtin over an external printf program on Solaris,
19151 # but without wasting forks for bash or zsh.
19152 if test -z "$BASH_VERSION$ZSH_VERSION" \
19153 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19154 as_echo='print -r --'
19155 as_echo_n='print -rn --'
19156 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19157 as_echo='printf %s\n'
19158 as_echo_n='printf %s'
19159 else
19160 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19161 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19162 as_echo_n='/usr/ucb/echo -n'
19163 else
19164 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19165 as_echo_n_body='eval
19166 arg=$1;
19167 case $arg in #(
19168 *"$as_nl"*)
19169 expr "X$arg" : "X\\(.*\\)$as_nl";
19170 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19171 esac;
19172 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19174 export as_echo_n_body
19175 as_echo_n='sh -c $as_echo_n_body as_echo'
19177 export as_echo_body
19178 as_echo='sh -c $as_echo_body as_echo'
19181 # The user is always right.
19182 if test "${PATH_SEPARATOR+set}" != set; then
19183 PATH_SEPARATOR=:
19184 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19185 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19186 PATH_SEPARATOR=';'
19191 # IFS
19192 # We need space, tab and new line, in precisely that order. Quoting is
19193 # there to prevent editors from complaining about space-tab.
19194 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19195 # splitting by setting IFS to empty value.)
19196 IFS=" "" $as_nl"
19198 # Find who we are. Look in the path if we contain no directory separator.
19199 as_myself=
19200 case $0 in #((
19201 *[\\/]* ) as_myself=$0 ;;
19202 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19203 for as_dir in $PATH
19205 IFS=$as_save_IFS
19206 test -z "$as_dir" && as_dir=.
19207 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19208 done
19209 IFS=$as_save_IFS
19212 esac
19213 # We did not find ourselves, most probably we were run as `sh COMMAND'
19214 # in which case we are not to be found in the path.
19215 if test "x$as_myself" = x; then
19216 as_myself=$0
19218 if test ! -f "$as_myself"; then
19219 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19220 exit 1
19223 # Unset variables that we do not need and which cause bugs (e.g. in
19224 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19225 # suppresses any "Segmentation fault" message there. '((' could
19226 # trigger a bug in pdksh 5.2.14.
19227 for as_var in BASH_ENV ENV MAIL MAILPATH
19228 do eval test x\${$as_var+set} = xset \
19229 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19230 done
19231 PS1='$ '
19232 PS2='> '
19233 PS4='+ '
19235 # NLS nuisances.
19236 LC_ALL=C
19237 export LC_ALL
19238 LANGUAGE=C
19239 export LANGUAGE
19241 # CDPATH.
19242 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19245 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19246 # ----------------------------------------
19247 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19248 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19249 # script with STATUS, using 1 if that was 0.
19250 as_fn_error ()
19252 as_status=$1; test $as_status -eq 0 && as_status=1
19253 if test "$4"; then
19254 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19255 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19257 $as_echo "$as_me: error: $2" >&2
19258 as_fn_exit $as_status
19259 } # as_fn_error
19262 # as_fn_set_status STATUS
19263 # -----------------------
19264 # Set $? to STATUS, without forking.
19265 as_fn_set_status ()
19267 return $1
19268 } # as_fn_set_status
19270 # as_fn_exit STATUS
19271 # -----------------
19272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19273 as_fn_exit ()
19275 set +e
19276 as_fn_set_status $1
19277 exit $1
19278 } # as_fn_exit
19280 # as_fn_unset VAR
19281 # ---------------
19282 # Portably unset VAR.
19283 as_fn_unset ()
19285 { eval $1=; unset $1;}
19287 as_unset=as_fn_unset
19288 # as_fn_append VAR VALUE
19289 # ----------------------
19290 # Append the text in VALUE to the end of the definition contained in VAR. Take
19291 # advantage of any shell optimizations that allow amortized linear growth over
19292 # repeated appends, instead of the typical quadratic growth present in naive
19293 # implementations.
19294 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19295 eval 'as_fn_append ()
19297 eval $1+=\$2
19299 else
19300 as_fn_append ()
19302 eval $1=\$$1\$2
19304 fi # as_fn_append
19306 # as_fn_arith ARG...
19307 # ------------------
19308 # Perform arithmetic evaluation on the ARGs, and store the result in the
19309 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19310 # must be portable across $(()) and expr.
19311 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19312 eval 'as_fn_arith ()
19314 as_val=$(( $* ))
19316 else
19317 as_fn_arith ()
19319 as_val=`expr "$@" || test $? -eq 1`
19321 fi # as_fn_arith
19324 if expr a : '\(a\)' >/dev/null 2>&1 &&
19325 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19326 as_expr=expr
19327 else
19328 as_expr=false
19331 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19332 as_basename=basename
19333 else
19334 as_basename=false
19337 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19338 as_dirname=dirname
19339 else
19340 as_dirname=false
19343 as_me=`$as_basename -- "$0" ||
19344 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19345 X"$0" : 'X\(//\)$' \| \
19346 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19347 $as_echo X/"$0" |
19348 sed '/^.*\/\([^/][^/]*\)\/*$/{
19349 s//\1/
19352 /^X\/\(\/\/\)$/{
19353 s//\1/
19356 /^X\/\(\/\).*/{
19357 s//\1/
19360 s/.*/./; q'`
19362 # Avoid depending upon Character Ranges.
19363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19366 as_cr_digits='0123456789'
19367 as_cr_alnum=$as_cr_Letters$as_cr_digits
19369 ECHO_C= ECHO_N= ECHO_T=
19370 case `echo -n x` in #(((((
19371 -n*)
19372 case `echo 'xy\c'` in
19373 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19374 xy) ECHO_C='\c';;
19375 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19376 ECHO_T=' ';;
19377 esac;;
19379 ECHO_N='-n';;
19380 esac
19382 rm -f conf$$ conf$$.exe conf$$.file
19383 if test -d conf$$.dir; then
19384 rm -f conf$$.dir/conf$$.file
19385 else
19386 rm -f conf$$.dir
19387 mkdir conf$$.dir 2>/dev/null
19389 if (echo >conf$$.file) 2>/dev/null; then
19390 if ln -s conf$$.file conf$$ 2>/dev/null; then
19391 as_ln_s='ln -s'
19392 # ... but there are two gotchas:
19393 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19394 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19395 # In both cases, we have to default to `cp -pR'.
19396 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19397 as_ln_s='cp -pR'
19398 elif ln conf$$.file conf$$ 2>/dev/null; then
19399 as_ln_s=ln
19400 else
19401 as_ln_s='cp -pR'
19403 else
19404 as_ln_s='cp -pR'
19406 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19407 rmdir conf$$.dir 2>/dev/null
19410 # as_fn_mkdir_p
19411 # -------------
19412 # Create "$as_dir" as a directory, including parents if necessary.
19413 as_fn_mkdir_p ()
19416 case $as_dir in #(
19417 -*) as_dir=./$as_dir;;
19418 esac
19419 test -d "$as_dir" || eval $as_mkdir_p || {
19420 as_dirs=
19421 while :; do
19422 case $as_dir in #(
19423 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19424 *) as_qdir=$as_dir;;
19425 esac
19426 as_dirs="'$as_qdir' $as_dirs"
19427 as_dir=`$as_dirname -- "$as_dir" ||
19428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19429 X"$as_dir" : 'X\(//\)[^/]' \| \
19430 X"$as_dir" : 'X\(//\)$' \| \
19431 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19432 $as_echo X"$as_dir" |
19433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19434 s//\1/
19437 /^X\(\/\/\)[^/].*/{
19438 s//\1/
19441 /^X\(\/\/\)$/{
19442 s//\1/
19445 /^X\(\/\).*/{
19446 s//\1/
19449 s/.*/./; q'`
19450 test -d "$as_dir" && break
19451 done
19452 test -z "$as_dirs" || eval "mkdir $as_dirs"
19453 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19456 } # as_fn_mkdir_p
19457 if mkdir -p . 2>/dev/null; then
19458 as_mkdir_p='mkdir -p "$as_dir"'
19459 else
19460 test -d ./-p && rmdir ./-p
19461 as_mkdir_p=false
19465 # as_fn_executable_p FILE
19466 # -----------------------
19467 # Test if FILE is an executable regular file.
19468 as_fn_executable_p ()
19470 test -f "$1" && test -x "$1"
19471 } # as_fn_executable_p
19472 as_test_x='test -x'
19473 as_executable_p=as_fn_executable_p
19475 # Sed expression to map a string onto a valid CPP name.
19476 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19478 # Sed expression to map a string onto a valid variable name.
19479 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19482 exec 6>&1
19483 ## ----------------------------------- ##
19484 ## Main body of $CONFIG_STATUS script. ##
19485 ## ----------------------------------- ##
19486 _ASEOF
19487 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19490 # Save the log message, to keep $0 and so on meaningful, and to
19491 # report actual input values of CONFIG_FILES etc. instead of their
19492 # values after options handling.
19493 ac_log="
19494 This file was extended by Wine $as_me 2.10, which was
19495 generated by GNU Autoconf 2.69. Invocation command line was
19497 CONFIG_FILES = $CONFIG_FILES
19498 CONFIG_HEADERS = $CONFIG_HEADERS
19499 CONFIG_LINKS = $CONFIG_LINKS
19500 CONFIG_COMMANDS = $CONFIG_COMMANDS
19501 $ $0 $@
19503 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19506 _ACEOF
19508 case $ac_config_files in *"
19509 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19510 esac
19512 case $ac_config_headers in *"
19513 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19514 esac
19517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19518 # Files that config.status was made for.
19519 config_files="$ac_config_files"
19520 config_headers="$ac_config_headers"
19521 config_links="$ac_config_links"
19522 config_commands="$ac_config_commands"
19524 _ACEOF
19526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19527 ac_cs_usage="\
19528 \`$as_me' instantiates files and other configuration actions
19529 from templates according to the current configuration. Unless the files
19530 and actions are specified as TAGs, all are instantiated by default.
19532 Usage: $0 [OPTION]... [TAG]...
19534 -h, --help print this help, then exit
19535 -V, --version print version number and configuration settings, then exit
19536 --config print configuration, then exit
19537 -q, --quiet, --silent
19538 do not print progress messages
19539 -d, --debug don't remove temporary files
19540 --recheck update $as_me by reconfiguring in the same conditions
19541 --file=FILE[:TEMPLATE]
19542 instantiate the configuration file FILE
19543 --header=FILE[:TEMPLATE]
19544 instantiate the configuration header FILE
19546 Configuration files:
19547 $config_files
19549 Configuration headers:
19550 $config_headers
19552 Configuration links:
19553 $config_links
19555 Configuration commands:
19556 $config_commands
19558 Report bugs to <wine-devel@winehq.org>.
19559 Wine home page: <http://www.winehq.org>."
19561 _ACEOF
19562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19563 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19564 ac_cs_version="\\
19565 Wine config.status 2.10
19566 configured by $0, generated by GNU Autoconf 2.69,
19567 with options \\"\$ac_cs_config\\"
19569 Copyright (C) 2012 Free Software Foundation, Inc.
19570 This config.status script is free software; the Free Software Foundation
19571 gives unlimited permission to copy, distribute and modify it."
19573 ac_pwd='$ac_pwd'
19574 srcdir='$srcdir'
19575 test -n "\$AWK" || AWK=awk
19576 _ACEOF
19578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19579 # The default lists apply if the user does not specify any file.
19580 ac_need_defaults=:
19581 while test $# != 0
19583 case $1 in
19584 --*=?*)
19585 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19586 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19587 ac_shift=:
19589 --*=)
19590 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19591 ac_optarg=
19592 ac_shift=:
19595 ac_option=$1
19596 ac_optarg=$2
19597 ac_shift=shift
19599 esac
19601 case $ac_option in
19602 # Handling of the options.
19603 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19604 ac_cs_recheck=: ;;
19605 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19606 $as_echo "$ac_cs_version"; exit ;;
19607 --config | --confi | --conf | --con | --co | --c )
19608 $as_echo "$ac_cs_config"; exit ;;
19609 --debug | --debu | --deb | --de | --d | -d )
19610 debug=: ;;
19611 --file | --fil | --fi | --f )
19612 $ac_shift
19613 case $ac_optarg in
19614 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19615 '') as_fn_error $? "missing file argument" ;;
19616 esac
19617 as_fn_append CONFIG_FILES " '$ac_optarg'"
19618 ac_need_defaults=false;;
19619 --header | --heade | --head | --hea )
19620 $ac_shift
19621 case $ac_optarg in
19622 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19623 esac
19624 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19625 ac_need_defaults=false;;
19626 --he | --h)
19627 # Conflict between --help and --header
19628 as_fn_error $? "ambiguous option: \`$1'
19629 Try \`$0 --help' for more information.";;
19630 --help | --hel | -h )
19631 $as_echo "$ac_cs_usage"; exit ;;
19632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19634 ac_cs_silent=: ;;
19636 # This is an error.
19637 -*) as_fn_error $? "unrecognized option: \`$1'
19638 Try \`$0 --help' for more information." ;;
19640 *) as_fn_append ac_config_targets " $1"
19641 ac_need_defaults=false ;;
19643 esac
19644 shift
19645 done
19647 ac_configure_extra_args=
19649 if $ac_cs_silent; then
19650 exec 6>/dev/null
19651 ac_configure_extra_args="$ac_configure_extra_args --silent"
19654 _ACEOF
19655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19656 if \$ac_cs_recheck; then
19657 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19658 shift
19659 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19660 CONFIG_SHELL='$SHELL'
19661 export CONFIG_SHELL
19662 exec "\$@"
19665 _ACEOF
19666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19667 exec 5>>config.log
19669 echo
19670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19671 ## Running $as_me. ##
19672 _ASBOX
19673 $as_echo "$ac_log"
19674 } >&5
19676 _ACEOF
19677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19679 # INIT-COMMANDS
19681 wine_fn_output_makedep ()
19683 as_dir=tools; as_fn_mkdir_p
19684 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19686 wine_fn_output_makefile ()
19688 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19689 `cat $wine_rules_file`
19690 _WINE_EOF
19691 as_fn_error $? "could not create Makefile" "$LINENO" 5
19694 _ACEOF
19696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19698 # Handling of arguments.
19699 for ac_config_target in $ac_config_targets
19701 case $ac_config_target in
19702 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19703 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19704 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19705 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19706 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19707 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19708 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19709 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19710 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19711 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19712 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19713 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19714 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19716 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19717 esac
19718 done
19721 # If the user did not use the arguments to specify the items to instantiate,
19722 # then the envvar interface is used. Set only those that are not.
19723 # We use the long form for the default assignment because of an extremely
19724 # bizarre bug on SunOS 4.1.3.
19725 if $ac_need_defaults; then
19726 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19727 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19728 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19729 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19732 # Have a temporary directory for convenience. Make it in the build tree
19733 # simply because there is no reason against having it here, and in addition,
19734 # creating and moving files from /tmp can sometimes cause problems.
19735 # Hook for its removal unless debugging.
19736 # Note that there is a small window in which the directory will not be cleaned:
19737 # after its creation but before its name has been assigned to `$tmp'.
19738 $debug ||
19740 tmp= ac_tmp=
19741 trap 'exit_status=$?
19742 : "${ac_tmp:=$tmp}"
19743 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19745 trap 'as_fn_exit 1' 1 2 13 15
19747 # Create a (secure) tmp directory for tmp files.
19750 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19751 test -d "$tmp"
19752 } ||
19754 tmp=./conf$$-$RANDOM
19755 (umask 077 && mkdir "$tmp")
19756 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19757 ac_tmp=$tmp
19759 # Set up the scripts for CONFIG_FILES section.
19760 # No need to generate them if there are no CONFIG_FILES.
19761 # This happens for instance with `./config.status config.h'.
19762 if test -n "$CONFIG_FILES"; then
19765 ac_cr=`echo X | tr X '\015'`
19766 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19767 # But we know of no other shell where ac_cr would be empty at this
19768 # point, so we can use a bashism as a fallback.
19769 if test "x$ac_cr" = x; then
19770 eval ac_cr=\$\'\\r\'
19772 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19773 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19774 ac_cs_awk_cr='\\r'
19775 else
19776 ac_cs_awk_cr=$ac_cr
19779 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19780 _ACEOF
19784 echo "cat >conf$$subs.awk <<_ACEOF" &&
19785 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19786 echo "_ACEOF"
19787 } >conf$$subs.sh ||
19788 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19789 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19790 ac_delim='%!_!# '
19791 for ac_last_try in false false false false false :; do
19792 . ./conf$$subs.sh ||
19793 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19795 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19796 if test $ac_delim_n = $ac_delim_num; then
19797 break
19798 elif $ac_last_try; then
19799 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19800 else
19801 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19803 done
19804 rm -f conf$$subs.sh
19806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19807 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19808 _ACEOF
19809 sed -n '
19811 s/^/S["/; s/!.*/"]=/
19814 s/^[^!]*!//
19815 :repl
19816 t repl
19817 s/'"$ac_delim"'$//
19818 t delim
19821 s/\(.\{148\}\)..*/\1/
19822 t more1
19823 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19826 b repl
19827 :more1
19828 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19831 s/.\{148\}//
19832 t nl
19833 :delim
19835 s/\(.\{148\}\)..*/\1/
19836 t more2
19837 s/["\\]/\\&/g; s/^/"/; s/$/"/
19840 :more2
19841 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19844 s/.\{148\}//
19845 t delim
19846 ' <conf$$subs.awk | sed '
19847 /^[^""]/{
19849 s/\n//
19851 ' >>$CONFIG_STATUS || ac_write_fail=1
19852 rm -f conf$$subs.awk
19853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19854 _ACAWK
19855 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19856 for (key in S) S_is_set[key] = 1
19857 FS = "\a"
19861 line = $ 0
19862 nfields = split(line, field, "@")
19863 substed = 0
19864 len = length(field[1])
19865 for (i = 2; i < nfields; i++) {
19866 key = field[i]
19867 keylen = length(key)
19868 if (S_is_set[key]) {
19869 value = S[key]
19870 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19871 len += length(value) + length(field[++i])
19872 substed = 1
19873 } else
19874 len += 1 + keylen
19877 print line
19880 _ACAWK
19881 _ACEOF
19882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19883 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19884 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19885 else
19887 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19888 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19889 _ACEOF
19891 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19892 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19893 # trailing colons and then remove the whole line if VPATH becomes empty
19894 # (actually we leave an empty line to preserve line numbers).
19895 if test "x$srcdir" = x.; then
19896 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19898 s///
19899 s/^/:/
19900 s/[ ]*$/:/
19901 s/:\$(srcdir):/:/g
19902 s/:\${srcdir}:/:/g
19903 s/:@srcdir@:/:/g
19904 s/^:*//
19905 s/:*$//
19907 s/\(=[ ]*\).*/\1/
19909 s/\n//
19910 s/^[^=]*=[ ]*$//
19914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19915 fi # test -n "$CONFIG_FILES"
19917 # Set up the scripts for CONFIG_HEADERS section.
19918 # No need to generate them if there are no CONFIG_HEADERS.
19919 # This happens for instance with `./config.status Makefile'.
19920 if test -n "$CONFIG_HEADERS"; then
19921 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19922 BEGIN {
19923 _ACEOF
19925 # Transform confdefs.h into an awk script `defines.awk', embedded as
19926 # here-document in config.status, that substitutes the proper values into
19927 # config.h.in to produce config.h.
19929 # Create a delimiter string that does not exist in confdefs.h, to ease
19930 # handling of long lines.
19931 ac_delim='%!_!# '
19932 for ac_last_try in false false :; do
19933 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19934 if test -z "$ac_tt"; then
19935 break
19936 elif $ac_last_try; then
19937 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19938 else
19939 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19941 done
19943 # For the awk script, D is an array of macro values keyed by name,
19944 # likewise P contains macro parameters if any. Preserve backslash
19945 # newline sequences.
19947 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19948 sed -n '
19949 s/.\{148\}/&'"$ac_delim"'/g
19950 t rset
19951 :rset
19952 s/^[ ]*#[ ]*define[ ][ ]*/ /
19953 t def
19955 :def
19956 s/\\$//
19957 t bsnl
19958 s/["\\]/\\&/g
19959 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19960 D["\1"]=" \3"/p
19961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19963 :bsnl
19964 s/["\\]/\\&/g
19965 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19966 D["\1"]=" \3\\\\\\n"\\/p
19967 t cont
19968 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19969 t cont
19971 :cont
19973 s/.\{148\}/&'"$ac_delim"'/g
19974 t clear
19975 :clear
19976 s/\\$//
19977 t bsnlc
19978 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19980 :bsnlc
19981 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19982 b cont
19983 ' <confdefs.h | sed '
19984 s/'"$ac_delim"'/"\\\
19985 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19988 for (key in D) D_is_set[key] = 1
19989 FS = "\a"
19991 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19992 line = \$ 0
19993 split(line, arg, " ")
19994 if (arg[1] == "#") {
19995 defundef = arg[2]
19996 mac1 = arg[3]
19997 } else {
19998 defundef = substr(arg[1], 2)
19999 mac1 = arg[2]
20001 split(mac1, mac2, "(") #)
20002 macro = mac2[1]
20003 prefix = substr(line, 1, index(line, defundef) - 1)
20004 if (D_is_set[macro]) {
20005 # Preserve the white space surrounding the "#".
20006 print prefix "define", macro P[macro] D[macro]
20007 next
20008 } else {
20009 # Replace #undef with comments. This is necessary, for example,
20010 # in the case of _POSIX_SOURCE, which is predefined and required
20011 # on some systems where configure will not decide to define it.
20012 if (defundef == "undef") {
20013 print "/*", prefix defundef, macro, "*/"
20014 next
20018 { print }
20019 _ACAWK
20020 _ACEOF
20021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20022 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20023 fi # test -n "$CONFIG_HEADERS"
20026 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20027 shift
20028 for ac_tag
20030 case $ac_tag in
20031 :[FHLC]) ac_mode=$ac_tag; continue;;
20032 esac
20033 case $ac_mode$ac_tag in
20034 :[FHL]*:*);;
20035 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20036 :[FH]-) ac_tag=-:-;;
20037 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20038 esac
20039 ac_save_IFS=$IFS
20040 IFS=:
20041 set x $ac_tag
20042 IFS=$ac_save_IFS
20043 shift
20044 ac_file=$1
20045 shift
20047 case $ac_mode in
20048 :L) ac_source=$1;;
20049 :[FH])
20050 ac_file_inputs=
20051 for ac_f
20053 case $ac_f in
20054 -) ac_f="$ac_tmp/stdin";;
20055 *) # Look for the file first in the build tree, then in the source tree
20056 # (if the path is not absolute). The absolute path cannot be DOS-style,
20057 # because $ac_f cannot contain `:'.
20058 test -f "$ac_f" ||
20059 case $ac_f in
20060 [\\/$]*) false;;
20061 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20062 esac ||
20063 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20064 esac
20065 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20066 as_fn_append ac_file_inputs " '$ac_f'"
20067 done
20069 # Let's still pretend it is `configure' which instantiates (i.e., don't
20070 # use $as_me), people would be surprised to read:
20071 # /* config.h. Generated by config.status. */
20072 configure_input='Generated from '`
20073 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20074 `' by configure.'
20075 if test x"$ac_file" != x-; then
20076 configure_input="$ac_file. $configure_input"
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20078 $as_echo "$as_me: creating $ac_file" >&6;}
20080 # Neutralize special characters interpreted by sed in replacement strings.
20081 case $configure_input in #(
20082 *\&* | *\|* | *\\* )
20083 ac_sed_conf_input=`$as_echo "$configure_input" |
20084 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20085 *) ac_sed_conf_input=$configure_input;;
20086 esac
20088 case $ac_tag in
20089 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20090 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20091 esac
20093 esac
20095 ac_dir=`$as_dirname -- "$ac_file" ||
20096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20097 X"$ac_file" : 'X\(//\)[^/]' \| \
20098 X"$ac_file" : 'X\(//\)$' \| \
20099 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20100 $as_echo X"$ac_file" |
20101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20102 s//\1/
20105 /^X\(\/\/\)[^/].*/{
20106 s//\1/
20109 /^X\(\/\/\)$/{
20110 s//\1/
20113 /^X\(\/\).*/{
20114 s//\1/
20117 s/.*/./; q'`
20118 as_dir="$ac_dir"; as_fn_mkdir_p
20119 ac_builddir=.
20121 case "$ac_dir" in
20122 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20124 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20125 # A ".." for each directory in $ac_dir_suffix.
20126 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20127 case $ac_top_builddir_sub in
20128 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20129 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20130 esac ;;
20131 esac
20132 ac_abs_top_builddir=$ac_pwd
20133 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20134 # for backward compatibility:
20135 ac_top_builddir=$ac_top_build_prefix
20137 case $srcdir in
20138 .) # We are building in place.
20139 ac_srcdir=.
20140 ac_top_srcdir=$ac_top_builddir_sub
20141 ac_abs_top_srcdir=$ac_pwd ;;
20142 [\\/]* | ?:[\\/]* ) # Absolute name.
20143 ac_srcdir=$srcdir$ac_dir_suffix;
20144 ac_top_srcdir=$srcdir
20145 ac_abs_top_srcdir=$srcdir ;;
20146 *) # Relative name.
20147 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20148 ac_top_srcdir=$ac_top_build_prefix$srcdir
20149 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20150 esac
20151 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20154 case $ac_mode in
20157 # CONFIG_FILE
20160 _ACEOF
20162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20163 # If the template does not know about datarootdir, expand it.
20164 # FIXME: This hack should be removed a few years after 2.60.
20165 ac_datarootdir_hack=; ac_datarootdir_seen=
20166 ac_sed_dataroot='
20167 /datarootdir/ {
20171 /@datadir@/p
20172 /@docdir@/p
20173 /@infodir@/p
20174 /@localedir@/p
20175 /@mandir@/p'
20176 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20177 *datarootdir*) ac_datarootdir_seen=yes;;
20178 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20180 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20181 _ACEOF
20182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20183 ac_datarootdir_hack='
20184 s&@datadir@&$datadir&g
20185 s&@docdir@&$docdir&g
20186 s&@infodir@&$infodir&g
20187 s&@localedir@&$localedir&g
20188 s&@mandir@&$mandir&g
20189 s&\\\${datarootdir}&$datarootdir&g' ;;
20190 esac
20191 _ACEOF
20193 # Neutralize VPATH when `$srcdir' = `.'.
20194 # Shell code in configure.ac might set extrasub.
20195 # FIXME: do we really want to maintain this feature?
20196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20197 ac_sed_extra="$ac_vpsub
20198 $extrasub
20199 _ACEOF
20200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20203 s|@configure_input@|$ac_sed_conf_input|;t t
20204 s&@top_builddir@&$ac_top_builddir_sub&;t t
20205 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20206 s&@srcdir@&$ac_srcdir&;t t
20207 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20208 s&@top_srcdir@&$ac_top_srcdir&;t t
20209 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20210 s&@builddir@&$ac_builddir&;t t
20211 s&@abs_builddir@&$ac_abs_builddir&;t t
20212 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20213 $ac_datarootdir_hack
20215 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20216 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20219 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20221 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20223 which seems to be undefined. Please make sure it is defined" >&5
20224 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20225 which seems to be undefined. Please make sure it is defined" >&2;}
20227 rm -f "$ac_tmp/stdin"
20228 case $ac_file in
20229 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20230 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20231 esac \
20232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20236 # CONFIG_HEADER
20238 if test x"$ac_file" != x-; then
20240 $as_echo "/* $configure_input */" \
20241 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20242 } >"$ac_tmp/config.h" \
20243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20244 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20246 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20247 else
20248 rm -f "$ac_file"
20249 mv "$ac_tmp/config.h" "$ac_file" \
20250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20252 else
20253 $as_echo "/* $configure_input */" \
20254 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20255 || as_fn_error $? "could not create -" "$LINENO" 5
20260 # CONFIG_LINK
20263 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20265 else
20266 # Prefer the file from the source tree if names are identical.
20267 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20268 ac_source=$srcdir/$ac_source
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20272 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20274 if test ! -r "$ac_source"; then
20275 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20277 rm -f "$ac_file"
20279 # Try a relative symlink, then a hard link, then a copy.
20280 case $ac_source in
20281 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20282 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20283 esac
20284 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20285 ln "$ac_source" "$ac_file" 2>/dev/null ||
20286 cp -p "$ac_source" "$ac_file" ||
20287 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20290 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20291 $as_echo "$as_me: executing $ac_file commands" >&6;}
20293 esac
20296 case $ac_file$ac_mode in
20297 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20298 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20299 "Makefile":C) wine_fn_output_makefile Makefile ;;
20301 esac
20302 done # for ac_tag
20305 as_fn_exit 0
20306 _ACEOF
20307 ac_clean_files=$ac_clean_files_save
20309 test $ac_write_fail = 0 ||
20310 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20313 # configure is writing to config.log, and then calls config.status.
20314 # config.status does its own redirection, appending to config.log.
20315 # Unfortunately, on DOS this fails, as config.log is still kept open
20316 # by configure, so config.status won't be able to write to it; its
20317 # output is simply discarded. So we exec the FD to /dev/null,
20318 # effectively closing config.log, so it can be properly (re)opened and
20319 # appended to by config.status. When coming back to configure, we
20320 # need to make the FD available again.
20321 if test "$no_create" != yes; then
20322 ac_cs_success=:
20323 ac_config_status_args=
20324 test "$silent" = yes &&
20325 ac_config_status_args="$ac_config_status_args --quiet"
20326 exec 5>/dev/null
20327 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20328 exec 5>>config.log
20329 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20330 # would make configure fail if this is the last instruction.
20331 $ac_cs_success || as_fn_exit 1
20333 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20335 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20339 if test "$no_create" = "yes"
20340 then
20341 exit 0
20344 ac_save_IFS="$IFS"
20345 if test "x$wine_notices" != x; then
20346 echo >&6
20347 IFS="|"
20348 for msg in $wine_notices; do
20349 IFS="$ac_save_IFS"
20350 if ${msg:+false} :; then :
20352 else
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20354 $as_echo "$as_me: $msg" >&6;}
20356 done
20358 IFS="|"
20359 for msg in $wine_warnings; do
20360 IFS="$ac_save_IFS"
20361 if ${msg:+false} :; then :
20363 else
20364 echo >&2
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20366 $as_echo "$as_me: WARNING: $msg" >&2;}
20368 done
20369 IFS="$ac_save_IFS"
20371 $as_echo "
20372 $as_me: Finished. Do '${ac_make}' to compile Wine.
20373 " >&6