d3drm: Implement DeleteKey().
[wine.git] / configure
blobcb3668dd0151ea43406aee0f8a92b7ac7efbfa93
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.11.
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.11'
584 PACKAGE_STRING='Wine 2.11'
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_crt_l2_1_0
894 enable_api_ms_win_core_datetime_l1_1_0
895 enable_api_ms_win_core_datetime_l1_1_1
896 enable_api_ms_win_core_debug_l1_1_0
897 enable_api_ms_win_core_debug_l1_1_1
898 enable_api_ms_win_core_delayload_l1_1_0
899 enable_api_ms_win_core_delayload_l1_1_1
900 enable_api_ms_win_core_errorhandling_l1_1_0
901 enable_api_ms_win_core_errorhandling_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_2
903 enable_api_ms_win_core_fibers_l1_1_0
904 enable_api_ms_win_core_fibers_l1_1_1
905 enable_api_ms_win_core_file_l1_1_0
906 enable_api_ms_win_core_file_l1_2_0
907 enable_api_ms_win_core_file_l1_2_1
908 enable_api_ms_win_core_file_l2_1_0
909 enable_api_ms_win_core_file_l2_1_1
910 enable_api_ms_win_core_handle_l1_1_0
911 enable_api_ms_win_core_heap_l1_1_0
912 enable_api_ms_win_core_heap_l1_2_0
913 enable_api_ms_win_core_heap_obsolete_l1_1_0
914 enable_api_ms_win_core_interlocked_l1_1_0
915 enable_api_ms_win_core_interlocked_l1_2_0
916 enable_api_ms_win_core_io_l1_1_0
917 enable_api_ms_win_core_io_l1_1_1
918 enable_api_ms_win_core_job_l1_1_0
919 enable_api_ms_win_core_job_l2_1_0
920 enable_api_ms_win_core_kernel32_legacy_l1_1_0
921 enable_api_ms_win_core_kernel32_legacy_l1_1_1
922 enable_api_ms_win_core_kernel32_private_l1_1_1
923 enable_api_ms_win_core_libraryloader_l1_1_0
924 enable_api_ms_win_core_libraryloader_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_2_0
926 enable_api_ms_win_core_libraryloader_l1_2_2
927 enable_api_ms_win_core_localization_l1_1_0
928 enable_api_ms_win_core_localization_l1_2_0
929 enable_api_ms_win_core_localization_l1_2_1
930 enable_api_ms_win_core_localization_l2_1_0
931 enable_api_ms_win_core_localization_obsolete_l1_1_0
932 enable_api_ms_win_core_localization_obsolete_l1_2_0
933 enable_api_ms_win_core_localization_private_l1_1_0
934 enable_api_ms_win_core_localregistry_l1_1_0
935 enable_api_ms_win_core_memory_l1_1_0
936 enable_api_ms_win_core_memory_l1_1_1
937 enable_api_ms_win_core_memory_l1_1_2
938 enable_api_ms_win_core_misc_l1_1_0
939 enable_api_ms_win_core_namedpipe_l1_1_0
940 enable_api_ms_win_core_namedpipe_l1_2_0
941 enable_api_ms_win_core_namespace_l1_1_0
942 enable_api_ms_win_core_normalization_l1_1_0
943 enable_api_ms_win_core_path_l1_1_0
944 enable_api_ms_win_core_privateprofile_l1_1_1
945 enable_api_ms_win_core_processenvironment_l1_1_0
946 enable_api_ms_win_core_processenvironment_l1_2_0
947 enable_api_ms_win_core_processthreads_l1_1_0
948 enable_api_ms_win_core_processthreads_l1_1_1
949 enable_api_ms_win_core_processthreads_l1_1_2
950 enable_api_ms_win_core_profile_l1_1_0
951 enable_api_ms_win_core_psapi_l1_1_0
952 enable_api_ms_win_core_psapi_obsolete_l1_1_0
953 enable_api_ms_win_core_quirks_l1_1_0
954 enable_api_ms_win_core_realtime_l1_1_0
955 enable_api_ms_win_core_registry_l1_1_0
956 enable_api_ms_win_core_registry_l2_1_0
957 enable_api_ms_win_core_registryuserspecific_l1_1_0
958 enable_api_ms_win_core_rtlsupport_l1_1_0
959 enable_api_ms_win_core_rtlsupport_l1_2_0
960 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
961 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
962 enable_api_ms_win_core_sidebyside_l1_1_0
963 enable_api_ms_win_core_string_l1_1_0
964 enable_api_ms_win_core_string_l2_1_0
965 enable_api_ms_win_core_string_obsolete_l1_1_0
966 enable_api_ms_win_core_stringansi_l1_1_0
967 enable_api_ms_win_core_synch_l1_1_0
968 enable_api_ms_win_core_synch_l1_2_0
969 enable_api_ms_win_core_sysinfo_l1_1_0
970 enable_api_ms_win_core_sysinfo_l1_2_0
971 enable_api_ms_win_core_sysinfo_l1_2_1
972 enable_api_ms_win_core_threadpool_l1_1_0
973 enable_api_ms_win_core_threadpool_l1_2_0
974 enable_api_ms_win_core_threadpool_legacy_l1_1_0
975 enable_api_ms_win_core_threadpool_private_l1_1_0
976 enable_api_ms_win_core_timezone_l1_1_0
977 enable_api_ms_win_core_toolhelp_l1_1_0
978 enable_api_ms_win_core_url_l1_1_0
979 enable_api_ms_win_core_util_l1_1_0
980 enable_api_ms_win_core_version_l1_1_0
981 enable_api_ms_win_core_version_private_l1_1_0
982 enable_api_ms_win_core_versionansi_l1_1_0
983 enable_api_ms_win_core_windowserrorreporting_l1_1_0
984 enable_api_ms_win_core_winrt_error_l1_1_0
985 enable_api_ms_win_core_winrt_error_l1_1_1
986 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
987 enable_api_ms_win_core_winrt_l1_1_0
988 enable_api_ms_win_core_winrt_registration_l1_1_0
989 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
990 enable_api_ms_win_core_winrt_string_l1_1_0
991 enable_api_ms_win_core_wow64_l1_1_0
992 enable_api_ms_win_core_xstate_l1_1_0
993 enable_api_ms_win_core_xstate_l2_1_0
994 enable_api_ms_win_crt_conio_l1_1_0
995 enable_api_ms_win_crt_convert_l1_1_0
996 enable_api_ms_win_crt_environment_l1_1_0
997 enable_api_ms_win_crt_filesystem_l1_1_0
998 enable_api_ms_win_crt_heap_l1_1_0
999 enable_api_ms_win_crt_locale_l1_1_0
1000 enable_api_ms_win_crt_math_l1_1_0
1001 enable_api_ms_win_crt_multibyte_l1_1_0
1002 enable_api_ms_win_crt_private_l1_1_0
1003 enable_api_ms_win_crt_process_l1_1_0
1004 enable_api_ms_win_crt_runtime_l1_1_0
1005 enable_api_ms_win_crt_stdio_l1_1_0
1006 enable_api_ms_win_crt_string_l1_1_0
1007 enable_api_ms_win_crt_time_l1_1_0
1008 enable_api_ms_win_crt_utility_l1_1_0
1009 enable_api_ms_win_devices_config_l1_1_1
1010 enable_api_ms_win_devices_query_l1_1_1
1011 enable_api_ms_win_downlevel_advapi32_l1_1_0
1012 enable_api_ms_win_downlevel_advapi32_l2_1_0
1013 enable_api_ms_win_downlevel_normaliz_l1_1_0
1014 enable_api_ms_win_downlevel_ole32_l1_1_0
1015 enable_api_ms_win_downlevel_shell32_l1_1_0
1016 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1017 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1018 enable_api_ms_win_downlevel_user32_l1_1_0
1019 enable_api_ms_win_downlevel_version_l1_1_0
1020 enable_api_ms_win_dx_d3dkmt_l1_1_0
1021 enable_api_ms_win_eventing_classicprovider_l1_1_0
1022 enable_api_ms_win_eventing_consumer_l1_1_0
1023 enable_api_ms_win_eventing_controller_l1_1_0
1024 enable_api_ms_win_eventing_provider_l1_1_0
1025 enable_api_ms_win_eventlog_legacy_l1_1_0
1026 enable_api_ms_win_mm_misc_l1_1_1
1027 enable_api_ms_win_mm_mme_l1_1_0
1028 enable_api_ms_win_ntuser_dc_access_l1_1_0
1029 enable_api_ms_win_power_base_l1_1_0
1030 enable_api_ms_win_power_setting_l1_1_0
1031 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1032 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1033 enable_api_ms_win_security_audit_l1_1_1
1034 enable_api_ms_win_security_base_l1_1_0
1035 enable_api_ms_win_security_base_l1_2_0
1036 enable_api_ms_win_security_base_private_l1_1_1
1037 enable_api_ms_win_security_credentials_l1_1_0
1038 enable_api_ms_win_security_grouppolicy_l1_1_0
1039 enable_api_ms_win_security_lsalookup_l1_1_0
1040 enable_api_ms_win_security_lsalookup_l1_1_1
1041 enable_api_ms_win_security_lsalookup_l2_1_1
1042 enable_api_ms_win_security_lsapolicy_l1_1_0
1043 enable_api_ms_win_security_sddl_l1_1_0
1044 enable_api_ms_win_security_systemfunctions_l1_1_0
1045 enable_api_ms_win_service_core_l1_1_0
1046 enable_api_ms_win_service_core_l1_1_1
1047 enable_api_ms_win_service_management_l1_1_0
1048 enable_api_ms_win_service_management_l2_1_0
1049 enable_api_ms_win_service_private_l1_1_1
1050 enable_api_ms_win_service_winsvc_l1_1_0
1051 enable_api_ms_win_service_winsvc_l1_2_0
1052 enable_api_ms_win_shell_shellcom_l1_1_0
1053 enable_api_ms_win_shell_shellfolders_l1_1_0
1054 enable_apphelp
1055 enable_appwiz_cpl
1056 enable_atl
1057 enable_atl100
1058 enable_atl110
1059 enable_atl80
1060 enable_atl90
1061 enable_authz
1062 enable_avicap32
1063 enable_avifil32
1064 enable_avrt
1065 enable_bcrypt
1066 enable_bluetoothapis
1067 enable_browseui
1068 enable_bthprops_cpl
1069 enable_cabinet
1070 enable_capi2032
1071 enable_cards
1072 enable_cfgmgr32
1073 enable_clusapi
1074 enable_combase
1075 enable_comcat
1076 enable_comctl32
1077 enable_comdlg32
1078 enable_compstui
1079 enable_comsvcs
1080 enable_concrt140
1081 enable_connect
1082 enable_credui
1083 enable_crtdll
1084 enable_crypt32
1085 enable_cryptdlg
1086 enable_cryptdll
1087 enable_cryptext
1088 enable_cryptnet
1089 enable_cryptui
1090 enable_ctapi32
1091 enable_ctl3d32
1092 enable_d2d1
1093 enable_d3d10
1094 enable_d3d10_1
1095 enable_d3d10core
1096 enable_d3d11
1097 enable_d3d8
1098 enable_d3d9
1099 enable_d3dcompiler_33
1100 enable_d3dcompiler_34
1101 enable_d3dcompiler_35
1102 enable_d3dcompiler_36
1103 enable_d3dcompiler_37
1104 enable_d3dcompiler_38
1105 enable_d3dcompiler_39
1106 enable_d3dcompiler_40
1107 enable_d3dcompiler_41
1108 enable_d3dcompiler_42
1109 enable_d3dcompiler_43
1110 enable_d3dcompiler_46
1111 enable_d3dcompiler_47
1112 enable_d3dim
1113 enable_d3drm
1114 enable_d3dx10_33
1115 enable_d3dx10_34
1116 enable_d3dx10_35
1117 enable_d3dx10_36
1118 enable_d3dx10_37
1119 enable_d3dx10_38
1120 enable_d3dx10_39
1121 enable_d3dx10_40
1122 enable_d3dx10_41
1123 enable_d3dx10_42
1124 enable_d3dx10_43
1125 enable_d3dx11_42
1126 enable_d3dx11_43
1127 enable_d3dx9_24
1128 enable_d3dx9_25
1129 enable_d3dx9_26
1130 enable_d3dx9_27
1131 enable_d3dx9_28
1132 enable_d3dx9_29
1133 enable_d3dx9_30
1134 enable_d3dx9_31
1135 enable_d3dx9_32
1136 enable_d3dx9_33
1137 enable_d3dx9_34
1138 enable_d3dx9_35
1139 enable_d3dx9_36
1140 enable_d3dx9_37
1141 enable_d3dx9_38
1142 enable_d3dx9_39
1143 enable_d3dx9_40
1144 enable_d3dx9_41
1145 enable_d3dx9_42
1146 enable_d3dx9_43
1147 enable_d3dxof
1148 enable_davclnt
1149 enable_dbgeng
1150 enable_dbghelp
1151 enable_dciman32
1152 enable_ddraw
1153 enable_ddrawex
1154 enable_devenum
1155 enable_dhcpcsvc
1156 enable_difxapi
1157 enable_dinput
1158 enable_dinput8
1159 enable_dispex
1160 enable_dmband
1161 enable_dmcompos
1162 enable_dmime
1163 enable_dmloader
1164 enable_dmscript
1165 enable_dmstyle
1166 enable_dmsynth
1167 enable_dmusic
1168 enable_dmusic32
1169 enable_dnsapi
1170 enable_dplay
1171 enable_dplayx
1172 enable_dpnaddr
1173 enable_dpnet
1174 enable_dpnhpast
1175 enable_dpnlobby
1176 enable_dpvoice
1177 enable_dpwsockx
1178 enable_drmclien
1179 enable_dsound
1180 enable_dssenh
1181 enable_dswave
1182 enable_dwmapi
1183 enable_dwrite
1184 enable_dxdiagn
1185 enable_dxgi
1186 enable_dxva2
1187 enable_esent
1188 enable_evr
1189 enable_explorerframe
1190 enable_ext_ms_win_authz_context_l1_1_0
1191 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1192 enable_ext_ms_win_gdi_dc_create_l1_1_1
1193 enable_ext_ms_win_gdi_dc_l1_2_0
1194 enable_ext_ms_win_gdi_devcaps_l1_1_0
1195 enable_ext_ms_win_gdi_draw_l1_1_1
1196 enable_ext_ms_win_gdi_render_l1_1_0
1197 enable_ext_ms_win_kernel32_package_current_l1_1_0
1198 enable_ext_ms_win_kernel32_package_l1_1_1
1199 enable_ext_ms_win_ntuser_message_l1_1_1
1200 enable_ext_ms_win_ntuser_private_l1_1_1
1201 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1202 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1203 enable_ext_ms_win_ntuser_window_l1_1_1
1204 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1205 enable_ext_ms_win_ras_rasapi32_l1_1_0
1206 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1207 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1208 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1209 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1210 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1211 enable_ext_ms_win_security_credui_l1_1_0
1212 enable_ext_ms_win_security_cryptui_l1_1_0
1213 enable_faultrep
1214 enable_fltlib
1215 enable_fltmgr_sys
1216 enable_fntcache
1217 enable_fontsub
1218 enable_fusion
1219 enable_fwpuclnt
1220 enable_gameux
1221 enable_gdi32
1222 enable_gdiplus
1223 enable_glu32
1224 enable_gphoto2_ds
1225 enable_gpkcsp
1226 enable_hal
1227 enable_hhctrl_ocx
1228 enable_hid
1229 enable_hidclass_sys
1230 enable_hlink
1231 enable_hnetcfg
1232 enable_httpapi
1233 enable_iccvid
1234 enable_icmp
1235 enable_ieframe
1236 enable_imaadp32_acm
1237 enable_imagehlp
1238 enable_imm32
1239 enable_inetcomm
1240 enable_inetcpl_cpl
1241 enable_inetmib1
1242 enable_infosoft
1243 enable_initpki
1244 enable_inkobj
1245 enable_inseng
1246 enable_iphlpapi
1247 enable_iprop
1248 enable_irprops_cpl
1249 enable_itircl
1250 enable_itss
1251 enable_joy_cpl
1252 enable_jscript
1253 enable_jsproxy
1254 enable_kernel32
1255 enable_kernelbase
1256 enable_ksuser
1257 enable_ktmw32
1258 enable_loadperf
1259 enable_localspl
1260 enable_localui
1261 enable_lz32
1262 enable_mapi32
1263 enable_mapistub
1264 enable_mciavi32
1265 enable_mcicda
1266 enable_mciqtz32
1267 enable_mciseq
1268 enable_mciwave
1269 enable_mf
1270 enable_mf3216
1271 enable_mfplat
1272 enable_mfreadwrite
1273 enable_mgmtapi
1274 enable_midimap
1275 enable_mlang
1276 enable_mmcndmgr
1277 enable_mmdevapi
1278 enable_mountmgr_sys
1279 enable_mpr
1280 enable_mprapi
1281 enable_msacm32_drv
1282 enable_msacm32
1283 enable_msadp32_acm
1284 enable_msasn1
1285 enable_mscat32
1286 enable_mscms
1287 enable_mscoree
1288 enable_msctf
1289 enable_msctfp
1290 enable_msdaps
1291 enable_msdelta
1292 enable_msdmo
1293 enable_msdrm
1294 enable_msftedit
1295 enable_msg711_acm
1296 enable_msgsm32_acm
1297 enable_mshtml_tlb
1298 enable_mshtml
1299 enable_msi
1300 enable_msident
1301 enable_msimg32
1302 enable_msimsg
1303 enable_msimtf
1304 enable_msisip
1305 enable_msisys_ocx
1306 enable_msls31
1307 enable_msnet32
1308 enable_mspatcha
1309 enable_msports
1310 enable_msrle32
1311 enable_msscript_ocx
1312 enable_mssign32
1313 enable_mssip32
1314 enable_mstask
1315 enable_msvcirt
1316 enable_msvcm80
1317 enable_msvcm90
1318 enable_msvcp100
1319 enable_msvcp110
1320 enable_msvcp120
1321 enable_msvcp120_app
1322 enable_msvcp140
1323 enable_msvcp60
1324 enable_msvcp70
1325 enable_msvcp71
1326 enable_msvcp80
1327 enable_msvcp90
1328 enable_msvcr100
1329 enable_msvcr110
1330 enable_msvcr120
1331 enable_msvcr120_app
1332 enable_msvcr70
1333 enable_msvcr71
1334 enable_msvcr80
1335 enable_msvcr90
1336 enable_msvcrt
1337 enable_msvcrt20
1338 enable_msvcrt40
1339 enable_msvcrtd
1340 enable_msvfw32
1341 enable_msvidc32
1342 enable_mswsock
1343 enable_msxml
1344 enable_msxml2
1345 enable_msxml3
1346 enable_msxml4
1347 enable_msxml6
1348 enable_mtxdm
1349 enable_ncrypt
1350 enable_nddeapi
1351 enable_ndis_sys
1352 enable_netapi32
1353 enable_netcfgx
1354 enable_netprofm
1355 enable_newdev
1356 enable_normaliz
1357 enable_npmshtml
1358 enable_npptools
1359 enable_ntdll
1360 enable_ntdsapi
1361 enable_ntoskrnl_exe
1362 enable_ntprint
1363 enable_objsel
1364 enable_odbc32
1365 enable_odbccp32
1366 enable_odbccu32
1367 enable_ole32
1368 enable_oleacc
1369 enable_oleaut32
1370 enable_olecli32
1371 enable_oledb32
1372 enable_oledlg
1373 enable_olepro32
1374 enable_olesvr32
1375 enable_olethk32
1376 enable_openal32
1377 enable_opencl
1378 enable_opengl32
1379 enable_packager
1380 enable_pdh
1381 enable_photometadatahandler
1382 enable_pidgen
1383 enable_powrprof
1384 enable_printui
1385 enable_prntvpt
1386 enable_propsys
1387 enable_psapi
1388 enable_pstorec
1389 enable_qcap
1390 enable_qedit
1391 enable_qmgr
1392 enable_qmgrprxy
1393 enable_quartz
1394 enable_query
1395 enable_rasapi32
1396 enable_rasdlg
1397 enable_regapi
1398 enable_resutils
1399 enable_riched20
1400 enable_riched32
1401 enable_rpcrt4
1402 enable_rsabase
1403 enable_rsaenh
1404 enable_rstrtmgr
1405 enable_rtutils
1406 enable_samlib
1407 enable_sane_ds
1408 enable_scarddlg
1409 enable_sccbase
1410 enable_schannel
1411 enable_schedsvc
1412 enable_scrobj
1413 enable_scrrun
1414 enable_scsiport_sys
1415 enable_secur32
1416 enable_security
1417 enable_sensapi
1418 enable_serialui
1419 enable_setupapi
1420 enable_sfc
1421 enable_sfc_os
1422 enable_shdoclc
1423 enable_shdocvw
1424 enable_shell32
1425 enable_shfolder
1426 enable_shlwapi
1427 enable_slbcsp
1428 enable_slc
1429 enable_snmpapi
1430 enable_softpub
1431 enable_spoolss
1432 enable_sspicli
1433 enable_stdole2_tlb
1434 enable_stdole32_tlb
1435 enable_sti
1436 enable_svrapi
1437 enable_sxs
1438 enable_t2embed
1439 enable_tapi32
1440 enable_taskschd
1441 enable_tdh
1442 enable_tdi_sys
1443 enable_traffic
1444 enable_twain_32
1445 enable_ucrtbase
1446 enable_uiautomationcore
1447 enable_unicows
1448 enable_updspapi
1449 enable_url
1450 enable_urlmon
1451 enable_usbd_sys
1452 enable_user32
1453 enable_userenv
1454 enable_usp10
1455 enable_uxtheme
1456 enable_vbscript
1457 enable_vcomp
1458 enable_vcomp100
1459 enable_vcomp110
1460 enable_vcomp120
1461 enable_vcomp140
1462 enable_vcomp90
1463 enable_vcruntime140
1464 enable_vdmdbg
1465 enable_version
1466 enable_virtdisk
1467 enable_vssapi
1468 enable_wbemdisp
1469 enable_wbemprox
1470 enable_webservices
1471 enable_wer
1472 enable_wevtapi
1473 enable_wiaservc
1474 enable_wimgapi
1475 enable_windowscodecs
1476 enable_windowscodecsext
1477 enable_winealsa_drv
1478 enable_wineandroid_drv
1479 enable_winebus_sys
1480 enable_winecoreaudio_drv
1481 enable_wined3d
1482 enable_winegstreamer
1483 enable_winehid_sys
1484 enable_winejoystick_drv
1485 enable_winemac_drv
1486 enable_winemapi
1487 enable_winemp3_acm
1488 enable_wineoss_drv
1489 enable_wineps_drv
1490 enable_winepulse_drv
1491 enable_wineqtdecoder
1492 enable_winex11_drv
1493 enable_wing32
1494 enable_winhttp
1495 enable_wininet
1496 enable_winmm
1497 enable_winnls32
1498 enable_winscard
1499 enable_winspool_drv
1500 enable_winsta
1501 enable_wintab32
1502 enable_wintrust
1503 enable_winusb
1504 enable_wlanapi
1505 enable_wldap32
1506 enable_wmasf
1507 enable_wmi
1508 enable_wmiutils
1509 enable_wmp
1510 enable_wmvcore
1511 enable_wnaspi32
1512 enable_wpc
1513 enable_wpcap
1514 enable_ws2_32
1515 enable_wsdapi
1516 enable_wshom_ocx
1517 enable_wsnmp32
1518 enable_wsock32
1519 enable_wtsapi32
1520 enable_wuapi
1521 enable_wuaueng
1522 enable_x3daudio1_0
1523 enable_x3daudio1_1
1524 enable_x3daudio1_2
1525 enable_x3daudio1_3
1526 enable_x3daudio1_4
1527 enable_x3daudio1_5
1528 enable_x3daudio1_6
1529 enable_x3daudio1_7
1530 enable_xapofx1_1
1531 enable_xapofx1_2
1532 enable_xapofx1_3
1533 enable_xapofx1_4
1534 enable_xapofx1_5
1535 enable_xaudio2_0
1536 enable_xaudio2_1
1537 enable_xaudio2_2
1538 enable_xaudio2_3
1539 enable_xaudio2_4
1540 enable_xaudio2_5
1541 enable_xaudio2_6
1542 enable_xaudio2_7
1543 enable_xaudio2_8
1544 enable_xaudio2_9
1545 enable_xinput1_1
1546 enable_xinput1_2
1547 enable_xinput1_3
1548 enable_xinput1_4
1549 enable_xinput9_1_0
1550 enable_xmllite
1551 enable_xolehlp
1552 enable_xpsprint
1553 enable_xpssvcs
1554 enable_fonts
1555 enable_include
1556 enable_libs_port
1557 enable_libs_wine
1558 enable_libs_wpp
1559 enable_loader
1560 enable_po
1561 enable_arp
1562 enable_aspnet_regiis
1563 enable_attrib
1564 enable_cabarc
1565 enable_cacls
1566 enable_clock
1567 enable_cmd
1568 enable_conhost
1569 enable_control
1570 enable_cscript
1571 enable_dpnsvr
1572 enable_dxdiag
1573 enable_eject
1574 enable_expand
1575 enable_explorer
1576 enable_extrac32
1577 enable_findstr
1578 enable_fsutil
1579 enable_hh
1580 enable_hostname
1581 enable_icacls
1582 enable_icinfo
1583 enable_iexplore
1584 enable_ipconfig
1585 enable_lodctr
1586 enable_mofcomp
1587 enable_mshta
1588 enable_msiexec
1589 enable_msinfo32
1590 enable_net
1591 enable_netsh
1592 enable_netstat
1593 enable_ngen
1594 enable_notepad
1595 enable_oleview
1596 enable_ping
1597 enable_plugplay
1598 enable_presentationfontcache
1599 enable_progman
1600 enable_reg
1601 enable_regasm
1602 enable_regedit
1603 enable_regsvcs
1604 enable_regsvr32
1605 enable_rpcss
1606 enable_rundll32
1607 enable_sc
1608 enable_schtasks
1609 enable_sdbinst
1610 enable_secedit
1611 enable_servicemodelreg
1612 enable_services
1613 enable_shutdown
1614 enable_spoolsv
1615 enable_start
1616 enable_subst
1617 enable_svchost
1618 enable_systeminfo
1619 enable_taskkill
1620 enable_tasklist
1621 enable_taskmgr
1622 enable_termsv
1623 enable_uninstaller
1624 enable_unlodctr
1625 enable_view
1626 enable_wevtutil
1627 enable_wineboot
1628 enable_winebrowser
1629 enable_winecfg
1630 enable_wineconsole
1631 enable_winedbg
1632 enable_winedevice
1633 enable_winefile
1634 enable_winemenubuilder
1635 enable_winemine
1636 enable_winemsibuilder
1637 enable_winepath
1638 enable_winetest
1639 enable_winhlp32
1640 enable_winver
1641 enable_wmic
1642 enable_wmplayer
1643 enable_wordpad
1644 enable_write
1645 enable_wscript
1646 enable_wusa
1647 enable_xcopy
1648 enable_server
1649 enable_tools
1651 ac_precious_vars='build_alias
1652 host_alias
1653 target_alias
1655 CFLAGS
1656 LDFLAGS
1657 LIBS
1658 CPPFLAGS
1660 CXXFLAGS
1663 XMKMF
1664 XML2_CFLAGS
1665 XML2_LIBS
1666 XSLT_CFLAGS
1667 XSLT_LIBS
1668 DBUS_CFLAGS
1669 DBUS_LIBS
1670 HAL_CFLAGS
1671 HAL_LIBS
1672 GNUTLS_CFLAGS
1673 GNUTLS_LIBS
1674 SANE_CFLAGS
1675 SANE_LIBS
1676 GPHOTO2_CFLAGS
1677 GPHOTO2_LIBS
1678 GPHOTO2_PORT_CFLAGS
1679 GPHOTO2_PORT_LIBS
1680 LCMS2_CFLAGS
1681 LCMS2_LIBS
1682 FREETYPE_CFLAGS
1683 FREETYPE_LIBS
1684 PULSE_CFLAGS
1685 PULSE_LIBS
1686 GSTREAMER_CFLAGS
1687 GSTREAMER_LIBS
1688 UDEV_CFLAGS
1689 UDEV_LIBS
1690 CAPI20_CFLAGS
1691 CAPI20_LIBS
1692 FONTCONFIG_CFLAGS
1693 FONTCONFIG_LIBS
1694 JPEG_CFLAGS
1695 JPEG_LIBS
1696 PNG_CFLAGS
1697 PNG_LIBS
1698 TIFF_CFLAGS
1699 TIFF_LIBS
1700 MPG123_CFLAGS
1701 MPG123_LIBS
1702 NETAPI_CFLAGS
1703 NETAPI_LIBS'
1706 # Initialize some variables set by options.
1707 ac_init_help=
1708 ac_init_version=false
1709 ac_unrecognized_opts=
1710 ac_unrecognized_sep=
1711 # The variables have the same names as the options, with
1712 # dashes changed to underlines.
1713 cache_file=/dev/null
1714 exec_prefix=NONE
1715 no_create=
1716 no_recursion=
1717 prefix=NONE
1718 program_prefix=NONE
1719 program_suffix=NONE
1720 program_transform_name=s,x,x,
1721 silent=
1722 site=
1723 srcdir=
1724 verbose=
1725 x_includes=NONE
1726 x_libraries=NONE
1728 # Installation directory options.
1729 # These are left unexpanded so users can "make install exec_prefix=/foo"
1730 # and all the variables that are supposed to be based on exec_prefix
1731 # by default will actually change.
1732 # Use braces instead of parens because sh, perl, etc. also accept them.
1733 # (The list follows the same order as the GNU Coding Standards.)
1734 bindir='${exec_prefix}/bin'
1735 sbindir='${exec_prefix}/sbin'
1736 libexecdir='${exec_prefix}/libexec'
1737 datarootdir='${prefix}/share'
1738 datadir='${datarootdir}'
1739 sysconfdir='${prefix}/etc'
1740 sharedstatedir='${prefix}/com'
1741 localstatedir='${prefix}/var'
1742 runstatedir='${localstatedir}/run'
1743 includedir='${prefix}/include'
1744 oldincludedir='/usr/include'
1745 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1746 infodir='${datarootdir}/info'
1747 htmldir='${docdir}'
1748 dvidir='${docdir}'
1749 pdfdir='${docdir}'
1750 psdir='${docdir}'
1751 libdir='${exec_prefix}/lib'
1752 localedir='${datarootdir}/locale'
1753 mandir='${datarootdir}/man'
1755 ac_prev=
1756 ac_dashdash=
1757 for ac_option
1759 # If the previous option needs an argument, assign it.
1760 if test -n "$ac_prev"; then
1761 eval $ac_prev=\$ac_option
1762 ac_prev=
1763 continue
1766 case $ac_option in
1767 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1768 *=) ac_optarg= ;;
1769 *) ac_optarg=yes ;;
1770 esac
1772 # Accept the important Cygnus configure options, so we can diagnose typos.
1774 case $ac_dashdash$ac_option in
1776 ac_dashdash=yes ;;
1778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1779 ac_prev=bindir ;;
1780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1781 bindir=$ac_optarg ;;
1783 -build | --build | --buil | --bui | --bu)
1784 ac_prev=build_alias ;;
1785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1786 build_alias=$ac_optarg ;;
1788 -cache-file | --cache-file | --cache-fil | --cache-fi \
1789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1790 ac_prev=cache_file ;;
1791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1793 cache_file=$ac_optarg ;;
1795 --config-cache | -C)
1796 cache_file=config.cache ;;
1798 -datadir | --datadir | --datadi | --datad)
1799 ac_prev=datadir ;;
1800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1801 datadir=$ac_optarg ;;
1803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1804 | --dataroo | --dataro | --datar)
1805 ac_prev=datarootdir ;;
1806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1808 datarootdir=$ac_optarg ;;
1810 -disable-* | --disable-*)
1811 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1812 # Reject names that are not valid shell variable names.
1813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1814 as_fn_error $? "invalid feature name: $ac_useropt"
1815 ac_useropt_orig=$ac_useropt
1816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1817 case $ac_user_opts in
1819 "enable_$ac_useropt"
1820 "*) ;;
1821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1822 ac_unrecognized_sep=', ';;
1823 esac
1824 eval enable_$ac_useropt=no ;;
1826 -docdir | --docdir | --docdi | --doc | --do)
1827 ac_prev=docdir ;;
1828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1829 docdir=$ac_optarg ;;
1831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1832 ac_prev=dvidir ;;
1833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1834 dvidir=$ac_optarg ;;
1836 -enable-* | --enable-*)
1837 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1838 # Reject names that are not valid shell variable names.
1839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1840 as_fn_error $? "invalid feature name: $ac_useropt"
1841 ac_useropt_orig=$ac_useropt
1842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1843 case $ac_user_opts in
1845 "enable_$ac_useropt"
1846 "*) ;;
1847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1848 ac_unrecognized_sep=', ';;
1849 esac
1850 eval enable_$ac_useropt=\$ac_optarg ;;
1852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1854 | --exec | --exe | --ex)
1855 ac_prev=exec_prefix ;;
1856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1858 | --exec=* | --exe=* | --ex=*)
1859 exec_prefix=$ac_optarg ;;
1861 -gas | --gas | --ga | --g)
1862 # Obsolete; use --with-gas.
1863 with_gas=yes ;;
1865 -help | --help | --hel | --he | -h)
1866 ac_init_help=long ;;
1867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1868 ac_init_help=recursive ;;
1869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1870 ac_init_help=short ;;
1872 -host | --host | --hos | --ho)
1873 ac_prev=host_alias ;;
1874 -host=* | --host=* | --hos=* | --ho=*)
1875 host_alias=$ac_optarg ;;
1877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1878 ac_prev=htmldir ;;
1879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1880 | --ht=*)
1881 htmldir=$ac_optarg ;;
1883 -includedir | --includedir | --includedi | --included | --include \
1884 | --includ | --inclu | --incl | --inc)
1885 ac_prev=includedir ;;
1886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1887 | --includ=* | --inclu=* | --incl=* | --inc=*)
1888 includedir=$ac_optarg ;;
1890 -infodir | --infodir | --infodi | --infod | --info | --inf)
1891 ac_prev=infodir ;;
1892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1893 infodir=$ac_optarg ;;
1895 -libdir | --libdir | --libdi | --libd)
1896 ac_prev=libdir ;;
1897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1898 libdir=$ac_optarg ;;
1900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1901 | --libexe | --libex | --libe)
1902 ac_prev=libexecdir ;;
1903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1904 | --libexe=* | --libex=* | --libe=*)
1905 libexecdir=$ac_optarg ;;
1907 -localedir | --localedir | --localedi | --localed | --locale)
1908 ac_prev=localedir ;;
1909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1910 localedir=$ac_optarg ;;
1912 -localstatedir | --localstatedir | --localstatedi | --localstated \
1913 | --localstate | --localstat | --localsta | --localst | --locals)
1914 ac_prev=localstatedir ;;
1915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1917 localstatedir=$ac_optarg ;;
1919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1920 ac_prev=mandir ;;
1921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1922 mandir=$ac_optarg ;;
1924 -nfp | --nfp | --nf)
1925 # Obsolete; use --without-fp.
1926 with_fp=no ;;
1928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1929 | --no-cr | --no-c | -n)
1930 no_create=yes ;;
1932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1934 no_recursion=yes ;;
1936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1938 | --oldin | --oldi | --old | --ol | --o)
1939 ac_prev=oldincludedir ;;
1940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1943 oldincludedir=$ac_optarg ;;
1945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1946 ac_prev=prefix ;;
1947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1948 prefix=$ac_optarg ;;
1950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1951 | --program-pre | --program-pr | --program-p)
1952 ac_prev=program_prefix ;;
1953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1955 program_prefix=$ac_optarg ;;
1957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1958 | --program-suf | --program-su | --program-s)
1959 ac_prev=program_suffix ;;
1960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1962 program_suffix=$ac_optarg ;;
1964 -program-transform-name | --program-transform-name \
1965 | --program-transform-nam | --program-transform-na \
1966 | --program-transform-n | --program-transform- \
1967 | --program-transform | --program-transfor \
1968 | --program-transfo | --program-transf \
1969 | --program-trans | --program-tran \
1970 | --progr-tra | --program-tr | --program-t)
1971 ac_prev=program_transform_name ;;
1972 -program-transform-name=* | --program-transform-name=* \
1973 | --program-transform-nam=* | --program-transform-na=* \
1974 | --program-transform-n=* | --program-transform-=* \
1975 | --program-transform=* | --program-transfor=* \
1976 | --program-transfo=* | --program-transf=* \
1977 | --program-trans=* | --program-tran=* \
1978 | --progr-tra=* | --program-tr=* | --program-t=*)
1979 program_transform_name=$ac_optarg ;;
1981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1982 ac_prev=pdfdir ;;
1983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1984 pdfdir=$ac_optarg ;;
1986 -psdir | --psdir | --psdi | --psd | --ps)
1987 ac_prev=psdir ;;
1988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1989 psdir=$ac_optarg ;;
1991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1992 | -silent | --silent | --silen | --sile | --sil)
1993 silent=yes ;;
1995 -runstatedir | --runstatedir | --runstatedi | --runstated \
1996 | --runstate | --runstat | --runsta | --runst | --runs \
1997 | --run | --ru | --r)
1998 ac_prev=runstatedir ;;
1999 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2000 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2001 | --run=* | --ru=* | --r=*)
2002 runstatedir=$ac_optarg ;;
2004 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2005 ac_prev=sbindir ;;
2006 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2007 | --sbi=* | --sb=*)
2008 sbindir=$ac_optarg ;;
2010 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2011 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2012 | --sharedst | --shareds | --shared | --share | --shar \
2013 | --sha | --sh)
2014 ac_prev=sharedstatedir ;;
2015 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2016 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2017 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2018 | --sha=* | --sh=*)
2019 sharedstatedir=$ac_optarg ;;
2021 -site | --site | --sit)
2022 ac_prev=site ;;
2023 -site=* | --site=* | --sit=*)
2024 site=$ac_optarg ;;
2026 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2027 ac_prev=srcdir ;;
2028 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2029 srcdir=$ac_optarg ;;
2031 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2032 | --syscon | --sysco | --sysc | --sys | --sy)
2033 ac_prev=sysconfdir ;;
2034 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2035 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2036 sysconfdir=$ac_optarg ;;
2038 -target | --target | --targe | --targ | --tar | --ta | --t)
2039 ac_prev=target_alias ;;
2040 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2041 target_alias=$ac_optarg ;;
2043 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2044 verbose=yes ;;
2046 -version | --version | --versio | --versi | --vers | -V)
2047 ac_init_version=: ;;
2049 -with-* | --with-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid package name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "with_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval with_$ac_useropt=\$ac_optarg ;;
2065 -without-* | --without-*)
2066 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2067 # Reject names that are not valid shell variable names.
2068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2069 as_fn_error $? "invalid package name: $ac_useropt"
2070 ac_useropt_orig=$ac_useropt
2071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2072 case $ac_user_opts in
2074 "with_$ac_useropt"
2075 "*) ;;
2076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2077 ac_unrecognized_sep=', ';;
2078 esac
2079 eval with_$ac_useropt=no ;;
2081 --x)
2082 # Obsolete; use --with-x.
2083 with_x=yes ;;
2085 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2086 | --x-incl | --x-inc | --x-in | --x-i)
2087 ac_prev=x_includes ;;
2088 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2089 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2090 x_includes=$ac_optarg ;;
2092 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2093 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2094 ac_prev=x_libraries ;;
2095 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2096 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2097 x_libraries=$ac_optarg ;;
2099 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2100 Try \`$0 --help' for more information"
2103 *=*)
2104 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2105 # Reject names that are not valid shell variable names.
2106 case $ac_envvar in #(
2107 '' | [0-9]* | *[!_$as_cr_alnum]* )
2108 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2109 esac
2110 eval $ac_envvar=\$ac_optarg
2111 export $ac_envvar ;;
2114 # FIXME: should be removed in autoconf 3.0.
2115 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2117 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2118 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2121 esac
2122 done
2124 if test -n "$ac_prev"; then
2125 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2126 as_fn_error $? "missing argument to $ac_option"
2129 if test -n "$ac_unrecognized_opts"; then
2130 case $enable_option_checking in
2131 no) ;;
2132 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2133 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2134 esac
2137 # Check all directory arguments for consistency.
2138 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2139 datadir sysconfdir sharedstatedir localstatedir includedir \
2140 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2141 libdir localedir mandir runstatedir
2143 eval ac_val=\$$ac_var
2144 # Remove trailing slashes.
2145 case $ac_val in
2146 */ )
2147 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2148 eval $ac_var=\$ac_val;;
2149 esac
2150 # Be sure to have absolute directory names.
2151 case $ac_val in
2152 [\\/$]* | ?:[\\/]* ) continue;;
2153 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2154 esac
2155 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2156 done
2158 # There might be people who depend on the old broken behavior: `$host'
2159 # used to hold the argument of --host etc.
2160 # FIXME: To remove some day.
2161 build=$build_alias
2162 host=$host_alias
2163 target=$target_alias
2165 # FIXME: To remove some day.
2166 if test "x$host_alias" != x; then
2167 if test "x$build_alias" = x; then
2168 cross_compiling=maybe
2169 elif test "x$build_alias" != "x$host_alias"; then
2170 cross_compiling=yes
2174 ac_tool_prefix=
2175 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2177 test "$silent" = yes && exec 6>/dev/null
2180 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2181 ac_ls_di=`ls -di .` &&
2182 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2183 as_fn_error $? "working directory cannot be determined"
2184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2185 as_fn_error $? "pwd does not report name of working directory"
2188 # Find the source files, if location was not specified.
2189 if test -z "$srcdir"; then
2190 ac_srcdir_defaulted=yes
2191 # Try the directory containing this script, then the parent directory.
2192 ac_confdir=`$as_dirname -- "$as_myself" ||
2193 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2194 X"$as_myself" : 'X\(//\)[^/]' \| \
2195 X"$as_myself" : 'X\(//\)$' \| \
2196 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2197 $as_echo X"$as_myself" |
2198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2199 s//\1/
2202 /^X\(\/\/\)[^/].*/{
2203 s//\1/
2206 /^X\(\/\/\)$/{
2207 s//\1/
2210 /^X\(\/\).*/{
2211 s//\1/
2214 s/.*/./; q'`
2215 srcdir=$ac_confdir
2216 if test ! -r "$srcdir/$ac_unique_file"; then
2217 srcdir=..
2219 else
2220 ac_srcdir_defaulted=no
2222 if test ! -r "$srcdir/$ac_unique_file"; then
2223 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2224 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2226 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2227 ac_abs_confdir=`(
2228 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2229 pwd)`
2230 # When building in place, set srcdir=.
2231 if test "$ac_abs_confdir" = "$ac_pwd"; then
2232 srcdir=.
2234 # Remove unnecessary trailing slashes from srcdir.
2235 # Double slashes in file names in object file debugging info
2236 # mess up M-x gdb in Emacs.
2237 case $srcdir in
2238 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2239 esac
2240 for ac_var in $ac_precious_vars; do
2241 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2242 eval ac_env_${ac_var}_value=\$${ac_var}
2243 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2244 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2245 done
2248 # Report the --help message.
2250 if test "$ac_init_help" = "long"; then
2251 # Omit some internal or obsolete options to make the list less imposing.
2252 # This message is too long to be a string in the A/UX 3.1 sh.
2253 cat <<_ACEOF
2254 \`configure' configures Wine 2.11 to adapt to many kinds of systems.
2256 Usage: $0 [OPTION]... [VAR=VALUE]...
2258 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2259 VAR=VALUE. See below for descriptions of some of the useful variables.
2261 Defaults for the options are specified in brackets.
2263 Configuration:
2264 -h, --help display this help and exit
2265 --help=short display options specific to this package
2266 --help=recursive display the short help of all the included packages
2267 -V, --version display version information and exit
2268 -q, --quiet, --silent do not print \`checking ...' messages
2269 --cache-file=FILE cache test results in FILE [disabled]
2270 -C, --config-cache alias for \`--cache-file=config.cache'
2271 -n, --no-create do not create output files
2272 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2274 Installation directories:
2275 --prefix=PREFIX install architecture-independent files in PREFIX
2276 [$ac_default_prefix]
2277 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2278 [PREFIX]
2280 By default, \`make install' will install all the files in
2281 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2282 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2283 for instance \`--prefix=\$HOME'.
2285 For better control, use the options below.
2287 Fine tuning of the installation directories:
2288 --bindir=DIR user executables [EPREFIX/bin]
2289 --sbindir=DIR system admin executables [EPREFIX/sbin]
2290 --libexecdir=DIR program executables [EPREFIX/libexec]
2291 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2292 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2293 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2294 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2295 --libdir=DIR object code libraries [EPREFIX/lib]
2296 --includedir=DIR C header files [PREFIX/include]
2297 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2298 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2299 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2300 --infodir=DIR info documentation [DATAROOTDIR/info]
2301 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2302 --mandir=DIR man documentation [DATAROOTDIR/man]
2303 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2304 --htmldir=DIR html documentation [DOCDIR]
2305 --dvidir=DIR dvi documentation [DOCDIR]
2306 --pdfdir=DIR pdf documentation [DOCDIR]
2307 --psdir=DIR ps documentation [DOCDIR]
2308 _ACEOF
2310 cat <<\_ACEOF
2312 X features:
2313 --x-includes=DIR X include files are in DIR
2314 --x-libraries=DIR X library files are in DIR
2316 System types:
2317 --build=BUILD configure for building on BUILD [guessed]
2318 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2319 _ACEOF
2322 if test -n "$ac_init_help"; then
2323 case $ac_init_help in
2324 short | recursive ) echo "Configuration of Wine 2.11:";;
2325 esac
2326 cat <<\_ACEOF
2328 Optional Features:
2329 --disable-option-checking ignore unrecognized --enable/--with options
2330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2332 --disable-win16 do not include Win16 support
2333 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2334 binaries)
2335 --disable-tests do not build the regression tests
2336 --enable-maintainer-mode
2337 enable maintainer-specific build rules
2338 --disable-largefile omit support for large files
2340 Optional Packages:
2341 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2342 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2343 --without-alsa do not use the Alsa sound support
2344 --without-capi do not use CAPI (ISDN support)
2345 --without-cms do not use CMS (color management support)
2346 --without-coreaudio do not use the CoreAudio sound support
2347 --without-cups do not use CUPS
2348 --without-curses do not use (n)curses
2349 --without-dbus do not use DBus (dynamic device support)
2350 --without-fontconfig do not use fontconfig
2351 --without-freetype do not use the FreeType library
2352 --without-gettext do not use gettext
2353 --with-gettextpo use the GetTextPO library to rebuild po files
2354 --without-gphoto do not use gphoto (Digital Camera support)
2355 --without-glu do not use the GLU library
2356 --without-gnutls do not use GnuTLS (schannel support)
2357 --without-gsm do not use libgsm (GSM 06.10 codec support)
2358 --without-gstreamer do not use GStreamer (codecs support)
2359 --without-hal do not use HAL (dynamic device support)
2360 --without-jpeg do not use JPEG
2361 --without-ldap do not use LDAP
2362 --without-mpg123 do not use the mpg123 library
2363 --without-netapi do not use the Samba NetAPI library
2364 --without-openal do not use OpenAL
2365 --without-opencl do not use OpenCL
2366 --without-opengl do not use OpenGL
2367 --without-osmesa do not use the OSMesa library
2368 --without-oss do not use the OSS sound support
2369 --without-pcap do not use the Packet Capture library
2370 --without-png do not use PNG
2371 --without-pthread do not use the pthread library
2372 --without-pulse do not use PulseAudio sound support
2373 --without-sane do not use SANE (scanner support)
2374 --without-tiff do not use TIFF
2375 --without-udev do not use udev (plug and play support)
2376 --without-v4l do not use v4l1 (v4l support)
2377 --without-xcomposite do not use the Xcomposite extension
2378 --without-xcursor do not use the Xcursor extension
2379 --without-xfixes do not use Xfixes for clipboard change notifications
2380 --without-xinerama do not use Xinerama (multi-monitor support)
2381 --without-xinput do not use the Xinput extension
2382 --without-xinput2 do not use the Xinput 2 extension
2383 --without-xml do not use XML
2384 --without-xrandr do not use Xrandr (resolution changes)
2385 --without-xrender do not use the Xrender extension
2386 --without-xshape do not use the Xshape extension
2387 --without-xshm do not use XShm (shared memory extension)
2388 --without-xslt do not use XSLT
2389 --without-xxf86vm do not use XFree video mode extension
2390 --without-zlib do not use Zlib (data compression)
2391 --with-wine-tools=DIR use Wine tools from directory DIR
2392 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2393 --with-x use the X Window System
2395 Some influential environment variables:
2396 CC C compiler command
2397 CFLAGS C compiler flags
2398 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2399 nonstandard directory <lib dir>
2400 LIBS libraries to pass to the linker, e.g. -l<library>
2401 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2402 you have headers in a nonstandard directory <include dir>
2403 CXX C++ compiler command
2404 CXXFLAGS C++ compiler flags
2405 CPP C preprocessor
2406 XMKMF Path to xmkmf, Makefile generator for X Window System
2407 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2408 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2409 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2410 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2411 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2412 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2413 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2414 HAL_LIBS Linker flags for hal, overriding pkg-config
2415 GNUTLS_CFLAGS
2416 C compiler flags for gnutls, overriding pkg-config
2417 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2418 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2419 SANE_LIBS Linker flags for libsane, overriding pkg-config
2420 GPHOTO2_CFLAGS
2421 C compiler flags for libgphoto2, overriding pkg-config
2422 GPHOTO2_LIBS
2423 Linker flags for libgphoto2, overriding pkg-config
2424 GPHOTO2_PORT_CFLAGS
2425 C compiler flags for libgphoto2_port, overriding pkg-config
2426 GPHOTO2_PORT_LIBS
2427 Linker flags for libgphoto2_port, overriding pkg-config
2428 LCMS2_CFLAGS
2429 C compiler flags for lcms2, overriding pkg-config
2430 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2431 FREETYPE_CFLAGS
2432 C compiler flags for freetype2, overriding pkg-config
2433 FREETYPE_LIBS
2434 Linker flags for freetype2, overriding pkg-config
2435 PULSE_CFLAGS
2436 C compiler flags for libpulse, overriding pkg-config
2437 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2438 GSTREAMER_CFLAGS
2439 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2440 gstreamer-audio-1.0, overriding pkg-config
2441 GSTREAMER_LIBS
2442 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2443 gstreamer-audio-1.0, overriding pkg-config
2444 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2445 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2446 CAPI20_CFLAGS
2447 C compiler flags for capi20, overriding pkg-config
2448 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2449 FONTCONFIG_CFLAGS
2450 C compiler flags for fontconfig, overriding pkg-config
2451 FONTCONFIG_LIBS
2452 Linker flags for fontconfig, overriding pkg-config
2453 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2454 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2455 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2456 PNG_LIBS Linker flags for libpng, overriding pkg-config
2457 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2458 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2459 MPG123_CFLAGS
2460 C compiler flags for libmpg123, overriding pkg-config
2461 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2462 NETAPI_CFLAGS
2463 C compiler flags for netapi, overriding pkg-config
2464 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2466 Use these variables to override the choices made by `configure' or to help
2467 it to find libraries and programs with nonstandard names/locations.
2469 Report bugs to <wine-devel@winehq.org>.
2470 Wine home page: <http://www.winehq.org>.
2471 _ACEOF
2472 ac_status=$?
2475 if test "$ac_init_help" = "recursive"; then
2476 # If there are subdirs, report their specific --help.
2477 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2478 test -d "$ac_dir" ||
2479 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2480 continue
2481 ac_builddir=.
2483 case "$ac_dir" in
2484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2486 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2487 # A ".." for each directory in $ac_dir_suffix.
2488 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2489 case $ac_top_builddir_sub in
2490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2492 esac ;;
2493 esac
2494 ac_abs_top_builddir=$ac_pwd
2495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2496 # for backward compatibility:
2497 ac_top_builddir=$ac_top_build_prefix
2499 case $srcdir in
2500 .) # We are building in place.
2501 ac_srcdir=.
2502 ac_top_srcdir=$ac_top_builddir_sub
2503 ac_abs_top_srcdir=$ac_pwd ;;
2504 [\\/]* | ?:[\\/]* ) # Absolute name.
2505 ac_srcdir=$srcdir$ac_dir_suffix;
2506 ac_top_srcdir=$srcdir
2507 ac_abs_top_srcdir=$srcdir ;;
2508 *) # Relative name.
2509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2510 ac_top_srcdir=$ac_top_build_prefix$srcdir
2511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2512 esac
2513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2515 cd "$ac_dir" || { ac_status=$?; continue; }
2516 # Check for guested configure.
2517 if test -f "$ac_srcdir/configure.gnu"; then
2518 echo &&
2519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2520 elif test -f "$ac_srcdir/configure"; then
2521 echo &&
2522 $SHELL "$ac_srcdir/configure" --help=recursive
2523 else
2524 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2525 fi || ac_status=$?
2526 cd "$ac_pwd" || { ac_status=$?; break; }
2527 done
2530 test -n "$ac_init_help" && exit $ac_status
2531 if $ac_init_version; then
2532 cat <<\_ACEOF
2533 Wine configure 2.11
2534 generated by GNU Autoconf 2.69
2536 Copyright (C) 2012 Free Software Foundation, Inc.
2537 This configure script is free software; the Free Software Foundation
2538 gives unlimited permission to copy, distribute and modify it.
2539 _ACEOF
2540 exit
2543 ## ------------------------ ##
2544 ## Autoconf initialization. ##
2545 ## ------------------------ ##
2547 # ac_fn_c_try_compile LINENO
2548 # --------------------------
2549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_compile ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 rm -f conftest.$ac_objext
2554 if { { ac_try="$ac_compile"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_compile") 2>conftest.err
2562 ac_status=$?
2563 if test -s conftest.err; then
2564 grep -v '^ *+' conftest.err >conftest.er1
2565 cat conftest.er1 >&5
2566 mv -f conftest.er1 conftest.err
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; } && {
2570 test -z "$ac_c_werror_flag" ||
2571 test ! -s conftest.err
2572 } && test -s conftest.$ac_objext; then :
2573 ac_retval=0
2574 else
2575 $as_echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.$ac_ext >&5
2578 ac_retval=1
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status $ac_retval
2583 } # ac_fn_c_try_compile
2585 # ac_fn_cxx_try_compile LINENO
2586 # ----------------------------
2587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2588 ac_fn_cxx_try_compile ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 rm -f conftest.$ac_objext
2592 if { { ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_compile") 2>conftest.err
2600 ac_status=$?
2601 if test -s conftest.err; then
2602 grep -v '^ *+' conftest.err >conftest.er1
2603 cat conftest.er1 >&5
2604 mv -f conftest.er1 conftest.err
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; } && {
2608 test -z "$ac_cxx_werror_flag" ||
2609 test ! -s conftest.err
2610 } && test -s conftest.$ac_objext; then :
2611 ac_retval=0
2612 else
2613 $as_echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 ac_retval=1
2618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2619 as_fn_set_status $ac_retval
2621 } # ac_fn_cxx_try_compile
2623 # ac_fn_c_try_link LINENO
2624 # -----------------------
2625 # Try to link conftest.$ac_ext, and return whether this succeeded.
2626 ac_fn_c_try_link ()
2628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2629 rm -f conftest.$ac_objext conftest$ac_exeext
2630 if { { ac_try="$ac_link"
2631 case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_link") 2>conftest.err
2638 ac_status=$?
2639 if test -s conftest.err; then
2640 grep -v '^ *+' conftest.err >conftest.er1
2641 cat conftest.er1 >&5
2642 mv -f conftest.er1 conftest.err
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; } && {
2646 test -z "$ac_c_werror_flag" ||
2647 test ! -s conftest.err
2648 } && test -s conftest$ac_exeext && {
2649 test "$cross_compiling" = yes ||
2650 test -x conftest$ac_exeext
2651 }; then :
2652 ac_retval=0
2653 else
2654 $as_echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.$ac_ext >&5
2657 ac_retval=1
2659 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2660 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2661 # interfere with the next link command; also delete a directory that is
2662 # left behind by Apple's compiler. We do this before executing the actions.
2663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 as_fn_set_status $ac_retval
2667 } # ac_fn_c_try_link
2669 # ac_fn_c_try_cpp LINENO
2670 # ----------------------
2671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2672 ac_fn_c_try_cpp ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 if { { ac_try="$ac_cpp conftest.$ac_ext"
2676 case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2679 esac
2680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2683 ac_status=$?
2684 if test -s conftest.err; then
2685 grep -v '^ *+' conftest.err >conftest.er1
2686 cat conftest.er1 >&5
2687 mv -f conftest.er1 conftest.err
2689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2690 test $ac_status = 0; } > conftest.i && {
2691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2692 test ! -s conftest.err
2693 }; then :
2694 ac_retval=0
2695 else
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 ac_retval=1
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 as_fn_set_status $ac_retval
2704 } # ac_fn_c_try_cpp
2706 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2707 # -------------------------------------------------------
2708 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2709 # the include files in INCLUDES and setting the cache variable VAR
2710 # accordingly.
2711 ac_fn_c_check_header_mongrel ()
2713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2714 if eval \${$3+:} false; then :
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \${$3+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 else
2724 # Is the header compilable?
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2726 $as_echo_n "checking $2 usability... " >&6; }
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2730 #include <$2>
2731 _ACEOF
2732 if ac_fn_c_try_compile "$LINENO"; then :
2733 ac_header_compiler=yes
2734 else
2735 ac_header_compiler=no
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2739 $as_echo "$ac_header_compiler" >&6; }
2741 # Is the header present?
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2743 $as_echo_n "checking $2 presence... " >&6; }
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2746 #include <$2>
2747 _ACEOF
2748 if ac_fn_c_try_cpp "$LINENO"; then :
2749 ac_header_preproc=yes
2750 else
2751 ac_header_preproc=no
2753 rm -f conftest.err conftest.i conftest.$ac_ext
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2755 $as_echo "$ac_header_preproc" >&6; }
2757 # So? What about this header?
2758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2759 yes:no: )
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2761 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2763 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2765 no:yes:* )
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2767 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2769 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2771 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2773 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2776 ( $as_echo "## ------------------------------------ ##
2777 ## Report this to wine-devel@winehq.org ##
2778 ## ------------------------------------ ##"
2779 ) | sed "s/^/$as_me: WARNING: /" >&2
2781 esac
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \${$3+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 eval "$3=\$ac_header_compiler"
2789 eval ac_res=\$$3
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 $as_echo "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_header_mongrel
2797 # ac_fn_c_try_run LINENO
2798 # ----------------------
2799 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2800 # that executables *can* be run.
2801 ac_fn_c_try_run ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 if { { ac_try="$ac_link"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_link") 2>&5
2812 ac_status=$?
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2815 { { case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_try") 2>&5
2822 ac_status=$?
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; }; }; then :
2825 ac_retval=0
2826 else
2827 $as_echo "$as_me: program exited with status $ac_status" >&5
2828 $as_echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 ac_retval=$ac_status
2833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status $ac_retval
2837 } # ac_fn_c_try_run
2839 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2840 # -------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_c_check_header_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \${$3+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2854 #include <$2>
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$3=yes"
2858 else
2859 eval "$3=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 eval ac_res=\$$3
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 $as_echo "$ac_res" >&6; }
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 } # ac_fn_c_check_header_compile
2870 # ac_fn_c_check_func LINENO FUNC VAR
2871 # ----------------------------------
2872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2873 ac_fn_c_check_func ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 $as_echo_n "checking for $2... " >&6; }
2878 if eval \${$3+:} false; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2885 #define $2 innocuous_$2
2887 /* System header to define __stub macros and hopefully few prototypes,
2888 which can conflict with char $2 (); below.
2889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2890 <limits.h> exists even on freestanding compilers. */
2892 #ifdef __STDC__
2893 # include <limits.h>
2894 #else
2895 # include <assert.h>
2896 #endif
2898 #undef $2
2900 /* Override any GCC internal prototype to avoid an error.
2901 Use char because int might match the return type of a GCC
2902 builtin and then its argument prototype would still apply. */
2903 #ifdef __cplusplus
2904 extern "C"
2905 #endif
2906 char $2 ();
2907 /* The GNU C library defines this for functions which it implements
2908 to always fail with ENOSYS. Some functions are actually named
2909 something starting with __ and the normal name is an alias. */
2910 #if defined __stub_$2 || defined __stub___$2
2911 choke me
2912 #endif
2915 main ()
2917 return $2 ();
2919 return 0;
2921 _ACEOF
2922 if ac_fn_c_try_link "$LINENO"; then :
2923 eval "$3=yes"
2924 else
2925 eval "$3=no"
2927 rm -f core conftest.err conftest.$ac_objext \
2928 conftest$ac_exeext conftest.$ac_ext
2930 eval ac_res=\$$3
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_func
2937 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2938 # ----------------------------------------------------
2939 # Tries to find if the field MEMBER exists in type AGGR, after including
2940 # INCLUDES, setting cache variable VAR accordingly.
2941 ac_fn_c_check_member ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2945 $as_echo_n "checking for $2.$3... " >&6; }
2946 if eval \${$4+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2953 main ()
2955 static $2 ac_aggr;
2956 if (ac_aggr.$3)
2957 return 0;
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 eval "$4=yes"
2964 else
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2969 main ()
2971 static $2 ac_aggr;
2972 if (sizeof ac_aggr.$3)
2973 return 0;
2975 return 0;
2977 _ACEOF
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 eval "$4=yes"
2980 else
2981 eval "$4=no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 eval ac_res=\$$4
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2989 $as_echo "$ac_res" >&6; }
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2992 } # ac_fn_c_check_member
2994 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2995 # -------------------------------------------
2996 # Tests whether TYPE exists after having included INCLUDES, setting cache
2997 # variable VAR accordingly.
2998 ac_fn_c_check_type ()
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 eval "$3=no"
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3011 main ()
3013 if (sizeof ($2))
3014 return 0;
3016 return 0;
3018 _ACEOF
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3024 main ()
3026 if (sizeof (($2)))
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"; then :
3034 else
3035 eval "$3=yes"
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 eval ac_res=\$$3
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3043 $as_echo "$ac_res" >&6; }
3044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3046 } # ac_fn_c_check_type
3047 cat >config.log <<_ACEOF
3048 This file contains any messages produced by compilers while
3049 running configure, to aid debugging if configure makes a mistake.
3051 It was created by Wine $as_me 2.11, which was
3052 generated by GNU Autoconf 2.69. Invocation command line was
3054 $ $0 $@
3056 _ACEOF
3057 exec 5>>config.log
3059 cat <<_ASUNAME
3060 ## --------- ##
3061 ## Platform. ##
3062 ## --------- ##
3064 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3065 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3066 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3067 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3068 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3070 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3071 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3073 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3074 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3075 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3076 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3077 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3078 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3079 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3081 _ASUNAME
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 $as_echo "PATH: $as_dir"
3089 done
3090 IFS=$as_save_IFS
3092 } >&5
3094 cat >&5 <<_ACEOF
3097 ## ----------- ##
3098 ## Core tests. ##
3099 ## ----------- ##
3101 _ACEOF
3104 # Keep a trace of the command line.
3105 # Strip out --no-create and --no-recursion so they do not pile up.
3106 # Strip out --silent because we don't want to record it for future runs.
3107 # Also quote any args containing shell meta-characters.
3108 # Make two passes to allow for proper duplicate-argument suppression.
3109 ac_configure_args=
3110 ac_configure_args0=
3111 ac_configure_args1=
3112 ac_must_keep_next=false
3113 for ac_pass in 1 2
3115 for ac_arg
3117 case $ac_arg in
3118 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3120 | -silent | --silent | --silen | --sile | --sil)
3121 continue ;;
3122 *\'*)
3123 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3124 esac
3125 case $ac_pass in
3126 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3128 as_fn_append ac_configure_args1 " '$ac_arg'"
3129 if test $ac_must_keep_next = true; then
3130 ac_must_keep_next=false # Got value, back to normal.
3131 else
3132 case $ac_arg in
3133 *=* | --config-cache | -C | -disable-* | --disable-* \
3134 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3135 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3136 | -with-* | --with-* | -without-* | --without-* | --x)
3137 case "$ac_configure_args0 " in
3138 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3139 esac
3141 -* ) ac_must_keep_next=true ;;
3142 esac
3144 as_fn_append ac_configure_args " '$ac_arg'"
3146 esac
3147 done
3148 done
3149 { ac_configure_args0=; unset ac_configure_args0;}
3150 { ac_configure_args1=; unset ac_configure_args1;}
3152 # When interrupted or exit'd, cleanup temporary files, and complete
3153 # config.log. We remove comments because anyway the quotes in there
3154 # would cause problems or look ugly.
3155 # WARNING: Use '\'' to represent an apostrophe within the trap.
3156 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3157 trap 'exit_status=$?
3158 # Save into config.log some information that might help in debugging.
3160 echo
3162 $as_echo "## ---------------- ##
3163 ## Cache variables. ##
3164 ## ---------------- ##"
3165 echo
3166 # The following way of writing the cache mishandles newlines in values,
3168 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3169 eval ac_val=\$$ac_var
3170 case $ac_val in #(
3171 *${as_nl}*)
3172 case $ac_var in #(
3173 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3174 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3175 esac
3176 case $ac_var in #(
3177 _ | IFS | as_nl) ;; #(
3178 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3179 *) { eval $ac_var=; unset $ac_var;} ;;
3180 esac ;;
3181 esac
3182 done
3183 (set) 2>&1 |
3184 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3185 *${as_nl}ac_space=\ *)
3186 sed -n \
3187 "s/'\''/'\''\\\\'\'''\''/g;
3188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3189 ;; #(
3191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3193 esac |
3194 sort
3196 echo
3198 $as_echo "## ----------------- ##
3199 ## Output variables. ##
3200 ## ----------------- ##"
3201 echo
3202 for ac_var in $ac_subst_vars
3204 eval ac_val=\$$ac_var
3205 case $ac_val in
3206 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3207 esac
3208 $as_echo "$ac_var='\''$ac_val'\''"
3209 done | sort
3210 echo
3212 if test -n "$ac_subst_files"; then
3213 $as_echo "## ------------------- ##
3214 ## File substitutions. ##
3215 ## ------------------- ##"
3216 echo
3217 for ac_var in $ac_subst_files
3219 eval ac_val=\$$ac_var
3220 case $ac_val in
3221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3222 esac
3223 $as_echo "$ac_var='\''$ac_val'\''"
3224 done | sort
3225 echo
3228 if test -s confdefs.h; then
3229 $as_echo "## ----------- ##
3230 ## confdefs.h. ##
3231 ## ----------- ##"
3232 echo
3233 cat confdefs.h
3234 echo
3236 test "$ac_signal" != 0 &&
3237 $as_echo "$as_me: caught signal $ac_signal"
3238 $as_echo "$as_me: exit $exit_status"
3239 } >&5
3240 rm -f core *.core core.conftest.* &&
3241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3242 exit $exit_status
3244 for ac_signal in 1 2 13 15; do
3245 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3246 done
3247 ac_signal=0
3249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3250 rm -f -r conftest* confdefs.h
3252 $as_echo "/* confdefs.h */" > confdefs.h
3254 # Predefined preprocessor variables.
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_NAME "$PACKAGE_NAME"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3262 _ACEOF
3264 cat >>confdefs.h <<_ACEOF
3265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3266 _ACEOF
3268 cat >>confdefs.h <<_ACEOF
3269 #define PACKAGE_STRING "$PACKAGE_STRING"
3270 _ACEOF
3272 cat >>confdefs.h <<_ACEOF
3273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3274 _ACEOF
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE_URL "$PACKAGE_URL"
3278 _ACEOF
3281 # Let the site file select an alternate cache file if it wants to.
3282 # Prefer an explicitly selected file to automatically selected ones.
3283 ac_site_file1=NONE
3284 ac_site_file2=NONE
3285 if test -n "$CONFIG_SITE"; then
3286 # We do not want a PATH search for config.site.
3287 case $CONFIG_SITE in #((
3288 -*) ac_site_file1=./$CONFIG_SITE;;
3289 */*) ac_site_file1=$CONFIG_SITE;;
3290 *) ac_site_file1=./$CONFIG_SITE;;
3291 esac
3292 elif test "x$prefix" != xNONE; then
3293 ac_site_file1=$prefix/share/config.site
3294 ac_site_file2=$prefix/etc/config.site
3295 else
3296 ac_site_file1=$ac_default_prefix/share/config.site
3297 ac_site_file2=$ac_default_prefix/etc/config.site
3299 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3301 test "x$ac_site_file" = xNONE && continue
3302 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3304 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3305 sed 's/^/| /' "$ac_site_file" >&5
3306 . "$ac_site_file" \
3307 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $? "failed to load site script $ac_site_file
3310 See \`config.log' for more details" "$LINENO" 5; }
3312 done
3314 if test -r "$cache_file"; then
3315 # Some versions of bash will fail to source /dev/null (special files
3316 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3317 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3319 $as_echo "$as_me: loading cache $cache_file" >&6;}
3320 case $cache_file in
3321 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3322 *) . "./$cache_file";;
3323 esac
3325 else
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3327 $as_echo "$as_me: creating cache $cache_file" >&6;}
3328 >$cache_file
3331 # Check that the precious variables saved in the cache have kept the same
3332 # value.
3333 ac_cache_corrupted=false
3334 for ac_var in $ac_precious_vars; do
3335 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3336 eval ac_new_set=\$ac_env_${ac_var}_set
3337 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3338 eval ac_new_val=\$ac_env_${ac_var}_value
3339 case $ac_old_set,$ac_new_set in
3340 set,)
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3342 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3343 ac_cache_corrupted=: ;;
3344 ,set)
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3346 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3347 ac_cache_corrupted=: ;;
3348 ,);;
3350 if test "x$ac_old_val" != "x$ac_new_val"; then
3351 # differences in whitespace do not lead to failure.
3352 ac_old_val_w=`echo x $ac_old_val`
3353 ac_new_val_w=`echo x $ac_new_val`
3354 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3356 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3357 ac_cache_corrupted=:
3358 else
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3360 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3361 eval $ac_var=\$ac_old_val
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3364 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3366 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3367 fi;;
3368 esac
3369 # Pass precious variables to config.status.
3370 if test "$ac_new_set" = set; then
3371 case $ac_new_val in
3372 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3373 *) ac_arg=$ac_var=$ac_new_val ;;
3374 esac
3375 case " $ac_configure_args " in
3376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3377 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3378 esac
3380 done
3381 if $ac_cache_corrupted; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3385 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3386 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3388 ## -------------------- ##
3389 ## Main body of script. ##
3390 ## -------------------- ##
3392 ac_ext=c
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3400 ac_config_headers="$ac_config_headers include/config.h"
3402 ac_aux_dir=
3403 for ac_dir in tools "$srcdir"/tools; do
3404 if test -f "$ac_dir/install-sh"; then
3405 ac_aux_dir=$ac_dir
3406 ac_install_sh="$ac_aux_dir/install-sh -c"
3407 break
3408 elif test -f "$ac_dir/install.sh"; then
3409 ac_aux_dir=$ac_dir
3410 ac_install_sh="$ac_aux_dir/install.sh -c"
3411 break
3412 elif test -f "$ac_dir/shtool"; then
3413 ac_aux_dir=$ac_dir
3414 ac_install_sh="$ac_aux_dir/shtool install -c"
3415 break
3417 done
3418 if test -z "$ac_aux_dir"; then
3419 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3422 # These three variables are undocumented and unsupported,
3423 # and are intended to be withdrawn in a future Autoconf release.
3424 # They can cause serious problems if a builder's source tree is in a directory
3425 # whose full name contains unusual characters.
3426 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3427 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3428 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3432 libwine_version="1.0"
3436 # Check whether --enable-win16 was given.
3437 if test "${enable_win16+set}" = set; then :
3438 enableval=$enable_win16;
3441 # Check whether --enable-win64 was given.
3442 if test "${enable_win64+set}" = set; then :
3443 enableval=$enable_win64;
3446 # Check whether --enable-tests was given.
3447 if test "${enable_tests+set}" = set; then :
3448 enableval=$enable_tests;
3451 # Check whether --enable-maintainer-mode was given.
3452 if test "${enable_maintainer_mode+set}" = set; then :
3453 enableval=$enable_maintainer_mode;
3458 # Check whether --with-alsa was given.
3459 if test "${with_alsa+set}" = set; then :
3460 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3464 # Check whether --with-capi was given.
3465 if test "${with_capi+set}" = set; then :
3466 withval=$with_capi;
3470 # Check whether --with-cms was given.
3471 if test "${with_cms+set}" = set; then :
3472 withval=$with_cms;
3476 # Check whether --with-coreaudio was given.
3477 if test "${with_coreaudio+set}" = set; then :
3478 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3482 # Check whether --with-cups was given.
3483 if test "${with_cups+set}" = set; then :
3484 withval=$with_cups;
3488 # Check whether --with-curses was given.
3489 if test "${with_curses+set}" = set; then :
3490 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3494 # Check whether --with-dbus was given.
3495 if test "${with_dbus+set}" = set; then :
3496 withval=$with_dbus;
3500 # Check whether --with-fontconfig was given.
3501 if test "${with_fontconfig+set}" = set; then :
3502 withval=$with_fontconfig;
3506 # Check whether --with-freetype was given.
3507 if test "${with_freetype+set}" = set; then :
3508 withval=$with_freetype;
3512 # Check whether --with-gettext was given.
3513 if test "${with_gettext+set}" = set; then :
3514 withval=$with_gettext;
3518 # Check whether --with-gettextpo was given.
3519 if test "${with_gettextpo+set}" = set; then :
3520 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3524 # Check whether --with-gphoto was given.
3525 if test "${with_gphoto+set}" = set; then :
3526 withval=$with_gphoto;
3530 # Check whether --with-glu was given.
3531 if test "${with_glu+set}" = set; then :
3532 withval=$with_glu;
3536 # Check whether --with-gnutls was given.
3537 if test "${with_gnutls+set}" = set; then :
3538 withval=$with_gnutls;
3542 # Check whether --with-gsm was given.
3543 if test "${with_gsm+set}" = set; then :
3544 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3548 # Check whether --with-gstreamer was given.
3549 if test "${with_gstreamer+set}" = set; then :
3550 withval=$with_gstreamer;
3554 # Check whether --with-hal was given.
3555 if test "${with_hal+set}" = set; then :
3556 withval=$with_hal;
3560 # Check whether --with-jpeg was given.
3561 if test "${with_jpeg+set}" = set; then :
3562 withval=$with_jpeg;
3566 # Check whether --with-ldap was given.
3567 if test "${with_ldap+set}" = set; then :
3568 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3572 # Check whether --with-mpg123 was given.
3573 if test "${with_mpg123+set}" = set; then :
3574 withval=$with_mpg123;
3578 # Check whether --with-netapi was given.
3579 if test "${with_netapi+set}" = set; then :
3580 withval=$with_netapi;
3584 # Check whether --with-openal was given.
3585 if test "${with_openal+set}" = set; then :
3586 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3590 # Check whether --with-opencl was given.
3591 if test "${with_opencl+set}" = set; then :
3592 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3596 # Check whether --with-opengl was given.
3597 if test "${with_opengl+set}" = set; then :
3598 withval=$with_opengl;
3602 # Check whether --with-osmesa was given.
3603 if test "${with_osmesa+set}" = set; then :
3604 withval=$with_osmesa;
3608 # Check whether --with-oss was given.
3609 if test "${with_oss+set}" = set; then :
3610 withval=$with_oss;
3614 # Check whether --with-pcap was given.
3615 if test "${with_pcap+set}" = set; then :
3616 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3620 # Check whether --with-png was given.
3621 if test "${with_png+set}" = set; then :
3622 withval=$with_png;
3626 # Check whether --with-pthread was given.
3627 if test "${with_pthread+set}" = set; then :
3628 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3632 # Check whether --with-pulse was given.
3633 if test "${with_pulse+set}" = set; then :
3634 withval=$with_pulse;
3638 # Check whether --with-sane was given.
3639 if test "${with_sane+set}" = set; then :
3640 withval=$with_sane;
3644 # Check whether --with-tiff was given.
3645 if test "${with_tiff+set}" = set; then :
3646 withval=$with_tiff;
3650 # Check whether --with-udev was given.
3651 if test "${with_udev+set}" = set; then :
3652 withval=$with_udev;
3656 # Check whether --with-v4l was given.
3657 if test "${with_v4l+set}" = set; then :
3658 withval=$with_v4l;
3662 # Check whether --with-xcomposite was given.
3663 if test "${with_xcomposite+set}" = set; then :
3664 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3668 # Check whether --with-xcursor was given.
3669 if test "${with_xcursor+set}" = set; then :
3670 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3674 # Check whether --with-xfixes was given.
3675 if test "${with_xfixes+set}" = set; then :
3676 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3680 # Check whether --with-xinerama was given.
3681 if test "${with_xinerama+set}" = set; then :
3682 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3686 # Check whether --with-xinput was given.
3687 if test "${with_xinput+set}" = set; then :
3688 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3692 # Check whether --with-xinput2 was given.
3693 if test "${with_xinput2+set}" = set; then :
3694 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3698 # Check whether --with-xml was given.
3699 if test "${with_xml+set}" = set; then :
3700 withval=$with_xml;
3704 # Check whether --with-xrandr was given.
3705 if test "${with_xrandr+set}" = set; then :
3706 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3710 # Check whether --with-xrender was given.
3711 if test "${with_xrender+set}" = set; then :
3712 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3716 # Check whether --with-xshape was given.
3717 if test "${with_xshape+set}" = set; then :
3718 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3722 # Check whether --with-xshm was given.
3723 if test "${with_xshm+set}" = set; then :
3724 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3728 # Check whether --with-xslt was given.
3729 if test "${with_xslt+set}" = set; then :
3730 withval=$with_xslt;
3734 # Check whether --with-xxf86vm was given.
3735 if test "${with_xxf86vm+set}" = set; then :
3736 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
3740 # Check whether --with-zlib was given.
3741 if test "${with_zlib+set}" = set; then :
3742 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3747 # Check whether --with-wine-tools was given.
3748 if test "${with_wine_tools+set}" = set; then :
3749 withval=$with_wine_tools;
3753 # Check whether --with-wine64 was given.
3754 if test "${with_wine64+set}" = set; then :
3755 withval=$with_wine64;
3759 # Make sure we can run config.sub.
3760 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3761 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3764 $as_echo_n "checking build system type... " >&6; }
3765 if ${ac_cv_build+:} false; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 ac_build_alias=$build_alias
3769 test "x$ac_build_alias" = x &&
3770 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3771 test "x$ac_build_alias" = x &&
3772 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3773 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3774 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3778 $as_echo "$ac_cv_build" >&6; }
3779 case $ac_cv_build in
3780 *-*-*) ;;
3781 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3782 esac
3783 build=$ac_cv_build
3784 ac_save_IFS=$IFS; IFS='-'
3785 set x $ac_cv_build
3786 shift
3787 build_cpu=$1
3788 build_vendor=$2
3789 shift; shift
3790 # Remember, the first character of IFS is used to create $*,
3791 # except with old shells:
3792 build_os=$*
3793 IFS=$ac_save_IFS
3794 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3798 $as_echo_n "checking host system type... " >&6; }
3799 if ${ac_cv_host+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 if test "x$host_alias" = x; then
3803 ac_cv_host=$ac_cv_build
3804 else
3805 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3806 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3811 $as_echo "$ac_cv_host" >&6; }
3812 case $ac_cv_host in
3813 *-*-*) ;;
3814 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3815 esac
3816 host=$ac_cv_host
3817 ac_save_IFS=$IFS; IFS='-'
3818 set x $ac_cv_host
3819 shift
3820 host_cpu=$1
3821 host_vendor=$2
3822 shift; shift
3823 # Remember, the first character of IFS is used to create $*,
3824 # except with old shells:
3825 host_os=$*
3826 IFS=$ac_save_IFS
3827 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3831 case "$srcdir" in
3832 .) ;;
3833 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3834 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3835 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3836 fi ;;
3837 esac
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3841 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3842 set x ${MAKE-make}
3843 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3844 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 cat >conftest.make <<\_ACEOF
3848 SHELL = /bin/sh
3849 all:
3850 @echo '@@@%%%=$(MAKE)=@@@%%%'
3851 _ACEOF
3852 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3854 *@@@%%%=?*=@@@%%%*)
3855 eval ac_cv_prog_make_${ac_make}_set=yes;;
3857 eval ac_cv_prog_make_${ac_make}_set=no;;
3858 esac
3859 rm -f conftest.make
3861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3863 $as_echo "yes" >&6; }
3864 SET_MAKE=
3865 else
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3868 SET_MAKE="MAKE=${MAKE-make}"
3871 ac_ext=c
3872 ac_cpp='$CPP $CPPFLAGS'
3873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3876 if test -n "$ac_tool_prefix"; then
3877 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3878 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_CC+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 if test -n "$CC"; then
3885 ac_cv_prog_CC="$CC" # Let the user override the test.
3886 else
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 break 2
3898 done
3899 done
3900 IFS=$as_save_IFS
3904 CC=$ac_cv_prog_CC
3905 if test -n "$CC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3907 $as_echo "$CC" >&6; }
3908 else
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3915 if test -z "$ac_cv_prog_CC"; then
3916 ac_ct_CC=$CC
3917 # Extract the first word of "gcc", so it can be a program name with args.
3918 set dummy gcc; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3922 $as_echo_n "(cached) " >&6
3923 else
3924 if test -n "$ac_ct_CC"; then
3925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3926 else
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in $PATH
3930 IFS=$as_save_IFS
3931 test -z "$as_dir" && as_dir=.
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_ac_ct_CC="gcc"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 break 2
3938 done
3939 done
3940 IFS=$as_save_IFS
3944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3945 if test -n "$ac_ct_CC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3947 $as_echo "$ac_ct_CC" >&6; }
3948 else
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3953 if test "x$ac_ct_CC" = x; then
3954 CC=""
3955 else
3956 case $cross_compiling:$ac_tool_warned in
3957 yes:)
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3960 ac_tool_warned=yes ;;
3961 esac
3962 CC=$ac_ct_CC
3964 else
3965 CC="$ac_cv_prog_CC"
3968 if test -z "$CC"; then
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3971 set dummy ${ac_tool_prefix}cc; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$CC"; then
3978 ac_cv_prog_CC="$CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_CC="${ac_tool_prefix}cc"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 CC=$ac_cv_prog_CC
3998 if test -n "$CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4000 $as_echo "$CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4009 if test -z "$CC"; then
4010 # Extract the first word of "cc", so it can be a program name with args.
4011 set dummy cc; ac_word=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if ${ac_cv_prog_CC+:} false; then :
4015 $as_echo_n "(cached) " >&6
4016 else
4017 if test -n "$CC"; then
4018 ac_cv_prog_CC="$CC" # Let the user override the test.
4019 else
4020 ac_prog_rejected=no
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4028 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4029 ac_prog_rejected=yes
4030 continue
4032 ac_cv_prog_CC="cc"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 break 2
4036 done
4037 done
4038 IFS=$as_save_IFS
4040 if test $ac_prog_rejected = yes; then
4041 # We found a bogon in the path, so make sure we never use it.
4042 set dummy $ac_cv_prog_CC
4043 shift
4044 if test $# != 0; then
4045 # We chose a different compiler from the bogus one.
4046 # However, it has the same basename, so the bogon will be chosen
4047 # first if we set CC to just the basename; use the full file name.
4048 shift
4049 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4054 CC=$ac_cv_prog_CC
4055 if test -n "$CC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4057 $as_echo "$CC" >&6; }
4058 else
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4065 if test -z "$CC"; then
4066 if test -n "$ac_tool_prefix"; then
4067 for ac_prog in cl.exe
4069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_prog_CC+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 if test -n "$CC"; then
4077 ac_cv_prog_CC="$CC" # Let the user override the test.
4078 else
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 for as_dir in $PATH
4082 IFS=$as_save_IFS
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 break 2
4090 done
4091 done
4092 IFS=$as_save_IFS
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4106 test -n "$CC" && break
4107 done
4109 if test -z "$CC"; then
4110 ac_ct_CC=$CC
4111 for ac_prog in cl.exe
4113 # Extract the first word of "$ac_prog", so it can be a program name with args.
4114 set dummy $ac_prog; ac_word=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4118 $as_echo_n "(cached) " >&6
4119 else
4120 if test -n "$ac_ct_CC"; then
4121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4122 else
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 for as_dir in $PATH
4126 IFS=$as_save_IFS
4127 test -z "$as_dir" && as_dir=.
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_ac_ct_CC="$ac_prog"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 break 2
4134 done
4135 done
4136 IFS=$as_save_IFS
4140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4141 if test -n "$ac_ct_CC"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4143 $as_echo "$ac_ct_CC" >&6; }
4144 else
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4150 test -n "$ac_ct_CC" && break
4151 done
4153 if test "x$ac_ct_CC" = x; then
4154 CC=""
4155 else
4156 case $cross_compiling:$ac_tool_warned in
4157 yes:)
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4160 ac_tool_warned=yes ;;
4161 esac
4162 CC=$ac_ct_CC
4169 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error $? "no acceptable C compiler found in \$PATH
4172 See \`config.log' for more details" "$LINENO" 5; }
4174 # Provide some information about the compiler.
4175 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4176 set X $ac_compile
4177 ac_compiler=$2
4178 for ac_option in --version -v -V -qversion; do
4179 { { ac_try="$ac_compiler $ac_option >&5"
4180 case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183 esac
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 $as_echo "$ac_try_echo"; } >&5
4186 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4187 ac_status=$?
4188 if test -s conftest.err; then
4189 sed '10a\
4190 ... rest of stderr output deleted ...
4191 10q' conftest.err >conftest.er1
4192 cat conftest.er1 >&5
4194 rm -f conftest.er1 conftest.err
4195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196 test $ac_status = 0; }
4197 done
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 ac_clean_files_save=$ac_clean_files
4211 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4212 # Try to create an executable without -o first, disregard a.out.
4213 # It will help us diagnose broken compilers, and finding out an intuition
4214 # of exeext.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4216 $as_echo_n "checking whether the C compiler works... " >&6; }
4217 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4219 # The possible output files:
4220 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4222 ac_rmfiles=
4223 for ac_file in $ac_files
4225 case $ac_file in
4226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4227 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4228 esac
4229 done
4230 rm -f $ac_rmfiles
4232 if { { ac_try="$ac_link_default"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_link_default") 2>&5
4240 ac_status=$?
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }; then :
4243 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4244 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4245 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4246 # so that the user can short-circuit this test for compilers unknown to
4247 # Autoconf.
4248 for ac_file in $ac_files ''
4250 test -f "$ac_file" || continue
4251 case $ac_file in
4252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4254 [ab].out )
4255 # We found the default executable, but exeext='' is most
4256 # certainly right.
4257 break;;
4258 *.* )
4259 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4260 then :; else
4261 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4263 # We set ac_cv_exeext here because the later test for it is not
4264 # safe: cross compilers may not add the suffix if given an `-o'
4265 # argument, so we may need to know it at that point already.
4266 # Even if this section looks crufty: it has the advantage of
4267 # actually working.
4268 break;;
4270 break;;
4271 esac
4272 done
4273 test "$ac_cv_exeext" = no && ac_cv_exeext=
4275 else
4276 ac_file=''
4278 if test -z "$ac_file"; then :
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4281 $as_echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.$ac_ext >&5
4284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error 77 "C compiler cannot create executables
4287 See \`config.log' for more details" "$LINENO" 5; }
4288 else
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4290 $as_echo "yes" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4293 $as_echo_n "checking for C compiler default output file name... " >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4295 $as_echo "$ac_file" >&6; }
4296 ac_exeext=$ac_cv_exeext
4298 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4299 ac_clean_files=$ac_clean_files_save
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4301 $as_echo_n "checking for suffix of executables... " >&6; }
4302 if { { ac_try="$ac_link"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4314 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4315 # work properly (i.e., refer to `conftest.exe'), while it won't with
4316 # `rm'.
4317 for ac_file in conftest.exe conftest conftest.*; do
4318 test -f "$ac_file" || continue
4319 case $ac_file in
4320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4321 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4322 break;;
4323 * ) break;;
4324 esac
4325 done
4326 else
4327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4329 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4330 See \`config.log' for more details" "$LINENO" 5; }
4332 rm -f conftest conftest$ac_cv_exeext
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4334 $as_echo "$ac_cv_exeext" >&6; }
4336 rm -f conftest.$ac_ext
4337 EXEEXT=$ac_cv_exeext
4338 ac_exeext=$EXEEXT
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4341 #include <stdio.h>
4343 main ()
4345 FILE *f = fopen ("conftest.out", "w");
4346 return ferror (f) || fclose (f) != 0;
4349 return 0;
4351 _ACEOF
4352 ac_clean_files="$ac_clean_files conftest.out"
4353 # Check that the compiler produces executables we can run. If not, either
4354 # the compiler is broken, or we cross compile.
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4356 $as_echo_n "checking whether we are cross compiling... " >&6; }
4357 if test "$cross_compiling" != yes; then
4358 { { ac_try="$ac_link"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4364 $as_echo "$ac_try_echo"; } >&5
4365 (eval "$ac_link") 2>&5
4366 ac_status=$?
4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4368 test $ac_status = 0; }
4369 if { ac_try='./conftest$ac_cv_exeext'
4370 { { case "(($ac_try" in
4371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4373 esac
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376 (eval "$ac_try") 2>&5
4377 ac_status=$?
4378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379 test $ac_status = 0; }; }; then
4380 cross_compiling=no
4381 else
4382 if test "$cross_compiling" = maybe; then
4383 cross_compiling=yes
4384 else
4385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4387 as_fn_error $? "cannot run C compiled programs.
4388 If you meant to cross compile, use \`--host'.
4389 See \`config.log' for more details" "$LINENO" 5; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4394 $as_echo "$cross_compiling" >&6; }
4396 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4399 $as_echo_n "checking for suffix of object files... " >&6; }
4400 if ${ac_cv_objext+:} false; then :
4401 $as_echo_n "(cached) " >&6
4402 else
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4407 main ()
4411 return 0;
4413 _ACEOF
4414 rm -f conftest.o conftest.obj
4415 if { { ac_try="$ac_compile"
4416 case "(($ac_try" in
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4419 esac
4420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4421 $as_echo "$ac_try_echo"; } >&5
4422 (eval "$ac_compile") 2>&5
4423 ac_status=$?
4424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4425 test $ac_status = 0; }; then :
4426 for ac_file in conftest.o conftest.obj conftest.*; do
4427 test -f "$ac_file" || continue;
4428 case $ac_file in
4429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4430 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4431 break;;
4432 esac
4433 done
4434 else
4435 $as_echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.$ac_ext >&5
4438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 as_fn_error $? "cannot compute suffix of object files: cannot compile
4441 See \`config.log' for more details" "$LINENO" 5; }
4443 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4446 $as_echo "$ac_cv_objext" >&6; }
4447 OBJEXT=$ac_cv_objext
4448 ac_objext=$OBJEXT
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4450 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4451 if ${ac_cv_c_compiler_gnu+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4458 main ()
4460 #ifndef __GNUC__
4461 choke me
4462 #endif
4465 return 0;
4467 _ACEOF
4468 if ac_fn_c_try_compile "$LINENO"; then :
4469 ac_compiler_gnu=yes
4470 else
4471 ac_compiler_gnu=no
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4478 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4479 if test $ac_compiler_gnu = yes; then
4480 GCC=yes
4481 else
4482 GCC=
4484 ac_test_CFLAGS=${CFLAGS+set}
4485 ac_save_CFLAGS=$CFLAGS
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4487 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4488 if ${ac_cv_prog_cc_g+:} false; then :
4489 $as_echo_n "(cached) " >&6
4490 else
4491 ac_save_c_werror_flag=$ac_c_werror_flag
4492 ac_c_werror_flag=yes
4493 ac_cv_prog_cc_g=no
4494 CFLAGS="-g"
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4499 main ()
4503 return 0;
4505 _ACEOF
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 ac_cv_prog_cc_g=yes
4508 else
4509 CFLAGS=""
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4523 else
4524 ac_c_werror_flag=$ac_save_c_werror_flag
4525 CFLAGS="-g"
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4534 return 0;
4536 _ACEOF
4537 if ac_fn_c_try_compile "$LINENO"; then :
4538 ac_cv_prog_cc_g=yes
4540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_c_werror_flag=$ac_save_c_werror_flag
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4548 $as_echo "$ac_cv_prog_cc_g" >&6; }
4549 if test "$ac_test_CFLAGS" = set; then
4550 CFLAGS=$ac_save_CFLAGS
4551 elif test $ac_cv_prog_cc_g = yes; then
4552 if test "$GCC" = yes; then
4553 CFLAGS="-g -O2"
4554 else
4555 CFLAGS="-g"
4557 else
4558 if test "$GCC" = yes; then
4559 CFLAGS="-O2"
4560 else
4561 CFLAGS=
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4565 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4566 if ${ac_cv_prog_cc_c89+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 ac_cv_prog_cc_c89=no
4570 ac_save_CC=$CC
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4573 #include <stdarg.h>
4574 #include <stdio.h>
4575 struct stat;
4576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4577 struct buf { int x; };
4578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4579 static char *e (p, i)
4580 char **p;
4581 int i;
4583 return p[i];
4585 static char *f (char * (*g) (char **, int), char **p, ...)
4587 char *s;
4588 va_list v;
4589 va_start (v,p);
4590 s = g (p, va_arg (v,int));
4591 va_end (v);
4592 return s;
4595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4596 function prototypes and stuff, but not '\xHH' hex character constants.
4597 These don't provoke an error unfortunately, instead are silently treated
4598 as 'x'. The following induces an error, until -std is added to get
4599 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4600 array size at least. It's necessary to write '\x00'==0 to get something
4601 that's true only with -std. */
4602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4605 inside strings and character constants. */
4606 #define FOO(x) 'x'
4607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4609 int test (int i, double x);
4610 struct s1 {int (*f) (int a);};
4611 struct s2 {int (*f) (double a);};
4612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4613 int argc;
4614 char **argv;
4616 main ()
4618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4620 return 0;
4622 _ACEOF
4623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4624 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4626 CC="$ac_save_CC $ac_arg"
4627 if ac_fn_c_try_compile "$LINENO"; then :
4628 ac_cv_prog_cc_c89=$ac_arg
4630 rm -f core conftest.err conftest.$ac_objext
4631 test "x$ac_cv_prog_cc_c89" != "xno" && break
4632 done
4633 rm -f conftest.$ac_ext
4634 CC=$ac_save_CC
4637 # AC_CACHE_VAL
4638 case "x$ac_cv_prog_cc_c89" in
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4641 $as_echo "none needed" >&6; } ;;
4642 xno)
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4644 $as_echo "unsupported" >&6; } ;;
4646 CC="$CC $ac_cv_prog_cc_c89"
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4648 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4649 esac
4650 if test "x$ac_cv_prog_cc_c89" != xno; then :
4654 ac_ext=c
4655 ac_cpp='$CPP $CPPFLAGS'
4656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4660 ac_ext=cpp
4661 ac_cpp='$CXXCPP $CPPFLAGS'
4662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4665 if test -z "$CXX"; then
4666 if test -n "$CCC"; then
4667 CXX=$CCC
4668 else
4669 if test -n "$ac_tool_prefix"; then
4670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_prog_CXX+:} false; then :
4677 $as_echo_n "(cached) " >&6
4678 else
4679 if test -n "$CXX"; then
4680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4681 else
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 for as_dir in $PATH
4685 IFS=$as_save_IFS
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 break 2
4693 done
4694 done
4695 IFS=$as_save_IFS
4699 CXX=$ac_cv_prog_CXX
4700 if test -n "$CXX"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4702 $as_echo "$CXX" >&6; }
4703 else
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4709 test -n "$CXX" && break
4710 done
4712 if test -z "$CXX"; then
4713 ac_ct_CXX=$CXX
4714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4716 # Extract the first word of "$ac_prog", so it can be a program name with args.
4717 set dummy $ac_prog; ac_word=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4721 $as_echo_n "(cached) " >&6
4722 else
4723 if test -n "$ac_ct_CXX"; then
4724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4725 else
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 for as_dir in $PATH
4729 IFS=$as_save_IFS
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_ac_ct_CXX="$ac_prog"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 break 2
4737 done
4738 done
4739 IFS=$as_save_IFS
4743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4744 if test -n "$ac_ct_CXX"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4746 $as_echo "$ac_ct_CXX" >&6; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4753 test -n "$ac_ct_CXX" && break
4754 done
4756 if test "x$ac_ct_CXX" = x; then
4757 CXX="g++"
4758 else
4759 case $cross_compiling:$ac_tool_warned in
4760 yes:)
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4763 ac_tool_warned=yes ;;
4764 esac
4765 CXX=$ac_ct_CXX
4771 # Provide some information about the compiler.
4772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4773 set X $ac_compile
4774 ac_compiler=$2
4775 for ac_option in --version -v -V -qversion; do
4776 { { ac_try="$ac_compiler $ac_option >&5"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4784 ac_status=$?
4785 if test -s conftest.err; then
4786 sed '10a\
4787 ... rest of stderr output deleted ...
4788 10q' conftest.err >conftest.er1
4789 cat conftest.er1 >&5
4791 rm -f conftest.er1 conftest.err
4792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4793 test $ac_status = 0; }
4794 done
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4797 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4798 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4805 main ()
4807 #ifndef __GNUC__
4808 choke me
4809 #endif
4812 return 0;
4814 _ACEOF
4815 if ac_fn_cxx_try_compile "$LINENO"; then :
4816 ac_compiler_gnu=yes
4817 else
4818 ac_compiler_gnu=no
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4825 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4826 if test $ac_compiler_gnu = yes; then
4827 GXX=yes
4828 else
4829 GXX=
4831 ac_test_CXXFLAGS=${CXXFLAGS+set}
4832 ac_save_CXXFLAGS=$CXXFLAGS
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4834 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4835 if ${ac_cv_prog_cxx_g+:} false; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4839 ac_cxx_werror_flag=yes
4840 ac_cv_prog_cxx_g=no
4841 CXXFLAGS="-g"
4842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4846 main ()
4850 return 0;
4852 _ACEOF
4853 if ac_fn_cxx_try_compile "$LINENO"; then :
4854 ac_cv_prog_cxx_g=yes
4855 else
4856 CXXFLAGS=""
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_cxx_try_compile "$LINENO"; then :
4870 else
4871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4872 CXXFLAGS="-g"
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4877 main ()
4881 return 0;
4883 _ACEOF
4884 if ac_fn_cxx_try_compile "$LINENO"; then :
4885 ac_cv_prog_cxx_g=yes
4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4895 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4896 if test "$ac_test_CXXFLAGS" = set; then
4897 CXXFLAGS=$ac_save_CXXFLAGS
4898 elif test $ac_cv_prog_cxx_g = yes; then
4899 if test "$GXX" = yes; then
4900 CXXFLAGS="-g -O2"
4901 else
4902 CXXFLAGS="-g"
4904 else
4905 if test "$GXX" = yes; then
4906 CXXFLAGS="-O2"
4907 else
4908 CXXFLAGS=
4911 ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4917 if test -n "$ac_tool_prefix"; then
4918 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4919 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_CPPBIN+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 if test -n "$CPPBIN"; then
4926 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4927 else
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $PATH
4931 IFS=$as_save_IFS
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 CPPBIN=$ac_cv_prog_CPPBIN
4946 if test -n "$CPPBIN"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4948 $as_echo "$CPPBIN" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4956 if test -z "$ac_cv_prog_CPPBIN"; then
4957 ac_ct_CPPBIN=$CPPBIN
4958 # Extract the first word of "cpp", so it can be a program name with args.
4959 set dummy cpp; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if test -n "$ac_ct_CPPBIN"; then
4966 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4971 IFS=$as_save_IFS
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_ac_ct_CPPBIN="cpp"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 break 2
4979 done
4980 done
4981 IFS=$as_save_IFS
4985 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4986 if test -n "$ac_ct_CPPBIN"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4988 $as_echo "$ac_ct_CPPBIN" >&6; }
4989 else
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4994 if test "x$ac_ct_CPPBIN" = x; then
4995 CPPBIN="cpp"
4996 else
4997 case $cross_compiling:$ac_tool_warned in
4998 yes:)
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned=yes ;;
5002 esac
5003 CPPBIN=$ac_ct_CPPBIN
5005 else
5006 CPPBIN="$ac_cv_prog_CPPBIN"
5010 cat >>confdefs.h <<_ACEOF
5011 #define EXEEXT "$ac_exeext"
5012 _ACEOF
5014 if test -n "$ac_tool_prefix"; then
5015 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5016 set dummy ${ac_tool_prefix}ld; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_LD+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 if test -n "$LD"; then
5023 ac_cv_prog_LD="$LD" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5028 IFS=$as_save_IFS
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_LD="${ac_tool_prefix}ld"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 LD=$ac_cv_prog_LD
5043 if test -n "$LD"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5045 $as_echo "$LD" >&6; }
5046 else
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5053 if test -z "$ac_cv_prog_LD"; then
5054 ac_ct_LD=$LD
5055 # Extract the first word of "ld", so it can be a program name with args.
5056 set dummy ld; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 if test -n "$ac_ct_LD"; then
5063 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ac_ct_LD="ld"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5083 if test -n "$ac_ct_LD"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5085 $as_echo "$ac_ct_LD" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5091 if test "x$ac_ct_LD" = x; then
5092 LD=""
5093 else
5094 case $cross_compiling:$ac_tool_warned in
5095 yes:)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098 ac_tool_warned=yes ;;
5099 esac
5100 LD=$ac_ct_LD
5102 else
5103 LD="$ac_cv_prog_LD"
5107 case $host in
5108 *-darwin*)
5109 with_fontconfig=${with_fontconfig:-no}
5111 *-mingw32*|*-cygwin*)
5112 enable_win16=${enable_win16:-no}
5113 CFLAGS="$CFLAGS -D_WIN32"
5115 esac
5117 case $host in
5118 x86_64*|amd64*)
5119 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5120 then
5121 CC="$CC -m32"
5122 CXX="$CXX -m32"
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5124 $as_echo_n "checking whether $CC works... " >&6; }
5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5130 main ()
5134 return 0;
5136 _ACEOF
5137 if ac_fn_c_try_link "$LINENO"; then :
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5143 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5145 rm -f core conftest.err conftest.$ac_objext \
5146 conftest$ac_exeext conftest.$ac_ext
5147 host_cpu="i386"
5148 notice_platform="32-bit "
5149 TARGETFLAGS="-m32"
5151 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5152 export PKG_CONFIG_PATH
5153 enable_win16=${enable_win16:-yes}
5154 else
5155 if test "x${GCC}" = "xyes"
5156 then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5158 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5161 #include <stdarg.h>
5163 main ()
5165 void func(__builtin_ms_va_list *args);
5167 return 0;
5169 _ACEOF
5170 if ac_fn_c_try_compile "$LINENO"; then :
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5172 $as_echo "yes" >&6; }
5173 else
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5176 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5180 CC="$CC -m64"
5181 CXX="$CXX -m64"
5182 host_cpu="x86_64"
5183 notice_platform="64-bit "
5184 TARGETFLAGS="-m64"
5188 arm*)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5190 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5193 int ac_test(int i) { return i; }
5195 main ()
5197 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_link "$LINENO"; then :
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5210 rm -f core conftest.err conftest.$ac_objext \
5211 conftest$ac_exeext conftest.$ac_ext
5212 CFLAGS="$CFLAGS -marm"
5213 TARGETFLAGS="-marm"
5216 i[3456789]86*)
5217 enable_win16=${enable_win16:-yes}
5219 esac
5221 enable_win16=${enable_win16:-no}
5222 enable_win64=${enable_win64:-no}
5224 enable_winetest=${enable_winetest:-$enable_tests}
5226 if test -n "$with_wine64"
5227 then
5228 if test "x$enable_win64" = "xyes"
5229 then
5230 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5231 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5233 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5234 You should create a separate build directory and run configure from there." "$LINENO" 5
5235 enable_fonts=${enable_fonts:-no}
5236 enable_server=${enable_server:-no}
5237 elif test "x$enable_win64" = "xyes"
5238 then
5239 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5243 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5244 if ${wine_cv_toolsdir+:} false; then :
5245 $as_echo_n "(cached) " >&6
5246 else
5247 wine_cv_toolsdir="$with_wine_tools"
5248 if test -z "$with_wine_tools"; then
5249 if test "$cross_compiling" = "yes"; then
5250 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5251 elif test -n "$with_wine64"; then
5252 wine_cv_toolsdir="$with_wine64"
5255 if test -z "$wine_cv_toolsdir"; then
5256 wine_makedep=tools/makedep
5257 wine_cv_toolsdir="\$(top_builddir)"
5258 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5259 wine_makedep=$wine_cv_toolsdir/tools/makedep
5260 case "$wine_cv_toolsdir" in
5261 /*) ;;
5262 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5263 esac
5264 enable_tools=${enable_tools:-no}
5265 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5266 else
5267 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5271 $as_echo "$wine_cv_toolsdir" >&6; }
5272 TOOLSDIR=$wine_cv_toolsdir
5274 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5275 then
5276 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5280 for ac_prog in flex
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy $ac_prog; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_FLEX+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$FLEX"; then
5290 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_FLEX="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 FLEX=$ac_cv_prog_FLEX
5310 if test -n "$FLEX"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5312 $as_echo "$FLEX" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$FLEX" && break
5320 done
5321 test -n "$FLEX" || FLEX="none"
5323 if test "$FLEX" = "none"
5324 then
5325 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5328 $as_echo_n "checking whether flex is recent enough... " >&6; }
5329 cat >conftest.l <<EOF
5330 %top{
5331 #include "prediluvian.h"
5335 if $FLEX -t conftest.l >/dev/null 2>&5
5336 then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5338 $as_echo "yes" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5342 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5345 for ac_prog in bison
5347 # Extract the first word of "$ac_prog", so it can be a program name with args.
5348 set dummy $ac_prog; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_BISON+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 if test -n "$BISON"; then
5355 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5356 else
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH
5360 IFS=$as_save_IFS
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_BISON="$ac_prog"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 break 2
5368 done
5369 done
5370 IFS=$as_save_IFS
5374 BISON=$ac_cv_prog_BISON
5375 if test -n "$BISON"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5377 $as_echo "$BISON" >&6; }
5378 else
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5384 test -n "$BISON" && break
5385 done
5386 test -n "$BISON" || BISON="none"
5388 if test "$BISON" = "none"
5389 then
5390 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5393 if test -n "$ac_tool_prefix"; then
5394 for ac_prog in ar gar
5396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_AR+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$AR"; then
5404 ac_cv_prog_AR="$AR" # Let the user override the test.
5405 else
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 break 2
5417 done
5418 done
5419 IFS=$as_save_IFS
5423 AR=$ac_cv_prog_AR
5424 if test -n "$AR"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5426 $as_echo "$AR" >&6; }
5427 else
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 test -n "$AR" && break
5434 done
5436 if test -z "$AR"; then
5437 ac_ct_AR=$AR
5438 for ac_prog in ar gar
5440 # Extract the first word of "$ac_prog", so it can be a program name with args.
5441 set dummy $ac_prog; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5445 $as_echo_n "(cached) " >&6
5446 else
5447 if test -n "$ac_ct_AR"; then
5448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_ac_ct_AR="$ac_prog"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5468 if test -n "$ac_ct_AR"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5470 $as_echo "$ac_ct_AR" >&6; }
5471 else
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5477 test -n "$ac_ct_AR" && break
5478 done
5480 if test "x$ac_ct_AR" = x; then
5481 AR="ar"
5482 else
5483 case $cross_compiling:$ac_tool_warned in
5484 yes:)
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5487 ac_tool_warned=yes ;;
5488 esac
5489 AR=$ac_ct_AR
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}strip; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_STRIP+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$STRIP"; then
5502 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 STRIP=$ac_cv_prog_STRIP
5522 if test -n "$STRIP"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5524 $as_echo "$STRIP" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5532 if test -z "$ac_cv_prog_STRIP"; then
5533 ac_ct_STRIP=$STRIP
5534 # Extract the first word of "strip", so it can be a program name with args.
5535 set dummy strip; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5539 $as_echo_n "(cached) " >&6
5540 else
5541 if test -n "$ac_ct_STRIP"; then
5542 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5547 IFS=$as_save_IFS
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_ac_ct_STRIP="strip"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 break 2
5555 done
5556 done
5557 IFS=$as_save_IFS
5561 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5562 if test -n "$ac_ct_STRIP"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5564 $as_echo "$ac_ct_STRIP" >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5570 if test "x$ac_ct_STRIP" = x; then
5571 STRIP="strip"
5572 else
5573 case $cross_compiling:$ac_tool_warned in
5574 yes:)
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5578 esac
5579 STRIP=$ac_ct_STRIP
5581 else
5582 STRIP="$ac_cv_prog_STRIP"
5585 ARFLAGS=rc
5587 if test -n "$ac_tool_prefix"; then
5588 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5589 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_RANLIB+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$RANLIB"; then
5596 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 RANLIB=$ac_cv_prog_RANLIB
5616 if test -n "$RANLIB"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5618 $as_echo "$RANLIB" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5626 if test -z "$ac_cv_prog_RANLIB"; then
5627 ac_ct_RANLIB=$RANLIB
5628 # Extract the first word of "ranlib", so it can be a program name with args.
5629 set dummy ranlib; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$ac_ct_RANLIB"; then
5636 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_ac_ct_RANLIB="ranlib"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5656 if test -n "$ac_ct_RANLIB"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5658 $as_echo "$ac_ct_RANLIB" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5664 if test "x$ac_ct_RANLIB" = x; then
5665 RANLIB=":"
5666 else
5667 case $cross_compiling:$ac_tool_warned in
5668 yes:)
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 RANLIB=$ac_ct_RANLIB
5675 else
5676 RANLIB="$ac_cv_prog_RANLIB"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5680 $as_echo_n "checking whether ln -s works... " >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5684 $as_echo "yes" >&6; }
5685 else
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5687 $as_echo "no, using $LN_S" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5691 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5692 if ${ac_cv_path_GREP+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -z "$GREP"; then
5696 ac_path_GREP_found=false
5697 # Loop through the user's path and test for each of PROGNAME-LIST
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_prog in grep ggrep; do
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5706 as_fn_executable_p "$ac_path_GREP" || continue
5707 # Check for GNU ac_path_GREP and select it if it is found.
5708 # Check for GNU $ac_path_GREP
5709 case `"$ac_path_GREP" --version 2>&1` in
5710 *GNU*)
5711 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5713 ac_count=0
5714 $as_echo_n 0123456789 >"conftest.in"
5715 while :
5717 cat "conftest.in" "conftest.in" >"conftest.tmp"
5718 mv "conftest.tmp" "conftest.in"
5719 cp "conftest.in" "conftest.nl"
5720 $as_echo 'GREP' >> "conftest.nl"
5721 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5723 as_fn_arith $ac_count + 1 && ac_count=$as_val
5724 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5725 # Best one so far, save it but keep looking for a better one
5726 ac_cv_path_GREP="$ac_path_GREP"
5727 ac_path_GREP_max=$ac_count
5729 # 10*(2^10) chars as input seems more than enough
5730 test $ac_count -gt 10 && break
5731 done
5732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5733 esac
5735 $ac_path_GREP_found && break 3
5736 done
5737 done
5738 done
5739 IFS=$as_save_IFS
5740 if test -z "$ac_cv_path_GREP"; then
5741 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5743 else
5744 ac_cv_path_GREP=$GREP
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5749 $as_echo "$ac_cv_path_GREP" >&6; }
5750 GREP="$ac_cv_path_GREP"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5754 $as_echo_n "checking for egrep... " >&6; }
5755 if ${ac_cv_path_EGREP+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5759 then ac_cv_path_EGREP="$GREP -E"
5760 else
5761 if test -z "$EGREP"; then
5762 ac_path_EGREP_found=false
5763 # Loop through the user's path and test for each of PROGNAME-LIST
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_prog in egrep; do
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5772 as_fn_executable_p "$ac_path_EGREP" || continue
5773 # Check for GNU ac_path_EGREP and select it if it is found.
5774 # Check for GNU $ac_path_EGREP
5775 case `"$ac_path_EGREP" --version 2>&1` in
5776 *GNU*)
5777 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5779 ac_count=0
5780 $as_echo_n 0123456789 >"conftest.in"
5781 while :
5783 cat "conftest.in" "conftest.in" >"conftest.tmp"
5784 mv "conftest.tmp" "conftest.in"
5785 cp "conftest.in" "conftest.nl"
5786 $as_echo 'EGREP' >> "conftest.nl"
5787 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5788 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5789 as_fn_arith $ac_count + 1 && ac_count=$as_val
5790 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5791 # Best one so far, save it but keep looking for a better one
5792 ac_cv_path_EGREP="$ac_path_EGREP"
5793 ac_path_EGREP_max=$ac_count
5795 # 10*(2^10) chars as input seems more than enough
5796 test $ac_count -gt 10 && break
5797 done
5798 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5799 esac
5801 $ac_path_EGREP_found && break 3
5802 done
5803 done
5804 done
5805 IFS=$as_save_IFS
5806 if test -z "$ac_cv_path_EGREP"; then
5807 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5809 else
5810 ac_cv_path_EGREP=$EGREP
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5816 $as_echo "$ac_cv_path_EGREP" >&6; }
5817 EGREP="$ac_cv_path_EGREP"
5820 # Extract the first word of "ldconfig", so it can be a program name with args.
5821 set dummy ldconfig; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_path_LDCONFIG+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 case $LDCONFIG in
5828 [\\/]* | ?:[\\/]*)
5829 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in /sbin /usr/sbin $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5847 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5849 esac
5851 LDCONFIG=$ac_cv_path_LDCONFIG
5852 if test -n "$LDCONFIG"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5854 $as_echo "$LDCONFIG" >&6; }
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 for ac_prog in msgfmt
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_MSGFMT+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$MSGFMT"; then
5871 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_MSGFMT="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 MSGFMT=$ac_cv_prog_MSGFMT
5891 if test -n "$MSGFMT"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5893 $as_echo "$MSGFMT" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$MSGFMT" && break
5901 done
5902 test -n "$MSGFMT" || MSGFMT="false"
5904 if ${ac_tool_prefix+:} false; then :
5905 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5906 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$PKG_CONFIG"; then
5913 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5933 if test -n "$PKG_CONFIG"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5935 $as_echo "$PKG_CONFIG" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5943 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5944 if test "x$cross_compiling" = xyes; then :
5946 else
5947 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5948 # Extract the first word of "pkg-config", so it can be a program name with args.
5949 set dummy pkg-config; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 if test -n "$PKG_CONFIG"; then
5956 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5961 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_PKG_CONFIG="pkg-config"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 break 2
5969 done
5970 done
5971 IFS=$as_save_IFS
5975 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5976 if test -n "$PKG_CONFIG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5978 $as_echo "$PKG_CONFIG" >&6; }
5979 else
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5986 else
5987 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5990 if test "x$enable_maintainer_mode" != "xyes"
5991 then
5992 FONTFORGE=""
5993 RSVG=""
5994 CONVERT=""
5995 ICOTOOL=""
5996 else
5997 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5998 for ac_prog in fontforge
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_FONTFORGE+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$FONTFORGE"; then
6008 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_FONTFORGE="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 FONTFORGE=$ac_cv_prog_FONTFORGE
6028 if test -n "$FONTFORGE"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6030 $as_echo "$FONTFORGE" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$FONTFORGE" && break
6038 done
6039 test -n "$FONTFORGE" || FONTFORGE="false"
6041 for ac_prog in rsvg-convert rsvg
6043 # Extract the first word of "$ac_prog", so it can be a program name with args.
6044 set dummy $ac_prog; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_RSVG+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$RSVG"; then
6051 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_RSVG="$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 RSVG=$ac_cv_prog_RSVG
6071 if test -n "$RSVG"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6073 $as_echo "$RSVG" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$RSVG" && break
6081 done
6082 test -n "$RSVG" || RSVG="false"
6084 for ac_prog in convert
6086 # Extract the first word of "$ac_prog", so it can be a program name with args.
6087 set dummy $ac_prog; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if ${ac_cv_prog_CONVERT+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$CONVERT"; then
6094 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6103 ac_cv_prog_CONVERT="$ac_prog"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6107 done
6108 done
6109 IFS=$as_save_IFS
6113 CONVERT=$ac_cv_prog_CONVERT
6114 if test -n "$CONVERT"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6116 $as_echo "$CONVERT" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6123 test -n "$CONVERT" && break
6124 done
6125 test -n "$CONVERT" || CONVERT="false"
6127 for ac_prog in icotool
6129 # Extract the first word of "$ac_prog", so it can be a program name with args.
6130 set dummy $ac_prog; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 $as_echo_n "checking for $ac_word... " >&6; }
6133 if ${ac_cv_prog_ICOTOOL+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 if test -n "$ICOTOOL"; then
6137 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6142 IFS=$as_save_IFS
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6146 ac_cv_prog_ICOTOOL="$ac_prog"
6147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 break 2
6150 done
6151 done
6152 IFS=$as_save_IFS
6156 ICOTOOL=$ac_cv_prog_ICOTOOL
6157 if test -n "$ICOTOOL"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6159 $as_echo "$ICOTOOL" >&6; }
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 $as_echo "no" >&6; }
6166 test -n "$ICOTOOL" && break
6167 done
6168 test -n "$ICOTOOL" || ICOTOOL="false"
6170 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6171 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6173 if test "$CONVERT" = false
6174 then
6175 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6178 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6179 convert_version=`convert --version | head -n1`
6180 if test "x$convert_version" != "x"
6181 then
6182 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6183 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6184 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6185 then
6186 CONVERT=false
6189 if test "$CONVERT" = false
6190 then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6192 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6193 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6196 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6200 if test "$ICOTOOL" = false
6201 then
6202 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6205 $as_echo_n "checking for recent enough icotool... " >&6; }
6206 icotool_version=`icotool --version | head -n1`
6207 if test "x$icotool_version" != "x"
6208 then
6209 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6210 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6211 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6212 then
6213 ICOTOOL=false
6214 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6217 if test "$ICOTOOL" = false
6218 then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6220 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6221 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6224 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6228 with_gettext=yes
6229 with_gettextpo=yes
6230 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6233 test "x$with_gettext" != xno || MSGFMT=false
6234 if test "$MSGFMT" != "false"
6235 then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6237 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6238 cat >conftest.po <<EOF
6239 # comment
6240 msgctxt "ctxt"
6241 msgid "id"
6242 msgstr "str"
6244 if $MSGFMT -o /dev/null conftest.po 2>&5
6245 then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6247 $as_echo "yes" >&6; }
6248 else
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6251 MSGFMT=false
6254 if test "$MSGFMT" = false; then :
6255 case "x$with_gettext" in
6256 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6257 xno) ;;
6258 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6259 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6260 esac
6261 enable_po=${enable_po:-no}
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6266 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6267 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 ac_check_lib_save_LIBS=$LIBS
6271 LIBS="-li386 $LIBS"
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6275 /* Override any GCC internal prototype to avoid an error.
6276 Use char because int might match the return type of a GCC
6277 builtin and then its argument prototype would still apply. */
6278 #ifdef __cplusplus
6279 extern "C"
6280 #endif
6281 char i386_set_ldt ();
6283 main ()
6285 return i386_set_ldt ();
6287 return 0;
6289 _ACEOF
6290 if ac_fn_c_try_link "$LINENO"; then :
6291 ac_cv_lib_i386_i386_set_ldt=yes
6292 else
6293 ac_cv_lib_i386_i386_set_ldt=no
6295 rm -f core conftest.err conftest.$ac_objext \
6296 conftest$ac_exeext conftest.$ac_ext
6297 LIBS=$ac_check_lib_save_LIBS
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6300 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6301 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6302 cat >>confdefs.h <<_ACEOF
6303 #define HAVE_LIBI386 1
6304 _ACEOF
6306 LIBS="-li386 $LIBS"
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6311 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6312 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 ac_check_lib_save_LIBS=$LIBS
6316 LIBS="-lossaudio $LIBS"
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6320 /* Override any GCC internal prototype to avoid an error.
6321 Use char because int might match the return type of a GCC
6322 builtin and then its argument prototype would still apply. */
6323 #ifdef __cplusplus
6324 extern "C"
6325 #endif
6326 char _oss_ioctl ();
6328 main ()
6330 return _oss_ioctl ();
6332 return 0;
6334 _ACEOF
6335 if ac_fn_c_try_link "$LINENO"; then :
6336 ac_cv_lib_ossaudio__oss_ioctl=yes
6337 else
6338 ac_cv_lib_ossaudio__oss_ioctl=no
6340 rm -f core conftest.err conftest.$ac_objext \
6341 conftest$ac_exeext conftest.$ac_ext
6342 LIBS=$ac_check_lib_save_LIBS
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6345 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6346 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6347 cat >>confdefs.h <<_ACEOF
6348 #define HAVE_LIBOSSAUDIO 1
6349 _ACEOF
6351 LIBS="-lossaudio $LIBS"
6356 OPENGL_LIBS=""
6360 # Check whether --enable-largefile was given.
6361 if test "${enable_largefile+set}" = set; then :
6362 enableval=$enable_largefile;
6365 if test "$enable_largefile" != no; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6368 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6369 if ${ac_cv_sys_largefile_CC+:} false; then :
6370 $as_echo_n "(cached) " >&6
6371 else
6372 ac_cv_sys_largefile_CC=no
6373 if test "$GCC" != yes; then
6374 ac_save_CC=$CC
6375 while :; do
6376 # IRIX 6.2 and later do not support large files by default,
6377 # so use the C compiler's -n32 option if that helps.
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #include <sys/types.h>
6381 /* Check that off_t can represent 2**63 - 1 correctly.
6382 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6383 since some C++ compilers masquerading as C compilers
6384 incorrectly reject 9223372036854775807. */
6385 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6386 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6387 && LARGE_OFF_T % 2147483647 == 1)
6388 ? 1 : -1];
6390 main ()
6394 return 0;
6396 _ACEOF
6397 if ac_fn_c_try_compile "$LINENO"; then :
6398 break
6400 rm -f core conftest.err conftest.$ac_objext
6401 CC="$CC -n32"
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 ac_cv_sys_largefile_CC=' -n32'; break
6405 rm -f core conftest.err conftest.$ac_objext
6406 break
6407 done
6408 CC=$ac_save_CC
6409 rm -f conftest.$ac_ext
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6413 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6414 if test "$ac_cv_sys_largefile_CC" != no; then
6415 CC=$CC$ac_cv_sys_largefile_CC
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6419 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6420 if ${ac_cv_sys_file_offset_bits+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 while :; do
6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6434 ? 1 : -1];
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_sys_file_offset_bits=no; break
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #define _FILE_OFFSET_BITS 64
6450 #include <sys/types.h>
6451 /* Check that off_t can represent 2**63 - 1 correctly.
6452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6453 since some C++ compilers masquerading as C compilers
6454 incorrectly reject 9223372036854775807. */
6455 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6457 && LARGE_OFF_T % 2147483647 == 1)
6458 ? 1 : -1];
6460 main ()
6464 return 0;
6466 _ACEOF
6467 if ac_fn_c_try_compile "$LINENO"; then :
6468 ac_cv_sys_file_offset_bits=64; break
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 ac_cv_sys_file_offset_bits=unknown
6472 break
6473 done
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6476 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6477 case $ac_cv_sys_file_offset_bits in #(
6478 no | unknown) ;;
6480 cat >>confdefs.h <<_ACEOF
6481 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6482 _ACEOF
6484 esac
6485 rm -rf conftest*
6486 if test $ac_cv_sys_file_offset_bits = unknown; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6488 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6489 if ${ac_cv_sys_large_files+:} false; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 while :; do
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #include <sys/types.h>
6496 /* Check that off_t can represent 2**63 - 1 correctly.
6497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6498 since some C++ compilers masquerading as C compilers
6499 incorrectly reject 9223372036854775807. */
6500 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6502 && LARGE_OFF_T % 2147483647 == 1)
6503 ? 1 : -1];
6505 main ()
6509 return 0;
6511 _ACEOF
6512 if ac_fn_c_try_compile "$LINENO"; then :
6513 ac_cv_sys_large_files=no; break
6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6518 #define _LARGE_FILES 1
6519 #include <sys/types.h>
6520 /* Check that off_t can represent 2**63 - 1 correctly.
6521 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6522 since some C++ compilers masquerading as C compilers
6523 incorrectly reject 9223372036854775807. */
6524 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6526 && LARGE_OFF_T % 2147483647 == 1)
6527 ? 1 : -1];
6529 main ()
6533 return 0;
6535 _ACEOF
6536 if ac_fn_c_try_compile "$LINENO"; then :
6537 ac_cv_sys_large_files=1; break
6539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6540 ac_cv_sys_large_files=unknown
6541 break
6542 done
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6545 $as_echo "$ac_cv_sys_large_files" >&6; }
6546 case $ac_cv_sys_large_files in #(
6547 no | unknown) ;;
6549 cat >>confdefs.h <<_ACEOF
6550 #define _LARGE_FILES $ac_cv_sys_large_files
6551 _ACEOF
6553 esac
6554 rm -rf conftest*
6561 ac_ext=c
6562 ac_cpp='$CPP $CPPFLAGS'
6563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6567 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6568 # On Suns, sometimes $CPP names a directory.
6569 if test -n "$CPP" && test -d "$CPP"; then
6570 CPP=
6572 if test -z "$CPP"; then
6573 if ${ac_cv_prog_CPP+:} false; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 # Double quotes because CPP needs to be expanded
6577 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6579 ac_preproc_ok=false
6580 for ac_c_preproc_warn_flag in '' yes
6582 # Use a header file that comes with gcc, so configuring glibc
6583 # with a fresh cross-compiler works.
6584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6585 # <limits.h> exists even on freestanding compilers.
6586 # On the NeXT, cc -E runs the code through the compiler's parser,
6587 # not just through cpp. "Syntax error" is here to catch this case.
6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #ifdef __STDC__
6591 # include <limits.h>
6592 #else
6593 # include <assert.h>
6594 #endif
6595 Syntax error
6596 _ACEOF
6597 if ac_fn_c_try_cpp "$LINENO"; then :
6599 else
6600 # Broken: fails on valid input.
6601 continue
6603 rm -f conftest.err conftest.i conftest.$ac_ext
6605 # OK, works on sane cases. Now check whether nonexistent headers
6606 # can be detected and how.
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 #include <ac_nonexistent.h>
6610 _ACEOF
6611 if ac_fn_c_try_cpp "$LINENO"; then :
6612 # Broken: success on invalid input.
6613 continue
6614 else
6615 # Passes both tests.
6616 ac_preproc_ok=:
6617 break
6619 rm -f conftest.err conftest.i conftest.$ac_ext
6621 done
6622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6623 rm -f conftest.i conftest.err conftest.$ac_ext
6624 if $ac_preproc_ok; then :
6625 break
6628 done
6629 ac_cv_prog_CPP=$CPP
6632 CPP=$ac_cv_prog_CPP
6633 else
6634 ac_cv_prog_CPP=$CPP
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6637 $as_echo "$CPP" >&6; }
6638 ac_preproc_ok=false
6639 for ac_c_preproc_warn_flag in '' yes
6641 # Use a header file that comes with gcc, so configuring glibc
6642 # with a fresh cross-compiler works.
6643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6644 # <limits.h> exists even on freestanding compilers.
6645 # On the NeXT, cc -E runs the code through the compiler's parser,
6646 # not just through cpp. "Syntax error" is here to catch this case.
6647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649 #ifdef __STDC__
6650 # include <limits.h>
6651 #else
6652 # include <assert.h>
6653 #endif
6654 Syntax error
6655 _ACEOF
6656 if ac_fn_c_try_cpp "$LINENO"; then :
6658 else
6659 # Broken: fails on valid input.
6660 continue
6662 rm -f conftest.err conftest.i conftest.$ac_ext
6664 # OK, works on sane cases. Now check whether nonexistent headers
6665 # can be detected and how.
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6668 #include <ac_nonexistent.h>
6669 _ACEOF
6670 if ac_fn_c_try_cpp "$LINENO"; then :
6671 # Broken: success on invalid input.
6672 continue
6673 else
6674 # Passes both tests.
6675 ac_preproc_ok=:
6676 break
6678 rm -f conftest.err conftest.i conftest.$ac_ext
6680 done
6681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6682 rm -f conftest.i conftest.err conftest.$ac_ext
6683 if $ac_preproc_ok; then :
6685 else
6686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6688 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6689 See \`config.log' for more details" "$LINENO" 5; }
6692 ac_ext=c
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6700 $as_echo_n "checking for ANSI C header files... " >&6; }
6701 if ${ac_cv_header_stdc+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703 else
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <stdlib.h>
6707 #include <stdarg.h>
6708 #include <string.h>
6709 #include <float.h>
6712 main ()
6716 return 0;
6718 _ACEOF
6719 if ac_fn_c_try_compile "$LINENO"; then :
6720 ac_cv_header_stdc=yes
6721 else
6722 ac_cv_header_stdc=no
6724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6726 if test $ac_cv_header_stdc = yes; then
6727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #include <string.h>
6732 _ACEOF
6733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6734 $EGREP "memchr" >/dev/null 2>&1; then :
6736 else
6737 ac_cv_header_stdc=no
6739 rm -f conftest*
6743 if test $ac_cv_header_stdc = yes; then
6744 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <stdlib.h>
6749 _ACEOF
6750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6751 $EGREP "free" >/dev/null 2>&1; then :
6753 else
6754 ac_cv_header_stdc=no
6756 rm -f conftest*
6760 if test $ac_cv_header_stdc = yes; then
6761 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6762 if test "$cross_compiling" = yes; then :
6764 else
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 #include <ctype.h>
6768 #include <stdlib.h>
6769 #if ((' ' & 0x0FF) == 0x020)
6770 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6771 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6772 #else
6773 # define ISLOWER(c) \
6774 (('a' <= (c) && (c) <= 'i') \
6775 || ('j' <= (c) && (c) <= 'r') \
6776 || ('s' <= (c) && (c) <= 'z'))
6777 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6778 #endif
6780 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6782 main ()
6784 int i;
6785 for (i = 0; i < 256; i++)
6786 if (XOR (islower (i), ISLOWER (i))
6787 || toupper (i) != TOUPPER (i))
6788 return 2;
6789 return 0;
6791 _ACEOF
6792 if ac_fn_c_try_run "$LINENO"; then :
6794 else
6795 ac_cv_header_stdc=no
6797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6798 conftest.$ac_objext conftest.beam conftest.$ac_ext
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6804 $as_echo "$ac_cv_header_stdc" >&6; }
6805 if test $ac_cv_header_stdc = yes; then
6807 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6811 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6812 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6813 inttypes.h stdint.h unistd.h
6814 do :
6815 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6816 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6818 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6819 cat >>confdefs.h <<_ACEOF
6820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6821 _ACEOF
6825 done
6828 for ac_header in \
6829 AL/al.h \
6830 ApplicationServices/ApplicationServices.h \
6831 AudioToolbox/AudioConverter.h \
6832 AudioUnit/AudioUnit.h \
6833 AudioUnit/AudioComponent.h \
6834 CL/cl.h \
6835 Carbon/Carbon.h \
6836 CommonCrypto/CommonDigest.h \
6837 CoreAudio/CoreAudio.h \
6838 CoreServices/CoreServices.h \
6839 DiskArbitration/DiskArbitration.h \
6840 EGL/egl.h \
6841 IOKit/IOKitLib.h \
6842 IOKit/hid/IOHIDLib.h \
6843 OpenAL/al.h \
6844 OpenCL/opencl.h \
6845 QuickTime/ImageCompression.h \
6846 Security/Security.h \
6847 alias.h \
6848 alsa/asoundlib.h \
6849 arpa/inet.h \
6850 arpa/nameser.h \
6851 asm/types.h \
6852 asm/user.h \
6853 curses.h \
6854 direct.h \
6855 dirent.h \
6856 dlfcn.h \
6857 elf.h \
6858 float.h \
6859 fnmatch.h \
6860 getopt.h \
6861 gettext-po.h \
6862 grp.h \
6863 gsm.h \
6864 gsm/gsm.h \
6865 ieeefp.h \
6866 inet/mib2.h \
6867 io.h \
6868 kstat.h \
6869 lber.h \
6870 ldap.h \
6871 libproc.h \
6872 link.h \
6873 linux/cdrom.h \
6874 linux/compiler.h \
6875 linux/filter.h \
6876 linux/hdreg.h \
6877 linux/hidraw.h \
6878 linux/input.h \
6879 linux/ioctl.h \
6880 linux/joystick.h \
6881 linux/major.h \
6882 linux/param.h \
6883 linux/serial.h \
6884 linux/types.h \
6885 linux/ucdrom.h \
6886 lwp.h \
6887 mach-o/nlist.h \
6888 mach-o/loader.h \
6889 mach/mach.h \
6890 mach/machine.h \
6891 machine/cpu.h \
6892 machine/limits.h \
6893 machine/sysarch.h \
6894 mntent.h \
6895 ncurses.h \
6896 netdb.h \
6897 netinet/in.h \
6898 netinet/in_systm.h \
6899 netinet/tcp.h \
6900 netinet/tcp_fsm.h \
6901 pcap/pcap.h \
6902 poll.h \
6903 port.h \
6904 process.h \
6905 pthread.h \
6906 pwd.h \
6907 sched.h \
6908 scsi/scsi.h \
6909 scsi/scsi_ioctl.h \
6910 scsi/sg.h \
6911 stdbool.h \
6912 stdint.h \
6913 stropts.h \
6914 sys/asoundlib.h \
6915 sys/attr.h \
6916 sys/auxv.h \
6917 sys/cdio.h \
6918 sys/elf32.h \
6919 sys/epoll.h \
6920 sys/event.h \
6921 sys/exec_elf.h \
6922 sys/filio.h \
6923 sys/inotify.h \
6924 sys/ioctl.h \
6925 sys/ipc.h \
6926 sys/limits.h \
6927 sys/link.h \
6928 sys/mman.h \
6929 sys/modem.h \
6930 sys/msg.h \
6931 sys/mtio.h \
6932 sys/param.h \
6933 sys/poll.h \
6934 sys/prctl.h \
6935 sys/protosw.h \
6936 sys/ptrace.h \
6937 sys/queue.h \
6938 sys/resource.h \
6939 sys/scsiio.h \
6940 sys/shm.h \
6941 sys/signal.h \
6942 sys/socket.h \
6943 sys/socketvar.h \
6944 sys/sockio.h \
6945 sys/statvfs.h \
6946 sys/strtio.h \
6947 sys/syscall.h \
6948 sys/sysinfo.h \
6949 sys/tihdr.h \
6950 sys/time.h \
6951 sys/timeout.h \
6952 sys/times.h \
6953 sys/uio.h \
6954 sys/user.h \
6955 sys/utsname.h \
6956 sys/vm86.h \
6957 sys/vnode.h \
6958 sys/wait.h \
6959 syscall.h \
6960 termios.h \
6961 unistd.h \
6962 utime.h \
6963 valgrind/memcheck.h \
6964 valgrind/valgrind.h \
6965 zlib.h
6967 do :
6968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6969 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6971 cat >>confdefs.h <<_ACEOF
6972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6973 _ACEOF
6977 done
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6980 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6981 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #include <sys/types.h>
6988 main ()
6990 return makedev(0, 0);
6992 return 0;
6994 _ACEOF
6995 if ac_fn_c_try_link "$LINENO"; then :
6996 ac_cv_header_sys_types_h_makedev=yes
6997 else
6998 ac_cv_header_sys_types_h_makedev=no
7000 rm -f core conftest.err conftest.$ac_objext \
7001 conftest$ac_exeext conftest.$ac_ext
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7005 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7007 if test $ac_cv_header_sys_types_h_makedev = no; then
7008 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7009 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7011 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7017 if test $ac_cv_header_sys_mkdev_h = no; then
7018 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7019 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7021 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7030 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7031 if ${ac_cv_header_stat_broken+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7037 #include <sys/stat.h>
7039 #if defined S_ISBLK && defined S_IFDIR
7040 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7041 #endif
7043 #if defined S_ISBLK && defined S_IFCHR
7044 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7045 #endif
7047 #if defined S_ISLNK && defined S_IFREG
7048 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7049 #endif
7051 #if defined S_ISSOCK && defined S_IFREG
7052 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7053 #endif
7055 _ACEOF
7056 if ac_fn_c_try_compile "$LINENO"; then :
7057 ac_cv_header_stat_broken=no
7058 else
7059 ac_cv_header_stat_broken=yes
7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7064 $as_echo "$ac_cv_header_stat_broken" >&6; }
7065 if test $ac_cv_header_stat_broken = yes; then
7067 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7073 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7074 do :
7075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7077 #ifdef HAVE_SYS_PARAM_H
7078 # include <sys/param.h>
7079 #endif
7081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7082 cat >>confdefs.h <<_ACEOF
7083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7084 _ACEOF
7088 done
7091 for ac_header in \
7092 netinet/ip.h \
7093 net/if.h \
7094 net/if_arp.h \
7095 net/if_dl.h \
7096 net/if_types.h \
7097 net/route.h \
7098 netinet/if_ether.h \
7099 netinet/if_inarp.h \
7100 netinet/in_pcb.h \
7101 netinet/ip_icmp.h \
7102 netinet/ip_var.h \
7103 netinet/udp.h \
7104 netipx/ipx.h \
7105 sys/un.h \
7107 do :
7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7110 #ifdef HAVE_SYS_SOCKET_H
7111 # include <sys/socket.h>
7112 #endif
7113 #ifdef HAVE_SYS_SOCKETVAR_H
7114 # include <sys/socketvar.h>
7115 #endif
7116 #ifdef HAVE_NET_ROUTE_H
7117 # include <net/route.h>
7118 #endif
7119 #ifdef HAVE_NETINET_IN_H
7120 # include <netinet/in.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IN_SYSTM_H
7123 # include <netinet/in_systm.h>
7124 #endif
7125 #ifdef HAVE_NET_IF_H
7126 # include <net/if.h>
7127 #endif
7128 #ifdef HAVE_NETINET_IP_H
7129 # include <netinet/ip.h>
7130 #endif
7132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7135 _ACEOF
7139 done
7142 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7143 do :
7144 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7145 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7146 #ifdef HAVE_ALIAS_H
7147 # include <alias.h>
7148 #endif
7149 #ifdef HAVE_SYS_SOCKET_H
7150 # include <sys/socket.h>
7151 #endif
7152 #ifdef HAVE_SYS_SOCKETVAR_H
7153 # include <sys/socketvar.h>
7154 #endif
7155 #ifdef HAVE_SYS_TIMEOUT_H
7156 # include <sys/timeout.h>
7157 #endif
7158 #ifdef HAVE_NETINET_IN_H
7159 # include <netinet/in.h>
7160 #endif
7161 #ifdef HAVE_NETINET_IN_SYSTM_H
7162 # include <netinet/in_systm.h>
7163 #endif
7164 #ifdef HAVE_NETINET_IP_H
7165 # include <netinet/ip.h>
7166 #endif
7167 #ifdef HAVE_NETINET_IP_VAR_H
7168 # include <netinet/ip_var.h>
7169 #endif
7170 #ifdef HAVE_NETINET_IP_ICMP_H
7171 # include <netinet/ip_icmp.h>
7172 #endif
7173 #ifdef HAVE_NETINET_UDP_H
7174 # include <netinet/udp.h>
7175 #endif
7176 #ifdef HAVE_NETINET_TCP_H
7177 # include <netinet/tcp.h>
7178 #endif
7179 #ifdef HAVE_NETINET_TCP_TIMER_H
7180 #include <netinet/tcp_timer.h>
7181 #endif
7183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7184 cat >>confdefs.h <<_ACEOF
7185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7186 _ACEOF
7190 done
7193 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7194 do :
7195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7196 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7197 #ifdef HAVE_ASM_TYPES_H
7198 # include <asm/types.h>
7199 #endif
7200 #ifdef HAVE_SYS_SOCKET_H
7201 # include <sys/socket.h>
7202 #endif
7203 #ifdef HAVE_LINUX_TYPES_H
7204 # include <linux/types.h>
7205 #endif
7207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7210 _ACEOF
7214 done
7217 for ac_header in mach-o/dyld_images.h
7218 do :
7219 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7220 # include <stdbool.h>
7221 #endif
7222 #ifdef HAVE_STDINT_H
7223 # include <stdint.h>
7224 #endif
7226 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7227 cat >>confdefs.h <<_ACEOF
7228 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7229 _ACEOF
7233 done
7236 for ac_header in resolv.h
7237 do :
7238 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7239 #ifdef HAVE_SYS_SOCKET_H
7240 # include <sys/socket.h>
7241 #endif
7242 #ifdef HAVE_NETINET_IN_H
7243 # include <netinet/in.h>
7244 #endif
7245 #ifdef HAVE_ARPA_NAMESER_H
7246 # include <arpa/nameser.h>
7247 #endif
7249 if test "x$ac_cv_header_resolv_h" = xyes; then :
7250 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_RESOLV_H 1
7252 _ACEOF
7256 done
7259 for ac_header in ifaddrs.h
7260 do :
7261 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7263 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7264 cat >>confdefs.h <<_ACEOF
7265 #define HAVE_IFADDRS_H 1
7266 _ACEOF
7270 done
7273 for ac_header in sys/ucontext.h
7274 do :
7275 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7277 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7278 cat >>confdefs.h <<_ACEOF
7279 #define HAVE_SYS_UCONTEXT_H 1
7280 _ACEOF
7284 done
7287 for ac_header in sys/thr.h
7288 do :
7289 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7290 #ifdef HAVE_SYS_UCONTEXT_H
7291 #include <sys/ucontext.h>
7292 #endif
7294 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_SYS_THR_H 1
7297 _ACEOF
7301 done
7304 for ac_header in pthread_np.h
7305 do :
7306 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7307 #include <pthread.h>
7308 #endif
7310 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7311 cat >>confdefs.h <<_ACEOF
7312 #define HAVE_PTHREAD_NP_H 1
7313 _ACEOF
7317 done
7320 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7321 do :
7322 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7323 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7324 #include <sys/time.h>
7325 #endif
7326 #include <sys/types.h>
7327 #ifdef HAVE_ASM_TYPES_H
7328 #include <asm/types.h>
7329 #endif
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7338 done
7341 for ac_header in libprocstat.h
7342 do :
7343 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7344 #include <sys/param.h>
7345 #endif
7346 #ifdef HAVE_SYS_QUEUE_H
7347 #include <sys/queue.h>
7348 #endif
7349 #ifdef HAVE_SYS_SOCKET_H
7350 #include <sys/socket.h>
7351 #endif
7353 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7354 cat >>confdefs.h <<_ACEOF
7355 #define HAVE_LIBPROCSTAT_H 1
7356 _ACEOF
7360 done
7364 dlldir="\${libdir}/wine"
7366 DLLFLAGS="-D_REENTRANT"
7368 LDRPATH_INSTALL=""
7370 LDRPATH_LOCAL=""
7372 LDEXECFLAGS=""
7374 WINELOADER_LDFLAGS=""
7376 LIBEXT="so"
7377 DLLEXT=".so"
7378 IMPLIBEXT="def"
7379 # Extract the first word of "ldd", so it can be a program name with args.
7380 set dummy ldd; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if ${ac_cv_path_LDD+:} false; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 case $LDD in
7387 [\\/]* | ?:[\\/]*)
7388 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 as_dummy="/sbin:/usr/sbin:$PATH"
7393 for as_dir in $as_dummy
7395 IFS=$as_save_IFS
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 IFS=$as_save_IFS
7407 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7409 esac
7411 LDD=$ac_cv_path_LDD
7412 if test -n "$LDD"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7414 $as_echo "$LDD" >&6; }
7415 else
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7421 if test -n "$ac_tool_prefix"; then
7422 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7423 set dummy ${ac_tool_prefix}otool; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 $as_echo_n "checking for $ac_word... " >&6; }
7426 if ${ac_cv_prog_OTOOL+:} false; then :
7427 $as_echo_n "(cached) " >&6
7428 else
7429 if test -n "$OTOOL"; then
7430 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7431 else
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 for as_dir in $PATH
7435 IFS=$as_save_IFS
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 break 2
7443 done
7444 done
7445 IFS=$as_save_IFS
7449 OTOOL=$ac_cv_prog_OTOOL
7450 if test -n "$OTOOL"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7452 $as_echo "$OTOOL" >&6; }
7453 else
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 $as_echo "no" >&6; }
7460 if test -z "$ac_cv_prog_OTOOL"; then
7461 ac_ct_OTOOL=$OTOOL
7462 # Extract the first word of "otool", so it can be a program name with args.
7463 set dummy otool; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7467 $as_echo_n "(cached) " >&6
7468 else
7469 if test -n "$ac_ct_OTOOL"; then
7470 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7475 IFS=$as_save_IFS
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479 ac_cv_prog_ac_ct_OTOOL="otool"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 break 2
7483 done
7484 done
7485 IFS=$as_save_IFS
7489 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7490 if test -n "$ac_ct_OTOOL"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7492 $as_echo "$ac_ct_OTOOL" >&6; }
7493 else
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7498 if test "x$ac_ct_OTOOL" = x; then
7499 OTOOL="otool"
7500 else
7501 case $cross_compiling:$ac_tool_warned in
7502 yes:)
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7505 ac_tool_warned=yes ;;
7506 esac
7507 OTOOL=$ac_ct_OTOOL
7509 else
7510 OTOOL="$ac_cv_prog_OTOOL"
7513 if test -n "$ac_tool_prefix"; then
7514 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7515 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if ${ac_cv_prog_READELF+:} false; then :
7519 $as_echo_n "(cached) " >&6
7520 else
7521 if test -n "$READELF"; then
7522 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7523 else
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 for as_dir in $PATH
7527 IFS=$as_save_IFS
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 break 2
7535 done
7536 done
7537 IFS=$as_save_IFS
7541 READELF=$ac_cv_prog_READELF
7542 if test -n "$READELF"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7544 $as_echo "$READELF" >&6; }
7545 else
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7552 if test -z "$ac_cv_prog_READELF"; then
7553 ac_ct_READELF=$READELF
7554 # Extract the first word of "readelf", so it can be a program name with args.
7555 set dummy readelf; ac_word=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557 $as_echo_n "checking for $ac_word... " >&6; }
7558 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7559 $as_echo_n "(cached) " >&6
7560 else
7561 if test -n "$ac_ct_READELF"; then
7562 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7563 else
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 for as_dir in $PATH
7567 IFS=$as_save_IFS
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7571 ac_cv_prog_ac_ct_READELF="readelf"
7572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 break 2
7575 done
7576 done
7577 IFS=$as_save_IFS
7581 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7582 if test -n "$ac_ct_READELF"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7584 $as_echo "$ac_ct_READELF" >&6; }
7585 else
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587 $as_echo "no" >&6; }
7590 if test "x$ac_ct_READELF" = x; then
7591 READELF="true"
7592 else
7593 case $cross_compiling:$ac_tool_warned in
7594 yes:)
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7597 ac_tool_warned=yes ;;
7598 esac
7599 READELF=$ac_ct_READELF
7601 else
7602 READELF="$ac_cv_prog_READELF"
7605 wine_rules_file=conf$$rules.make
7606 rm -f $wine_rules_file
7607 SUBDIRS=""
7609 DISABLED_SUBDIRS=""
7611 CONFIGURE_TARGETS=""
7613 ALL_TEST_RESOURCES=""
7616 wine_fn_append_file ()
7618 as_fn_append $1 " \\$as_nl $2"
7621 wine_fn_append_rule ()
7623 $as_echo "$1" >>$wine_rules_file
7626 wine_fn_has_flag ()
7628 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7631 wine_fn_all_rules ()
7633 wine_fn_append_file SUBDIRS $ac_dir
7634 wine_fn_append_rule \
7635 "all: $ac_dir
7636 .PHONY: $ac_dir
7637 $ac_dir: dummy
7638 @cd $ac_dir && \$(MAKE)"
7641 wine_fn_install_rules ()
7643 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7645 wine_fn_append_rule \
7646 ".PHONY: $ac_dir/install $ac_dir/uninstall
7647 $ac_dir/install:: $ac_dir
7648 @cd $ac_dir && \$(MAKE) install
7649 $ac_dir/uninstall::
7650 @cd $ac_dir && \$(MAKE) uninstall
7651 install:: $ac_dir/install
7652 __uninstall__: $ac_dir/uninstall"
7654 if wine_fn_has_flag install-lib
7655 then
7656 wine_fn_append_rule \
7657 ".PHONY: $ac_dir/install-lib
7658 $ac_dir/install-lib:: $ac_dir
7659 @cd $ac_dir && \$(MAKE) install-lib
7660 install-lib:: $ac_dir/install-lib"
7663 if wine_fn_has_flag install-dev
7664 then
7665 wine_fn_append_rule \
7666 ".PHONY: $ac_dir/install-dev
7667 $ac_dir/install-dev:: $ac_dir
7668 @cd $ac_dir && \$(MAKE) install-dev
7669 install-dev:: $ac_dir/install-dev"
7673 wine_fn_clean_rules ()
7675 ac_clean=$@
7677 if wine_fn_has_flag clean
7678 then
7679 wine_fn_append_rule \
7680 "$ac_dir/clean: dummy
7681 @cd $ac_dir && \$(MAKE) clean"
7682 else
7683 wine_fn_append_rule \
7684 "$ac_dir/clean: dummy
7685 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7687 wine_fn_append_rule \
7688 "__clean__: $ac_dir/clean
7689 .PHONY: $ac_dir/clean"
7692 wine_fn_disabled_rules ()
7694 ac_clean=$@
7696 wine_fn_append_file SUBDIRS $ac_dir
7697 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7698 wine_fn_append_rule \
7699 "__clean__: $ac_dir/clean
7700 .PHONY: $ac_dir/clean
7701 $ac_dir/clean: dummy
7702 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7705 wine_fn_config_makefile ()
7707 ac_dir=$1
7708 ac_enable=$2
7709 ac_flags=$3
7711 case $ac_dir in
7712 fonts|server) test -z "$with_wine64" || return ;;
7713 esac
7714 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7715 wine_fn_disabled_rules; return
7717 wine_fn_all_rules
7718 wine_fn_install_rules
7719 wine_fn_clean_rules
7722 wine_fn_config_lib ()
7724 ac_name=$1
7725 ac_flags=$2
7726 ac_dir=dlls/$ac_name
7727 ac_deps="include"
7729 if test "x$enable_tools" = xno; then :
7731 else
7732 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7734 wine_fn_all_rules
7735 wine_fn_clean_rules
7737 wine_fn_append_rule \
7738 ".PHONY: $ac_dir/install $ac_dir/uninstall
7739 $ac_dir/install:: $ac_dir
7740 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7741 $ac_dir/uninstall::
7742 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7743 install install-dev:: $ac_dir/install
7744 __uninstall__: $ac_dir/uninstall
7745 __builddeps__: $ac_dir
7746 $ac_dir: $ac_deps"
7749 wine_fn_config_dll ()
7751 ac_name=$1
7752 ac_dir=dlls/$ac_name
7753 ac_enable=$2
7754 ac_flags=$3
7755 ac_implib=${4:-$ac_name}
7756 ac_file=$ac_dir/lib$ac_implib
7757 ac_dll=$ac_name
7758 ac_deps="include"
7759 ac_implibflags=""
7761 if test "x$enable_tools" = xno; then :
7763 else
7764 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7766 case $ac_name in
7767 *.*16) ac_implibflags=" -m16" ;;
7768 *.*) ;;
7769 *) ac_dll=$ac_dll.dll ;;
7770 esac
7772 ac_clean=
7773 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7774 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7776 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7777 if test "$ac_enable" != enable_win16
7778 then
7779 wine_fn_clean_rules $ac_clean
7780 wine_fn_append_file SUBDIRS $ac_dir
7781 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7782 else
7783 wine_fn_disabled_rules $ac_clean
7784 return
7786 else
7787 wine_fn_all_rules
7788 wine_fn_clean_rules $ac_clean
7789 wine_fn_append_rule \
7790 "$ac_dir: __builddeps__
7791 manpages htmlpages sgmlpages xmlpages::
7792 @cd $ac_dir && \$(MAKE) \$@
7793 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7794 install install-lib:: $ac_dir/install-lib
7795 __uninstall__: $ac_dir/uninstall"
7796 if test -n "$DLLEXT"
7797 then
7798 wine_fn_append_rule \
7799 "$ac_dir/install-lib:: $ac_dir
7800 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7801 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7802 $ac_dir/uninstall::
7803 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7804 else
7805 wine_fn_append_rule \
7806 "$ac_dir/install-lib:: $ac_dir
7807 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7813 if wine_fn_has_flag staticimplib
7814 then
7815 wine_fn_append_rule \
7816 "__builddeps__: $ac_file.a
7817 $ac_file.a $ac_file.cross.a: $ac_deps
7818 $ac_file.a: dummy
7819 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7820 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7821 $ac_dir/install-dev:: $ac_file.a
7822 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7823 $ac_dir/uninstall::
7824 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7825 install install-dev:: $ac_dir/install-dev
7826 __uninstall__: $ac_dir/uninstall"
7828 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7829 then
7830 wine_fn_append_rule \
7831 "__builddeps__: $ac_file.cross.a
7832 $ac_file.cross.a: dummy
7833 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7836 elif wine_fn_has_flag implib
7837 then
7838 wine_fn_append_rule \
7839 "__builddeps__: $ac_file.$IMPLIBEXT
7840 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7841 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7842 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7843 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7844 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7845 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7846 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7847 $ac_dir/uninstall::
7848 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7849 install install-dev:: $ac_dir/install-dev
7850 __uninstall__: $ac_dir/uninstall"
7851 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7852 then
7853 wine_fn_append_rule \
7854 "__builddeps__: $ac_file.cross.a
7855 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7856 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7861 wine_fn_config_program ()
7863 ac_name=$1
7864 ac_dir=programs/$ac_name
7865 ac_enable=$2
7866 ac_flags=$3
7867 ac_program=$ac_name
7869 case $ac_name in
7870 *.*) ;;
7871 *) ac_program=$ac_program.exe ;;
7872 esac
7874 ac_clean=
7875 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7876 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7878 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7879 wine_fn_disabled_rules $ac_clean; return
7882 wine_fn_all_rules
7883 wine_fn_clean_rules $ac_clean
7884 wine_fn_append_rule "$ac_dir: __builddeps__"
7886 wine_fn_has_flag install || return
7887 wine_fn_append_rule \
7888 ".PHONY: $ac_dir/install $ac_dir/uninstall
7889 install install-lib:: $ac_dir/install
7890 __uninstall__: $ac_dir/uninstall"
7892 if test -n "$DLLEXT"
7893 then
7894 wine_fn_append_rule \
7895 "$ac_dir/install:: $ac_dir
7896 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7897 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7901 if test -z "$with_wine64" && wine_fn_has_flag installbin
7902 then
7903 wine_fn_append_rule \
7904 "$ac_dir/install:: __tooldeps__
7905 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7906 $ac_dir/uninstall::
7907 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7909 else
7910 wine_fn_append_rule \
7911 "$ac_dir/install:: $ac_dir
7912 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7913 $ac_dir/uninstall::
7914 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7917 if test -z "$with_wine64" && wine_fn_has_flag manpage
7918 then
7919 wine_fn_append_rule \
7920 "$ac_dir/install:: $ac_dir
7921 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7922 $ac_dir/uninstall::
7923 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7927 wine_fn_config_test ()
7929 ac_dir=$1
7930 ac_name=$2
7931 ac_flags=$3
7933 ac_clean=
7934 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7935 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7937 if test "x$enable_tests" = xno; then :
7938 wine_fn_disabled_rules $ac_clean; return
7941 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7942 wine_fn_all_rules
7943 wine_fn_clean_rules $ac_clean
7945 wine_fn_append_rule \
7946 "$ac_dir: __builddeps__
7947 programs/winetest: $ac_dir
7948 check test: $ac_dir/test
7949 .PHONY: $ac_dir/test
7950 $ac_dir/test: dummy
7951 @cd $ac_dir && \$(MAKE) test
7952 testclean::
7953 \$(RM) $ac_dir/*.ok"
7955 if test -n "$CROSSTARGET"
7956 then
7957 wine_fn_append_rule \
7958 "crosstest: $ac_dir/crosstest
7959 .PHONY: $ac_dir/crosstest
7960 $ac_dir/crosstest: __builddeps__ dummy
7961 @cd $ac_dir && \$(MAKE) crosstest"
7965 wine_fn_config_tool ()
7967 ac_dir=$1
7968 ac_flags=$2
7969 if test "x$enable_tools" = xno; then :
7970 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7973 wine_fn_all_rules
7974 wine_fn_install_rules
7975 wine_fn_clean_rules
7977 wine_fn_append_rule "__tooldeps__: $ac_dir"
7978 wine_fn_append_rule "$ac_dir: libs/port"
7979 case $ac_dir in
7980 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7981 esac
7984 wine_fn_config_symlink ()
7986 ac_linkdir=
7987 if test "x$1" = "x-d"
7988 then
7989 ac_linkdir=$2
7990 shift; shift
7992 ac_links=$@
7993 wine_fn_append_rule \
7994 "$ac_links:
7995 @./config.status \$@"
7996 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7997 test -n "$ac_linkdir" || return
7998 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8001 wine_binary="wine"
8002 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8003 WINELOADER_PROGRAMS="$wine_binary"
8005 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8007 case $host_os in
8008 cygwin*|mingw32*)
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_DLLTOOL+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$DLLTOOL"; then
8018 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 DLLTOOL=$ac_cv_prog_DLLTOOL
8038 if test -n "$DLLTOOL"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8040 $as_echo "$DLLTOOL" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_DLLTOOL"; then
8049 ac_ct_DLLTOOL=$DLLTOOL
8050 # Extract the first word of "dlltool", so it can be a program name with args.
8051 set dummy dlltool; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_DLLTOOL"; then
8058 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8078 if test -n "$ac_ct_DLLTOOL"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8080 $as_echo "$ac_ct_DLLTOOL" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_DLLTOOL" = x; then
8087 DLLTOOL="false"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 DLLTOOL=$ac_ct_DLLTOOL
8097 else
8098 DLLTOOL="$ac_cv_prog_DLLTOOL"
8101 LIBEXT="dll"
8102 DLLEXT=""
8103 IMPLIBEXT="a"
8104 enable_iphlpapi=${enable_iphlpapi:-no}
8105 enable_kernel32=${enable_kernel32:-no}
8106 enable_msvcrt=${enable_msvcrt:-no}
8107 enable_ntdll=${enable_ntdll:-no}
8108 enable_ws2_32=${enable_ws2_32:-no}
8109 enable_loader=${enable_loader:-no}
8110 enable_server=${enable_server:-no}
8111 with_x=${with_x:-no}
8112 with_pthread=${with_pthread:-no}
8114 crtlibs=""
8115 case $host_os in
8116 mingw32*)
8117 crtlibs="-lmsvcrt"
8118 SOCKET_LIBS="-lws2_32"
8120 esac
8122 LIBWINE_SHAREDLIB="libwine.dll"
8124 LIBWINE_IMPORTLIB="libwine.a"
8126 LIBWINE_INSTALL_LIB="libwine.dll"
8128 LIBWINE_INSTALL_DEV="libwine.a"
8130 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8132 LIBWINE_DEPENDS="wine.def"
8136 darwin*|macosx*)
8137 for ac_header in libunwind.h
8138 do :
8139 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8141 cat >>confdefs.h <<_ACEOF
8142 #define HAVE_LIBUNWIND_H 1
8143 _ACEOF
8147 done
8149 LIBEXT="dylib"
8150 DLLFLAGS="$DLLFLAGS -fPIC"
8151 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8152 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8153 COREFOUNDATION_LIBS="-framework CoreFoundation"
8155 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8157 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8159 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8161 CORESERVICES_LIBS="-framework CoreServices"
8163 APPKIT_LIBS="-framework AppKit"
8165 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8167 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8168 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 ac_wine_try_cflags_saved=$CFLAGS
8172 CFLAGS="$CFLAGS -Wl,-no_pie"
8173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8175 int main(int argc, char **argv) { return 0; }
8176 _ACEOF
8177 if ac_fn_c_try_link "$LINENO"; then :
8178 ac_cv_cflags__Wl__no_pie=yes
8179 else
8180 ac_cv_cflags__Wl__no_pie=no
8182 rm -f core conftest.err conftest.$ac_objext \
8183 conftest$ac_exeext conftest.$ac_ext
8184 CFLAGS=$ac_wine_try_cflags_saved
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8187 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8188 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8189 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8191 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8192 then
8193 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8196 if test "$ac_cv_header_Security_Security_h" = "yes"
8197 then
8198 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8200 ac_save_LIBS="$LIBS"
8201 LIBS="$LIBS $SECURITY_LIBS"
8202 for ac_func in SSLCopyPeerCertificates
8203 do :
8204 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8205 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8206 cat >>confdefs.h <<_ACEOF
8207 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8208 _ACEOF
8211 done
8213 LIBS="$ac_save_LIBS"
8214 with_gnutls=${with_gnutls:-no}
8216 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8217 then
8218 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8219 then
8220 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8222 else
8223 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8226 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8227 ac_save_LIBS="$LIBS"
8228 LIBS="$LIBS $COREAUDIO_LIBS"
8229 for ac_func in AUGraphAddNode
8230 do :
8231 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8232 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8233 cat >>confdefs.h <<_ACEOF
8234 #define HAVE_AUGRAPHADDNODE 1
8235 _ACEOF
8238 done
8240 LIBS="$ac_save_LIBS"
8242 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8243 then
8244 OPENAL_LIBS="-framework OpenAL"
8247 cat >>confdefs.h <<_ACEOF
8248 #define HAVE_OPENAL 1
8249 _ACEOF
8251 ac_cv_lib_openal=yes
8253 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8254 then
8255 OPENCL_LIBS="-framework OpenCL"
8257 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8259 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8260 then
8261 ac_save_LIBS="$LIBS"
8262 LIBS="$LIBS $IOKIT_LIBS"
8263 for ac_func in IOHIDManagerCreate
8264 do :
8265 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8266 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8267 cat >>confdefs.h <<_ACEOF
8268 #define HAVE_IOHIDMANAGERCREATE 1
8269 _ACEOF
8272 done
8274 LIBS="$ac_save_LIBS"
8276 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8277 then
8278 ac_save_LIBS="$LIBS"
8279 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8281 $as_echo_n "checking for the QuickTime framework... " >&6; }
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 #include <QuickTime/ImageCompression.h>
8286 main ()
8288 CodecManagerVersion(NULL);
8290 return 0;
8292 _ACEOF
8293 if ac_fn_c_try_link "$LINENO"; then :
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8295 $as_echo "yes" >&6; }
8296 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8298 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8302 ac_cv_header_QuickTime_ImageCompression_h=no
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 LIBS="$ac_save_LIBS"
8308 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8309 then
8310 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8312 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8313 then
8314 CARBON_LIBS="-framework Carbon"
8318 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8319 then
8320 ac_save_LIBS="$LIBS"
8321 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8322 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8323 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8324 enable_winemac_drv=${enable_winemac_drv:-yes}
8327 LIBS="$ac_save_LIBS"
8330 if test "x$enable_win16" = "xyes"
8331 then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8333 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8334 if test "$cross_compiling" = yes; then :
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8336 $as_echo "cross-compiling, assuming yes" >&6; }
8337 else
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 asm(".text\n"
8341 "bad:\tnop;nop\n"
8342 "good:\tnop;nop\n\t"
8343 ".globl _testfunc\n"
8344 "_testfunc:\tcallw good");
8345 extern void testfunc();
8347 main ()
8349 unsigned short *p = (unsigned short *)testfunc;
8350 return p[0] != 0xe866 || p[1] != 0xfffa
8352 return 0;
8354 _ACEOF
8355 if ac_fn_c_try_run "$LINENO"; then :
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8357 $as_echo "yes" >&6; }
8358 else
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360 $as_echo "no" >&6; }
8361 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
8363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8364 conftest.$ac_objext conftest.beam conftest.$ac_ext
8369 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8371 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8373 LIBWINE_INSTALL_DEV="libwine.dylib"
8375 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8377 WINELOADER_DEPENDS="wine_info.plist"
8381 linux-android*)
8382 DLLFLAGS="$DLLFLAGS -fPIC"
8383 LDEXECFLAGS="-Wl,-pie"
8384 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8387 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 ac_wine_try_cflags_saved=$CFLAGS
8391 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8395 _ACEOF
8396 if ac_fn_c_try_link "$LINENO"; then :
8397 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8398 else
8399 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8401 rm -f core conftest.err conftest.$ac_objext \
8402 conftest$ac_exeext conftest.$ac_ext
8403 CFLAGS=$ac_wine_try_cflags_saved
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8406 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8407 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8408 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8410 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8412 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8413 if eval \${$as_ac_var+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 ac_wine_try_cflags_saved=$CFLAGS
8417 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 int main(int argc, char **argv) { return 0; }
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 eval "$as_ac_var=yes"
8424 else
8425 eval "$as_ac_var=no"
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 CFLAGS=$ac_wine_try_cflags_saved
8431 eval ac_res=\$$as_ac_var
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8433 $as_echo "$ac_res" >&6; }
8434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8435 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8436 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8437 else
8438 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8440 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8441 if eval \${$as_ac_var+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 eval "$as_ac_var=yes"
8452 else
8453 eval "$as_ac_var=no"
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 eval ac_res=\$$as_ac_var
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8461 $as_echo "$ac_res" >&6; }
8462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8463 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8464 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8468 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8469 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 int main(int argc, char **argv) { return 0; }
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_cflags__Wl___enable_new_dtags=yes
8480 else
8481 ac_cv_cflags__Wl___enable_new_dtags=no
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8488 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8489 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8490 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8493 LIBWINE_SHAREDLIB="libwine.so"
8495 LIBWINE_INSTALL_LIB="libwine.so"
8497 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8501 $as_echo_n "checking for -lEGL... " >&6; }
8502 if ${ac_cv_lib_soname_EGL+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_check_soname_save_LIBS=$LIBS
8506 LIBS="-lEGL $LIBS"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8510 /* Override any GCC internal prototype to avoid an error.
8511 Use char because int might match the return type of a GCC
8512 builtin and then its argument prototype would still apply. */
8513 #ifdef __cplusplus
8514 extern "C"
8515 #endif
8516 char eglGetProcAddress ();
8518 main ()
8520 return eglGetProcAddress ();
8522 return 0;
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 case "$LIBEXT" in
8527 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8528 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'` ;;
8529 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8530 if ${ac_cv_lib_soname_EGL:+false} :; then :
8531 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8532 fi ;;
8533 esac
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 LIBS=$ac_check_soname_save_LIBS
8539 if ${ac_cv_lib_soname_EGL:+false} :; then :
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8541 $as_echo "not found" >&6; }
8543 else
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8545 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8547 cat >>confdefs.h <<_ACEOF
8548 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8549 _ACEOF
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8554 $as_echo_n "checking for -lGLESv2... " >&6; }
8555 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_check_soname_save_LIBS=$LIBS
8559 LIBS="-lGLESv2 $LIBS"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8563 /* Override any GCC internal prototype to avoid an error.
8564 Use char because int might match the return type of a GCC
8565 builtin and then its argument prototype would still apply. */
8566 #ifdef __cplusplus
8567 extern "C"
8568 #endif
8569 char glFlush ();
8571 main ()
8573 return glFlush ();
8575 return 0;
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 case "$LIBEXT" in
8580 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8581 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'` ;;
8582 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8583 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8584 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8585 fi ;;
8586 esac
8588 rm -f core conftest.err conftest.$ac_objext \
8589 conftest$ac_exeext conftest.$ac_ext
8590 LIBS=$ac_check_soname_save_LIBS
8592 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8594 $as_echo "not found" >&6; }
8596 else
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8598 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8600 cat >>confdefs.h <<_ACEOF
8601 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8602 _ACEOF
8607 if test "x$exec_prefix" = xNONE
8608 then
8609 case $host_cpu in
8610 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8611 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8612 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8613 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8614 esac
8619 DLLFLAGS="$DLLFLAGS -fPIC"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8621 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8622 if ${ac_cv_c_dll_gnuelf+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 void myfunc() {}
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 ac_cv_c_dll_gnuelf="yes"
8633 else
8634 ac_cv_c_dll_gnuelf="no"
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8641 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8642 if test "$ac_cv_c_dll_gnuelf" = "yes"
8643 then
8644 LIBWINE_LDFLAGS="-shared"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8646 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8647 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8658 else
8659 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8666 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8667 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8668 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8669 else
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8671 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8672 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8683 else
8684 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8691 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8692 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8693 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8697 echo '{ global: *; };' >conftest.map
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8699 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8700 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8711 else
8712 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8719 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8720 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8721 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8723 rm -f conftest.map
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8726 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8727 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8738 else
8739 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8746 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8747 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8748 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8751 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8753 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8754 if eval \${$as_ac_var+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 eval "$as_ac_var=yes"
8765 else
8766 eval "$as_ac_var=no"
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 eval ac_res=\$$as_ac_var
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8774 $as_echo "$ac_res" >&6; }
8775 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8776 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8777 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8778 else
8779 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8781 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8782 if eval \${$as_ac_var+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 int main(int argc, char **argv) { return 0; }
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 eval "$as_ac_var=yes"
8793 else
8794 eval "$as_ac_var=no"
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 eval ac_res=\$$as_ac_var
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8802 $as_echo "$ac_res" >&6; }
8803 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8804 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8805 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8810 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8811 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl___enable_new_dtags=yes
8822 else
8823 ac_cv_cflags__Wl___enable_new_dtags=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8830 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8831 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8832 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8835 case $host_cpu in
8836 *i[3456789]86* | x86_64)
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8838 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8839 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8850 else
8851 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8858 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8859 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8860 case $host_os in
8861 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8862 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8863 esac
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8866 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8867 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8878 else
8879 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8886 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8887 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8888 case $host_os in
8889 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8890 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8891 esac
8893 # Extract the first word of "prelink", so it can be a program name with args.
8894 set dummy prelink; ac_word=$2
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8896 $as_echo_n "checking for $ac_word... " >&6; }
8897 if ${ac_cv_path_PRELINK+:} false; then :
8898 $as_echo_n "(cached) " >&6
8899 else
8900 case $PRELINK in
8901 [\\/]* | ?:[\\/]*)
8902 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 for as_dir in /sbin /usr/sbin $PATH
8908 IFS=$as_save_IFS
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 break 2
8916 done
8917 done
8918 IFS=$as_save_IFS
8920 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8922 esac
8924 PRELINK=$ac_cv_path_PRELINK
8925 if test -n "$PRELINK"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8927 $as_echo "$PRELINK" >&6; }
8928 else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8934 if test "x$PRELINK" = xfalse
8935 then
8936 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8940 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8941 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_wine_try_cflags_saved=$CFLAGS
8945 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8948 int main(int argc, char **argv) { return 0; }
8949 _ACEOF
8950 if ac_fn_c_try_link "$LINENO"; then :
8951 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8952 else
8953 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8955 rm -f core conftest.err conftest.$ac_objext \
8956 conftest$ac_exeext conftest.$ac_ext
8957 CFLAGS=$ac_wine_try_cflags_saved
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8960 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8961 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8962 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8965 esac
8967 else
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8969 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8970 if ${ac_cv_c_dll_unixware+:} false; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 ac_wine_try_cflags_saved=$CFLAGS
8974 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8977 void myfunc() {}
8978 _ACEOF
8979 if ac_fn_c_try_link "$LINENO"; then :
8980 ac_cv_c_dll_unixware="yes"
8981 else
8982 ac_cv_c_dll_unixware="no"
8984 rm -f core conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 CFLAGS=$ac_wine_try_cflags_saved
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8989 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8990 if test "$ac_cv_c_dll_unixware" = "yes"
8991 then
8992 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8995 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8997 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8999 LIBWINE_INSTALL_DEV="libwine.so"
9001 LIBWINE_DEPENDS="wine.map"
9004 esac
9006 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9007 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9008 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9009 enable_winemac_drv=${enable_winemac_drv:-no}
9010 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9012 CROSSTARGET=""
9014 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9015 then
9016 case "$host_cpu" in
9017 arm*)
9018 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9019 i[3456789]86*)
9020 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
9021 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9022 mingw32-gcc" ;;
9023 x86_64)
9024 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
9025 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9027 ac_prefix_list="" ;;
9028 esac
9029 for ac_prog in $ac_prefix_list
9031 # Extract the first word of "$ac_prog", so it can be a program name with args.
9032 set dummy $ac_prog; ac_word=$2
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9034 $as_echo_n "checking for $ac_word... " >&6; }
9035 if ${ac_cv_prog_CROSSCC+:} false; then :
9036 $as_echo_n "(cached) " >&6
9037 else
9038 if test -n "$CROSSCC"; then
9039 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9040 else
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 for as_dir in $PATH
9044 IFS=$as_save_IFS
9045 test -z "$as_dir" && as_dir=.
9046 for ac_exec_ext in '' $ac_executable_extensions; do
9047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9048 ac_cv_prog_CROSSCC="$ac_prog"
9049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9050 break 2
9052 done
9053 done
9054 IFS=$as_save_IFS
9058 CROSSCC=$ac_cv_prog_CROSSCC
9059 if test -n "$CROSSCC"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9061 $as_echo "$CROSSCC" >&6; }
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9068 test -n "$CROSSCC" && break
9069 done
9070 test -n "$CROSSCC" || CROSSCC="false"
9072 if test "$CROSSCC" != "false"
9073 then
9074 ac_save_CC="$CC"
9075 CC="$CROSSCC"
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9077 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9082 main ()
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_compile "$LINENO"; then :
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9091 $as_echo "yes" >&6; }
9092 set x $CROSSCC
9093 shift
9094 while test $# -ge 1
9096 case "$1" in
9097 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9098 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9099 esac
9100 shift
9101 done
9102 else
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9107 CC="$ac_save_CC"
9112 if test "$ac_cv_header_pthread_h" = "yes"
9113 then
9114 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9115 if test "x$ac_cv_func_pthread_create" = xyes; then :
9117 else
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9119 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9120 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_check_lib_save_LIBS=$LIBS
9124 LIBS="-lpthread $LIBS"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9131 #ifdef __cplusplus
9132 extern "C"
9133 #endif
9134 char pthread_create ();
9136 main ()
9138 return pthread_create ();
9140 return 0;
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_lib_pthread_pthread_create=yes
9145 else
9146 ac_cv_lib_pthread_pthread_create=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LIBS=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9153 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9154 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9155 PTHREAD_LIBS="-lpthread"
9162 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9163 case "x$with_pthread" in
9164 xno) ;;
9165 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9166 Wine cannot support threads without libpthread.
9167 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9168 esac
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9174 $as_echo_n "checking for X... " >&6; }
9177 # Check whether --with-x was given.
9178 if test "${with_x+set}" = set; then :
9179 withval=$with_x;
9182 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9183 if test "x$with_x" = xno; then
9184 # The user explicitly disabled X.
9185 have_x=disabled
9186 else
9187 case $x_includes,$x_libraries in #(
9188 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9189 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 # One or both of the vars are not set, and there is no cached value.
9193 ac_x_includes=no ac_x_libraries=no
9194 rm -f -r conftest.dir
9195 if mkdir conftest.dir; then
9196 cd conftest.dir
9197 cat >Imakefile <<'_ACEOF'
9198 incroot:
9199 @echo incroot='${INCROOT}'
9200 usrlibdir:
9201 @echo usrlibdir='${USRLIBDIR}'
9202 libdir:
9203 @echo libdir='${LIBDIR}'
9204 _ACEOF
9205 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9207 for ac_var in incroot usrlibdir libdir; do
9208 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9209 done
9210 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9211 for ac_extension in a so sl dylib la dll; do
9212 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9213 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9214 ac_im_usrlibdir=$ac_im_libdir; break
9216 done
9217 # Screen out bogus values from the imake configuration. They are
9218 # bogus both because they are the default anyway, and because
9219 # using them would break gcc on systems where it needs fixed includes.
9220 case $ac_im_incroot in
9221 /usr/include) ac_x_includes= ;;
9222 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9223 esac
9224 case $ac_im_usrlibdir in
9225 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9226 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9227 esac
9229 cd ..
9230 rm -f -r conftest.dir
9233 # Standard set of common directories for X headers.
9234 # Check X11 before X11Rn because it is often a symlink to the current release.
9235 ac_x_header_dirs='
9236 /usr/X11/include
9237 /usr/X11R7/include
9238 /usr/X11R6/include
9239 /usr/X11R5/include
9240 /usr/X11R4/include
9242 /usr/include/X11
9243 /usr/include/X11R7
9244 /usr/include/X11R6
9245 /usr/include/X11R5
9246 /usr/include/X11R4
9248 /usr/local/X11/include
9249 /usr/local/X11R7/include
9250 /usr/local/X11R6/include
9251 /usr/local/X11R5/include
9252 /usr/local/X11R4/include
9254 /usr/local/include/X11
9255 /usr/local/include/X11R7
9256 /usr/local/include/X11R6
9257 /usr/local/include/X11R5
9258 /usr/local/include/X11R4
9260 /usr/X386/include
9261 /usr/x386/include
9262 /usr/XFree86/include/X11
9264 /usr/include
9265 /usr/local/include
9266 /usr/unsupported/include
9267 /usr/athena/include
9268 /usr/local/x11r5/include
9269 /usr/lpp/Xamples/include
9271 /usr/openwin/include
9272 /usr/openwin/share/include'
9274 if test "$ac_x_includes" = no; then
9275 # Guess where to find include files, by looking for Xlib.h.
9276 # First, try using that file with no special directory specified.
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9279 #include <X11/Xlib.h>
9280 _ACEOF
9281 if ac_fn_c_try_cpp "$LINENO"; then :
9282 # We can compile using X headers with no special include directory.
9283 ac_x_includes=
9284 else
9285 for ac_dir in $ac_x_header_dirs; do
9286 if test -r "$ac_dir/X11/Xlib.h"; then
9287 ac_x_includes=$ac_dir
9288 break
9290 done
9292 rm -f conftest.err conftest.i conftest.$ac_ext
9293 fi # $ac_x_includes = no
9295 if test "$ac_x_libraries" = no; then
9296 # Check for the libraries.
9297 # See if we find them without any special options.
9298 # Don't add to $LIBS permanently.
9299 ac_save_LIBS=$LIBS
9300 LIBS="-lX11 $LIBS"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 #include <X11/Xlib.h>
9305 main ()
9307 XrmInitialize ()
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 LIBS=$ac_save_LIBS
9314 # We can link X programs with no special library path.
9315 ac_x_libraries=
9316 else
9317 LIBS=$ac_save_LIBS
9318 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9320 # Don't even attempt the hair of trying to link an X program!
9321 for ac_extension in a so sl dylib la dll; do
9322 if test -r "$ac_dir/libX11.$ac_extension"; then
9323 ac_x_libraries=$ac_dir
9324 break 2
9326 done
9327 done
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 fi # $ac_x_libraries = no
9333 case $ac_x_includes,$ac_x_libraries in #(
9334 no,* | *,no | *\'*)
9335 # Didn't find X, or a directory has "'" in its name.
9336 ac_cv_have_x="have_x=no";; #(
9338 # Record where we found X for the cache.
9339 ac_cv_have_x="have_x=yes\
9340 ac_x_includes='$ac_x_includes'\
9341 ac_x_libraries='$ac_x_libraries'"
9342 esac
9344 ;; #(
9345 *) have_x=yes;;
9346 esac
9347 eval "$ac_cv_have_x"
9348 fi # $with_x != no
9350 if test "$have_x" != yes; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9352 $as_echo "$have_x" >&6; }
9353 no_x=yes
9354 else
9355 # If each of the values was on the command line, it overrides each guess.
9356 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9357 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9358 # Update the cache value to reflect the command line values.
9359 ac_cv_have_x="have_x=yes\
9360 ac_x_includes='$x_includes'\
9361 ac_x_libraries='$x_libraries'"
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9363 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9366 if test "$no_x" = yes; then
9367 # Not all programs may use this symbol, but it does not hurt to define it.
9369 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9371 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9372 else
9373 if test -n "$x_includes"; then
9374 X_CFLAGS="$X_CFLAGS -I$x_includes"
9377 # It would also be nice to do this for all -L options, not just this one.
9378 if test -n "$x_libraries"; then
9379 X_LIBS="$X_LIBS -L$x_libraries"
9380 # For Solaris; some versions of Sun CC require a space after -R and
9381 # others require no space. Words are not sufficient . . . .
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9383 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9384 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9385 ac_xsave_c_werror_flag=$ac_c_werror_flag
9386 ac_c_werror_flag=yes
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9391 main ()
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 $as_echo "no" >&6; }
9401 X_LIBS="$X_LIBS -R$x_libraries"
9402 else
9403 LIBS="$ac_xsave_LIBS -R $x_libraries"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9408 main ()
9412 return 0;
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9417 $as_echo "yes" >&6; }
9418 X_LIBS="$X_LIBS -R $x_libraries"
9419 else
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9421 $as_echo "neither works" >&6; }
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 ac_c_werror_flag=$ac_xsave_c_werror_flag
9429 LIBS=$ac_xsave_LIBS
9432 # Check for system-dependent libraries X programs must link with.
9433 # Do this before checking for the system-independent R6 libraries
9434 # (-lICE), since we may need -lsocket or whatever for X linking.
9436 if test "$ISC" = yes; then
9437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9438 else
9439 # Martyn Johnson says this is needed for Ultrix, if the X
9440 # libraries were built with DECnet support. And Karl Berry says
9441 # the Alpha needs dnet_stub (dnet does not exist).
9442 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9449 #ifdef __cplusplus
9450 extern "C"
9451 #endif
9452 char XOpenDisplay ();
9454 main ()
9456 return XOpenDisplay ();
9458 return 0;
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9463 else
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9465 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9466 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-ldnet $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char dnet_ntoa ();
9482 main ()
9484 return dnet_ntoa ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_dnet_dnet_ntoa=yes
9491 else
9492 ac_cv_lib_dnet_dnet_ntoa=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9499 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9500 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9501 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9504 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9506 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9507 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_check_lib_save_LIBS=$LIBS
9511 LIBS="-ldnet_stub $LIBS"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char dnet_ntoa ();
9523 main ()
9525 return dnet_ntoa ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9532 else
9533 ac_cv_lib_dnet_stub_dnet_ntoa=no
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 LIBS=$ac_check_lib_save_LIBS
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9540 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9541 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9542 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS="$ac_xsave_LIBS"
9551 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9552 # to get the SysV transport functions.
9553 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9554 # needs -lnsl.
9555 # The nsl library prevents programs from opening the X display
9556 # on Irix 5.2, according to T.E. Dickey.
9557 # The functions gethostbyname, getservbyname, and inet_addr are
9558 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9559 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9560 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9564 if test $ac_cv_func_gethostbyname = no; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9566 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9567 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_check_lib_save_LIBS=$LIBS
9571 LIBS="-lnsl $LIBS"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9578 #ifdef __cplusplus
9579 extern "C"
9580 #endif
9581 char gethostbyname ();
9583 main ()
9585 return gethostbyname ();
9587 return 0;
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_lib_nsl_gethostbyname=yes
9592 else
9593 ac_cv_lib_nsl_gethostbyname=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9600 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9601 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9605 if test $ac_cv_lib_nsl_gethostbyname = no; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9607 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9608 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 ac_check_lib_save_LIBS=$LIBS
9612 LIBS="-lbsd $LIBS"
9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9619 #ifdef __cplusplus
9620 extern "C"
9621 #endif
9622 char gethostbyname ();
9624 main ()
9626 return gethostbyname ();
9628 return 0;
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 ac_cv_lib_bsd_gethostbyname=yes
9633 else
9634 ac_cv_lib_bsd_gethostbyname=no
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9641 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9642 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9643 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9649 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9650 # socket/setsockopt and other routines are undefined under SCO ODT
9651 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9652 # on later versions), says Simon Leinen: it contains gethostby*
9653 # variants that don't use the name server (or something). -lsocket
9654 # must be given before -lnsl if both are needed. We assume that
9655 # if connect needs -lnsl, so does gethostbyname.
9656 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9657 if test "x$ac_cv_func_connect" = xyes; then :
9661 if test $ac_cv_func_connect = no; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9663 $as_echo_n "checking for connect in -lsocket... " >&6; }
9664 if ${ac_cv_lib_socket_connect+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 ac_check_lib_save_LIBS=$LIBS
9668 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char connect ();
9680 main ()
9682 return connect ();
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 ac_cv_lib_socket_connect=yes
9689 else
9690 ac_cv_lib_socket_connect=no
9692 rm -f core conftest.err conftest.$ac_objext \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9697 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9698 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9699 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9704 # Guillermo Gomez says -lposix is necessary on A/UX.
9705 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9706 if test "x$ac_cv_func_remove" = xyes; then :
9710 if test $ac_cv_func_remove = no; then
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9712 $as_echo_n "checking for remove in -lposix... " >&6; }
9713 if ${ac_cv_lib_posix_remove+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_check_lib_save_LIBS=$LIBS
9717 LIBS="-lposix $LIBS"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9724 #ifdef __cplusplus
9725 extern "C"
9726 #endif
9727 char remove ();
9729 main ()
9731 return remove ();
9733 return 0;
9735 _ACEOF
9736 if ac_fn_c_try_link "$LINENO"; then :
9737 ac_cv_lib_posix_remove=yes
9738 else
9739 ac_cv_lib_posix_remove=no
9741 rm -f core conftest.err conftest.$ac_objext \
9742 conftest$ac_exeext conftest.$ac_ext
9743 LIBS=$ac_check_lib_save_LIBS
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9746 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9747 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9748 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9753 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9754 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9755 if test "x$ac_cv_func_shmat" = xyes; then :
9759 if test $ac_cv_func_shmat = no; then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9761 $as_echo_n "checking for shmat in -lipc... " >&6; }
9762 if ${ac_cv_lib_ipc_shmat+:} false; then :
9763 $as_echo_n "(cached) " >&6
9764 else
9765 ac_check_lib_save_LIBS=$LIBS
9766 LIBS="-lipc $LIBS"
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9773 #ifdef __cplusplus
9774 extern "C"
9775 #endif
9776 char shmat ();
9778 main ()
9780 return shmat ();
9782 return 0;
9784 _ACEOF
9785 if ac_fn_c_try_link "$LINENO"; then :
9786 ac_cv_lib_ipc_shmat=yes
9787 else
9788 ac_cv_lib_ipc_shmat=no
9790 rm -f core conftest.err conftest.$ac_objext \
9791 conftest$ac_exeext conftest.$ac_ext
9792 LIBS=$ac_check_lib_save_LIBS
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9795 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9796 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9797 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9803 # Check for libraries that X11R6 Xt/Xaw programs need.
9804 ac_save_LDFLAGS=$LDFLAGS
9805 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9806 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9807 # check for ICE first), but we must link in the order -lSM -lICE or
9808 # we get undefined symbols. So assume we have SM if we have ICE.
9809 # These have to be linked with before -lX11, unlike the other
9810 # libraries we check for below, so use a different variable.
9811 # John Interrante, Karl Berry
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9813 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9814 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9822 /* Override any GCC internal prototype to avoid an error.
9823 Use char because int might match the return type of a GCC
9824 builtin and then its argument prototype would still apply. */
9825 #ifdef __cplusplus
9826 extern "C"
9827 #endif
9828 char IceConnectionNumber ();
9830 main ()
9832 return IceConnectionNumber ();
9834 return 0;
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 ac_cv_lib_ICE_IceConnectionNumber=yes
9839 else
9840 ac_cv_lib_ICE_IceConnectionNumber=no
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9847 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9848 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9849 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9852 LDFLAGS=$ac_save_LDFLAGS
9857 if test "$have_x" = "yes"
9858 then
9859 ac_save_CPPFLAGS="$CPPFLAGS"
9860 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9863 $as_echo_n "checking for -lX11... " >&6; }
9864 if ${ac_cv_lib_soname_X11+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_check_soname_save_LIBS=$LIBS
9868 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char XCreateWindow ();
9880 main ()
9882 return XCreateWindow ();
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 case "$LIBEXT" in
9889 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9890 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'` ;;
9891 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9892 if ${ac_cv_lib_soname_X11:+false} :; then :
9893 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9894 fi ;;
9895 esac
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_soname_save_LIBS
9901 if ${ac_cv_lib_soname_X11:+false} :; then :
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9903 $as_echo "not found" >&6; }
9905 else
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9907 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9909 cat >>confdefs.h <<_ACEOF
9910 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9911 _ACEOF
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9916 $as_echo_n "checking for -lXext... " >&6; }
9917 if ${ac_cv_lib_soname_Xext+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_soname_save_LIBS=$LIBS
9921 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XextCreateExtension ();
9933 main ()
9935 return XextCreateExtension ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 case "$LIBEXT" in
9942 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_Xext:+false} :; then :
9946 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 fi ;;
9948 esac
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_Xext:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9958 else
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9960 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9962 cat >>confdefs.h <<_ACEOF
9963 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9964 _ACEOF
9966 X_LIBS="$X_LIBS -lXext"
9968 X_LIBS="$X_LIBS -lX11"
9970 for ac_header in X11/Xlib.h \
9971 X11/XKBlib.h \
9972 X11/Xutil.h \
9973 X11/Xcursor/Xcursor.h \
9974 X11/extensions/shape.h \
9975 X11/extensions/XInput.h \
9976 X11/extensions/XInput2.h \
9977 X11/extensions/XShm.h \
9978 X11/extensions/Xcomposite.h \
9979 X11/extensions/Xfixes.h \
9980 X11/extensions/Xinerama.h \
9981 X11/extensions/Xrandr.h \
9982 X11/extensions/Xrender.h \
9983 X11/extensions/xf86vmode.h \
9984 X11/extensions/xf86vmproto.h
9985 do :
9986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9988 # include <X11/Xlib.h>
9989 #endif
9990 #ifdef HAVE_X11_XUTIL_H
9991 # include <X11/Xutil.h>
9992 #endif
9994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9995 cat >>confdefs.h <<_ACEOF
9996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9997 _ACEOF
10001 done
10004 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10005 then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10007 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10008 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XkbQueryExtension ();
10024 main ()
10026 return XkbQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_lib_X11_XkbQueryExtension=yes
10033 else
10034 ac_cv_lib_X11_XkbQueryExtension=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_lib_save_LIBS
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10041 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10042 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10044 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10050 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10051 then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10053 $as_echo_n "checking for -lXcursor... " >&6; }
10054 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_check_soname_save_LIBS=$LIBS
10058 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10065 #ifdef __cplusplus
10066 extern "C"
10067 #endif
10068 char XcursorImageLoadCursor ();
10070 main ()
10072 return XcursorImageLoadCursor ();
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 case "$LIBEXT" in
10079 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10083 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10084 fi ;;
10085 esac
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 LIBS=$ac_check_soname_save_LIBS
10091 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10093 $as_echo "not found" >&6; }
10095 else
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10097 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10099 cat >>confdefs.h <<_ACEOF
10100 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10101 _ACEOF
10106 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10107 case "x$with_xcursor" in
10108 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10111 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10112 esac
10116 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10117 then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10119 $as_echo_n "checking for -lXi... " >&6; }
10120 if ${ac_cv_lib_soname_Xi+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_soname_save_LIBS=$LIBS
10124 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char XOpenDevice ();
10136 main ()
10138 return XOpenDevice ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 case "$LIBEXT" in
10145 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10146 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'` ;;
10147 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10148 if ${ac_cv_lib_soname_Xi:+false} :; then :
10149 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10150 fi ;;
10151 esac
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS=$ac_check_soname_save_LIBS
10157 if ${ac_cv_lib_soname_Xi:+false} :; then :
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10159 $as_echo "not found" >&6; }
10161 else
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10163 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10165 cat >>confdefs.h <<_ACEOF
10166 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10167 _ACEOF
10172 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10173 case "x$with_xinput" in
10174 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10175 xno) ;;
10176 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10177 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10178 esac
10182 if test "x$ac_cv_lib_soname_Xi" != x
10183 then
10184 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10185 case "x$with_xinput2" in
10186 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10187 xno) ;;
10188 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10189 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10190 esac
10195 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10196 then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10198 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10199 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char XShmQueryExtension ();
10215 main ()
10217 return XShmQueryExtension ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_lib_Xext_XShmQueryExtension=yes
10224 else
10225 ac_cv_lib_Xext_XShmQueryExtension=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10232 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10233 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10235 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10240 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10241 case "x$with_xshm" in
10242 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10243 xno) ;;
10244 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10245 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10246 esac
10250 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10251 then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10253 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10254 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_check_lib_save_LIBS=$LIBS
10258 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10265 #ifdef __cplusplus
10266 extern "C"
10267 #endif
10268 char XShapeQueryExtension ();
10270 main ()
10272 return XShapeQueryExtension ();
10274 return 0;
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"; then :
10278 ac_cv_lib_Xext_XShapeQueryExtension=yes
10279 else
10280 ac_cv_lib_Xext_XShapeQueryExtension=no
10282 rm -f core conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10284 LIBS=$ac_check_lib_save_LIBS
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10287 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10288 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10290 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10295 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10296 case "x$with_xshape" in
10297 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10298 xno) ;;
10299 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10300 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10301 esac
10305 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10306 then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10308 $as_echo_n "checking for -lXxf86vm... " >&6; }
10309 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char XF86VidModeQueryExtension ();
10325 main ()
10327 return XF86VidModeQueryExtension ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 case "$LIBEXT" in
10334 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10337 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10338 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 fi ;;
10340 esac
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_soname_save_LIBS
10346 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10348 $as_echo "not found" >&6; }
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10352 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10356 _ACEOF
10361 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10362 case "x$with_xxf86vm" in
10363 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10364 xno) ;;
10365 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10366 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10367 esac
10371 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10372 then
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10374 $as_echo_n "checking for -lXrender... " >&6; }
10375 if ${ac_cv_lib_soname_Xrender+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_check_soname_save_LIBS=$LIBS
10379 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10386 #ifdef __cplusplus
10387 extern "C"
10388 #endif
10389 char XRenderQueryExtension ();
10391 main ()
10393 return XRenderQueryExtension ();
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 case "$LIBEXT" in
10400 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10401 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'` ;;
10402 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10403 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10404 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10405 fi ;;
10406 esac
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_soname_save_LIBS
10412 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10414 $as_echo "not found" >&6; }
10416 else
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10418 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10420 cat >>confdefs.h <<_ACEOF
10421 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10422 _ACEOF
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10425 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10426 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_check_lib_save_LIBS=$LIBS
10430 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10434 /* Override any GCC internal prototype to avoid an error.
10435 Use char because int might match the return type of a GCC
10436 builtin and then its argument prototype would still apply. */
10437 #ifdef __cplusplus
10438 extern "C"
10439 #endif
10440 char XRenderSetPictureTransform ();
10442 main ()
10444 return XRenderSetPictureTransform ();
10446 return 0;
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10451 else
10452 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 LIBS=$ac_check_lib_save_LIBS
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10459 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10460 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10462 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10467 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10468 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10469 $as_echo_n "(cached) " >&6
10470 else
10471 ac_check_lib_save_LIBS=$LIBS
10472 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10479 #ifdef __cplusplus
10480 extern "C"
10481 #endif
10482 char XRenderCreateLinearGradient ();
10484 main ()
10486 return XRenderCreateLinearGradient ();
10488 return 0;
10490 _ACEOF
10491 if ac_fn_c_try_link "$LINENO"; then :
10492 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10493 else
10494 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10501 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10502 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10504 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10511 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10512 case "x$with_xrender" in
10513 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10514 xno) ;;
10515 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10516 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10517 esac
10521 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10522 then
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10525 #include <X11/Xlib.h>
10526 #include <X11/extensions/Xrandr.h>
10528 main ()
10530 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_compile "$LINENO"; then :
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10537 $as_echo_n "checking for -lXrandr... " >&6; }
10538 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_check_soname_save_LIBS=$LIBS
10542 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10549 #ifdef __cplusplus
10550 extern "C"
10551 #endif
10552 char XRRQueryExtension ();
10554 main ()
10556 return XRRQueryExtension ();
10558 return 0;
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 case "$LIBEXT" in
10563 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10564 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'` ;;
10565 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10566 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10567 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10568 fi ;;
10569 esac
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_soname_save_LIBS
10575 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10577 $as_echo "not found" >&6; }
10579 else
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10581 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10583 cat >>confdefs.h <<_ACEOF
10584 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10585 _ACEOF
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10589 #include <X11/Xlib.h>
10590 #include <X11/extensions/Xrandr.h>
10592 main ()
10594 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10596 return 0;
10598 _ACEOF
10599 if ac_fn_c_try_compile "$LINENO"; then :
10601 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10609 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10610 case "x$with_xrandr" in
10611 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10612 xno) ;;
10613 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10614 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10615 esac
10619 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10620 then
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10623 #include <X11/Xlib.h>
10624 #include <X11/extensions/Xfixes.h>
10626 main ()
10628 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_compile "$LINENO"; then :
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10635 $as_echo_n "checking for -lXfixes... " >&6; }
10636 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_check_soname_save_LIBS=$LIBS
10640 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char XFixesQueryVersion ();
10652 main ()
10654 return XFixesQueryVersion ();
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 case "$LIBEXT" in
10661 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10662 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'` ;;
10663 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10664 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10665 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10666 fi ;;
10667 esac
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_soname_save_LIBS
10673 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10675 $as_echo "not found" >&6; }
10677 else
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10679 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10681 cat >>confdefs.h <<_ACEOF
10682 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10683 _ACEOF
10688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10690 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10691 case "x$with_xfixes" in
10692 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10693 xno) ;;
10694 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10695 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10696 esac
10700 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10701 then
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 #include <X11/Xlib.h>
10705 #include <X11/extensions/Xinerama.h>
10707 main ()
10709 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_compile "$LINENO"; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10716 $as_echo_n "checking for -lXinerama... " >&6; }
10717 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char XineramaQueryScreens ();
10733 main ()
10735 return XineramaQueryScreens ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 case "$LIBEXT" in
10742 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10743 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'` ;;
10744 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10745 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10746 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10747 fi ;;
10748 esac
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LIBS=$ac_check_soname_save_LIBS
10754 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10756 $as_echo "not found" >&6; }
10758 else
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10760 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10762 cat >>confdefs.h <<_ACEOF
10763 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10764 _ACEOF
10769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10771 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10772 case "x$with_xinerama" in
10773 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10774 xno) ;;
10775 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10776 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10777 esac
10781 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10782 then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10784 $as_echo_n "checking for -lXcomposite... " >&6; }
10785 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_soname_save_LIBS=$LIBS
10789 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char XCompositeRedirectWindow ();
10801 main ()
10803 return XCompositeRedirectWindow ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 case "$LIBEXT" in
10810 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10811 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'` ;;
10812 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10813 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10814 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10815 fi ;;
10816 esac
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_soname_save_LIBS
10822 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10824 $as_echo "not found" >&6; }
10826 else
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10828 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10830 cat >>confdefs.h <<_ACEOF
10831 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10832 _ACEOF
10837 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10838 case "x$with_xcomposite" in
10839 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10840 xno) ;;
10841 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10842 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10843 esac
10847 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10848 #include <X11/Xlib.h>
10849 #endif
10851 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10853 cat >>confdefs.h <<_ACEOF
10854 #define HAVE_XICCALLBACK_CALLBACK 1
10855 _ACEOF
10859 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10860 #include <X11/Xlib.h>
10861 #endif
10863 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10865 cat >>confdefs.h <<_ACEOF
10866 #define HAVE_XEVENT_XCOOKIE 1
10867 _ACEOF
10874 opengl_msg=""
10875 if test "x$with_opengl" != "xno"
10876 then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10878 $as_echo_n "checking for -lGL... " >&6; }
10879 if ${ac_cv_lib_soname_GL+:} false; then :
10880 $as_echo_n "(cached) " >&6
10881 else
10882 ac_check_soname_save_LIBS=$LIBS
10883 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char glXCreateContext ();
10895 main ()
10897 return glXCreateContext ();
10899 return 0;
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 case "$LIBEXT" in
10904 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10905 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'` ;;
10906 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10907 if ${ac_cv_lib_soname_GL:+false} :; then :
10908 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10909 fi ;;
10910 esac
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_soname_save_LIBS
10916 if ${ac_cv_lib_soname_GL:+false} :; then :
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10918 $as_echo "not found" >&6; }
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10920 $as_echo_n "checking for -lGL... " >&6; }
10921 if ${ac_cv_lib_soname_GL+:} false; then :
10922 $as_echo_n "(cached) " >&6
10923 else
10924 ac_check_soname_save_LIBS=$LIBS
10925 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"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10932 #ifdef __cplusplus
10933 extern "C"
10934 #endif
10935 char glXCreateContext ();
10937 main ()
10939 return glXCreateContext ();
10941 return 0;
10943 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"; then :
10945 case "$LIBEXT" in
10946 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10947 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'` ;;
10948 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10949 if ${ac_cv_lib_soname_GL:+false} :; then :
10950 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10951 fi ;;
10952 esac
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_soname_save_LIBS
10958 if ${ac_cv_lib_soname_GL:+false} :; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10960 $as_echo "not found" >&6; }
10961 if test -f /usr/X11R6/lib/libGL.a
10962 then
10963 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10964 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10965 else
10966 opengl_msg="No OpenGL library found on this system."
10968 else
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10970 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10972 cat >>confdefs.h <<_ACEOF
10973 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10974 _ACEOF
10976 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"
10978 else
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10980 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10982 cat >>confdefs.h <<_ACEOF
10983 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10984 _ACEOF
10986 OPENGL_LIBS="-lGL"
10988 if test "x$with_glu" != "xno"
10989 then
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10991 $as_echo_n "checking for -lGLU... " >&6; }
10992 if ${ac_cv_lib_soname_GLU+:} false; then :
10993 $as_echo_n "(cached) " >&6
10994 else
10995 ac_check_soname_save_LIBS=$LIBS
10996 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11003 #ifdef __cplusplus
11004 extern "C"
11005 #endif
11006 char gluLookAt ();
11008 main ()
11010 return gluLookAt ();
11012 return 0;
11014 _ACEOF
11015 if ac_fn_c_try_link "$LINENO"; then :
11016 case "$LIBEXT" in
11017 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11018 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'` ;;
11019 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11020 if ${ac_cv_lib_soname_GLU:+false} :; then :
11021 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11022 fi ;;
11023 esac
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_soname_save_LIBS
11029 if ${ac_cv_lib_soname_GLU:+false} :; then :
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11031 $as_echo "not found" >&6; }
11033 else
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11035 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11037 cat >>confdefs.h <<_ACEOF
11038 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11039 _ACEOF
11043 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11044 case "x$with_glu" in
11045 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11046 xno) ;;
11047 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11048 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11049 esac
11054 if test "x$with_osmesa" != "xno"
11055 then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11057 $as_echo_n "checking for -lOSMesa... " >&6; }
11058 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_soname_save_LIBS=$LIBS
11062 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char OSMesaGetProcAddress ();
11074 main ()
11076 return OSMesaGetProcAddress ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 case "$LIBEXT" in
11083 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11084 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'` ;;
11085 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11086 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11087 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11088 fi ;;
11089 esac
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_soname_save_LIBS
11095 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11097 $as_echo "not found" >&6; }
11099 else
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11101 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11103 cat >>confdefs.h <<_ACEOF
11104 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11105 _ACEOF
11109 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11110 case "x$with_osmesa" in
11111 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11112 xno) ;;
11113 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11114 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11115 esac
11120 if test -n "$opengl_msg"; then :
11121 case "x$with_opengl" in
11122 x) as_fn_append wine_warnings "|$opengl_msg
11123 OpenGL and Direct3D won't be supported." ;;
11124 xno) ;;
11125 *) as_fn_error $? "$opengl_msg
11126 OpenGL and Direct3D won't be supported.
11127 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11128 esac
11132 CPPFLAGS="$ac_save_CPPFLAGS"
11133 else
11134 X_CFLAGS=""
11135 X_LIBS=""
11138 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11139 then
11140 if test "x$X_LIBS" = "x"; then :
11141 case "x$with_x" in
11142 xno) ;;
11143 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11144 without X support, which probably isn't what you want. You will need
11145 to install ${notice_platform}development packages of Xlib at the very least.
11146 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11147 esac
11148 enable_winex11_drv=${enable_winex11_drv:-no}
11150 else
11151 if test "x$X_LIBS" = "x"; then :
11152 case "x$with_x" in
11153 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11154 xno) ;;
11155 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11156 This is an error since --with-x was requested." "$LINENO" 5 ;;
11157 esac
11158 enable_winex11_drv=${enable_winex11_drv:-no}
11162 if test "$ac_cv_header_CL_cl_h" = "yes"
11163 then
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11165 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11166 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11167 $as_echo_n "(cached) " >&6
11168 else
11169 ac_check_lib_save_LIBS=$LIBS
11170 LIBS="-lOpenCL $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11177 #ifdef __cplusplus
11178 extern "C"
11179 #endif
11180 char clGetPlatformInfo ();
11182 main ()
11184 return clGetPlatformInfo ();
11186 return 0;
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"; then :
11190 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11191 else
11192 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11199 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11200 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11201 OPENCL_LIBS="-lOpenCL"
11206 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11207 case "x$with_opencl" in
11208 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11209 xno) ;;
11210 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11211 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11212 esac
11213 enable_opencl=${enable_opencl:-no}
11216 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11217 then
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11219 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11220 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lpcap $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char pcap_create ();
11236 main ()
11238 return pcap_create ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_pcap_pcap_create=yes
11245 else
11246 ac_cv_lib_pcap_pcap_create=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11253 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11254 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11255 PCAP_LIBS="-lpcap"
11260 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11261 case "x$with_pcap" in
11262 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11263 xno) ;;
11264 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11265 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11266 esac
11267 enable_wpcap=${enable_wpcap:-no}
11271 if test "x$with_xml" != "xno"
11272 then
11273 if ${XML2_CFLAGS:+false} :; then :
11274 if ${PKG_CONFIG+:} false; then :
11275 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11278 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11279 if ${XML2_LIBS:+false} :; then :
11280 if ${PKG_CONFIG+:} false; then :
11281 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11284 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11285 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11286 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11287 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11288 ac_save_CPPFLAGS=$CPPFLAGS
11289 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11290 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11291 do :
11292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11293 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11294 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11295 cat >>confdefs.h <<_ACEOF
11296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11297 _ACEOF
11301 done
11303 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"
11304 then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11306 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11307 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11308 $as_echo_n "(cached) " >&6
11309 else
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lxml2 $XML2_LIBS $LIBS"
11312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11313 /* end confdefs.h. */
11315 /* Override any GCC internal prototype to avoid an error.
11316 Use char because int might match the return type of a GCC
11317 builtin and then its argument prototype would still apply. */
11318 #ifdef __cplusplus
11319 extern "C"
11320 #endif
11321 char xmlParseMemory ();
11323 main ()
11325 return xmlParseMemory ();
11327 return 0;
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"; then :
11331 ac_cv_lib_xml2_xmlParseMemory=yes
11332 else
11333 ac_cv_lib_xml2_xmlParseMemory=no
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_lib_save_LIBS
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11340 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11341 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11343 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11345 else
11346 XML2_LIBS=""
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11350 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11351 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-lxml2 $XML2_LIBS $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char xmlReadMemory ();
11367 main ()
11369 return xmlReadMemory ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 ac_cv_lib_xml2_xmlReadMemory=yes
11376 else
11377 ac_cv_lib_xml2_xmlReadMemory=no
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_lib_save_LIBS
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11384 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11385 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11387 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11392 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11393 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-lxml2 $XML2_LIBS $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char xmlNewDocPI ();
11409 main ()
11411 return xmlNewDocPI ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 ac_cv_lib_xml2_xmlNewDocPI=yes
11418 else
11419 ac_cv_lib_xml2_xmlNewDocPI=no
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_lib_save_LIBS
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11426 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11427 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11429 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11434 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11435 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-lxml2 $XML2_LIBS $LIBS"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11446 #ifdef __cplusplus
11447 extern "C"
11448 #endif
11449 char xmlSchemaSetParserStructuredErrors ();
11451 main ()
11453 return xmlSchemaSetParserStructuredErrors ();
11455 return 0;
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"; then :
11459 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11460 else
11461 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_lib_save_LIBS
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11468 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11469 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11471 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11476 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11477 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_lib_save_LIBS=$LIBS
11481 LIBS="-lxml2 $XML2_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char xmlSchemaSetValidStructuredErrors ();
11493 main ()
11495 return xmlSchemaSetValidStructuredErrors ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11502 else
11503 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11510 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11511 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11513 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11518 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11519 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11520 $as_echo_n "(cached) " >&6
11521 else
11522 ac_check_lib_save_LIBS=$LIBS
11523 LIBS="-lxml2 $XML2_LIBS $LIBS"
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11530 #ifdef __cplusplus
11531 extern "C"
11532 #endif
11533 char xmlFirstElementChild ();
11535 main ()
11537 return xmlFirstElementChild ();
11539 return 0;
11541 _ACEOF
11542 if ac_fn_c_try_link "$LINENO"; then :
11543 ac_cv_lib_xml2_xmlFirstElementChild=yes
11544 else
11545 ac_cv_lib_xml2_xmlFirstElementChild=no
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11552 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11553 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11555 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11559 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11561 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11563 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11567 else
11568 XML2_CFLAGS=""
11569 XML2_LIBS=""
11571 CPPFLAGS=$ac_save_CPPFLAGS
11572 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11573 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11576 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11577 case "x$with_xml" in
11578 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11579 xno) ;;
11580 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11581 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11582 esac
11586 if test "x$with_xslt" != "xno"
11587 then
11588 if ${XSLT_CFLAGS:+false} :; then :
11589 if ${PKG_CONFIG+:} false; then :
11590 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11593 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11594 if ${XSLT_LIBS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11599 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11600 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11601 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11603 ac_save_CPPFLAGS=$CPPFLAGS
11604 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11605 for ac_header in libxslt/pattern.h libxslt/transform.h
11606 do :
11607 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11608 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11609 # include <libxslt/pattern.h>
11610 #endif
11612 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11613 cat >>confdefs.h <<_ACEOF
11614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11615 _ACEOF
11619 done
11621 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11622 then
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11624 $as_echo_n "checking for -lxslt... " >&6; }
11625 if ${ac_cv_lib_soname_xslt+:} false; then :
11626 $as_echo_n "(cached) " >&6
11627 else
11628 ac_check_soname_save_LIBS=$LIBS
11629 LIBS="-lxslt $XSLT_LIBS $LIBS"
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11636 #ifdef __cplusplus
11637 extern "C"
11638 #endif
11639 char xsltCompilePattern ();
11641 main ()
11643 return xsltCompilePattern ();
11645 return 0;
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"; then :
11649 case "$LIBEXT" in
11650 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11651 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'` ;;
11652 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11653 if ${ac_cv_lib_soname_xslt:+false} :; then :
11654 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11655 fi ;;
11656 esac
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_soname_save_LIBS
11662 if ${ac_cv_lib_soname_xslt:+false} :; then :
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11664 $as_echo "not found" >&6; }
11666 else
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11668 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11670 cat >>confdefs.h <<_ACEOF
11671 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11672 _ACEOF
11676 else
11677 XSLT_CFLAGS=""
11679 CPPFLAGS=$ac_save_CPPFLAGS
11680 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11681 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11684 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11685 case "x$with_xslt" in
11686 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11687 xno) ;;
11688 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11689 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11690 esac
11694 if test "x$with_dbus" != "xno"
11695 then
11696 if ${DBUS_CFLAGS:+false} :; then :
11697 if ${PKG_CONFIG+:} false; then :
11698 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11702 if ${DBUS_LIBS:+false} :; then :
11703 if ${PKG_CONFIG+:} false; then :
11704 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11709 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11710 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11711 ac_save_CPPFLAGS=$CPPFLAGS
11712 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11713 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11714 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11716 $as_echo_n "checking for -ldbus-1... " >&6; }
11717 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11718 $as_echo_n "(cached) " >&6
11719 else
11720 ac_check_soname_save_LIBS=$LIBS
11721 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char dbus_connection_close ();
11733 main ()
11735 return dbus_connection_close ();
11737 return 0;
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"; then :
11741 case "$LIBEXT" in
11742 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11743 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'` ;;
11744 *) 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'`
11745 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11746 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11747 fi ;;
11748 esac
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11757 DBUS_CFLAGS=""
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11760 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11764 _ACEOF
11768 else
11769 DBUS_CFLAGS=""
11773 CPPFLAGS=$ac_save_CPPFLAGS
11774 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11775 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11778 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11779 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11780 case "x$with_dbus" in
11781 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11784 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11785 esac
11789 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11790 then
11791 if ${HAL_CFLAGS:+false} :; then :
11792 if ${PKG_CONFIG+:} false; then :
11793 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11797 if ${HAL_LIBS:+false} :; then :
11798 if ${PKG_CONFIG+:} false; then :
11799 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11803 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11804 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11806 ac_save_CPPFLAGS=$CPPFLAGS
11807 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11808 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11809 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11811 $as_echo_n "checking for -lhal... " >&6; }
11812 if ${ac_cv_lib_soname_hal+:} false; then :
11813 $as_echo_n "(cached) " >&6
11814 else
11815 ac_check_soname_save_LIBS=$LIBS
11816 LIBS="-lhal $HAL_LIBS $LIBS"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 char libhal_ctx_new ();
11828 main ()
11830 return libhal_ctx_new ();
11832 return 0;
11834 _ACEOF
11835 if ac_fn_c_try_link "$LINENO"; then :
11836 case "$LIBEXT" in
11837 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11838 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'` ;;
11839 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11840 if ${ac_cv_lib_soname_hal:+false} :; then :
11841 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11842 fi ;;
11843 esac
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_soname_save_LIBS
11849 if ${ac_cv_lib_soname_hal:+false} :; then :
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11851 $as_echo "not found" >&6; }
11852 HAL_CFLAGS=""
11853 else
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11855 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11857 cat >>confdefs.h <<_ACEOF
11858 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11859 _ACEOF
11863 else
11864 HAL_CFLAGS=""
11868 CPPFLAGS=$ac_save_CPPFLAGS
11869 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11870 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11872 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11873 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11874 case "x$with_hal" in
11875 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11876 xno) ;;
11877 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11878 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11879 esac
11884 if test "x$with_gnutls" != "xno"
11885 then
11886 if ${GNUTLS_CFLAGS:+false} :; then :
11887 if ${PKG_CONFIG+:} false; then :
11888 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11892 if ${GNUTLS_LIBS:+false} :; then :
11893 if ${PKG_CONFIG+:} false; then :
11894 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11899 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11900 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11901 ac_save_CPPFLAGS=$CPPFLAGS
11902 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11903 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11904 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11907 #include <gnutls/gnutls.h>
11908 #include <gnutls/crypto.h>
11910 main ()
11912 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_compile "$LINENO"; then :
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11919 $as_echo_n "checking for -lgnutls... " >&6; }
11920 if ${ac_cv_lib_soname_gnutls+:} false; then :
11921 $as_echo_n "(cached) " >&6
11922 else
11923 ac_check_soname_save_LIBS=$LIBS
11924 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char gnutls_global_init ();
11936 main ()
11938 return gnutls_global_init ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 case "$LIBEXT" in
11945 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11946 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'` ;;
11947 *) 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'`
11948 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11949 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'`
11950 fi ;;
11951 esac
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_soname_save_LIBS
11957 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11959 $as_echo "not found" >&6; }
11960 GNUTLS_CFLAGS=""
11961 else
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11963 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11965 cat >>confdefs.h <<_ACEOF
11966 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11967 _ACEOF
11971 ac_wine_check_funcs_save_LIBS="$LIBS"
11972 LIBS="$LIBS $GNUTLS_LIBS"
11973 for ac_func in gnutls_hash
11974 do :
11975 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11976 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11977 cat >>confdefs.h <<_ACEOF
11978 #define HAVE_GNUTLS_HASH 1
11979 _ACEOF
11981 else
11982 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11984 done
11986 LIBS="$ac_wine_check_funcs_save_LIBS"
11988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11989 else
11990 GNUTLS_CFLAGS=""
11994 CPPFLAGS=$ac_save_CPPFLAGS
11995 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11996 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11999 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12000 case "x$with_gnutls" in
12001 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12004 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12005 esac
12009 CURSES_LIBS=""
12010 if test "$ac_cv_header_ncurses_h" = "yes"
12011 then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12013 $as_echo_n "checking for -lncurses... " >&6; }
12014 if ${ac_cv_lib_soname_ncurses+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_soname_save_LIBS=$LIBS
12018 LIBS="-lncurses $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char waddch ();
12030 main ()
12032 return waddch ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 case "$LIBEXT" in
12039 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12040 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'` ;;
12041 *) 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'`
12042 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12043 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12044 fi ;;
12045 esac
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_soname_save_LIBS
12051 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12053 $as_echo "not found" >&6; }
12055 else
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12057 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12059 cat >>confdefs.h <<_ACEOF
12060 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12061 _ACEOF
12063 CURSES_LIBS="-lncurses"
12065 elif test "$ac_cv_header_curses_h" = "yes"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12068 $as_echo_n "checking for -lcurses... " >&6; }
12069 if ${ac_cv_lib_soname_curses+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_soname_save_LIBS=$LIBS
12073 LIBS="-lcurses $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char waddch ();
12085 main ()
12087 return waddch ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 case "$LIBEXT" in
12094 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12095 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'` ;;
12096 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12097 if ${ac_cv_lib_soname_curses:+false} :; then :
12098 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12099 fi ;;
12100 esac
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_soname_save_LIBS
12106 if ${ac_cv_lib_soname_curses:+false} :; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12108 $as_echo "not found" >&6; }
12110 else
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12112 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12114 cat >>confdefs.h <<_ACEOF
12115 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12116 _ACEOF
12118 CURSES_LIBS="-lcurses"
12121 ac_save_LIBS="$LIBS"
12122 LIBS="$LIBS $CURSES_LIBS"
12123 for ac_func in mousemask
12124 do :
12125 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12126 if test "x$ac_cv_func_mousemask" = xyes; then :
12127 cat >>confdefs.h <<_ACEOF
12128 #define HAVE_MOUSEMASK 1
12129 _ACEOF
12132 done
12134 LIBS="$ac_save_LIBS"
12135 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12136 case "x$with_curses" in
12137 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12138 xno) ;;
12139 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12140 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12141 esac
12145 if test "x$with_sane" != "xno"
12146 then
12147 if ${SANE_CFLAGS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12152 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12153 if ${SANE_LIBS:+false} :; then :
12154 if ${PKG_CONFIG+:} false; then :
12155 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12158 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12160 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12161 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12162 ac_save_CPPFLAGS=$CPPFLAGS
12163 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12164 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12165 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12167 $as_echo_n "checking for -lsane... " >&6; }
12168 if ${ac_cv_lib_soname_sane+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_check_soname_save_LIBS=$LIBS
12172 LIBS="-lsane $SANE_LIBS $LIBS"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char sane_init ();
12184 main ()
12186 return sane_init ();
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 case "$LIBEXT" in
12193 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12194 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'` ;;
12195 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12196 if ${ac_cv_lib_soname_sane:+false} :; then :
12197 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12198 fi ;;
12199 esac
12201 rm -f core conftest.err conftest.$ac_objext \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_soname_save_LIBS
12205 if ${ac_cv_lib_soname_sane:+false} :; then :
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12207 $as_echo "not found" >&6; }
12208 SANE_CFLAGS=""
12209 else
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12211 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12213 cat >>confdefs.h <<_ACEOF
12214 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12215 _ACEOF
12219 else
12220 SANE_CFLAGS=""
12224 CPPFLAGS=$ac_save_CPPFLAGS
12225 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12226 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12229 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12230 case "x$with_sane" in
12231 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12232 xno) ;;
12233 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12234 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12235 esac
12239 if test "x$with_v4l" != "xno"
12240 then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12242 $as_echo_n "checking for -lv4l1... " >&6; }
12243 if ${ac_cv_lib_soname_v4l1+:} false; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 ac_check_soname_save_LIBS=$LIBS
12247 LIBS="-lv4l1 $LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12254 #ifdef __cplusplus
12255 extern "C"
12256 #endif
12257 char v4l1_open ();
12259 main ()
12261 return v4l1_open ();
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 case "$LIBEXT" in
12268 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12269 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'` ;;
12270 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12271 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12272 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12273 fi ;;
12274 esac
12276 rm -f core conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 LIBS=$ac_check_soname_save_LIBS
12280 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12282 $as_echo "not found" >&6; }
12284 else
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12286 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12288 cat >>confdefs.h <<_ACEOF
12289 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12290 _ACEOF
12295 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12296 case "x$with_v4l" in
12297 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12298 xno) ;;
12299 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12300 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12301 esac
12305 if test "x$with_gphoto" != "xno"
12306 then
12307 if ${GPHOTO2_CFLAGS:+false} :; then :
12308 if ${PKG_CONFIG+:} false; then :
12309 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12312 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12313 if ${GPHOTO2_LIBS:+false} :; then :
12314 if ${PKG_CONFIG+:} false; then :
12315 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12318 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12319 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12320 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12321 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12322 ac_save_CPPFLAGS=$CPPFLAGS
12323 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12324 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12325 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12327 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12328 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12329 $as_echo_n "(cached) " >&6
12330 else
12331 ac_check_lib_save_LIBS=$LIBS
12332 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char gp_camera_new ();
12344 main ()
12346 return gp_camera_new ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"; then :
12352 ac_cv_lib_gphoto2_gp_camera_new=yes
12353 else
12354 ac_cv_lib_gphoto2_gp_camera_new=no
12356 rm -f core conftest.err conftest.$ac_objext \
12357 conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_lib_save_LIBS
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12361 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12362 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12364 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12366 else
12367 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12370 else
12371 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12375 CPPFLAGS=$ac_save_CPPFLAGS
12376 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12377 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12379 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12380 if ${PKG_CONFIG+:} false; then :
12381 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12384 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12385 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12390 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12391 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12392 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12393 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12394 ac_save_CPPFLAGS=$CPPFLAGS
12395 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12396 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12399 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12400 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 ac_check_lib_save_LIBS=$LIBS
12404 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char gp_port_info_list_new ();
12416 main ()
12418 return gp_port_info_list_new ();
12420 return 0;
12422 _ACEOF
12423 if ac_fn_c_try_link "$LINENO"; then :
12424 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12425 else
12426 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12428 rm -f core conftest.err conftest.$ac_objext \
12429 conftest$ac_exeext conftest.$ac_ext
12430 LIBS=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12433 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12434 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12436 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12438 else
12439 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12442 else
12443 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12447 CPPFLAGS=$ac_save_CPPFLAGS
12448 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12449 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12452 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12453 case "x$with_gphoto" in
12454 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12457 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12458 esac
12461 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12462 case "x$with_gphoto" in
12463 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12464 xno) ;;
12465 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12466 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12467 esac
12472 if test "$ac_cv_header_resolv_h" = "yes"
12473 then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12475 $as_echo_n "checking for resolver library... " >&6; }
12476 if ${ac_cv_have_resolv+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_save_LIBS="$LIBS"
12480 for lib in '' -lresolv
12482 LIBS="$lib $ac_save_LIBS"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12485 #ifdef HAVE_NETINET_IN_H
12486 #include <netinet/in.h>
12487 #endif
12488 #include <resolv.h>
12490 main ()
12492 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_link "$LINENO"; then :
12498 ac_cv_have_resolv=${lib:-"none required"}
12499 else
12500 ac_cv_have_resolv="not found"
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 test "x$ac_cv_have_resolv" = "xnot found" || break
12505 done
12506 LIBS="$ac_save_LIBS"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12509 $as_echo "$ac_cv_have_resolv" >&6; }
12511 case "$ac_cv_have_resolv" in
12512 "not found") ;;
12513 "none required")
12515 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12518 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12520 RESOLV_LIBS=$ac_cv_have_resolv
12522 esac
12525 if test "x$with_cms" != "xno"
12526 then
12527 if ${LCMS2_CFLAGS:+false} :; then :
12528 if ${PKG_CONFIG+:} false; then :
12529 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12533 if ${LCMS2_LIBS:+false} :; then :
12534 if ${PKG_CONFIG+:} false; then :
12535 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12539 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12540 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12541 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12542 ac_save_CPPFLAGS=$CPPFLAGS
12543 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12544 for ac_header in lcms2.h
12545 do :
12546 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12547 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define HAVE_LCMS2_H 1
12550 _ACEOF
12554 done
12556 if test "$ac_cv_header_lcms2_h" = "yes"
12557 then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12559 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12560 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12561 $as_echo_n "(cached) " >&6
12562 else
12563 ac_check_lib_save_LIBS=$LIBS
12564 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 #ifdef __cplusplus
12572 extern "C"
12573 #endif
12574 char cmsOpenProfileFromFile ();
12576 main ()
12578 return cmsOpenProfileFromFile ();
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12585 else
12586 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12590 LIBS=$ac_check_lib_save_LIBS
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12593 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12594 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12596 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12598 else
12599 LCMS2_LIBS=""
12602 else
12603 LCMS2_CFLAGS=""
12604 LCMS2_LIBS=""
12606 CPPFLAGS=$ac_save_CPPFLAGS
12607 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12608 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12611 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12612 case "x$with_cms" in
12613 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12614 xno) ;;
12615 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12616 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12617 esac
12621 if test "x$with_freetype" != "xno"
12622 then
12623 if ${FREETYPE_CFLAGS:+false} :; then :
12624 if ${PKG_CONFIG+:} false; then :
12625 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12628 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12629 if ${FREETYPE_LIBS:+false} :; then :
12630 if ${PKG_CONFIG+:} false; then :
12631 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12634 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12635 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12636 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12637 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12638 ac_save_CPPFLAGS=$CPPFLAGS
12639 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12640 for ac_header in ft2build.h
12641 do :
12642 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12643 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12644 cat >>confdefs.h <<_ACEOF
12645 #define HAVE_FT2BUILD_H 1
12646 _ACEOF
12650 done
12652 if test "$ac_cv_header_ft2build_h" = "yes"
12653 then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12655 $as_echo_n "checking for -lfreetype... " >&6; }
12656 if ${ac_cv_lib_soname_freetype+:} false; then :
12657 $as_echo_n "(cached) " >&6
12658 else
12659 ac_check_soname_save_LIBS=$LIBS
12660 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 #ifdef __cplusplus
12668 extern "C"
12669 #endif
12670 char FT_Init_FreeType ();
12672 main ()
12674 return FT_Init_FreeType ();
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_link "$LINENO"; then :
12680 case "$LIBEXT" in
12681 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12682 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'` ;;
12683 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12684 if ${ac_cv_lib_soname_freetype:+false} :; then :
12685 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12686 fi ;;
12687 esac
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 LIBS=$ac_check_soname_save_LIBS
12693 if ${ac_cv_lib_soname_freetype:+false} :; then :
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12695 $as_echo "not found" >&6; }
12696 FREETYPE_LIBS=""
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12699 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12701 cat >>confdefs.h <<_ACEOF
12702 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12703 _ACEOF
12706 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12708 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12709 #include FT_MODULE_H
12711 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12713 cat >>confdefs.h <<_ACEOF
12714 #define HAVE_FT_TRUETYPEENGINETYPE 1
12715 _ACEOF
12721 else
12722 FREETYPE_CFLAGS=""
12723 FREETYPE_LIBS=""
12725 CPPFLAGS=$ac_save_CPPFLAGS
12726 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12727 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12730 if test "x$ac_cv_lib_soname_freetype" = x; then :
12731 case "x$with_freetype" in
12732 xno) ;;
12733 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12734 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12735 esac
12736 enable_fonts=${enable_fonts:-no}
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12740 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12741 if ${ac_cv_c_ppdev+:} false; then :
12742 $as_echo_n "(cached) " >&6
12743 else
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 #ifdef HAVE_SYS_IOCTL_H
12747 # include <sys/ioctl.h>
12748 #endif
12749 #include <linux/ppdev.h>
12751 main ()
12753 ioctl (1,PPCLAIM,0)
12755 return 0;
12757 _ACEOF
12758 if ac_fn_c_try_compile "$LINENO"; then :
12759 ac_cv_c_ppdev="yes"
12760 else
12761 ac_cv_c_ppdev="no"
12763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12766 $as_echo "$ac_cv_c_ppdev" >&6; }
12767 if test "$ac_cv_c_ppdev" = "yes"
12768 then
12770 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12774 ac_wine_check_funcs_save_LIBS="$LIBS"
12775 LIBS="$LIBS $PTHREAD_LIBS"
12776 for ac_func in \
12777 pthread_attr_get_np \
12778 pthread_getattr_np \
12779 pthread_getthreadid_np \
12780 pthread_get_stackaddr_np \
12781 pthread_get_stacksize_np
12782 do :
12783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12786 cat >>confdefs.h <<_ACEOF
12787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12788 _ACEOF
12791 done
12793 LIBS="$ac_wine_check_funcs_save_LIBS"
12795 if test "$ac_cv_header_zlib_h" = "yes"
12796 then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12798 $as_echo_n "checking for inflate in -lz... " >&6; }
12799 if ${ac_cv_lib_z_inflate+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lz $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char inflate ();
12815 main ()
12817 return inflate ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_z_inflate=yes
12824 else
12825 ac_cv_lib_z_inflate=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12832 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12833 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12835 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12837 Z_LIBS="-lz"
12842 if test "x$Z_LIBS" = "x"; then :
12843 case "x$with_zlib" in
12844 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12845 xno) ;;
12846 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12847 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12848 esac
12852 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12853 then
12854 if test "$ac_cv_header_gettext_po_h" = "yes"
12855 then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12857 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12858 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12859 $as_echo_n "(cached) " >&6
12860 else
12861 ac_check_lib_save_LIBS=$LIBS
12862 LIBS="-lgettextpo $LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12869 #ifdef __cplusplus
12870 extern "C"
12871 #endif
12872 char po_message_msgctxt ();
12874 main ()
12876 return po_message_msgctxt ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"; then :
12882 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12883 else
12884 ac_cv_lib_gettextpo_po_message_msgctxt=no
12886 rm -f core conftest.err conftest.$ac_objext \
12887 conftest$ac_exeext conftest.$ac_ext
12888 LIBS=$ac_check_lib_save_LIBS
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12891 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12892 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12894 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12896 GETTEXTPO_LIBS="-lgettextpo"
12901 if test "x$GETTEXTPO_LIBS" = "x"; then :
12902 case "x$with_gettextpo" in
12903 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12904 xno) ;;
12905 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12906 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12907 esac
12910 if test "$srcdir" != .; then :
12911 case "x$with_gettextpo" in
12912 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12913 xno) ;;
12914 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12915 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12916 esac
12921 if test "x$with_pulse" != "xno";
12922 then
12923 if ${PULSE_CFLAGS:+false} :; then :
12924 if ${PKG_CONFIG+:} false; then :
12925 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12929 if ${PULSE_LIBS:+false} :; then :
12930 if ${PKG_CONFIG+:} false; then :
12931 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12936 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12937 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12938 ac_save_CPPFLAGS=$CPPFLAGS
12939 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12940 for ac_header in pulse/pulseaudio.h
12941 do :
12942 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12943 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12944 cat >>confdefs.h <<_ACEOF
12945 #define HAVE_PULSE_PULSEAUDIO_H 1
12946 _ACEOF
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12948 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12949 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12950 $as_echo_n "(cached) " >&6
12951 else
12952 ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lpulse $PULSE_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char pa_stream_is_corked ();
12965 main ()
12967 return pa_stream_is_corked ();
12969 return 0;
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 ac_cv_lib_pulse_pa_stream_is_corked=yes
12974 else
12975 ac_cv_lib_pulse_pa_stream_is_corked=no
12977 rm -f core conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_check_lib_save_LIBS
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12982 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12983 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12985 else
12986 PULSE_LIBS=""
12989 else
12990 PULSE_LIBS=""
12993 done
12995 CPPFLAGS=$ac_save_CPPFLAGS
12996 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12997 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13000 if test -z "$PULSE_LIBS"; then :
13001 case "x$with_pulse" in
13002 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13003 xno) ;;
13004 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13005 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13006 esac
13007 enable_winepulse_drv=${enable_winepulse_drv:-no}
13010 if test "x$with_gstreamer" != "xno"
13011 then
13012 if ${GSTREAMER_CFLAGS:+false} :; then :
13013 if ${PKG_CONFIG+:} false; then :
13014 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13018 if ${GSTREAMER_LIBS:+false} :; then :
13019 if ${PKG_CONFIG+:} false; then :
13020 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13025 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13026 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13027 ac_save_CPPFLAGS=$CPPFLAGS
13028 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13029 ac_gst_incl=""
13030 for i in $GSTREAMER_CFLAGS
13032 case "$i" in
13033 -I*) ac_gst_incl="$ac_gst_incl $i";;
13034 esac
13035 done
13036 GSTREAMER_CFLAGS=$ac_gst_incl
13037 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13038 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13039 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13041 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13044 #include <gst/gst.h>
13046 main ()
13048 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_compile "$LINENO"; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13055 $as_echo "yes" >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13057 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13058 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13059 $as_echo_n "(cached) " >&6
13060 else
13061 ac_check_lib_save_LIBS=$LIBS
13062 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13069 #ifdef __cplusplus
13070 extern "C"
13071 #endif
13072 char gst_pad_new ();
13074 main ()
13076 return gst_pad_new ();
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_link "$LINENO"; then :
13082 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13083 else
13084 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LIBS=$ac_check_lib_save_LIBS
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13091 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13092 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13096 else
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098 $as_echo "no" >&6; }
13099 ac_glib2_broken=yes
13100 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13106 CPPFLAGS=$ac_save_CPPFLAGS
13107 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13108 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13111 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 :
13112 case "x$with_gstreamer" in
13113 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13114 xno) ;;
13115 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13116 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13117 esac
13120 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13122 ALSA_LIBS=""
13124 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13125 then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13127 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13128 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13129 $as_echo_n "(cached) " >&6
13130 else
13131 ac_check_lib_save_LIBS=$LIBS
13132 LIBS="-lasound $LIBS"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13139 #ifdef __cplusplus
13140 extern "C"
13141 #endif
13142 char snd_pcm_hw_params_get_access_mask ();
13144 main ()
13146 return snd_pcm_hw_params_get_access_mask ();
13148 return 0;
13150 _ACEOF
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13153 else
13154 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_lib_save_LIBS
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13161 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13162 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13165 #ifdef HAVE_ALSA_ASOUNDLIB_H
13166 #include <alsa/asoundlib.h>
13167 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13168 #include <sys/asoundlib.h>
13169 #endif
13171 main ()
13173 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13175 return 0;
13177 _ACEOF
13178 if ac_fn_c_try_compile "$LINENO"; then :
13179 ALSA_LIBS="-lasound"
13181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13185 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13187 if test "x$with_oss" != xno
13188 then
13189 ac_save_CPPFLAGS="$CPPFLAGS"
13190 if test -f /etc/oss.conf
13191 then
13192 . /etc/oss.conf
13194 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13195 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13196 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13197 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13198 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13200 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13202 cat >>confdefs.h <<_ACEOF
13203 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13204 _ACEOF
13206 OSS4_CFLAGS="$ac_oss_incl"
13213 CPPFLAGS="$ac_save_CPPFLAGS"
13215 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13216 case "x$with_oss" in
13217 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13220 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13221 esac
13222 enable_wineoss_drv=${enable_wineoss_drv:-no}
13225 if test "x$with_udev" != "xno"
13226 then
13227 if ${UDEV_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13233 if ${UDEV_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13239 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13244 for ac_header in libudev.h
13245 do :
13246 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13247 if test "x$ac_cv_header_libudev_h" = xyes; then :
13248 cat >>confdefs.h <<_ACEOF
13249 #define HAVE_LIBUDEV_H 1
13250 _ACEOF
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13252 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13253 if ${ac_cv_lib_udev_udev_new+:} false; then :
13254 $as_echo_n "(cached) " >&6
13255 else
13256 ac_check_lib_save_LIBS=$LIBS
13257 LIBS="-ludev $UDEV_LIBS $LIBS"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13264 #ifdef __cplusplus
13265 extern "C"
13266 #endif
13267 char udev_new ();
13269 main ()
13271 return udev_new ();
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_link "$LINENO"; then :
13277 ac_cv_lib_udev_udev_new=yes
13278 else
13279 ac_cv_lib_udev_udev_new=no
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 LIBS=$ac_check_lib_save_LIBS
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13286 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13287 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13289 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13291 else
13292 UDEV_LIBS=""
13295 else
13296 UDEV_LIBS=""
13299 done
13301 CPPFLAGS=$ac_save_CPPFLAGS
13302 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13303 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13306 if test "x$UDEV_LIBS" = "x"; then :
13307 case "x$with_udev" in
13308 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13311 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$with_capi" != "xno"
13317 then
13318 if ${CAPI20_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13324 if ${CAPI20_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13331 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13335 for ac_header in capi20.h linux/capi.h
13336 do :
13337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13338 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13341 cat >>confdefs.h <<_ACEOF
13342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13343 _ACEOF
13347 done
13349 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13350 then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13352 $as_echo_n "checking for -lcapi20... " >&6; }
13353 if ${ac_cv_lib_soname_capi20+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_soname_save_LIBS=$LIBS
13357 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char capi20_register ();
13369 main ()
13371 return capi20_register ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 case "$LIBEXT" in
13378 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_capi20:+false} :; then :
13382 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 fi ;;
13384 esac
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_capi20:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13394 else
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13396 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13400 _ACEOF
13405 CPPFLAGS=$ac_save_CPPFLAGS
13406 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13407 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13410 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13411 case "x$with_capi" in
13412 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13413 xno) ;;
13414 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13415 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13416 esac
13420 CUPS_CFLAGS=""
13422 if test "x$with_cups" != "xno"
13423 then
13424 ac_save_CPPFLAGS="$CPPFLAGS"
13425 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13426 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13427 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13428 for ac_header in cups/cups.h
13429 do :
13430 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_CUPS_CUPS_H 1
13434 _ACEOF
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13436 $as_echo_n "checking for -lcups... " >&6; }
13437 if ${ac_cv_lib_soname_cups+:} false; then :
13438 $as_echo_n "(cached) " >&6
13439 else
13440 ac_check_soname_save_LIBS=$LIBS
13441 LIBS="-lcups $ac_cups_libs $LIBS"
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13445 /* Override any GCC internal prototype to avoid an error.
13446 Use char because int might match the return type of a GCC
13447 builtin and then its argument prototype would still apply. */
13448 #ifdef __cplusplus
13449 extern "C"
13450 #endif
13451 char cupsGetDefault ();
13453 main ()
13455 return cupsGetDefault ();
13457 return 0;
13459 _ACEOF
13460 if ac_fn_c_try_link "$LINENO"; then :
13461 case "$LIBEXT" in
13462 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13463 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'` ;;
13464 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13465 if ${ac_cv_lib_soname_cups:+false} :; then :
13466 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13467 fi ;;
13468 esac
13470 rm -f core conftest.err conftest.$ac_objext \
13471 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_soname_save_LIBS
13474 if ${ac_cv_lib_soname_cups:+false} :; then :
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13476 $as_echo "not found" >&6; }
13478 else
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13480 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13482 cat >>confdefs.h <<_ACEOF
13483 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13484 _ACEOF
13486 CUPS_CFLAGS="$ac_cups_cflags"
13488 for ac_header in cups/ppd.h
13489 do :
13490 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13491 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13492 cat >>confdefs.h <<_ACEOF
13493 #define HAVE_CUPS_PPD_H 1
13494 _ACEOF
13498 done
13502 done
13504 CPPFLAGS="$ac_save_CPPFLAGS"
13506 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13507 case "x$with_cups" in
13508 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13509 xno) ;;
13510 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13511 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13512 esac
13516 if test "x$with_fontconfig" != "xno"
13517 then
13518 if ${FONTCONFIG_CFLAGS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13523 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13524 if ${FONTCONFIG_LIBS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13529 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13531 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13532 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13533 ac_save_CPPFLAGS=$CPPFLAGS
13534 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13535 for ac_header in fontconfig/fontconfig.h
13536 do :
13537 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13538 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13539 cat >>confdefs.h <<_ACEOF
13540 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13541 _ACEOF
13545 done
13547 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13548 then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13550 $as_echo_n "checking for -lfontconfig... " >&6; }
13551 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_check_soname_save_LIBS=$LIBS
13555 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13562 #ifdef __cplusplus
13563 extern "C"
13564 #endif
13565 char FcInit ();
13567 main ()
13569 return FcInit ();
13571 return 0;
13573 _ACEOF
13574 if ac_fn_c_try_link "$LINENO"; then :
13575 case "$LIBEXT" in
13576 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13577 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'` ;;
13578 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13579 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13580 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13581 fi ;;
13582 esac
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 $as_echo "not found" >&6; }
13591 FONTCONFIG_CFLAGS=""
13592 else
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13594 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13596 cat >>confdefs.h <<_ACEOF
13597 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13598 _ACEOF
13602 else
13603 FONTCONFIG_CFLAGS=""
13605 CPPFLAGS=$ac_save_CPPFLAGS
13606 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13607 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13610 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13611 case "x$with_fontconfig" in
13612 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13613 xno) ;;
13614 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13615 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13616 esac
13620 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13621 then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13623 $as_echo_n "checking for -lgsm... " >&6; }
13624 if ${ac_cv_lib_soname_gsm+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_check_soname_save_LIBS=$LIBS
13628 LIBS="-lgsm $LIBS"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13635 #ifdef __cplusplus
13636 extern "C"
13637 #endif
13638 char gsm_create ();
13640 main ()
13642 return gsm_create ();
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_link "$LINENO"; then :
13648 case "$LIBEXT" in
13649 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_gsm:+false} :; then :
13653 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13654 fi ;;
13655 esac
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_gsm:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13665 else
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13667 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13671 _ACEOF
13676 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13677 case "x$with_gsm" in
13678 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13679 xno) ;;
13680 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13681 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13682 esac
13686 if test "x$with_jpeg" != "xno"
13687 then
13688 if ${JPEG_CFLAGS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13694 if ${JPEG_LIBS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13701 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13702 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13703 ac_save_CPPFLAGS=$CPPFLAGS
13704 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13705 for ac_header in jpeglib.h
13706 do :
13707 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13708 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13709 cat >>confdefs.h <<_ACEOF
13710 #define HAVE_JPEGLIB_H 1
13711 _ACEOF
13715 done
13717 if test "$ac_cv_header_jpeglib_h" = "yes"
13718 then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13720 $as_echo_n "checking for -ljpeg... " >&6; }
13721 if ${ac_cv_lib_soname_jpeg+:} false; then :
13722 $as_echo_n "(cached) " >&6
13723 else
13724 ac_check_soname_save_LIBS=$LIBS
13725 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13729 /* Override any GCC internal prototype to avoid an error.
13730 Use char because int might match the return type of a GCC
13731 builtin and then its argument prototype would still apply. */
13732 #ifdef __cplusplus
13733 extern "C"
13734 #endif
13735 char jpeg_start_decompress ();
13737 main ()
13739 return jpeg_start_decompress ();
13741 return 0;
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 case "$LIBEXT" in
13746 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13747 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'` ;;
13748 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13749 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13750 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13751 fi ;;
13752 esac
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_soname_save_LIBS
13758 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13760 $as_echo "not found" >&6; }
13761 JPEG_CFLAGS=""
13762 else
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13764 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13766 cat >>confdefs.h <<_ACEOF
13767 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13768 _ACEOF
13772 else
13773 JPEG_CFLAGS=""
13775 CPPFLAGS=$ac_save_CPPFLAGS
13776 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13777 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13780 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13781 case "x$with_jpeg" in
13782 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13783 xno) ;;
13784 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13785 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13786 esac
13790 if test "x$with_png" != "xno"
13791 then
13792 if ${PNG_CFLAGS:+false} :; then :
13793 if ${PKG_CONFIG+:} false; then :
13794 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13797 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13798 if ${PNG_LIBS:+false} :; then :
13799 if ${PKG_CONFIG+:} false; then :
13800 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13803 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13805 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13806 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13807 ac_save_CPPFLAGS=$CPPFLAGS
13808 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13809 for ac_header in png.h
13810 do :
13811 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13812 if test "x$ac_cv_header_png_h" = xyes; then :
13813 cat >>confdefs.h <<_ACEOF
13814 #define HAVE_PNG_H 1
13815 _ACEOF
13819 done
13821 if test "$ac_cv_header_png_h" = "yes"
13822 then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13824 $as_echo_n "checking for -lpng... " >&6; }
13825 if ${ac_cv_lib_soname_png+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_check_soname_save_LIBS=$LIBS
13829 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13836 #ifdef __cplusplus
13837 extern "C"
13838 #endif
13839 char png_create_read_struct ();
13841 main ()
13843 return png_create_read_struct ();
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"; then :
13849 case "$LIBEXT" in
13850 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13851 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'` ;;
13852 *) 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'`
13853 if ${ac_cv_lib_soname_png:+false} :; then :
13854 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13855 fi ;;
13856 esac
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_soname_save_LIBS
13862 if ${ac_cv_lib_soname_png:+false} :; then :
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13864 $as_echo "not found" >&6; }
13865 PNG_CFLAGS=""
13866 else
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13868 $as_echo "$ac_cv_lib_soname_png" >&6; }
13870 cat >>confdefs.h <<_ACEOF
13871 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13872 _ACEOF
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 #include <png.h>
13878 main ()
13880 typeof(png_set_expand_gray_1_2_4_to_8) *p
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_compile "$LINENO"; then :
13887 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13892 else
13893 PNG_CFLAGS=""
13895 CPPFLAGS=$ac_save_CPPFLAGS
13896 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13897 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13900 if test "x$ac_cv_lib_soname_png" = "x"; then :
13901 case "x$with_png" in
13902 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13903 xno) ;;
13904 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13905 This is an error since --with-png was requested." "$LINENO" 5 ;;
13906 esac
13910 if test "x$with_tiff" != "xno"
13911 then
13912 if ${TIFF_CFLAGS:+false} :; then :
13913 if ${PKG_CONFIG+:} false; then :
13914 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13918 if ${TIFF_LIBS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13925 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13926 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13927 ac_save_CPPFLAGS=$CPPFLAGS
13928 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13929 for ac_header in tiffio.h
13930 do :
13931 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13932 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13933 cat >>confdefs.h <<_ACEOF
13934 #define HAVE_TIFFIO_H 1
13935 _ACEOF
13939 done
13941 if test "$ac_cv_header_tiffio_h" = "yes"
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13944 $as_echo_n "checking for -ltiff... " >&6; }
13945 if ${ac_cv_lib_soname_tiff+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_check_soname_save_LIBS=$LIBS
13949 LIBS="-ltiff $TIFF_LIBS $LIBS"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13953 /* Override any GCC internal prototype to avoid an error.
13954 Use char because int might match the return type of a GCC
13955 builtin and then its argument prototype would still apply. */
13956 #ifdef __cplusplus
13957 extern "C"
13958 #endif
13959 char TIFFClientOpen ();
13961 main ()
13963 return TIFFClientOpen ();
13965 return 0;
13967 _ACEOF
13968 if ac_fn_c_try_link "$LINENO"; then :
13969 case "$LIBEXT" in
13970 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13971 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'` ;;
13972 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13973 if ${ac_cv_lib_soname_tiff:+false} :; then :
13974 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13975 fi ;;
13976 esac
13978 rm -f core conftest.err conftest.$ac_objext \
13979 conftest$ac_exeext conftest.$ac_ext
13980 LIBS=$ac_check_soname_save_LIBS
13982 if ${ac_cv_lib_soname_tiff:+false} :; then :
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13984 $as_echo "not found" >&6; }
13986 else
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13988 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13990 cat >>confdefs.h <<_ACEOF
13991 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13992 _ACEOF
13997 CPPFLAGS=$ac_save_CPPFLAGS
13998 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13999 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14002 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14003 case "x$with_tiff" in
14004 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14005 xno) ;;
14006 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14007 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14008 esac
14012 if test "x$with_mpg123" != "xno"
14013 then
14014 if ${MPG123_CFLAGS:+false} :; then :
14015 if ${PKG_CONFIG+:} false; then :
14016 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14020 if ${MPG123_LIBS:+false} :; then :
14021 if ${PKG_CONFIG+:} false; then :
14022 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14026 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14027 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14029 ac_save_CPPFLAGS=$CPPFLAGS
14030 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14031 for ac_header in mpg123.h
14032 do :
14033 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14034 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14035 cat >>confdefs.h <<_ACEOF
14036 #define HAVE_MPG123_H 1
14037 _ACEOF
14041 done
14043 if test "$ac_cv_header_mpg123_h" = "yes"
14044 then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14046 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14047 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_check_lib_save_LIBS=$LIBS
14051 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 #ifdef __cplusplus
14059 extern "C"
14060 #endif
14061 char mpg123_feed ();
14063 main ()
14065 return mpg123_feed ();
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_lib_mpg123_mpg123_feed=yes
14072 else
14073 ac_cv_lib_mpg123_mpg123_feed=no
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_lib_save_LIBS
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14080 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14081 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14083 else
14084 MPG123_LIBS=""
14087 else
14088 MPG123_CFLAGS=""
14089 MPG123_LIBS=""
14091 CPPFLAGS=$ac_save_CPPFLAGS
14092 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14093 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14096 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14097 case "x$with_mpg123" in
14098 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14099 xno) ;;
14100 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14101 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14102 esac
14103 enable_winemp3_acm=${enable_winemp3_acm:-no}
14106 if test "$ac_cv_header_AL_al_h" = "yes"
14107 then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14109 $as_echo_n "checking for -lopenal... " >&6; }
14110 if ${ac_cv_lib_soname_openal+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_check_soname_save_LIBS=$LIBS
14114 LIBS="-lopenal $LIBS"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14118 /* Override any GCC internal prototype to avoid an error.
14119 Use char because int might match the return type of a GCC
14120 builtin and then its argument prototype would still apply. */
14121 #ifdef __cplusplus
14122 extern "C"
14123 #endif
14124 char alGetSource3i ();
14126 main ()
14128 return alGetSource3i ();
14130 return 0;
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 case "$LIBEXT" in
14135 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14136 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'` ;;
14137 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14138 if ${ac_cv_lib_soname_openal:+false} :; then :
14139 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14140 fi ;;
14141 esac
14143 rm -f core conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 LIBS=$ac_check_soname_save_LIBS
14147 if ${ac_cv_lib_soname_openal:+false} :; then :
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14149 $as_echo "not found" >&6; }
14151 else
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14153 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14155 cat >>confdefs.h <<_ACEOF
14156 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14157 _ACEOF
14159 OPENAL_LIBS="-lopenal"
14161 ac_cv_lib_openal=yes
14163 cat >>confdefs.h <<_ACEOF
14164 #define HAVE_OPENAL 1
14165 _ACEOF
14169 if test "x$ac_cv_lib_openal" != xyes; then :
14170 case "x$with_openal" in
14171 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14172 xno) ;;
14173 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14174 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14175 esac
14176 enable_openal32=${enable_openal32:-no}
14179 if test "x$ac_cv_lib_openal" = xyes
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14182 $as_echo_n "checking for openal-soft... " >&6; }
14183 if ${ac_cv_have_openalsoft+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 #include <AL/al.h>
14189 #include <AL/alc.h>
14190 #include <AL/alext.h>
14191 LPALCRENDERSAMPLESSOFT x;
14193 main ()
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_compile "$LINENO"; then :
14201 ac_cv_have_openalsoft=yes
14202 else
14203 ac_cv_have_openalsoft=no
14205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14208 $as_echo "$ac_cv_have_openalsoft" >&6; }
14210 if test "x$ac_cv_have_openalsoft" != xyes
14211 then
14212 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14213 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14214 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14215 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14216 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14217 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14218 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14219 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14220 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14221 enable_xapofx1_1=${enable_xapofx1_1:-no}
14222 enable_xapofx1_2=${enable_xapofx1_2:-no}
14223 enable_xapofx1_3=${enable_xapofx1_3:-no}
14224 enable_xapofx1_4=${enable_xapofx1_4:-no}
14225 enable_xapofx1_5=${enable_xapofx1_5:-no}
14226 enable_xaudio2_0=${enable_xaudio2_0:-no}
14227 enable_xaudio2_1=${enable_xaudio2_1:-no}
14228 enable_xaudio2_2=${enable_xaudio2_2:-no}
14229 enable_xaudio2_3=${enable_xaudio2_3:-no}
14230 enable_xaudio2_4=${enable_xaudio2_4:-no}
14231 enable_xaudio2_5=${enable_xaudio2_5:-no}
14232 enable_xaudio2_6=${enable_xaudio2_6:-no}
14233 enable_xaudio2_7=${enable_xaudio2_7:-no}
14234 enable_xaudio2_8=${enable_xaudio2_8:-no}
14235 enable_xaudio2_9=${enable_xaudio2_9:-no}
14238 if test "$ac_cv_header_kstat_h" = "yes"
14239 then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14241 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14242 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 ac_check_lib_save_LIBS=$LIBS
14246 LIBS="-lkstat $LIBS"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14250 /* Override any GCC internal prototype to avoid an error.
14251 Use char because int might match the return type of a GCC
14252 builtin and then its argument prototype would still apply. */
14253 #ifdef __cplusplus
14254 extern "C"
14255 #endif
14256 char kstat_open ();
14258 main ()
14260 return kstat_open ();
14262 return 0;
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"; then :
14266 ac_cv_lib_kstat_kstat_open=yes
14267 else
14268 ac_cv_lib_kstat_kstat_open=no
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14272 LIBS=$ac_check_lib_save_LIBS
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14275 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14276 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14278 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14280 KSTAT_LIBS="-lkstat"
14286 if test "$ac_cv_header_libprocstat_h" = "yes"
14287 then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14289 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14290 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_check_lib_save_LIBS=$LIBS
14294 LIBS="-lprocstat $LIBS"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 #ifdef __cplusplus
14302 extern "C"
14303 #endif
14304 char procstat_open_sysctl ();
14306 main ()
14308 return procstat_open_sysctl ();
14310 return 0;
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"; then :
14314 ac_cv_lib_procstat_procstat_open_sysctl=yes
14315 else
14316 ac_cv_lib_procstat_procstat_open_sysctl=no
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_check_lib_save_LIBS
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14323 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14324 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14326 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14328 PROCSTAT_LIBS="-lprocstat"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14335 $as_echo_n "checking for -lodbc... " >&6; }
14336 if ${ac_cv_lib_soname_odbc+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_check_soname_save_LIBS=$LIBS
14340 LIBS="-lodbc $LIBS"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 #ifdef __cplusplus
14348 extern "C"
14349 #endif
14350 char SQLConnect ();
14352 main ()
14354 return SQLConnect ();
14356 return 0;
14358 _ACEOF
14359 if ac_fn_c_try_link "$LINENO"; then :
14360 case "$LIBEXT" in
14361 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14362 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'` ;;
14363 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14364 if ${ac_cv_lib_soname_odbc:+false} :; then :
14365 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14366 fi ;;
14367 esac
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 LIBS=$ac_check_soname_save_LIBS
14373 if ${ac_cv_lib_soname_odbc:+false} :; then :
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14375 $as_echo "not found" >&6; }
14376 cat >>confdefs.h <<_ACEOF
14377 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14378 _ACEOF
14380 else
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14382 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14384 cat >>confdefs.h <<_ACEOF
14385 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14386 _ACEOF
14391 if test "x$with_netapi" != "xno"
14392 then
14393 if ${NETAPI_CFLAGS:+false} :; then :
14394 if ${PKG_CONFIG+:} false; then :
14395 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14399 if ${NETAPI_LIBS:+false} :; then :
14400 if ${PKG_CONFIG+:} false; then :
14401 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14406 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14407 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14408 ac_save_CPPFLAGS=$CPPFLAGS
14409 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14411 $as_echo_n "checking for -lnetapi... " >&6; }
14412 if ${ac_cv_lib_soname_netapi+:} false; then :
14413 $as_echo_n "(cached) " >&6
14414 else
14415 ac_check_soname_save_LIBS=$LIBS
14416 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14423 #ifdef __cplusplus
14424 extern "C"
14425 #endif
14426 char libnetapi_init ();
14428 main ()
14430 return libnetapi_init ();
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_link "$LINENO"; then :
14436 case "$LIBEXT" in
14437 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14438 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'` ;;
14439 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14440 if ${ac_cv_lib_soname_netapi:+false} :; then :
14441 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14442 fi ;;
14443 esac
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_soname_save_LIBS
14449 if ${ac_cv_lib_soname_netapi:+false} :; then :
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14451 $as_echo "not found" >&6; }
14452 cat >>confdefs.h <<_ACEOF
14453 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14454 _ACEOF
14456 else
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14458 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14460 cat >>confdefs.h <<_ACEOF
14461 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14462 _ACEOF
14466 CPPFLAGS=$ac_save_CPPFLAGS
14467 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14468 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14472 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14473 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14474 then
14475 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14479 EXTRACFLAGS=""
14481 if test "x${GCC}" = "xyes"
14482 then
14483 EXTRACFLAGS="-Wall -pipe"
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14486 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14487 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 if test "$cross_compiling" = yes; then :
14491 ac_cv_c_gcc_strength_bug="no"
14492 else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 int L[4] = {0,1,2,3};
14497 main ()
14499 static int Array[3];
14500 unsigned int B = 3;
14501 int i;
14502 for(i=0; i<B; i++) Array[i] = i - 3;
14503 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14504 L[i] = 4;
14505 return (Array[1] != -2 || L[2] != 3)
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_run "$LINENO"; then :
14511 ac_cv_c_gcc_strength_bug="no"
14512 else
14513 ac_cv_c_gcc_strength_bug="yes"
14515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14516 conftest.$ac_objext conftest.beam conftest.$ac_ext
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14521 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14522 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14523 then
14524 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14528 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14529 if ${ac_cv_cflags__fno_builtin+:} false; then :
14530 $as_echo_n "(cached) " >&6
14531 else
14532 ac_wine_try_cflags_saved=$CFLAGS
14533 CFLAGS="$CFLAGS -fno-builtin"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14536 int main(int argc, char **argv) { return 0; }
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"; then :
14539 ac_cv_cflags__fno_builtin=yes
14540 else
14541 ac_cv_cflags__fno_builtin=no
14543 rm -f core conftest.err conftest.$ac_objext \
14544 conftest$ac_exeext conftest.$ac_ext
14545 CFLAGS=$ac_wine_try_cflags_saved
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14548 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14549 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14550 BUILTINFLAG="-fno-builtin"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14554 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14555 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -fno-strict-aliasing"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_cflags__fno_strict_aliasing=yes
14566 else
14567 ac_cv_cflags__fno_strict_aliasing=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 CFLAGS=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14574 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14575 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14576 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14579 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14580 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_wine_try_cflags_saved=$CFLAGS
14584 CFLAGS="$CFLAGS -fexcess-precision=standard"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int main(int argc, char **argv) { return 0; }
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_cflags__fexcess_precision_standard=yes
14591 else
14592 ac_cv_cflags__fexcess_precision_standard=no
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 CFLAGS=$ac_wine_try_cflags_saved
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14599 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14600 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14601 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14604 saved_CFLAGS=$CFLAGS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14606 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14607 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 ac_wine_try_cflags_saved=$CFLAGS
14611 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 int main(int argc, char **argv) { return 0; }
14615 _ACEOF
14616 if ac_fn_c_try_link "$LINENO"; then :
14617 ac_cv_cflags__Werror_unknown_warning_option=yes
14618 else
14619 ac_cv_cflags__Werror_unknown_warning_option=no
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext conftest.$ac_ext
14623 CFLAGS=$ac_wine_try_cflags_saved
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14626 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14627 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14628 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14631 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14632 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 ac_wine_try_cflags_saved=$CFLAGS
14636 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 int main(int argc, char **argv) { return 0; }
14640 _ACEOF
14641 if ac_fn_c_try_link "$LINENO"; then :
14642 ac_cv_cflags__Wdeclaration_after_statement=yes
14643 else
14644 ac_cv_cflags__Wdeclaration_after_statement=no
14646 rm -f core conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 CFLAGS=$ac_wine_try_cflags_saved
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14651 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14652 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14653 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14656 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14657 if ${ac_cv_cflags__Wempty_body+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_wine_try_cflags_saved=$CFLAGS
14661 CFLAGS="$CFLAGS -Wempty-body"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int main(int argc, char **argv) { return 0; }
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_cflags__Wempty_body=yes
14668 else
14669 ac_cv_cflags__Wempty_body=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 CFLAGS=$ac_wine_try_cflags_saved
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14676 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14677 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14678 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14681 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14682 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_wine_try_cflags_saved=$CFLAGS
14686 CFLAGS="$CFLAGS -Wignored-qualifiers"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int main(int argc, char **argv) { return 0; }
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_cflags__Wignored_qualifiers=yes
14693 else
14694 ac_cv_cflags__Wignored_qualifiers=no
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 CFLAGS=$ac_wine_try_cflags_saved
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14701 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14702 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14703 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14706 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14707 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_wine_try_cflags_saved=$CFLAGS
14711 CFLAGS="$CFLAGS -Wshift-overflow=2"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14714 int main(int argc, char **argv) { return 0; }
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"; then :
14717 ac_cv_cflags__Wshift_overflow_2=yes
14718 else
14719 ac_cv_cflags__Wshift_overflow_2=no
14721 rm -f core conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 CFLAGS=$ac_wine_try_cflags_saved
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14726 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14727 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14728 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14731 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14732 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_wine_try_cflags_saved=$CFLAGS
14736 CFLAGS="$CFLAGS -Wstrict-prototypes"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 int main(int argc, char **argv) { return 0; }
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_cflags__Wstrict_prototypes=yes
14743 else
14744 ac_cv_cflags__Wstrict_prototypes=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 CFLAGS=$ac_wine_try_cflags_saved
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14751 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14752 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14753 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14756 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14757 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -Wtype-limits"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__Wtype_limits=yes
14768 else
14769 ac_cv_cflags__Wtype_limits=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14776 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14777 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14778 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14781 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14782 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__Wunused_but_set_parameter=yes
14793 else
14794 ac_cv_cflags__Wunused_but_set_parameter=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14801 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14802 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14803 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14806 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14807 if ${ac_cv_cflags__Wvla+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_wine_try_cflags_saved=$CFLAGS
14811 CFLAGS="$CFLAGS -Wvla"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_cflags__Wvla=yes
14818 else
14819 ac_cv_cflags__Wvla=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 CFLAGS=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14826 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14827 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14828 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14831 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14832 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 ac_wine_try_cflags_saved=$CFLAGS
14836 CFLAGS="$CFLAGS -Wwrite-strings"
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14839 int main(int argc, char **argv) { return 0; }
14840 _ACEOF
14841 if ac_fn_c_try_link "$LINENO"; then :
14842 ac_cv_cflags__Wwrite_strings=yes
14843 else
14844 ac_cv_cflags__Wwrite_strings=no
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext conftest.$ac_ext
14848 CFLAGS=$ac_wine_try_cflags_saved
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14851 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14852 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14853 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14857 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14858 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_wine_try_cflags_saved=$CFLAGS
14862 CFLAGS="$CFLAGS -Wpointer-arith"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14865 int main(int argc, char **argv) { return 0; }
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_cflags__Wpointer_arith=yes
14869 else
14870 ac_cv_cflags__Wpointer_arith=no
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 CFLAGS=$ac_wine_try_cflags_saved
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14877 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14878 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14879 saved_string_h_CFLAGS=$CFLAGS
14880 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14882 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14883 if ${ac_cv_c_string_h_warnings+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885 else
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 #include <string.h>
14890 main ()
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_compile "$LINENO"; then :
14898 ac_cv_c_string_h_warnings=no
14899 else
14900 ac_cv_c_string_h_warnings=yes
14902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14905 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14906 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14907 CFLAGS=$saved_string_h_CFLAGS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14911 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14912 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14913 $as_echo_n "(cached) " >&6
14914 else
14915 ac_wine_try_cflags_saved=$CFLAGS
14916 CFLAGS="$CFLAGS -Wlogical-op"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 int main(int argc, char **argv) { return 0; }
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"; then :
14922 ac_cv_cflags__Wlogical_op=yes
14923 else
14924 ac_cv_cflags__Wlogical_op=no
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14928 CFLAGS=$ac_wine_try_cflags_saved
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14931 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14932 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14933 saved_string_h_CFLAGS=$CFLAGS
14934 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14936 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14937 if ${ac_cv_c_logicalop_noisy+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14942 #include <string.h>
14943 char*f(const char *h,char n) {return strchr(h,n);}
14945 main ()
14949 return 0;
14951 _ACEOF
14952 if ac_fn_c_try_compile "$LINENO"; then :
14953 ac_cv_c_logicalop_noisy=no
14954 else
14955 ac_cv_c_logicalop_noisy=yes
14957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14960 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14961 CFLAGS=$saved_string_h_CFLAGS
14962 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14965 CFLAGS=$saved_CFLAGS
14967 for ac_flag in $CFLAGS; do
14968 case $ac_flag in
14969 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14970 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14971 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 ac_wine_try_cflags_saved=$CFLAGS
14975 CFLAGS="$CFLAGS -gdwarf-2"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 int main(int argc, char **argv) { return 0; }
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_cflags__gdwarf_2=yes
14982 else
14983 ac_cv_cflags__gdwarf_2=no
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 CFLAGS=$ac_wine_try_cflags_saved
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14990 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14991 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14992 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14995 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14996 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_wine_try_cflags_saved=$CFLAGS
15000 CFLAGS="$CFLAGS -gstrict-dwarf"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 int main(int argc, char **argv) { return 0; }
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 ac_cv_cflags__gstrict_dwarf=yes
15007 else
15008 ac_cv_cflags__gstrict_dwarf=no
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15012 CFLAGS=$ac_wine_try_cflags_saved
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15015 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15016 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15017 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15018 fi ;;
15019 esac
15020 done
15022 case $host_cpu in
15023 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15024 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15025 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_wine_try_cflags_saved=$CFLAGS
15029 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 int main(int argc, char **argv) { return 0; }
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_cflags__fno_omit_frame_pointer=yes
15036 else
15037 ac_cv_cflags__fno_omit_frame_pointer=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 CFLAGS=$ac_wine_try_cflags_saved
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15044 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15045 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15046 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15047 fi ;;
15048 esac
15050 case $host in
15051 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15052 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15053 if ${ac_cv_cflags__Wno_format+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_wine_try_cflags_saved=$CFLAGS
15057 CFLAGS="$CFLAGS -Wno-format"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 int main(int argc, char **argv) { return 0; }
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_cflags__Wno_format=yes
15064 else
15065 ac_cv_cflags__Wno_format=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069 CFLAGS=$ac_wine_try_cflags_saved
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15072 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15073 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15074 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15075 fi ;;
15076 esac
15078 if test "x$enable_maintainer_mode" = "xyes"
15079 then
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15081 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15082 if ${ac_cv_cflags__Werror+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 ac_wine_try_cflags_saved=$CFLAGS
15086 CFLAGS="$CFLAGS -Werror"
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15089 int main(int argc, char **argv) { return 0; }
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 ac_cv_cflags__Werror=yes
15093 else
15094 ac_cv_cflags__Werror=no
15096 rm -f core conftest.err conftest.$ac_objext \
15097 conftest$ac_exeext conftest.$ac_ext
15098 CFLAGS=$ac_wine_try_cflags_saved
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15101 $as_echo "$ac_cv_cflags__Werror" >&6; }
15102 if test "x$ac_cv_cflags__Werror" = xyes; then :
15103 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15107 saved_CFLAGS="$CFLAGS"
15108 CFLAGS="$CFLAGS -Werror"
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15110 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15111 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15118 main ()
15122 return 0;
15124 _ACEOF
15125 if ac_fn_c_try_compile "$LINENO"; then :
15126 ac_cv_have_ms_hook_prologue="yes"
15127 else
15128 ac_cv_have_ms_hook_prologue="no"
15130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15133 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15134 CFLAGS="$saved_CFLAGS"
15135 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15136 then
15138 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15140 else
15141 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15148 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15149 if ${ac_cv_c_fortify_enabled+:} false; then :
15150 $as_echo_n "(cached) " >&6
15151 else
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154 #include <string.h>
15156 main ()
15158 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15159 #error Fortify enabled
15160 #endif
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_compile "$LINENO"; then :
15166 ac_cv_c_fortify_enabled=no
15167 else
15168 ac_cv_c_fortify_enabled=yes
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15173 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15174 if test "$ac_cv_c_fortify_enabled" = yes
15175 then
15176 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15181 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15182 if ${ac_cv_c_extern_prefix+:} false; then :
15183 $as_echo_n "(cached) " >&6
15184 else
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 extern int ac_test;
15189 main ()
15191 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 ac_cv_c_extern_prefix="yes"
15198 else
15199 ac_cv_c_extern_prefix="no"
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15205 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15207 case $host_cpu in
15208 *i[3456789]86*)
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15210 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15211 if ${ac_cv_c_stdcall_suffix+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 #ifndef _MSC_VER
15217 #define __stdcall __attribute__((__stdcall__))
15218 #endif
15219 int __stdcall ac_test(int i) { return i; }
15221 main ()
15223 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_link "$LINENO"; then :
15229 ac_cv_c_stdcall_suffix="yes"
15230 else
15231 ac_cv_c_stdcall_suffix="no"
15233 rm -f core conftest.err conftest.$ac_objext \
15234 conftest$ac_exeext conftest.$ac_ext
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15237 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15238 *) ac_cv_c_stdcall_suffix="no" ;;
15239 esac
15242 if test "$ac_cv_c_extern_prefix" = "yes"
15243 then
15244 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15246 asm_name_prefix="_"
15247 else
15248 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15250 asm_name_prefix=""
15254 if test "$ac_cv_c_stdcall_suffix" = "yes"
15255 then
15256 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15258 else
15259 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15265 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15266 if ${ac_cv_asm_func_def+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15273 main ()
15275 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15277 return 0;
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"; then :
15281 ac_cv_asm_func_def=".def"
15282 else
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15287 main ()
15289 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_link "$LINENO"; then :
15295 ac_cv_asm_func_def=".type @function"
15296 else
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15301 main ()
15303 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 ac_cv_asm_func_def=".type 2"
15310 else
15311 ac_cv_asm_func_def="unknown"
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15323 $as_echo "$ac_cv_asm_func_def" >&6; }
15326 case "$ac_cv_asm_func_def" in
15327 ".def")
15328 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15330 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15331 ".type @function")
15332 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15334 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15335 ".type 2")
15336 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15338 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15340 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15342 asm_func_header="" ;;
15343 esac
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15346 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15347 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15348 $as_echo_n "(cached) " >&6
15349 else
15350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15352 asm(".text\n\t.long 0");
15354 main ()
15358 return 0;
15360 _ACEOF
15361 if ac_fn_c_try_compile "$LINENO"; then :
15362 ac_cv_c_asm_outside_funcs="yes"
15363 else
15364 ac_cv_c_asm_outside_funcs="no"
15366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15369 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15372 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15373 if ${ac_cv_c_dot_previous+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15380 main ()
15382 asm(".text\nac_test:\t.long 0\n\t.previous");
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"; then :
15388 ac_cv_c_dot_previous="yes"
15389 else
15390 ac_cv_c_dot_previous="no"
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext conftest.$ac_ext
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15396 $as_echo "$ac_cv_c_dot_previous" >&6; }
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15399 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15400 if ${ac_cv_c_cfi_support+:} false; then :
15401 $as_echo_n "(cached) " >&6
15402 else
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15405 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15407 main ()
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_compile "$LINENO"; then :
15415 ac_cv_c_cfi_support="yes"
15416 else
15417 ac_cv_c_cfi_support="no"
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15422 $as_echo "$ac_cv_c_cfi_support" >&6; }
15424 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15425 asm_func_trailer=""
15426 if test "$ac_cv_c_dot_previous" = "yes"
15427 then
15428 asm_func_trailer="\\n\\t.previous"
15430 if test "$ac_cv_c_cfi_support" = "yes"
15431 then
15432 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15433 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15435 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15437 UNWINDFLAGS=-fasynchronous-unwind-tables
15439 else
15440 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15442 if test "x$enable_win64" = "xyes"
15443 then
15444 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15448 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15451 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15452 then
15453 cat >>confdefs.h <<_ACEOF
15454 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15455 _ACEOF
15457 else
15458 cat >>confdefs.h <<_ACEOF
15459 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15460 _ACEOF
15464 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15467 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15471 case $build_os in
15472 cygwin*|mingw32*) TOOLSEXT=".exe"
15474 esac
15476 case $host_os in
15477 linux*)
15478 case $host_cpu in
15479 *i[3456789]86*|x86_64*)
15480 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15481 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15483 esac
15485 esac
15488 ac_save_CFLAGS="$CFLAGS"
15489 CFLAGS="$CFLAGS $BUILTINFLAG"
15490 for ac_func in \
15491 __res_get_state \
15492 __res_getservers \
15493 _finite \
15494 _isnan \
15495 _pclose \
15496 _popen \
15497 _snprintf \
15498 _spawnvp \
15499 _strdup \
15500 _stricmp \
15501 _strnicmp \
15502 _strtoi64 \
15503 _strtoui64 \
15504 _vsnprintf \
15505 asctime_r \
15506 chsize \
15507 dlopen \
15508 epoll_create \
15509 ffs \
15510 finitef \
15511 fnmatch \
15512 fork \
15513 fpclass \
15514 fstatfs \
15515 fstatvfs \
15516 ftruncate \
15517 futimens \
15518 futimes \
15519 futimesat \
15520 getattrlist \
15521 getauxval \
15522 getifaddrs \
15523 getopt_long_only \
15524 getpwuid \
15525 gettimeofday \
15526 getuid \
15527 isnanf \
15528 kqueue \
15529 lstat \
15530 memmove \
15531 mmap \
15532 pclose \
15533 pipe2 \
15534 poll \
15535 popen \
15536 port_create \
15537 prctl \
15538 pread \
15539 proc_pidinfo \
15540 pwrite \
15541 readdir \
15542 readlink \
15543 sched_yield \
15544 select \
15545 setproctitle \
15546 setprogname \
15547 setrlimit \
15548 settimeofday \
15549 sigaltstack \
15550 sigprocmask \
15551 snprintf \
15552 statfs \
15553 statvfs \
15554 strcasecmp \
15555 strdup \
15556 strerror \
15557 strncasecmp \
15558 strtold \
15559 strtoll \
15560 strtoull \
15561 symlink \
15562 sysinfo \
15563 tcdrain \
15564 thr_kill2 \
15565 timegm \
15566 usleep \
15567 vsnprintf
15569 do :
15570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15575 _ACEOF
15578 done
15580 CFLAGS="$ac_save_CFLAGS"
15582 if test "$ac_cv_func_dlopen" = no
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15585 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15586 if ${ac_cv_lib_dl_dlopen+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_lib_save_LIBS=$LIBS
15590 LIBS="-ldl $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char dlopen ();
15602 main ()
15604 return dlopen ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 ac_cv_lib_dl_dlopen=yes
15611 else
15612 ac_cv_lib_dl_dlopen=no
15614 rm -f core conftest.err conftest.$ac_objext \
15615 conftest$ac_exeext conftest.$ac_ext
15616 LIBS=$ac_check_lib_save_LIBS
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15619 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15620 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15621 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15622 DL_LIBS="-ldl"
15627 ac_wine_check_funcs_save_LIBS="$LIBS"
15628 LIBS="$LIBS $DL_LIBS"
15629 for ac_func in dladdr
15630 do :
15631 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15632 if test "x$ac_cv_func_dladdr" = xyes; then :
15633 cat >>confdefs.h <<_ACEOF
15634 #define HAVE_DLADDR 1
15635 _ACEOF
15638 done
15640 LIBS="$ac_wine_check_funcs_save_LIBS"
15642 if test "$ac_cv_func_poll" = no
15643 then
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15645 $as_echo_n "checking for poll in -lpoll... " >&6; }
15646 if ${ac_cv_lib_poll_poll+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 ac_check_lib_save_LIBS=$LIBS
15650 LIBS="-lpoll $LIBS"
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15654 /* Override any GCC internal prototype to avoid an error.
15655 Use char because int might match the return type of a GCC
15656 builtin and then its argument prototype would still apply. */
15657 #ifdef __cplusplus
15658 extern "C"
15659 #endif
15660 char poll ();
15662 main ()
15664 return poll ();
15666 return 0;
15668 _ACEOF
15669 if ac_fn_c_try_link "$LINENO"; then :
15670 ac_cv_lib_poll_poll=yes
15671 else
15672 ac_cv_lib_poll_poll=no
15674 rm -f core conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15676 LIBS=$ac_check_lib_save_LIBS
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15679 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15680 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15681 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15682 POLL_LIBS="-lpoll"
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15689 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15690 if ${ac_cv_search_gethostbyname+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 ac_func_search_save_LIBS=$LIBS
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15700 #ifdef __cplusplus
15701 extern "C"
15702 #endif
15703 char gethostbyname ();
15705 main ()
15707 return gethostbyname ();
15709 return 0;
15711 _ACEOF
15712 for ac_lib in '' nsl; do
15713 if test -z "$ac_lib"; then
15714 ac_res="none required"
15715 else
15716 ac_res=-l$ac_lib
15717 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15719 if ac_fn_c_try_link "$LINENO"; then :
15720 ac_cv_search_gethostbyname=$ac_res
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext
15724 if ${ac_cv_search_gethostbyname+:} false; then :
15725 break
15727 done
15728 if ${ac_cv_search_gethostbyname+:} false; then :
15730 else
15731 ac_cv_search_gethostbyname=no
15733 rm conftest.$ac_ext
15734 LIBS=$ac_func_search_save_LIBS
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15737 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15738 ac_res=$ac_cv_search_gethostbyname
15739 if test "$ac_res" != no; then :
15740 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15746 $as_echo_n "checking for library containing connect... " >&6; }
15747 if ${ac_cv_search_connect+:} false; then :
15748 $as_echo_n "(cached) " >&6
15749 else
15750 ac_func_search_save_LIBS=$LIBS
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15754 /* Override any GCC internal prototype to avoid an error.
15755 Use char because int might match the return type of a GCC
15756 builtin and then its argument prototype would still apply. */
15757 #ifdef __cplusplus
15758 extern "C"
15759 #endif
15760 char connect ();
15762 main ()
15764 return connect ();
15766 return 0;
15768 _ACEOF
15769 for ac_lib in '' socket; do
15770 if test -z "$ac_lib"; then
15771 ac_res="none required"
15772 else
15773 ac_res=-l$ac_lib
15774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15776 if ac_fn_c_try_link "$LINENO"; then :
15777 ac_cv_search_connect=$ac_res
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext
15781 if ${ac_cv_search_connect+:} false; then :
15782 break
15784 done
15785 if ${ac_cv_search_connect+:} false; then :
15787 else
15788 ac_cv_search_connect=no
15790 rm conftest.$ac_ext
15791 LIBS=$ac_func_search_save_LIBS
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15794 $as_echo "$ac_cv_search_connect" >&6; }
15795 ac_res=$ac_cv_search_connect
15796 if test "$ac_res" != no; then :
15797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15803 $as_echo_n "checking for library containing inet_aton... " >&6; }
15804 if ${ac_cv_search_inet_aton+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_func_search_save_LIBS=$LIBS
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char inet_aton ();
15819 main ()
15821 return inet_aton ();
15823 return 0;
15825 _ACEOF
15826 for ac_lib in '' resolv; do
15827 if test -z "$ac_lib"; then
15828 ac_res="none required"
15829 else
15830 ac_res=-l$ac_lib
15831 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15833 if ac_fn_c_try_link "$LINENO"; then :
15834 ac_cv_search_inet_aton=$ac_res
15836 rm -f core conftest.err conftest.$ac_objext \
15837 conftest$ac_exeext
15838 if ${ac_cv_search_inet_aton+:} false; then :
15839 break
15841 done
15842 if ${ac_cv_search_inet_aton+:} false; then :
15844 else
15845 ac_cv_search_inet_aton=no
15847 rm conftest.$ac_ext
15848 LIBS=$ac_func_search_save_LIBS
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15851 $as_echo "$ac_cv_search_inet_aton" >&6; }
15852 ac_res=$ac_cv_search_inet_aton
15853 if test "$ac_res" != no; then :
15854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15859 for ac_func in \
15860 getaddrinfo \
15861 getnameinfo \
15862 getnetbyname \
15863 getprotobyname \
15864 getprotobynumber \
15865 getservbyport \
15866 inet_addr \
15867 inet_network \
15868 inet_ntop \
15869 inet_pton \
15870 sendmsg \
15871 socketpair \
15873 do :
15874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15879 _ACEOF
15882 done
15885 ac_save_LIBS=$LIBS
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15887 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15888 if ${ac_cv_search_clock_gettime+:} false; then :
15889 $as_echo_n "(cached) " >&6
15890 else
15891 ac_func_search_save_LIBS=$LIBS
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 #ifdef __cplusplus
15899 extern "C"
15900 #endif
15901 char clock_gettime ();
15903 main ()
15905 return clock_gettime ();
15907 return 0;
15909 _ACEOF
15910 for ac_lib in '' rt; do
15911 if test -z "$ac_lib"; then
15912 ac_res="none required"
15913 else
15914 ac_res=-l$ac_lib
15915 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 ac_cv_search_clock_gettime=$ac_res
15920 rm -f core conftest.err conftest.$ac_objext \
15921 conftest$ac_exeext
15922 if ${ac_cv_search_clock_gettime+:} false; then :
15923 break
15925 done
15926 if ${ac_cv_search_clock_gettime+:} false; then :
15928 else
15929 ac_cv_search_clock_gettime=no
15931 rm conftest.$ac_ext
15932 LIBS=$ac_func_search_save_LIBS
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15935 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15936 ac_res=$ac_cv_search_clock_gettime
15937 if test "$ac_res" != no; then :
15938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15940 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15942 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15946 LIBS=$ac_save_LIBS
15948 LDAP_LIBS=""
15950 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15951 then
15952 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15954 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15956 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15957 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15958 $as_echo_n "(cached) " >&6
15959 else
15960 ac_check_lib_save_LIBS=$LIBS
15961 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15965 /* Override any GCC internal prototype to avoid an error.
15966 Use char because int might match the return type of a GCC
15967 builtin and then its argument prototype would still apply. */
15968 #ifdef __cplusplus
15969 extern "C"
15970 #endif
15971 char ldap_initialize ();
15973 main ()
15975 return ldap_initialize ();
15977 return 0;
15979 _ACEOF
15980 if ac_fn_c_try_link "$LINENO"; then :
15981 ac_cv_lib_ldap_r_ldap_initialize=yes
15982 else
15983 ac_cv_lib_ldap_r_ldap_initialize=no
15985 rm -f core conftest.err conftest.$ac_objext \
15986 conftest$ac_exeext conftest.$ac_ext
15987 LIBS=$ac_check_lib_save_LIBS
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15990 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15991 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15993 $as_echo_n "checking for ber_init in -llber... " >&6; }
15994 if ${ac_cv_lib_lber_ber_init+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_check_lib_save_LIBS=$LIBS
15998 LIBS="-llber $PTHREAD_LIBS $LIBS"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char ber_init ();
16010 main ()
16012 return ber_init ();
16014 return 0;
16016 _ACEOF
16017 if ac_fn_c_try_link "$LINENO"; then :
16018 ac_cv_lib_lber_ber_init=yes
16019 else
16020 ac_cv_lib_lber_ber_init=no
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_lib_save_LIBS
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16027 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16028 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16030 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16032 LDAP_LIBS="-lldap_r -llber"
16039 ac_wine_check_funcs_save_LIBS="$LIBS"
16040 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16041 for ac_func in \
16042 ldap_count_references \
16043 ldap_first_reference \
16044 ldap_next_reference \
16045 ldap_parse_reference \
16046 ldap_parse_sort_control \
16047 ldap_parse_sortresponse_control \
16048 ldap_parse_vlv_control \
16049 ldap_parse_vlvresponse_control
16050 do :
16051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16053 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16054 cat >>confdefs.h <<_ACEOF
16055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16056 _ACEOF
16059 done
16061 LIBS="$ac_wine_check_funcs_save_LIBS"
16063 if test "x$LDAP_LIBS" = "x"; then :
16064 case "x$with_ldap" in
16065 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16066 xno) ;;
16067 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16068 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16069 esac
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16074 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16075 if ${wine_cv_one_arg_mkdir+:} false; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16079 /* end confdefs.h. */
16080 #include <sys/stat.h>
16082 main ()
16084 mkdir("foo");
16086 return 0;
16088 _ACEOF
16089 if ac_fn_c_try_compile "$LINENO"; then :
16090 wine_cv_one_arg_mkdir=yes
16091 else
16092 wine_cv_one_arg_mkdir=no
16094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16097 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16098 if test "$wine_cv_one_arg_mkdir" = "yes"
16099 then
16101 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16106 $as_echo_n "checking for sched_setaffinity... " >&6; }
16107 if ${wine_cv_have_sched_setaffinity+:} false; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16112 #define _GNU_SOURCE
16113 #include <sched.h>
16115 main ()
16117 sched_setaffinity(0, 0, 0);
16119 return 0;
16121 _ACEOF
16122 if ac_fn_c_try_link "$LINENO"; then :
16123 wine_cv_have_sched_setaffinity=yes
16124 else
16125 wine_cv_have_sched_setaffinity=no
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext conftest.$ac_ext
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16131 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16132 if test "$wine_cv_have_sched_setaffinity" = "yes"
16133 then
16135 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16140 $as_echo_n "checking for fallocate... " >&6; }
16141 if ${wine_cv_have_fallocate+:} false; then :
16142 $as_echo_n "(cached) " >&6
16143 else
16144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16146 #define _GNU_SOURCE
16147 #include <fcntl.h>
16149 main ()
16151 fallocate(-1, 0, 0, 0);
16153 return 0;
16155 _ACEOF
16156 if ac_fn_c_try_link "$LINENO"; then :
16157 wine_cv_have_fallocate=yes
16158 else
16159 wine_cv_have_fallocate=no
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext conftest.$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16165 $as_echo "$wine_cv_have_fallocate" >&6; }
16166 if test "$wine_cv_have_fallocate" = "yes"
16167 then
16169 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16175 $as_echo_n "checking for inline... " >&6; }
16176 if ${ac_cv_c_inline+:} false; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 ac_cv_c_inline=no
16180 for ac_kw in inline __inline__ __inline; do
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #ifndef __cplusplus
16184 typedef int foo_t;
16185 static $ac_kw foo_t static_foo () {return 0; }
16186 $ac_kw foo_t foo () {return 0; }
16187 #endif
16189 _ACEOF
16190 if ac_fn_c_try_compile "$LINENO"; then :
16191 ac_cv_c_inline=$ac_kw
16193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16194 test "$ac_cv_c_inline" != no && break
16195 done
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16199 $as_echo "$ac_cv_c_inline" >&6; }
16201 case $ac_cv_c_inline in
16202 inline | yes) ;;
16204 case $ac_cv_c_inline in
16205 no) ac_val=;;
16206 *) ac_val=$ac_cv_c_inline;;
16207 esac
16208 cat >>confdefs.h <<_ACEOF
16209 #ifndef __cplusplus
16210 #define inline $ac_val
16211 #endif
16212 _ACEOF
16214 esac
16216 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16217 if test "x$ac_cv_type_mode_t" = xyes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_MODE_T 1
16221 _ACEOF
16225 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16226 if test "x$ac_cv_type_off_t" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_OFF_T 1
16230 _ACEOF
16234 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16235 if test "x$ac_cv_type_pid_t" = xyes; then :
16237 cat >>confdefs.h <<_ACEOF
16238 #define HAVE_PID_T 1
16239 _ACEOF
16243 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16244 if test "x$ac_cv_type_size_t" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_SIZE_T 1
16248 _ACEOF
16252 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16253 if test "x$ac_cv_type_ssize_t" = xyes; then :
16255 cat >>confdefs.h <<_ACEOF
16256 #define HAVE_SSIZE_T 1
16257 _ACEOF
16261 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16262 if test "x$ac_cv_type_long_long" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_LONG_LONG 1
16266 _ACEOF
16270 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16271 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_FSBLKCNT_T 1
16275 _ACEOF
16279 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16280 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_FSFILCNT_T 1
16284 _ACEOF
16289 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16290 #include <signal.h>
16292 if test "x$ac_cv_type_sigset_t" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_SIGSET_T 1
16296 _ACEOF
16301 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16303 if test "x$ac_cv_type_request_sense" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_REQUEST_SENSE 1
16307 _ACEOF
16313 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16314 #ifdef HAVE_SYS_SOCKET_H
16315 #include <sys/socket.h>
16316 #endif
16317 #ifdef HAVE_SYS_SOCKETVAR_H
16318 #include <sys/socketvar.h>
16319 #endif
16320 #ifdef HAVE_NET_ROUTE_H
16321 #include <net/route.h>
16322 #endif
16323 #ifdef HAVE_NETINET_IN_H
16324 #include <netinet/in.h>
16325 #endif
16326 #ifdef HAVE_NETINET_IN_SYSTM_H
16327 #include <netinet/in_systm.h>
16328 #endif
16329 #ifdef HAVE_NETINET_IP_H
16330 #include <netinet/ip.h>
16331 #endif
16332 #ifdef HAVE_NETINET_IN_PCB_H
16333 #include <netinet/in_pcb.h>
16334 #endif
16336 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_XINPGEN 1
16340 _ACEOF
16346 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16347 #include <link.h>
16348 #endif
16349 #ifdef HAVE_SYS_LINK_H
16350 #include <sys/link.h>
16351 #endif
16353 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_R_DEBUG 1
16357 _ACEOF
16361 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16362 #include <link.h>
16363 #endif
16364 #ifdef HAVE_SYS_LINK_H
16365 #include <sys/link.h>
16366 #endif
16368 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_LINK_MAP 1
16372 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16379 #include <linux/input.h>
16380 #endif
16382 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16386 _ACEOF
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16393 $as_echo_n "checking for if_nameindex... " >&6; }
16394 if ${wine_cv_have_if_nameindex+:} false; then :
16395 $as_echo_n "(cached) " >&6
16396 else
16397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16399 #ifdef HAVE_SYS_TYPES_H
16400 #include <sys/types.h>
16401 #endif
16402 #ifdef HAVE_NET_IF_H
16403 # include <net/if.h>
16404 #endif
16406 main ()
16408 struct if_nameindex *p = if_nameindex(); return p->if_index;
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"; then :
16414 wine_cv_have_if_nameindex=yes
16415 else
16416 wine_cv_have_if_nameindex=no
16418 rm -f core conftest.err conftest.$ac_objext \
16419 conftest$ac_exeext conftest.$ac_ext
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16422 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16423 if test "$wine_cv_have_if_nameindex" = "yes"
16424 then
16426 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16431 $as_echo_n "checking for sigaddset... " >&6; }
16432 if ${wine_cv_have_sigaddset+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #include <signal.h>
16439 main ()
16441 sigset_t set; sigaddset(&set,SIGTERM);
16443 return 0;
16445 _ACEOF
16446 if ac_fn_c_try_link "$LINENO"; then :
16447 wine_cv_have_sigaddset=yes
16448 else
16449 wine_cv_have_sigaddset=no
16451 rm -f core conftest.err conftest.$ac_objext \
16452 conftest$ac_exeext conftest.$ac_ext
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16455 $as_echo "$wine_cv_have_sigaddset" >&6; }
16456 if test "$wine_cv_have_sigaddset" = "yes"
16457 then
16459 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16465 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16466 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16471 #include <netdb.h>
16473 main ()
16476 char *name=0;
16477 struct hostent he;
16478 struct hostent *result;
16479 char *buf=0;
16480 int bufsize=0;
16481 int errnr;
16482 char *addr=0;
16483 int addrlen=0;
16484 int addrtype=0;
16485 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16486 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16489 return 0;
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"; then :
16493 wine_cv_linux_gethostbyname_r_6=yes
16494 else
16495 wine_cv_linux_gethostbyname_r_6=no
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16503 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16504 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16505 then
16507 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16511 if test "$ac_cv_header_linux_joystick_h" = "yes"
16512 then
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16514 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16515 if ${wine_cv_linux_joystick_22_api+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16521 #include <sys/ioctl.h>
16522 #include <sys/types.h>
16523 #include <linux/joystick.h>
16525 struct js_event blub;
16526 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16527 #error "no 2.2 header"
16528 #endif
16531 main ()
16533 /*empty*/
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_compile "$LINENO"; then :
16539 wine_cv_linux_joystick_22_api=yes
16540 else
16541 wine_cv_linux_joystick_22_api=no
16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16547 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16548 if test "$wine_cv_linux_joystick_22_api" = "yes"
16549 then
16551 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16557 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16558 #ifdef HAVE_SYS_PARAM_H
16559 # include <sys/param.h>
16560 #endif
16561 #ifdef HAVE_SYS_MOUNT_H
16562 # include <sys/mount.h>
16563 #endif
16564 #ifdef HAVE_SYS_VFS_H
16565 # include <sys/vfs.h>
16566 #endif
16567 #ifdef HAVE_SYS_STATFS_H
16568 # include <sys/statfs.h>
16569 #endif
16571 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_STRUCT_STATFS_F_BFREE 1
16575 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16580 #ifdef HAVE_SYS_PARAM_H
16581 # include <sys/param.h>
16582 #endif
16583 #ifdef HAVE_SYS_MOUNT_H
16584 # include <sys/mount.h>
16585 #endif
16586 #ifdef HAVE_SYS_VFS_H
16587 # include <sys/vfs.h>
16588 #endif
16589 #ifdef HAVE_SYS_STATFS_H
16590 # include <sys/statfs.h>
16591 #endif
16593 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16597 _ACEOF
16601 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16602 #ifdef HAVE_SYS_PARAM_H
16603 # include <sys/param.h>
16604 #endif
16605 #ifdef HAVE_SYS_MOUNT_H
16606 # include <sys/mount.h>
16607 #endif
16608 #ifdef HAVE_SYS_VFS_H
16609 # include <sys/vfs.h>
16610 #endif
16611 #ifdef HAVE_SYS_STATFS_H
16612 # include <sys/statfs.h>
16613 #endif
16615 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16619 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16624 #ifdef HAVE_SYS_PARAM_H
16625 # include <sys/param.h>
16626 #endif
16627 #ifdef HAVE_SYS_MOUNT_H
16628 # include <sys/mount.h>
16629 #endif
16630 #ifdef HAVE_SYS_VFS_H
16631 # include <sys/vfs.h>
16632 #endif
16633 #ifdef HAVE_SYS_STATFS_H
16634 # include <sys/statfs.h>
16635 #endif
16637 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_STATFS_F_FFREE 1
16641 _ACEOF
16645 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16646 #ifdef HAVE_SYS_PARAM_H
16647 # include <sys/param.h>
16648 #endif
16649 #ifdef HAVE_SYS_MOUNT_H
16650 # include <sys/mount.h>
16651 #endif
16652 #ifdef HAVE_SYS_VFS_H
16653 # include <sys/vfs.h>
16654 #endif
16655 #ifdef HAVE_SYS_STATFS_H
16656 # include <sys/statfs.h>
16657 #endif
16659 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16663 _ACEOF
16667 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16668 #ifdef HAVE_SYS_PARAM_H
16669 # include <sys/param.h>
16670 #endif
16671 #ifdef HAVE_SYS_MOUNT_H
16672 # include <sys/mount.h>
16673 #endif
16674 #ifdef HAVE_SYS_VFS_H
16675 # include <sys/vfs.h>
16676 #endif
16677 #ifdef HAVE_SYS_STATFS_H
16678 # include <sys/statfs.h>
16679 #endif
16681 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16683 cat >>confdefs.h <<_ACEOF
16684 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16685 _ACEOF
16691 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16692 #include <sys/statvfs.h>
16693 #endif
16695 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16697 cat >>confdefs.h <<_ACEOF
16698 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16699 _ACEOF
16705 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16706 #include <dirent.h>
16707 #endif
16709 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16713 _ACEOF
16719 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16720 #ifdef HAVE_SYS_SOCKET_H
16721 # include <sys/socket.h>
16722 #endif
16723 #ifdef HAVE_SYS_UN_H
16724 # include <sys/un.h>
16725 #endif
16727 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16729 cat >>confdefs.h <<_ACEOF
16730 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16731 _ACEOF
16735 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16736 #ifdef HAVE_SYS_SOCKET_H
16737 # include <sys/socket.h>
16738 #endif
16739 #ifdef HAVE_SYS_UN_H
16740 # include <sys/un.h>
16741 #endif
16743 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16747 _ACEOF
16751 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16752 #ifdef HAVE_SYS_SOCKET_H
16753 # include <sys/socket.h>
16754 #endif
16755 #ifdef HAVE_SYS_UN_H
16756 # include <sys/un.h>
16757 #endif
16759 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16763 _ACEOF
16769 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16770 #ifdef HAVE_SCSI_SG_H
16771 #include <scsi/sg.h>
16772 #endif
16774 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16776 cat >>confdefs.h <<_ACEOF
16777 #define HAVE_SCSIREQ_T_CMD 1
16778 _ACEOF
16782 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>
16783 #ifdef HAVE_SCSI_SG_H
16784 #include <scsi/sg.h>
16785 #endif
16787 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16789 cat >>confdefs.h <<_ACEOF
16790 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16791 _ACEOF
16797 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16799 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16801 cat >>confdefs.h <<_ACEOF
16802 #define HAVE_SIGINFO_T_SI_FD 1
16803 _ACEOF
16809 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16810 #ifdef HAVE_SYS_MTIO_H
16811 #include <sys/mtio.h>
16812 #endif
16814 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16818 _ACEOF
16822 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16823 #ifdef HAVE_SYS_MTIO_H
16824 #include <sys/mtio.h>
16825 #endif
16827 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16829 cat >>confdefs.h <<_ACEOF
16830 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16831 _ACEOF
16835 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16836 #ifdef HAVE_SYS_MTIO_H
16837 #include <sys/mtio.h>
16838 #endif
16840 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16844 _ACEOF
16850 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16851 #include <getopt.h>
16852 #endif
16854 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_STRUCT_OPTION_NAME 1
16858 _ACEOF
16864 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16865 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16867 cat >>confdefs.h <<_ACEOF
16868 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16869 _ACEOF
16873 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16874 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_STRUCT_STAT_ST_MTIM 1
16878 _ACEOF
16882 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16883 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16887 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16892 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_STAT_ST_CTIM 1
16896 _ACEOF
16900 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16901 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16905 _ACEOF
16909 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16910 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16912 cat >>confdefs.h <<_ACEOF
16913 #define HAVE_STRUCT_STAT_ST_ATIM 1
16914 _ACEOF
16918 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16919 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16921 cat >>confdefs.h <<_ACEOF
16922 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16923 _ACEOF
16927 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16928 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16932 _ACEOF
16936 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16937 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16941 _ACEOF
16945 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16946 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16948 cat >>confdefs.h <<_ACEOF
16949 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16950 _ACEOF
16954 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16955 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16959 _ACEOF
16963 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16964 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16966 cat >>confdefs.h <<_ACEOF
16967 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16968 _ACEOF
16974 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
16975 #include <sys/types.h>
16976 #endif
16977 #ifdef HAVE_NETINET_IN_H
16978 #include <netinet/in.h>
16979 #endif
16981 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16985 _ACEOF
16991 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16992 #include <sys/types.h>
16993 #endif
16994 #ifdef HAVE_NETINET_IN_H
16995 #include <netinet/in.h>
16996 #endif
16997 #ifdef HAVE_RESOLV_H
16998 #include <resolv.h>
16999 #endif
17001 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_STRUCT___RES_STATE 1
17005 _ACEOF
17011 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
17012 #include <resolv.h>
17013 #endif
17015 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17017 cat >>confdefs.h <<_ACEOF
17018 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17019 _ACEOF
17025 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17026 #include <sys/types.h>
17027 #endif
17028 #ifdef HAVE_NETINET_IN_H
17029 # include <netinet/in.h>
17030 #endif
17031 #ifdef HAVE_ARPA_NAMESER_H
17032 # include <arpa/nameser.h>
17033 #endif
17035 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_NS_MSG__MSG_PTR 1
17039 _ACEOF
17045 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17046 #include <sys/types.h>
17047 #endif
17048 #ifdef HAVE_NETINET_IN_H
17049 #include <netinet/in.h>
17050 #endif
17051 #ifdef HAVE_NETINET_IP_H
17052 #include <netinet/ip.h>
17053 #endif
17054 #ifdef HAVE_NETINET_IP_ICMP_H
17055 #include <netinet/ip_icmp.h>
17056 #endif
17057 #ifdef HAVE_NETINET_ICMP_VAR_H
17058 #include <netinet/icmp_var.h>
17059 #endif
17061 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17065 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17072 #include <sys/types.h>
17073 #endif
17074 #ifdef HAVE_ALIAS_H
17075 #include <alias.h>
17076 #endif
17077 #ifdef HAVE_SYS_SOCKET_H
17078 #include <sys/socket.h>
17079 #endif
17080 #ifdef HAVE_SYS_SOCKETVAR_H
17081 #include <sys/socketvar.h>
17082 #endif
17083 #ifdef HAVE_SYS_TIMEOUT_H
17084 #include <sys/timeout.h>
17085 #endif
17086 #ifdef HAVE_NETINET_IN_H
17087 #include <netinet/in.h>
17088 #endif
17089 #ifdef HAVE_NETINET_IN_SYSTM_H
17090 #include <netinet/in_systm.h>
17091 #endif
17092 #ifdef HAVE_NETINET_IP_H
17093 #include <netinet/ip.h>
17094 #endif
17095 #ifdef HAVE_NETINET_IP_VAR_H
17096 #include <netinet/ip_var.h>
17097 #endif
17098 #ifdef HAVE_NETINET_IP_ICMP_H
17099 #include <netinet/ip_icmp.h>
17100 #endif
17101 #ifdef HAVE_NETINET_ICMP_VAR_H
17102 #include <netinet/icmp_var.h>
17103 #endif
17105 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17109 _ACEOF
17115 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17116 #include <sys/types.h>
17117 #endif
17118 #ifdef HAVE_SYS_SOCKETVAR_H
17119 #include <sys/socketvar.h>
17120 #endif
17121 #ifdef HAVE_NETINET_IN_H
17122 #include <netinet/in.h>
17123 #endif
17124 #ifdef HAVE_NETINET_IP_VAR_H
17125 #include <netinet/ip_var.h>
17126 #endif
17128 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17132 _ACEOF
17138 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
17139 #include <netinet/ip_var.h>
17140 #endif
17142 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17146 _ACEOF
17152 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17153 #include <sys/types.h>
17154 #endif
17155 #ifdef HAVE_SYS_SOCKETVAR_H
17156 #include <sys/socketvar.h>
17157 #endif
17158 #ifdef HAVE_NETINET_IN_H
17159 #include <netinet/in.h>
17160 #endif
17161 #ifdef HAVE_NETINET_TCP_H
17162 #include <netinet/tcp.h>
17163 #endif
17164 #ifdef HAVE_NETINET_TCP_VAR_H
17165 #include <netinet/tcp_var.h>
17166 #endif
17168 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17172 _ACEOF
17178 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
17179 #include <netinet/tcp_var.h>
17180 #endif
17182 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17186 _ACEOF
17192 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17193 #include <sys/types.h>
17194 #endif
17195 #ifdef HAVE_NETINET_IN_H
17196 #include <netinet/in.h>
17197 #endif
17198 #ifdef HAVE_NETINET_IP_VAR_H
17199 #include <netinet/ip_var.h>
17200 #endif
17201 #ifdef HAVE_NETINET_UDP_H
17202 #include <netinet/udp.h>
17203 #endif
17204 #ifdef HAVE_NETINET_UDP_VAR_H
17205 #include <netinet/udp_var.h>
17206 #endif
17208 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17212 _ACEOF
17218 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17219 #include <sys/types.h>
17220 #endif
17221 #ifdef HAVE_NET_IF_H
17222 # include <net/if.h>
17223 #endif
17225 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17229 _ACEOF
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17236 $as_echo_n "checking for timezone variable... " >&6; }
17237 if ${ac_cv_have_timezone+:} false; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17242 #include <time.h>
17244 main ()
17246 timezone = 1
17248 return 0;
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 ac_cv_have_timezone="yes"
17253 else
17254 ac_cv_have_timezone="no"
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17260 $as_echo "$ac_cv_have_timezone" >&6; }
17261 if test "$ac_cv_have_timezone" = "yes"
17262 then
17264 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17268 $as_echo_n "checking for daylight variable... " >&6; }
17269 if ${ac_cv_have_daylight+:} false; then :
17270 $as_echo_n "(cached) " >&6
17271 else
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #include <time.h>
17276 main ()
17278 daylight = 1
17280 return 0;
17282 _ACEOF
17283 if ac_fn_c_try_link "$LINENO"; then :
17284 ac_cv_have_daylight="yes"
17285 else
17286 ac_cv_have_daylight="no"
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17292 $as_echo "$ac_cv_have_daylight" >&6; }
17293 if test "$ac_cv_have_daylight" = "yes"
17294 then
17296 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17300 ac_save_LIBS="$LIBS"
17301 LIBS="$LIBS -lm"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17303 $as_echo_n "checking for isfinite... " >&6; }
17304 if ${ac_cv_have_isfinite+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #define _GNU_SOURCE
17310 #include <math.h>
17312 main ()
17314 float f = 0.0; return isfinite(f)
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 ac_cv_have_isfinite="yes"
17321 else
17322 ac_cv_have_isfinite="no"
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17328 $as_echo "$ac_cv_have_isfinite" >&6; }
17329 if test "$ac_cv_have_isfinite" = "yes"
17330 then
17332 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17337 $as_echo_n "checking for isinf... " >&6; }
17338 if ${ac_cv_have_isinf+:} false; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #include <math.h>
17345 main ()
17347 float f = 0.0; return isinf(f)
17349 return 0;
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"; then :
17353 ac_cv_have_isinf="yes"
17354 else
17355 ac_cv_have_isinf="no"
17357 rm -f core conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17361 $as_echo "$ac_cv_have_isinf" >&6; }
17362 if test "$ac_cv_have_isinf" = "yes"
17363 then
17365 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17370 $as_echo_n "checking for isnan... " >&6; }
17371 if ${ac_cv_have_isnan+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #include <math.h>
17378 main ()
17380 float f = 0.0; return isnan(f)
17382 return 0;
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"; then :
17386 ac_cv_have_isnan="yes"
17387 else
17388 ac_cv_have_isnan="no"
17390 rm -f core conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17394 $as_echo "$ac_cv_have_isnan" >&6; }
17395 if test "$ac_cv_have_isnan" = "yes"
17396 then
17398 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17402 for ac_func in \
17403 asinh \
17404 asinhf \
17405 cbrt \
17406 cbrtf \
17407 erf \
17408 erff \
17409 exp2 \
17410 exp2f \
17411 lgamma \
17412 lgammaf \
17413 llrint \
17414 llrintf \
17415 llround \
17416 llroundf \
17417 log2 \
17418 log2f \
17419 lrint \
17420 lrintf \
17421 lround \
17422 lroundf \
17423 nearbyint \
17424 nearbyintf \
17425 powl \
17426 remainder \
17427 remainderf \
17428 rint \
17429 rintf \
17430 round \
17431 roundf \
17432 trunc \
17433 truncf
17435 do :
17436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17439 cat >>confdefs.h <<_ACEOF
17440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17441 _ACEOF
17444 done
17446 LIBS="$ac_save_LIBS"
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17449 $as_echo_n "checking for __builtin_clz... " >&6; }
17450 if ${ac_cv_have___builtin_clz+:} false; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17457 main ()
17459 return __builtin_clz(1)
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_have___builtin_clz="yes"
17466 else
17467 ac_cv_have___builtin_clz="no"
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17473 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17474 if test "$ac_cv_have___builtin_clz" = "yes"
17475 then
17477 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17482 $as_echo_n "checking for __builtin_popcount... " >&6; }
17483 if ${ac_cv_have___builtin_popcount+:} false; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17490 main ()
17492 return __builtin_popcount(1)
17494 return 0;
17496 _ACEOF
17497 if ac_fn_c_try_link "$LINENO"; then :
17498 ac_cv_have___builtin_popcount="yes"
17499 else
17500 ac_cv_have___builtin_popcount="no"
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17506 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17507 if test "$ac_cv_have___builtin_popcount" = "yes"
17508 then
17510 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17515 case $host_cpu in
17516 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17517 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17518 if ${ac_cv_cpp_def___i386__+:} false; then :
17519 $as_echo_n "(cached) " >&6
17520 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #ifndef __i386__
17525 #endif
17526 _ACEOF
17527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17528 $EGREP "yes" >/dev/null 2>&1; then :
17529 ac_cv_cpp_def___i386__=yes
17530 else
17531 ac_cv_cpp_def___i386__=no
17533 rm -f conftest*
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17537 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17538 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17539 CFLAGS="$CFLAGS -D__i386__"
17540 LINTFLAGS="$LINTFLAGS -D__i386__"
17541 fi ;;
17542 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17543 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17544 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 #ifndef __x86_64__
17551 #endif
17552 _ACEOF
17553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17554 $EGREP "yes" >/dev/null 2>&1; then :
17555 ac_cv_cpp_def___x86_64__=yes
17556 else
17557 ac_cv_cpp_def___x86_64__=no
17559 rm -f conftest*
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17563 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17564 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17565 CFLAGS="$CFLAGS -D__x86_64__"
17566 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17567 fi ;;
17568 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17569 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17570 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #ifndef __sparc64__
17577 #endif
17578 _ACEOF
17579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17580 $EGREP "yes" >/dev/null 2>&1; then :
17581 ac_cv_cpp_def___sparc64__=yes
17582 else
17583 ac_cv_cpp_def___sparc64__=no
17585 rm -f conftest*
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17589 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17590 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17591 CFLAGS="$CFLAGS -D__sparc64__"
17592 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17593 fi ;;
17594 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17595 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17596 if ${ac_cv_cpp_def___sparc__+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 #ifndef __sparc__
17603 #endif
17604 _ACEOF
17605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17606 $EGREP "yes" >/dev/null 2>&1; then :
17607 ac_cv_cpp_def___sparc__=yes
17608 else
17609 ac_cv_cpp_def___sparc__=no
17611 rm -f conftest*
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17615 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17616 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17617 CFLAGS="$CFLAGS -D__sparc__"
17618 LINTFLAGS="$LINTFLAGS -D__sparc__"
17619 fi ;;
17620 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17621 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17622 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #ifndef __powerpc64__
17629 #endif
17630 _ACEOF
17631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17632 $EGREP "yes" >/dev/null 2>&1; then :
17633 ac_cv_cpp_def___powerpc64__=yes
17634 else
17635 ac_cv_cpp_def___powerpc64__=no
17637 rm -f conftest*
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17641 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17642 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17643 CFLAGS="$CFLAGS -D__powerpc64__"
17644 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17645 fi ;;
17646 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17647 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17648 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17649 $as_echo_n "(cached) " >&6
17650 else
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653 #ifndef __powerpc__
17655 #endif
17656 _ACEOF
17657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17658 $EGREP "yes" >/dev/null 2>&1; then :
17659 ac_cv_cpp_def___powerpc__=yes
17660 else
17661 ac_cv_cpp_def___powerpc__=no
17663 rm -f conftest*
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17667 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17668 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17669 CFLAGS="$CFLAGS -D__powerpc__"
17670 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17671 fi ;;
17672 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17673 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17674 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 #ifndef __aarch64__
17681 #endif
17682 _ACEOF
17683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17684 $EGREP "yes" >/dev/null 2>&1; then :
17685 ac_cv_cpp_def___aarch64__=yes
17686 else
17687 ac_cv_cpp_def___aarch64__=no
17689 rm -f conftest*
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17693 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17694 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17695 CFLAGS="$CFLAGS -D__aarch64__"
17696 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17697 fi ;;
17698 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17699 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17700 if ${ac_cv_cpp_def___arm__+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 #ifndef __arm__
17707 #endif
17708 _ACEOF
17709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17710 $EGREP "yes" >/dev/null 2>&1; then :
17711 ac_cv_cpp_def___arm__=yes
17712 else
17713 ac_cv_cpp_def___arm__=no
17715 rm -f conftest*
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17719 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17720 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17721 CFLAGS="$CFLAGS -D__arm__"
17722 LINTFLAGS="$LINTFLAGS -D__arm__"
17723 fi ;;
17724 esac
17726 case $host_vendor in
17727 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17728 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17729 if ${ac_cv_cpp_def___sun__+:} false; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #ifndef __sun__
17736 #endif
17737 _ACEOF
17738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17739 $EGREP "yes" >/dev/null 2>&1; then :
17740 ac_cv_cpp_def___sun__=yes
17741 else
17742 ac_cv_cpp_def___sun__=no
17744 rm -f conftest*
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17748 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17749 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17750 CFLAGS="$CFLAGS -D__sun__"
17751 LINTFLAGS="$LINTFLAGS -D__sun__"
17752 fi ;;
17753 esac
17759 ac_config_commands="$ac_config_commands include/stamp-h"
17761 $as_echo_n "creating Makefile rules..." >&6
17763 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17764 SOCKET_LIBS = $SOCKET_LIBS
17765 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17766 IOKIT_LIBS = $IOKIT_LIBS
17767 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17768 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17769 CORESERVICES_LIBS = $CORESERVICES_LIBS
17770 APPKIT_LIBS = $APPKIT_LIBS
17771 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17772 SECURITY_LIBS = $SECURITY_LIBS
17773 COREAUDIO_LIBS = $COREAUDIO_LIBS
17774 OPENAL_LIBS = $OPENAL_LIBS
17775 OPENCL_LIBS = $OPENCL_LIBS
17776 QUICKTIME_LIBS = $QUICKTIME_LIBS
17777 CARBON_LIBS = $CARBON_LIBS
17778 PTHREAD_LIBS = $PTHREAD_LIBS
17779 X_CFLAGS = $X_CFLAGS
17780 X_PRE_LIBS = $X_PRE_LIBS
17781 X_LIBS = $X_LIBS
17782 X_EXTRA_LIBS = $X_EXTRA_LIBS
17783 PCAP_LIBS = $PCAP_LIBS
17784 XML2_CFLAGS = $XML2_CFLAGS
17785 XML2_LIBS = $XML2_LIBS
17786 XSLT_CFLAGS = $XSLT_CFLAGS
17787 XSLT_LIBS = $XSLT_LIBS
17788 DBUS_CFLAGS = $DBUS_CFLAGS
17789 DBUS_LIBS = $DBUS_LIBS
17790 HAL_CFLAGS = $HAL_CFLAGS
17791 HAL_LIBS = $HAL_LIBS
17792 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17793 GNUTLS_LIBS = $GNUTLS_LIBS
17794 SANE_CFLAGS = $SANE_CFLAGS
17795 SANE_LIBS = $SANE_LIBS
17796 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17797 GPHOTO2_LIBS = $GPHOTO2_LIBS
17798 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17799 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17800 RESOLV_LIBS = $RESOLV_LIBS
17801 LCMS2_CFLAGS = $LCMS2_CFLAGS
17802 LCMS2_LIBS = $LCMS2_LIBS
17803 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17804 FREETYPE_LIBS = $FREETYPE_LIBS
17805 Z_LIBS = $Z_LIBS
17806 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17807 PULSE_CFLAGS = $PULSE_CFLAGS
17808 PULSE_LIBS = $PULSE_LIBS
17809 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17810 GSTREAMER_LIBS = $GSTREAMER_LIBS
17811 ALSA_LIBS = $ALSA_LIBS
17812 OSS4_CFLAGS = $OSS4_CFLAGS
17813 UDEV_CFLAGS = $UDEV_CFLAGS
17814 UDEV_LIBS = $UDEV_LIBS
17815 CAPI20_CFLAGS = $CAPI20_CFLAGS
17816 CAPI20_LIBS = $CAPI20_LIBS
17817 CUPS_CFLAGS = $CUPS_CFLAGS
17818 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17819 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17820 JPEG_CFLAGS = $JPEG_CFLAGS
17821 JPEG_LIBS = $JPEG_LIBS
17822 PNG_CFLAGS = $PNG_CFLAGS
17823 PNG_LIBS = $PNG_LIBS
17824 TIFF_CFLAGS = $TIFF_CFLAGS
17825 TIFF_LIBS = $TIFF_LIBS
17826 MPG123_CFLAGS = $MPG123_CFLAGS
17827 MPG123_LIBS = $MPG123_LIBS
17828 KSTAT_LIBS = $KSTAT_LIBS
17829 PROCSTAT_LIBS = $PROCSTAT_LIBS
17830 NETAPI_CFLAGS = $NETAPI_CFLAGS
17831 NETAPI_LIBS = $NETAPI_LIBS
17832 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17833 DL_LIBS = $DL_LIBS
17834 POLL_LIBS = $POLL_LIBS
17835 RT_LIBS = $RT_LIBS
17836 LDAP_LIBS = $LDAP_LIBS
17841 wine_fn_append_rule "
17842 # Rules automatically generated by configure
17844 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17846 .INIT: Makefile
17847 .MAKEFILEDEPS:
17848 all: Makefile
17849 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17850 @./config.status Make.tmp Makefile
17851 depend: \$(MAKEDEP) dummy
17852 \$(MAKEDEP)"
17854 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17855 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17857 if test "x$enable_fonts" != xno; then
17858 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17859 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17860 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17861 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17862 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17863 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17865 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17866 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17867 ac_config_links="$ac_config_links wine:tools/winewrapper"
17868 wine_fn_config_symlink wine
17869 if test "x$enable_win64" != xno; then
17870 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17871 wine_fn_config_symlink wine64
17874 wine_fn_config_dll acledit enable_acledit
17875 wine_fn_config_dll aclui enable_aclui implib
17876 wine_fn_config_dll activeds enable_activeds implib
17877 wine_fn_config_dll actxprxy enable_actxprxy clean
17878 wine_fn_config_lib adsiid
17879 wine_fn_config_dll adsldpc enable_adsldpc
17880 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17881 wine_fn_config_test dlls/advapi32/tests advapi32_test
17882 wine_fn_config_dll advpack enable_advpack implib
17883 wine_fn_config_test dlls/advpack/tests advpack_test
17884 wine_fn_config_dll amstream enable_amstream clean
17885 wine_fn_config_test dlls/amstream/tests amstream_test
17886 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17887 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17888 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17889 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17890 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17891 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17892 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17893 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17895 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17897 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17898 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17899 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17900 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17901 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17902 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17903 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17904 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17905 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17906 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17907 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17908 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17909 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17910 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17911 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17912 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17913 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17914 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17915 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17916 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17917 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17919 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17921 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17922 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17923 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17924 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17925 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17926 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17927 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17928 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17929 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17930 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17931 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17932 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17933 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17934 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17935 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17936 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17937 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17938 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17939 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17940 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17942 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17943 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17944 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17946 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17947 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17950 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17951 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17953 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17954 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17955 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17956 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17963 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17966 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17971 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17975 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17977 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17978 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17980 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17992 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17993 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18000 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18001 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18002 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18003 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18006 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18007 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18008 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18009 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18010 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18011 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18012 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18013 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18014 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18015 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18016 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18017 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18018 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18019 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18020 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18021 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18022 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18023 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18024 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18025 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18026 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18027 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18028 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18029 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18030 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18031 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18032 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18033 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18034 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18035 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18036 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18037 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18038 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18039 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18040 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18041 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18042 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18043 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18044 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18045 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18046 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18047 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18048 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18049 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18050 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18051 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18052 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18053 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18054 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18055 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18056 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18057 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18058 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18059 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18060 wine_fn_config_dll apphelp enable_apphelp
18061 wine_fn_config_test dlls/apphelp/tests apphelp_test
18062 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18063 wine_fn_config_dll atl enable_atl clean,implib
18064 wine_fn_config_test dlls/atl/tests atl_test
18065 wine_fn_config_dll atl100 enable_atl100 clean,implib
18066 wine_fn_config_test dlls/atl100/tests atl100_test
18067 wine_fn_config_dll atl110 enable_atl110 clean
18068 wine_fn_config_dll atl80 enable_atl80 clean,implib
18069 wine_fn_config_test dlls/atl80/tests atl80_test
18070 wine_fn_config_dll atl90 enable_atl90 clean
18071 wine_fn_config_dll authz enable_authz
18072 wine_fn_config_dll avicap32 enable_avicap32 implib
18073 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18074 wine_fn_config_test dlls/avifil32/tests avifil32_test
18075 wine_fn_config_dll avifile.dll16 enable_win16
18076 wine_fn_config_dll avrt enable_avrt implib
18077 wine_fn_config_dll bcrypt enable_bcrypt implib
18078 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18079 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18080 wine_fn_config_dll browseui enable_browseui clean
18081 wine_fn_config_test dlls/browseui/tests browseui_test
18082 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18083 wine_fn_config_dll cabinet enable_cabinet implib
18084 wine_fn_config_test dlls/cabinet/tests cabinet_test
18085 wine_fn_config_dll capi2032 enable_capi2032 implib
18086 wine_fn_config_dll cards enable_cards implib
18087 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18088 wine_fn_config_dll clusapi enable_clusapi implib
18089 wine_fn_config_dll combase enable_combase
18090 wine_fn_config_test dlls/combase/tests combase_test
18091 wine_fn_config_dll comcat enable_comcat
18092 wine_fn_config_test dlls/comcat/tests comcat_test
18093 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18094 wine_fn_config_test dlls/comctl32/tests comctl32_test
18095 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18096 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18097 wine_fn_config_dll comm.drv16 enable_win16
18098 wine_fn_config_dll commdlg.dll16 enable_win16
18099 wine_fn_config_dll compobj.dll16 enable_win16
18100 wine_fn_config_dll compstui enable_compstui implib
18101 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18102 wine_fn_config_dll concrt140 enable_concrt140
18103 wine_fn_config_dll connect enable_connect
18104 wine_fn_config_dll credui enable_credui clean,implib
18105 wine_fn_config_test dlls/credui/tests credui_test
18106 wine_fn_config_dll crtdll enable_crtdll
18107 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18108 wine_fn_config_test dlls/crypt32/tests crypt32_test
18109 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18110 wine_fn_config_dll cryptdll enable_cryptdll implib
18111 wine_fn_config_dll cryptext enable_cryptext
18112 wine_fn_config_dll cryptnet enable_cryptnet implib
18113 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18114 wine_fn_config_dll cryptui enable_cryptui clean,implib
18115 wine_fn_config_test dlls/cryptui/tests cryptui_test
18116 wine_fn_config_dll ctapi32 enable_ctapi32
18117 wine_fn_config_dll ctl3d.dll16 enable_win16
18118 wine_fn_config_dll ctl3d32 enable_ctl3d32
18119 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18120 wine_fn_config_dll d2d1 enable_d2d1 implib
18121 wine_fn_config_test dlls/d2d1/tests d2d1_test
18122 wine_fn_config_dll d3d10 enable_d3d10 implib
18123 wine_fn_config_test dlls/d3d10/tests d3d10_test
18124 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18125 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18126 wine_fn_config_dll d3d10core enable_d3d10core implib
18127 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18128 wine_fn_config_dll d3d11 enable_d3d11 implib
18129 wine_fn_config_test dlls/d3d11/tests d3d11_test
18130 wine_fn_config_dll d3d8 enable_d3d8 implib
18131 wine_fn_config_test dlls/d3d8/tests d3d8_test
18132 wine_fn_config_dll d3d9 enable_d3d9 implib
18133 wine_fn_config_test dlls/d3d9/tests d3d9_test
18134 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18135 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18136 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18137 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18138 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18139 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18140 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18141 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18142 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18143 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18144 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18145 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18146 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18147 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18148 wine_fn_config_dll d3dim enable_d3dim
18149 wine_fn_config_dll d3drm enable_d3drm implib
18150 wine_fn_config_test dlls/d3drm/tests d3drm_test
18151 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18152 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18153 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18154 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18155 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18156 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18157 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18158 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18159 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18160 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18161 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18162 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18163 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18164 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18165 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18166 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18167 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18168 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18169 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18170 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18171 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18172 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18173 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18174 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18175 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18176 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18177 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18178 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18179 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18180 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18181 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18182 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18183 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18184 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18185 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18186 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18187 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18188 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18189 wine_fn_config_dll davclnt enable_davclnt
18190 wine_fn_config_dll dbgeng enable_dbgeng implib
18191 wine_fn_config_dll dbghelp enable_dbghelp implib
18192 wine_fn_config_dll dciman32 enable_dciman32 implib
18193 wine_fn_config_dll ddeml.dll16 enable_win16
18194 wine_fn_config_dll ddraw enable_ddraw clean,implib
18195 wine_fn_config_test dlls/ddraw/tests ddraw_test
18196 wine_fn_config_dll ddrawex enable_ddrawex clean
18197 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18198 wine_fn_config_dll devenum enable_devenum clean
18199 wine_fn_config_test dlls/devenum/tests devenum_test
18200 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18201 wine_fn_config_dll difxapi enable_difxapi
18202 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18203 wine_fn_config_test dlls/dinput/tests dinput_test
18204 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18205 wine_fn_config_test dlls/dinput8/tests dinput8_test
18206 wine_fn_config_dll dispdib.dll16 enable_win16
18207 wine_fn_config_dll dispex enable_dispex clean
18208 wine_fn_config_test dlls/dispex/tests dispex_test
18209 wine_fn_config_dll display.drv16 enable_win16
18210 wine_fn_config_dll dmband enable_dmband clean
18211 wine_fn_config_test dlls/dmband/tests dmband_test
18212 wine_fn_config_dll dmcompos enable_dmcompos clean
18213 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18214 wine_fn_config_dll dmime enable_dmime clean
18215 wine_fn_config_test dlls/dmime/tests dmime_test
18216 wine_fn_config_dll dmloader enable_dmloader clean
18217 wine_fn_config_test dlls/dmloader/tests dmloader_test
18218 wine_fn_config_dll dmscript enable_dmscript clean
18219 wine_fn_config_test dlls/dmscript/tests dmscript_test
18220 wine_fn_config_dll dmstyle enable_dmstyle clean
18221 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18222 wine_fn_config_dll dmsynth enable_dmsynth clean
18223 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18224 wine_fn_config_dll dmusic enable_dmusic clean
18225 wine_fn_config_test dlls/dmusic/tests dmusic_test
18226 wine_fn_config_dll dmusic32 enable_dmusic32
18227 wine_fn_config_dll dnsapi enable_dnsapi implib
18228 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18229 wine_fn_config_dll dplay enable_dplay
18230 wine_fn_config_dll dplayx enable_dplayx clean,implib
18231 wine_fn_config_test dlls/dplayx/tests dplayx_test
18232 wine_fn_config_dll dpnaddr enable_dpnaddr
18233 wine_fn_config_dll dpnet enable_dpnet clean,implib
18234 wine_fn_config_test dlls/dpnet/tests dpnet_test
18235 wine_fn_config_dll dpnhpast enable_dpnhpast
18236 wine_fn_config_dll dpnlobby enable_dpnlobby
18237 wine_fn_config_dll dpvoice enable_dpvoice clean
18238 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18239 wine_fn_config_dll dpwsockx enable_dpwsockx
18240 wine_fn_config_dll drmclien enable_drmclien
18241 wine_fn_config_dll dsound enable_dsound clean,implib
18242 wine_fn_config_test dlls/dsound/tests dsound_test
18243 wine_fn_config_dll dssenh enable_dssenh
18244 wine_fn_config_test dlls/dssenh/tests dssenh_test
18245 wine_fn_config_dll dswave enable_dswave clean
18246 wine_fn_config_test dlls/dswave/tests dswave_test
18247 wine_fn_config_dll dwmapi enable_dwmapi implib
18248 wine_fn_config_dll dwrite enable_dwrite implib
18249 wine_fn_config_test dlls/dwrite/tests dwrite_test
18250 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18251 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18252 wine_fn_config_lib dxerr8
18253 wine_fn_config_lib dxerr9
18254 wine_fn_config_dll dxgi enable_dxgi implib
18255 wine_fn_config_test dlls/dxgi/tests dxgi_test
18256 wine_fn_config_lib dxguid
18257 wine_fn_config_dll dxva2 enable_dxva2
18258 wine_fn_config_dll esent enable_esent
18259 wine_fn_config_dll evr enable_evr
18260 wine_fn_config_dll explorerframe enable_explorerframe clean
18261 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18262 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18263 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18264 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18265 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18266 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18267 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18268 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18269 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18270 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18271 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18272 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18273 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18274 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18275 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18276 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18277 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18278 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18279 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18280 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
18281 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18282 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18283 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18284 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18285 wine_fn_config_dll faultrep enable_faultrep implib
18286 wine_fn_config_test dlls/faultrep/tests faultrep_test
18287 wine_fn_config_dll fltlib enable_fltlib
18288 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18289 wine_fn_config_dll fntcache enable_fntcache
18290 wine_fn_config_dll fontsub enable_fontsub
18291 wine_fn_config_dll fusion enable_fusion
18292 wine_fn_config_test dlls/fusion/tests fusion_test
18293 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18294 wine_fn_config_dll gameux enable_gameux clean
18295 wine_fn_config_test dlls/gameux/tests gameux_test
18296 wine_fn_config_dll gdi.exe16 enable_win16
18297 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18298 wine_fn_config_test dlls/gdi32/tests gdi32_test
18299 wine_fn_config_dll gdiplus enable_gdiplus implib
18300 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18301 wine_fn_config_dll glu32 enable_glu32 implib
18302 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18303 wine_fn_config_dll gpkcsp enable_gpkcsp
18304 wine_fn_config_dll hal enable_hal
18305 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18306 wine_fn_config_dll hid enable_hid implib
18307 wine_fn_config_test dlls/hid/tests hid_test
18308 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18309 wine_fn_config_dll hlink enable_hlink clean,implib
18310 wine_fn_config_test dlls/hlink/tests hlink_test
18311 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18312 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18313 wine_fn_config_dll httpapi enable_httpapi
18314 wine_fn_config_dll iccvid enable_iccvid clean
18315 wine_fn_config_dll icmp enable_icmp
18316 wine_fn_config_dll ieframe enable_ieframe clean,implib
18317 wine_fn_config_test dlls/ieframe/tests ieframe_test
18318 wine_fn_config_dll ifsmgr.vxd enable_win16
18319 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18320 wine_fn_config_dll imagehlp enable_imagehlp implib
18321 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18322 wine_fn_config_dll imm.dll16 enable_win16
18323 wine_fn_config_dll imm32 enable_imm32 implib
18324 wine_fn_config_test dlls/imm32/tests imm32_test
18325 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18326 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18327 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18328 wine_fn_config_dll inetmib1 enable_inetmib1
18329 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18330 wine_fn_config_dll infosoft enable_infosoft clean
18331 wine_fn_config_test dlls/infosoft/tests infosoft_test
18332 wine_fn_config_dll initpki enable_initpki
18333 wine_fn_config_dll inkobj enable_inkobj
18334 wine_fn_config_dll inseng enable_inseng clean
18335 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18336 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18337 wine_fn_config_dll iprop enable_iprop
18338 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18339 wine_fn_config_dll itircl enable_itircl
18340 wine_fn_config_dll itss enable_itss clean
18341 wine_fn_config_test dlls/itss/tests itss_test
18342 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18343 wine_fn_config_dll jscript enable_jscript clean
18344 wine_fn_config_test dlls/jscript/tests jscript_test
18345 wine_fn_config_dll jsproxy enable_jsproxy implib
18346 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18347 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18348 wine_fn_config_test dlls/kernel32/tests kernel32_test
18349 wine_fn_config_dll kernelbase enable_kernelbase
18350 wine_fn_config_dll keyboard.drv16 enable_win16
18351 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18352 wine_fn_config_dll ksuser enable_ksuser
18353 wine_fn_config_dll ktmw32 enable_ktmw32
18354 wine_fn_config_dll loadperf enable_loadperf implib
18355 wine_fn_config_dll localspl enable_localspl clean
18356 wine_fn_config_test dlls/localspl/tests localspl_test
18357 wine_fn_config_dll localui enable_localui clean
18358 wine_fn_config_test dlls/localui/tests localui_test
18359 wine_fn_config_dll lz32 enable_lz32 implib
18360 wine_fn_config_test dlls/lz32/tests lz32_test
18361 wine_fn_config_dll lzexpand.dll16 enable_win16
18362 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18363 wine_fn_config_test dlls/mapi32/tests mapi32_test
18364 wine_fn_config_dll mapistub enable_mapistub
18365 wine_fn_config_dll mciavi32 enable_mciavi32
18366 wine_fn_config_dll mcicda enable_mcicda
18367 wine_fn_config_dll mciqtz32 enable_mciqtz32
18368 wine_fn_config_dll mciseq enable_mciseq
18369 wine_fn_config_dll mciwave enable_mciwave
18370 wine_fn_config_dll mf enable_mf implib
18371 wine_fn_config_test dlls/mf/tests mf_test
18372 wine_fn_config_dll mf3216 enable_mf3216
18373 wine_fn_config_dll mfplat enable_mfplat implib
18374 wine_fn_config_test dlls/mfplat/tests mfplat_test
18375 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18376 wine_fn_config_dll mgmtapi enable_mgmtapi
18377 wine_fn_config_dll midimap enable_midimap
18378 wine_fn_config_dll mlang enable_mlang clean,implib
18379 wine_fn_config_test dlls/mlang/tests mlang_test
18380 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18381 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18382 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18383 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18384 wine_fn_config_dll mmdevldr.vxd enable_win16
18385 wine_fn_config_dll mmsystem.dll16 enable_win16
18386 wine_fn_config_dll monodebg.vxd enable_win16
18387 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18388 wine_fn_config_dll mouse.drv16 enable_win16
18389 wine_fn_config_dll mpr enable_mpr clean,implib
18390 wine_fn_config_test dlls/mpr/tests mpr_test
18391 wine_fn_config_dll mprapi enable_mprapi implib
18392 wine_fn_config_dll msacm.dll16 enable_win16
18393 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18394 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18395 wine_fn_config_test dlls/msacm32/tests msacm32_test
18396 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18397 wine_fn_config_dll msasn1 enable_msasn1 implib
18398 wine_fn_config_dll mscat32 enable_mscat32
18399 wine_fn_config_dll mscms enable_mscms implib
18400 wine_fn_config_test dlls/mscms/tests mscms_test
18401 wine_fn_config_dll mscoree enable_mscoree clean
18402 wine_fn_config_test dlls/mscoree/tests mscoree_test
18403 wine_fn_config_dll msctf enable_msctf clean
18404 wine_fn_config_test dlls/msctf/tests msctf_test
18405 wine_fn_config_dll msctfp enable_msctfp clean
18406 wine_fn_config_dll msdaps enable_msdaps clean
18407 wine_fn_config_dll msdelta enable_msdelta
18408 wine_fn_config_dll msdmo enable_msdmo implib
18409 wine_fn_config_test dlls/msdmo/tests msdmo_test
18410 wine_fn_config_dll msdrm enable_msdrm
18411 wine_fn_config_dll msftedit enable_msftedit
18412 wine_fn_config_dll msg711.acm enable_msg711_acm
18413 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18414 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18415 wine_fn_config_dll mshtml enable_mshtml clean,implib
18416 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18417 wine_fn_config_dll msi enable_msi clean,implib
18418 wine_fn_config_test dlls/msi/tests msi_test
18419 wine_fn_config_dll msident enable_msident clean
18420 wine_fn_config_dll msimg32 enable_msimg32 implib
18421 wine_fn_config_dll msimsg enable_msimsg
18422 wine_fn_config_dll msimtf enable_msimtf clean
18423 wine_fn_config_dll msisip enable_msisip
18424 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18425 wine_fn_config_dll msls31 enable_msls31
18426 wine_fn_config_dll msnet32 enable_msnet32
18427 wine_fn_config_dll mspatcha enable_mspatcha implib
18428 wine_fn_config_dll msports enable_msports
18429 wine_fn_config_dll msrle32 enable_msrle32 clean
18430 wine_fn_config_test dlls/msrle32/tests msrle32_test
18431 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18432 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18433 wine_fn_config_dll mssign32 enable_mssign32
18434 wine_fn_config_dll mssip32 enable_mssip32
18435 wine_fn_config_dll mstask enable_mstask clean
18436 wine_fn_config_test dlls/mstask/tests mstask_test
18437 wine_fn_config_dll msvcirt enable_msvcirt
18438 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18439 wine_fn_config_dll msvcm80 enable_msvcm80
18440 wine_fn_config_dll msvcm90 enable_msvcm90
18441 wine_fn_config_dll msvcp100 enable_msvcp100
18442 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18443 wine_fn_config_dll msvcp110 enable_msvcp110
18444 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18445 wine_fn_config_dll msvcp120 enable_msvcp120
18446 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18447 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18448 wine_fn_config_dll msvcp140 enable_msvcp140
18449 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18450 wine_fn_config_dll msvcp60 enable_msvcp60
18451 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18452 wine_fn_config_dll msvcp70 enable_msvcp70
18453 wine_fn_config_dll msvcp71 enable_msvcp71
18454 wine_fn_config_dll msvcp80 enable_msvcp80
18455 wine_fn_config_dll msvcp90 enable_msvcp90
18456 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18457 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18458 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18459 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18460 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18461 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18462 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18463 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18464 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18465 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18466 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18467 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18468 wine_fn_config_dll msvcrt enable_msvcrt implib
18469 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18470 wine_fn_config_dll msvcrt20 enable_msvcrt20
18471 wine_fn_config_dll msvcrt40 enable_msvcrt40
18472 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18473 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18474 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18475 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18476 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18477 wine_fn_config_dll msvideo.dll16 enable_win16
18478 wine_fn_config_dll mswsock enable_mswsock implib
18479 wine_fn_config_dll msxml enable_msxml clean
18480 wine_fn_config_dll msxml2 enable_msxml2 clean
18481 wine_fn_config_dll msxml3 enable_msxml3 clean
18482 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18483 wine_fn_config_dll msxml4 enable_msxml4 clean
18484 wine_fn_config_dll msxml6 enable_msxml6 clean
18485 wine_fn_config_dll mtxdm enable_mtxdm
18486 wine_fn_config_dll ncrypt enable_ncrypt
18487 wine_fn_config_dll nddeapi enable_nddeapi implib
18488 wine_fn_config_dll ndis.sys enable_ndis_sys
18489 wine_fn_config_dll netapi32 enable_netapi32 implib
18490 wine_fn_config_test dlls/netapi32/tests netapi32_test
18491 wine_fn_config_dll netcfgx enable_netcfgx clean
18492 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18493 wine_fn_config_dll netprofm enable_netprofm clean
18494 wine_fn_config_test dlls/netprofm/tests netprofm_test
18495 wine_fn_config_dll newdev enable_newdev implib
18496 wine_fn_config_dll normaliz enable_normaliz implib
18497 wine_fn_config_dll npmshtml enable_npmshtml
18498 wine_fn_config_dll npptools enable_npptools
18499 wine_fn_config_dll ntdll enable_ntdll implib
18500 wine_fn_config_test dlls/ntdll/tests ntdll_test
18501 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18502 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18503 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18504 wine_fn_config_dll ntprint enable_ntprint
18505 wine_fn_config_test dlls/ntprint/tests ntprint_test
18506 wine_fn_config_dll objsel enable_objsel clean
18507 wine_fn_config_dll odbc32 enable_odbc32 implib
18508 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18509 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18510 wine_fn_config_dll odbccu32 enable_odbccu32
18511 wine_fn_config_dll ole2.dll16 enable_win16
18512 wine_fn_config_dll ole2conv.dll16 enable_win16
18513 wine_fn_config_dll ole2disp.dll16 enable_win16
18514 wine_fn_config_dll ole2nls.dll16 enable_win16
18515 wine_fn_config_dll ole2prox.dll16 enable_win16
18516 wine_fn_config_dll ole2thk.dll16 enable_win16
18517 wine_fn_config_dll ole32 enable_ole32 clean,implib
18518 wine_fn_config_test dlls/ole32/tests ole32_test
18519 wine_fn_config_dll oleacc enable_oleacc clean,implib
18520 wine_fn_config_test dlls/oleacc/tests oleacc_test
18521 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18522 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18523 wine_fn_config_dll olecli.dll16 enable_win16
18524 wine_fn_config_dll olecli32 enable_olecli32 implib
18525 wine_fn_config_dll oledb32 enable_oledb32 clean
18526 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18527 wine_fn_config_dll oledlg enable_oledlg clean,implib
18528 wine_fn_config_test dlls/oledlg/tests oledlg_test
18529 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18530 wine_fn_config_dll olesvr.dll16 enable_win16
18531 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18532 wine_fn_config_dll olethk32 enable_olethk32
18533 wine_fn_config_dll openal32 enable_openal32
18534 wine_fn_config_dll opencl enable_opencl
18535 wine_fn_config_dll opengl32 enable_opengl32 implib
18536 wine_fn_config_test dlls/opengl32/tests opengl32_test
18537 wine_fn_config_dll packager enable_packager clean
18538 wine_fn_config_test dlls/packager/tests packager_test
18539 wine_fn_config_dll pdh enable_pdh implib
18540 wine_fn_config_test dlls/pdh/tests pdh_test
18541 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18542 wine_fn_config_dll pidgen enable_pidgen
18543 wine_fn_config_dll powrprof enable_powrprof implib
18544 wine_fn_config_dll printui enable_printui
18545 wine_fn_config_dll prntvpt enable_prntvpt
18546 wine_fn_config_dll propsys enable_propsys clean,implib
18547 wine_fn_config_test dlls/propsys/tests propsys_test
18548 wine_fn_config_dll psapi enable_psapi implib
18549 wine_fn_config_test dlls/psapi/tests psapi_test
18550 wine_fn_config_dll pstorec enable_pstorec clean
18551 wine_fn_config_test dlls/pstorec/tests pstorec_test
18552 wine_fn_config_dll qcap enable_qcap
18553 wine_fn_config_test dlls/qcap/tests qcap_test
18554 wine_fn_config_dll qedit enable_qedit clean
18555 wine_fn_config_test dlls/qedit/tests qedit_test
18556 wine_fn_config_dll qmgr enable_qmgr clean
18557 wine_fn_config_test dlls/qmgr/tests qmgr_test
18558 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18559 wine_fn_config_dll quartz enable_quartz clean,implib
18560 wine_fn_config_test dlls/quartz/tests quartz_test clean
18561 wine_fn_config_dll query enable_query
18562 wine_fn_config_dll rasapi16.dll16 enable_win16
18563 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18564 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18565 wine_fn_config_dll rasdlg enable_rasdlg implib
18566 wine_fn_config_dll regapi enable_regapi
18567 wine_fn_config_dll resutils enable_resutils implib
18568 wine_fn_config_dll riched20 enable_riched20 clean,implib
18569 wine_fn_config_test dlls/riched20/tests riched20_test
18570 wine_fn_config_dll riched32 enable_riched32
18571 wine_fn_config_test dlls/riched32/tests riched32_test
18572 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18573 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18574 wine_fn_config_dll rsabase enable_rsabase
18575 wine_fn_config_dll rsaenh enable_rsaenh implib
18576 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18577 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18578 wine_fn_config_dll rtutils enable_rtutils implib
18579 wine_fn_config_dll samlib enable_samlib
18580 wine_fn_config_dll sane.ds enable_sane_ds clean
18581 wine_fn_config_dll scarddlg enable_scarddlg
18582 wine_fn_config_dll sccbase enable_sccbase
18583 wine_fn_config_dll schannel enable_schannel
18584 wine_fn_config_test dlls/schannel/tests schannel_test
18585 wine_fn_config_dll schedsvc enable_schedsvc clean
18586 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18587 wine_fn_config_dll scrobj enable_scrobj clean
18588 wine_fn_config_dll scrrun enable_scrrun clean
18589 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18590 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18591 wine_fn_config_dll secur32 enable_secur32 implib
18592 wine_fn_config_test dlls/secur32/tests secur32_test
18593 wine_fn_config_dll security enable_security
18594 wine_fn_config_dll sensapi enable_sensapi implib
18595 wine_fn_config_dll serialui enable_serialui clean
18596 wine_fn_config_test dlls/serialui/tests serialui_test
18597 wine_fn_config_dll setupapi enable_setupapi clean,implib
18598 wine_fn_config_test dlls/setupapi/tests setupapi_test
18599 wine_fn_config_dll setupx.dll16 enable_win16
18600 wine_fn_config_dll sfc enable_sfc implib
18601 wine_fn_config_dll sfc_os enable_sfc_os implib
18602 wine_fn_config_dll shdoclc enable_shdoclc clean
18603 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18604 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18605 wine_fn_config_dll shell.dll16 enable_win16
18606 wine_fn_config_dll shell32 enable_shell32 clean,implib
18607 wine_fn_config_test dlls/shell32/tests shell32_test
18608 wine_fn_config_dll shfolder enable_shfolder implib
18609 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18610 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18611 wine_fn_config_dll slbcsp enable_slbcsp
18612 wine_fn_config_dll slc enable_slc implib
18613 wine_fn_config_test dlls/slc/tests slc_test
18614 wine_fn_config_dll snmpapi enable_snmpapi implib
18615 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18616 wine_fn_config_dll softpub enable_softpub
18617 wine_fn_config_dll sound.drv16 enable_win16
18618 wine_fn_config_dll spoolss enable_spoolss implib
18619 wine_fn_config_test dlls/spoolss/tests spoolss_test
18620 wine_fn_config_dll sspicli enable_sspicli
18621 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18622 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18623 wine_fn_config_dll sti enable_sti clean,implib
18624 wine_fn_config_test dlls/sti/tests sti_test
18625 wine_fn_config_dll storage.dll16 enable_win16
18626 wine_fn_config_dll stress.dll16 enable_win16
18627 wine_fn_config_lib strmbase
18628 wine_fn_config_lib strmiids
18629 wine_fn_config_dll svrapi enable_svrapi
18630 wine_fn_config_dll sxs enable_sxs implib
18631 wine_fn_config_test dlls/sxs/tests sxs_test
18632 wine_fn_config_dll system.drv16 enable_win16
18633 wine_fn_config_dll t2embed enable_t2embed implib
18634 wine_fn_config_test dlls/t2embed/tests t2embed_test
18635 wine_fn_config_dll tapi32 enable_tapi32 implib
18636 wine_fn_config_dll taskschd enable_taskschd clean
18637 wine_fn_config_test dlls/taskschd/tests taskschd_test
18638 wine_fn_config_dll tdh enable_tdh
18639 wine_fn_config_dll tdi.sys enable_tdi_sys
18640 wine_fn_config_dll toolhelp.dll16 enable_win16
18641 wine_fn_config_dll traffic enable_traffic
18642 wine_fn_config_dll twain.dll16 enable_win16
18643 wine_fn_config_dll twain_32 enable_twain_32
18644 wine_fn_config_test dlls/twain_32/tests twain_32_test
18645 wine_fn_config_dll typelib.dll16 enable_win16
18646 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18647 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18648 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18649 wine_fn_config_dll unicows enable_unicows implib
18650 wine_fn_config_dll updspapi enable_updspapi
18651 wine_fn_config_dll url enable_url implib
18652 wine_fn_config_dll urlmon enable_urlmon clean,implib
18653 wine_fn_config_test dlls/urlmon/tests urlmon_test
18654 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18655 wine_fn_config_dll user.exe16 enable_win16
18656 wine_fn_config_dll user32 enable_user32 clean,implib
18657 wine_fn_config_test dlls/user32/tests user32_test
18658 wine_fn_config_dll userenv enable_userenv implib
18659 wine_fn_config_test dlls/userenv/tests userenv_test
18660 wine_fn_config_dll usp10 enable_usp10 implib
18661 wine_fn_config_test dlls/usp10/tests usp10_test
18662 wine_fn_config_lib uuid
18663 wine_fn_config_dll uxtheme enable_uxtheme implib
18664 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18665 wine_fn_config_dll vbscript enable_vbscript clean
18666 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18667 wine_fn_config_dll vcomp enable_vcomp
18668 wine_fn_config_test dlls/vcomp/tests vcomp_test
18669 wine_fn_config_dll vcomp100 enable_vcomp100
18670 wine_fn_config_dll vcomp110 enable_vcomp110
18671 wine_fn_config_dll vcomp120 enable_vcomp120
18672 wine_fn_config_dll vcomp140 enable_vcomp140
18673 wine_fn_config_dll vcomp90 enable_vcomp90
18674 wine_fn_config_dll vcruntime140 enable_vcruntime140
18675 wine_fn_config_dll vdhcp.vxd enable_win16
18676 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18677 wine_fn_config_dll ver.dll16 enable_win16
18678 wine_fn_config_dll version enable_version implib
18679 wine_fn_config_test dlls/version/tests version_test
18680 wine_fn_config_dll virtdisk enable_virtdisk
18681 wine_fn_config_dll vmm.vxd enable_win16
18682 wine_fn_config_dll vnbt.vxd enable_win16
18683 wine_fn_config_dll vnetbios.vxd enable_win16
18684 wine_fn_config_dll vssapi enable_vssapi
18685 wine_fn_config_dll vtdapi.vxd enable_win16
18686 wine_fn_config_dll vwin32.vxd enable_win16
18687 wine_fn_config_dll w32skrnl enable_win16
18688 wine_fn_config_dll w32sys.dll16 enable_win16
18689 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18690 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18691 wine_fn_config_dll wbemprox enable_wbemprox clean
18692 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18693 wine_fn_config_dll webservices enable_webservices implib
18694 wine_fn_config_test dlls/webservices/tests webservices_test
18695 wine_fn_config_dll wer enable_wer implib
18696 wine_fn_config_test dlls/wer/tests wer_test
18697 wine_fn_config_dll wevtapi enable_wevtapi
18698 wine_fn_config_dll wiaservc enable_wiaservc clean
18699 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18700 wine_fn_config_dll wimgapi enable_wimgapi
18701 wine_fn_config_dll win32s16.dll16 enable_win16
18702 wine_fn_config_dll win87em.dll16 enable_win16
18703 wine_fn_config_dll winaspi.dll16 enable_win16
18704 wine_fn_config_dll windebug.dll16 enable_win16
18705 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18706 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18707 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18708 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18709 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18710 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18711 wine_fn_config_dll winebus.sys enable_winebus_sys
18712 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18713 wine_fn_config_lib winecrt0
18714 wine_fn_config_dll wined3d enable_wined3d implib
18715 wine_fn_config_dll winegstreamer enable_winegstreamer
18716 wine_fn_config_dll winehid.sys enable_winehid_sys
18717 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18718 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18719 wine_fn_config_dll winemapi enable_winemapi
18720 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18721 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18722 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18723 wine_fn_config_dll wineps16.drv16 enable_win16
18724 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18725 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18726 wine_fn_config_dll winex11.drv enable_winex11_drv
18727 wine_fn_config_dll wing.dll16 enable_win16
18728 wine_fn_config_dll wing32 enable_wing32
18729 wine_fn_config_dll winhttp enable_winhttp clean,implib
18730 wine_fn_config_test dlls/winhttp/tests winhttp_test
18731 wine_fn_config_dll wininet enable_wininet clean,implib
18732 wine_fn_config_test dlls/wininet/tests wininet_test
18733 wine_fn_config_dll winmm enable_winmm clean,implib
18734 wine_fn_config_test dlls/winmm/tests winmm_test
18735 wine_fn_config_dll winnls.dll16 enable_win16
18736 wine_fn_config_dll winnls32 enable_winnls32 implib
18737 wine_fn_config_dll winscard enable_winscard implib
18738 wine_fn_config_dll winsock.dll16 enable_win16
18739 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18740 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18741 wine_fn_config_dll winsta enable_winsta
18742 wine_fn_config_dll wintab.dll16 enable_win16
18743 wine_fn_config_dll wintab32 enable_wintab32 implib
18744 wine_fn_config_test dlls/wintab32/tests wintab32_test
18745 wine_fn_config_dll wintrust enable_wintrust implib
18746 wine_fn_config_test dlls/wintrust/tests wintrust_test
18747 wine_fn_config_dll winusb enable_winusb
18748 wine_fn_config_dll wlanapi enable_wlanapi implib
18749 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18750 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18751 wine_fn_config_test dlls/wldap32/tests wldap32_test
18752 wine_fn_config_dll wmasf enable_wmasf
18753 wine_fn_config_dll wmi enable_wmi
18754 wine_fn_config_dll wmiutils enable_wmiutils clean
18755 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18756 wine_fn_config_dll wmp enable_wmp clean
18757 wine_fn_config_test dlls/wmp/tests wmp_test
18758 wine_fn_config_dll wmvcore enable_wmvcore implib
18759 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18760 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18761 wine_fn_config_dll wow32 enable_win16 implib
18762 wine_fn_config_dll wpc enable_wpc clean
18763 wine_fn_config_test dlls/wpc/tests wpc_test
18764 wine_fn_config_dll wpcap enable_wpcap
18765 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18766 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18767 wine_fn_config_dll wsdapi enable_wsdapi implib
18768 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18769 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18770 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18771 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18772 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18773 wine_fn_config_dll wsock32 enable_wsock32 implib
18774 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18775 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18776 wine_fn_config_dll wuapi enable_wuapi clean
18777 wine_fn_config_dll wuaueng enable_wuaueng
18778 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18779 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18780 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18781 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18782 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18783 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18784 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18785 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18786 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18787 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18788 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18789 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18790 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18791 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18792 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18793 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18794 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18795 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18796 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18797 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18798 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18799 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18800 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18801 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18802 wine_fn_config_dll xinput1_1 enable_xinput1_1
18803 wine_fn_config_dll xinput1_2 enable_xinput1_2
18804 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18805 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18806 wine_fn_config_dll xinput1_4 enable_xinput1_4
18807 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18808 wine_fn_config_dll xmllite enable_xmllite implib
18809 wine_fn_config_test dlls/xmllite/tests xmllite_test
18810 wine_fn_config_dll xolehlp enable_xolehlp
18811 wine_fn_config_dll xpsprint enable_xpsprint
18812 wine_fn_config_dll xpssvcs enable_xpssvcs
18813 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18814 wine_fn_config_makefile include enable_include clean,install-dev
18815 wine_fn_config_makefile libs/port enable_libs_port
18816 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18817 wine_fn_config_makefile libs/wpp enable_libs_wpp
18818 wine_fn_config_makefile loader enable_loader clean,install-lib
18819 wine_fn_config_makefile po enable_po clean
18820 wine_fn_config_program arp enable_arp install
18821 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18822 wine_fn_config_program attrib enable_attrib clean,install
18823 wine_fn_config_program cabarc enable_cabarc install
18824 wine_fn_config_program cacls enable_cacls install
18825 wine_fn_config_program clock enable_clock clean,install
18826 wine_fn_config_program cmd enable_cmd clean,install
18827 wine_fn_config_test programs/cmd/tests cmd.exe_test
18828 wine_fn_config_program conhost enable_conhost install
18829 wine_fn_config_program control enable_control install
18830 wine_fn_config_program cscript enable_cscript clean,install
18831 wine_fn_config_program dpnsvr enable_dpnsvr install
18832 wine_fn_config_program dxdiag enable_dxdiag clean,install
18833 wine_fn_config_program eject enable_eject install
18834 wine_fn_config_program expand enable_expand install
18835 wine_fn_config_program explorer enable_explorer clean,install
18836 wine_fn_config_program extrac32 enable_extrac32 install
18837 wine_fn_config_program findstr enable_findstr install
18838 wine_fn_config_program fsutil enable_fsutil install
18839 wine_fn_config_program hh enable_hh install
18840 wine_fn_config_program hostname enable_hostname clean,install
18841 wine_fn_config_program icacls enable_icacls install
18842 wine_fn_config_program icinfo enable_icinfo install
18843 wine_fn_config_program iexplore enable_iexplore install
18844 wine_fn_config_program ipconfig enable_ipconfig clean,install
18845 wine_fn_config_program lodctr enable_lodctr install
18846 wine_fn_config_program mofcomp enable_mofcomp install
18847 wine_fn_config_program mshta enable_mshta install
18848 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18849 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18850 wine_fn_config_program net enable_net clean,install
18851 wine_fn_config_program netsh enable_netsh install
18852 wine_fn_config_program netstat enable_netstat clean,install
18853 wine_fn_config_program ngen enable_ngen install
18854 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18855 wine_fn_config_program oleview enable_oleview clean,install
18856 wine_fn_config_program ping enable_ping install
18857 wine_fn_config_program plugplay enable_plugplay install
18858 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18859 wine_fn_config_program progman enable_progman clean,install
18860 wine_fn_config_program reg enable_reg clean,install
18861 wine_fn_config_test programs/reg/tests reg.exe_test
18862 wine_fn_config_program regasm enable_regasm install
18863 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18864 wine_fn_config_test programs/regedit/tests regedit.exe_test
18865 wine_fn_config_program regsvcs enable_regsvcs install
18866 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18867 wine_fn_config_program rpcss enable_rpcss clean,install
18868 wine_fn_config_program rundll.exe16 enable_win16 install
18869 wine_fn_config_program rundll32 enable_rundll32 install
18870 wine_fn_config_program sc enable_sc install
18871 wine_fn_config_program schtasks enable_schtasks install
18872 wine_fn_config_program sdbinst enable_sdbinst install
18873 wine_fn_config_program secedit enable_secedit install
18874 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18875 wine_fn_config_program services enable_services clean,install
18876 wine_fn_config_test programs/services/tests services.exe_test
18877 wine_fn_config_program shutdown enable_shutdown install
18878 wine_fn_config_program spoolsv enable_spoolsv install
18879 wine_fn_config_program start enable_start clean,install
18880 wine_fn_config_program subst enable_subst install
18881 wine_fn_config_program svchost enable_svchost install
18882 wine_fn_config_program systeminfo enable_systeminfo install
18883 wine_fn_config_program taskkill enable_taskkill clean,install
18884 wine_fn_config_program tasklist enable_tasklist install
18885 wine_fn_config_program taskmgr enable_taskmgr clean,install
18886 wine_fn_config_program termsv enable_termsv install
18887 wine_fn_config_program uninstaller enable_uninstaller clean,install
18888 wine_fn_config_program unlodctr enable_unlodctr install
18889 wine_fn_config_program view enable_view clean,install
18890 wine_fn_config_program wevtutil enable_wevtutil install
18891 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18892 wine_fn_config_program winebrowser enable_winebrowser install
18893 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18894 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18895 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18896 wine_fn_config_program winedevice enable_winedevice install
18897 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18898 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18899 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18900 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18901 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18902 wine_fn_config_program winetest enable_winetest clean
18903 wine_fn_config_program winevdm enable_win16 install
18904 wine_fn_config_program winhelp.exe16 enable_win16 install
18905 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18906 wine_fn_config_program winoldap.mod16 enable_win16 install
18907 wine_fn_config_program winver enable_winver install
18908 wine_fn_config_program wmic enable_wmic clean,install
18909 wine_fn_config_program wmplayer enable_wmplayer install
18910 wine_fn_config_program wordpad enable_wordpad clean,install
18911 wine_fn_config_program write enable_write clean,install
18912 wine_fn_config_program wscript enable_wscript clean,install
18913 wine_fn_config_test programs/wscript/tests wscript.exe_test
18914 wine_fn_config_program wusa enable_wusa install
18915 wine_fn_config_program xcopy enable_xcopy clean,install
18916 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18917 wine_fn_config_makefile server enable_server clean,install-lib
18918 wine_fn_config_tool tools clean
18919 wine_fn_config_tool tools/sfnt2fon clean
18920 wine_fn_config_tool tools/widl clean,install-dev
18921 wine_fn_config_tool tools/winebuild clean,install-dev
18922 wine_fn_config_tool tools/winedump clean,install-dev
18923 wine_fn_config_tool tools/winegcc clean,install-dev
18924 wine_fn_config_tool tools/winemaker clean,install-dev
18925 wine_fn_config_tool tools/wmc clean,install-dev
18926 wine_fn_config_tool tools/wrc clean,install-dev
18929 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18930 wine_fn_append_file CONFIGURE_TARGETS "tags"
18931 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18932 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18933 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18934 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18935 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18936 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18938 if test "x$enable_tools" != xno
18939 then
18940 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18941 ac_config_commands="$ac_config_commands tools/makedep"
18945 ac_config_commands="$ac_config_commands Makefile"
18948 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18952 if test "x$enable_maintainer_mode" = xyes
18953 then
18954 wine_fn_append_rule "configure: configure.ac aclocal.m4
18955 autoconf --warnings=all
18956 include/config.h.in: include/stamp-h.in
18957 include/stamp-h.in: configure.ac aclocal.m4
18958 autoheader --warnings=all
18959 @echo timestamp > \$@"
18962 if test "x$enable_tools" != xno
18963 then
18964 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18965 @./config.status tools/makedep
18966 Makefile: tools/makedep$ac_exeext"
18967 else
18968 wine_fn_append_rule "\$(MAKEDEP):
18969 @echo \"You need to run make in $TOOLSDIR first\" && false"
18972 if test -n "$with_wine64"
18973 then
18974 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18975 fonts server:
18976 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18977 $with_wine64/loader/wine:
18978 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18979 $with_wine64/loader/wine-preloader:
18980 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18981 clean::
18982 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18983 else
18984 WINELOADER_INSTALL="wine.inf"
18986 wine_fn_append_rule "install install-lib::
18987 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18988 uninstall::
18989 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18990 case $host_os in
18991 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18992 *) wine_fn_append_rule "install install-lib::
18993 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18994 uninstall::
18995 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18996 esac
18999 $as_echo " done" >&6
19000 cat >confcache <<\_ACEOF
19001 # This file is a shell script that caches the results of configure
19002 # tests run on this system so they can be shared between configure
19003 # scripts and configure runs, see configure's option --config-cache.
19004 # It is not useful on other systems. If it contains results you don't
19005 # want to keep, you may remove or edit it.
19007 # config.status only pays attention to the cache file if you give it
19008 # the --recheck option to rerun configure.
19010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19012 # following values.
19014 _ACEOF
19016 # The following way of writing the cache mishandles newlines in values,
19017 # but we know of no workaround that is simple, portable, and efficient.
19018 # So, we kill variables containing newlines.
19019 # Ultrix sh set writes to stderr and can't be redirected directly,
19020 # and sets the high bit in the cache file unless we assign to the vars.
19022 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19023 eval ac_val=\$$ac_var
19024 case $ac_val in #(
19025 *${as_nl}*)
19026 case $ac_var in #(
19027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19029 esac
19030 case $ac_var in #(
19031 _ | IFS | as_nl) ;; #(
19032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19033 *) { eval $ac_var=; unset $ac_var;} ;;
19034 esac ;;
19035 esac
19036 done
19038 (set) 2>&1 |
19039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19040 *${as_nl}ac_space=\ *)
19041 # `set' does not quote correctly, so add quotes: double-quote
19042 # substitution turns \\\\ into \\, and sed turns \\ into \.
19043 sed -n \
19044 "s/'/'\\\\''/g;
19045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19046 ;; #(
19048 # `set' quotes correctly as required by POSIX, so do not add quotes.
19049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19051 esac |
19052 sort
19054 sed '
19055 /^ac_cv_env_/b end
19056 t clear
19057 :clear
19058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19059 t end
19060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19061 :end' >>confcache
19062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19063 if test -w "$cache_file"; then
19064 if test "x$cache_file" != "x/dev/null"; then
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19066 $as_echo "$as_me: updating cache $cache_file" >&6;}
19067 if test ! -f "$cache_file" || test -h "$cache_file"; then
19068 cat confcache >"$cache_file"
19069 else
19070 case $cache_file in #(
19071 */* | ?:*)
19072 mv -f confcache "$cache_file"$$ &&
19073 mv -f "$cache_file"$$ "$cache_file" ;; #(
19075 mv -f confcache "$cache_file" ;;
19076 esac
19079 else
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19081 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19084 rm -f confcache
19086 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19087 # Let make expand exec_prefix.
19088 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19090 DEFS=-DHAVE_CONFIG_H
19092 ac_libobjs=
19093 ac_ltlibobjs=
19095 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19096 # 1. Remove the extension, and $U if already installed.
19097 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19098 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19099 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19100 # will be set to the directory where LIBOBJS objects are built.
19101 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19102 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19103 done
19104 LIBOBJS=$ac_libobjs
19106 LTLIBOBJS=$ac_ltlibobjs
19110 : "${CONFIG_STATUS=./config.status}"
19111 ac_write_fail=0
19112 ac_clean_files_save=$ac_clean_files
19113 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19115 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19116 as_write_fail=0
19117 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19118 #! $SHELL
19119 # Generated by $as_me.
19120 # Run this file to recreate the current configuration.
19121 # Compiler output produced by configure, useful for debugging
19122 # configure, is in config.log if it exists.
19124 debug=false
19125 ac_cs_recheck=false
19126 ac_cs_silent=false
19128 SHELL=\${CONFIG_SHELL-$SHELL}
19129 export SHELL
19130 _ASEOF
19131 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19132 ## -------------------- ##
19133 ## M4sh Initialization. ##
19134 ## -------------------- ##
19136 # Be more Bourne compatible
19137 DUALCASE=1; export DUALCASE # for MKS sh
19138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19139 emulate sh
19140 NULLCMD=:
19141 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19142 # is contrary to our usage. Disable this feature.
19143 alias -g '${1+"$@"}'='"$@"'
19144 setopt NO_GLOB_SUBST
19145 else
19146 case `(set -o) 2>/dev/null` in #(
19147 *posix*) :
19148 set -o posix ;; #(
19149 *) :
19151 esac
19155 as_nl='
19157 export as_nl
19158 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19159 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19160 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19162 # Prefer a ksh shell builtin over an external printf program on Solaris,
19163 # but without wasting forks for bash or zsh.
19164 if test -z "$BASH_VERSION$ZSH_VERSION" \
19165 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19166 as_echo='print -r --'
19167 as_echo_n='print -rn --'
19168 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19169 as_echo='printf %s\n'
19170 as_echo_n='printf %s'
19171 else
19172 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19173 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19174 as_echo_n='/usr/ucb/echo -n'
19175 else
19176 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19177 as_echo_n_body='eval
19178 arg=$1;
19179 case $arg in #(
19180 *"$as_nl"*)
19181 expr "X$arg" : "X\\(.*\\)$as_nl";
19182 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19183 esac;
19184 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19186 export as_echo_n_body
19187 as_echo_n='sh -c $as_echo_n_body as_echo'
19189 export as_echo_body
19190 as_echo='sh -c $as_echo_body as_echo'
19193 # The user is always right.
19194 if test "${PATH_SEPARATOR+set}" != set; then
19195 PATH_SEPARATOR=:
19196 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19197 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19198 PATH_SEPARATOR=';'
19203 # IFS
19204 # We need space, tab and new line, in precisely that order. Quoting is
19205 # there to prevent editors from complaining about space-tab.
19206 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19207 # splitting by setting IFS to empty value.)
19208 IFS=" "" $as_nl"
19210 # Find who we are. Look in the path if we contain no directory separator.
19211 as_myself=
19212 case $0 in #((
19213 *[\\/]* ) as_myself=$0 ;;
19214 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19215 for as_dir in $PATH
19217 IFS=$as_save_IFS
19218 test -z "$as_dir" && as_dir=.
19219 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19220 done
19221 IFS=$as_save_IFS
19224 esac
19225 # We did not find ourselves, most probably we were run as `sh COMMAND'
19226 # in which case we are not to be found in the path.
19227 if test "x$as_myself" = x; then
19228 as_myself=$0
19230 if test ! -f "$as_myself"; then
19231 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19232 exit 1
19235 # Unset variables that we do not need and which cause bugs (e.g. in
19236 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19237 # suppresses any "Segmentation fault" message there. '((' could
19238 # trigger a bug in pdksh 5.2.14.
19239 for as_var in BASH_ENV ENV MAIL MAILPATH
19240 do eval test x\${$as_var+set} = xset \
19241 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19242 done
19243 PS1='$ '
19244 PS2='> '
19245 PS4='+ '
19247 # NLS nuisances.
19248 LC_ALL=C
19249 export LC_ALL
19250 LANGUAGE=C
19251 export LANGUAGE
19253 # CDPATH.
19254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19257 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19258 # ----------------------------------------
19259 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19260 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19261 # script with STATUS, using 1 if that was 0.
19262 as_fn_error ()
19264 as_status=$1; test $as_status -eq 0 && as_status=1
19265 if test "$4"; then
19266 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19267 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19269 $as_echo "$as_me: error: $2" >&2
19270 as_fn_exit $as_status
19271 } # as_fn_error
19274 # as_fn_set_status STATUS
19275 # -----------------------
19276 # Set $? to STATUS, without forking.
19277 as_fn_set_status ()
19279 return $1
19280 } # as_fn_set_status
19282 # as_fn_exit STATUS
19283 # -----------------
19284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19285 as_fn_exit ()
19287 set +e
19288 as_fn_set_status $1
19289 exit $1
19290 } # as_fn_exit
19292 # as_fn_unset VAR
19293 # ---------------
19294 # Portably unset VAR.
19295 as_fn_unset ()
19297 { eval $1=; unset $1;}
19299 as_unset=as_fn_unset
19300 # as_fn_append VAR VALUE
19301 # ----------------------
19302 # Append the text in VALUE to the end of the definition contained in VAR. Take
19303 # advantage of any shell optimizations that allow amortized linear growth over
19304 # repeated appends, instead of the typical quadratic growth present in naive
19305 # implementations.
19306 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19307 eval 'as_fn_append ()
19309 eval $1+=\$2
19311 else
19312 as_fn_append ()
19314 eval $1=\$$1\$2
19316 fi # as_fn_append
19318 # as_fn_arith ARG...
19319 # ------------------
19320 # Perform arithmetic evaluation on the ARGs, and store the result in the
19321 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19322 # must be portable across $(()) and expr.
19323 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19324 eval 'as_fn_arith ()
19326 as_val=$(( $* ))
19328 else
19329 as_fn_arith ()
19331 as_val=`expr "$@" || test $? -eq 1`
19333 fi # as_fn_arith
19336 if expr a : '\(a\)' >/dev/null 2>&1 &&
19337 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19338 as_expr=expr
19339 else
19340 as_expr=false
19343 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19344 as_basename=basename
19345 else
19346 as_basename=false
19349 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19350 as_dirname=dirname
19351 else
19352 as_dirname=false
19355 as_me=`$as_basename -- "$0" ||
19356 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19357 X"$0" : 'X\(//\)$' \| \
19358 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19359 $as_echo X/"$0" |
19360 sed '/^.*\/\([^/][^/]*\)\/*$/{
19361 s//\1/
19364 /^X\/\(\/\/\)$/{
19365 s//\1/
19368 /^X\/\(\/\).*/{
19369 s//\1/
19372 s/.*/./; q'`
19374 # Avoid depending upon Character Ranges.
19375 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19376 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19377 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19378 as_cr_digits='0123456789'
19379 as_cr_alnum=$as_cr_Letters$as_cr_digits
19381 ECHO_C= ECHO_N= ECHO_T=
19382 case `echo -n x` in #(((((
19383 -n*)
19384 case `echo 'xy\c'` in
19385 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19386 xy) ECHO_C='\c';;
19387 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19388 ECHO_T=' ';;
19389 esac;;
19391 ECHO_N='-n';;
19392 esac
19394 rm -f conf$$ conf$$.exe conf$$.file
19395 if test -d conf$$.dir; then
19396 rm -f conf$$.dir/conf$$.file
19397 else
19398 rm -f conf$$.dir
19399 mkdir conf$$.dir 2>/dev/null
19401 if (echo >conf$$.file) 2>/dev/null; then
19402 if ln -s conf$$.file conf$$ 2>/dev/null; then
19403 as_ln_s='ln -s'
19404 # ... but there are two gotchas:
19405 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19406 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19407 # In both cases, we have to default to `cp -pR'.
19408 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19409 as_ln_s='cp -pR'
19410 elif ln conf$$.file conf$$ 2>/dev/null; then
19411 as_ln_s=ln
19412 else
19413 as_ln_s='cp -pR'
19415 else
19416 as_ln_s='cp -pR'
19418 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19419 rmdir conf$$.dir 2>/dev/null
19422 # as_fn_mkdir_p
19423 # -------------
19424 # Create "$as_dir" as a directory, including parents if necessary.
19425 as_fn_mkdir_p ()
19428 case $as_dir in #(
19429 -*) as_dir=./$as_dir;;
19430 esac
19431 test -d "$as_dir" || eval $as_mkdir_p || {
19432 as_dirs=
19433 while :; do
19434 case $as_dir in #(
19435 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19436 *) as_qdir=$as_dir;;
19437 esac
19438 as_dirs="'$as_qdir' $as_dirs"
19439 as_dir=`$as_dirname -- "$as_dir" ||
19440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19441 X"$as_dir" : 'X\(//\)[^/]' \| \
19442 X"$as_dir" : 'X\(//\)$' \| \
19443 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19444 $as_echo X"$as_dir" |
19445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19446 s//\1/
19449 /^X\(\/\/\)[^/].*/{
19450 s//\1/
19453 /^X\(\/\/\)$/{
19454 s//\1/
19457 /^X\(\/\).*/{
19458 s//\1/
19461 s/.*/./; q'`
19462 test -d "$as_dir" && break
19463 done
19464 test -z "$as_dirs" || eval "mkdir $as_dirs"
19465 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19468 } # as_fn_mkdir_p
19469 if mkdir -p . 2>/dev/null; then
19470 as_mkdir_p='mkdir -p "$as_dir"'
19471 else
19472 test -d ./-p && rmdir ./-p
19473 as_mkdir_p=false
19477 # as_fn_executable_p FILE
19478 # -----------------------
19479 # Test if FILE is an executable regular file.
19480 as_fn_executable_p ()
19482 test -f "$1" && test -x "$1"
19483 } # as_fn_executable_p
19484 as_test_x='test -x'
19485 as_executable_p=as_fn_executable_p
19487 # Sed expression to map a string onto a valid CPP name.
19488 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19490 # Sed expression to map a string onto a valid variable name.
19491 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19494 exec 6>&1
19495 ## ----------------------------------- ##
19496 ## Main body of $CONFIG_STATUS script. ##
19497 ## ----------------------------------- ##
19498 _ASEOF
19499 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19502 # Save the log message, to keep $0 and so on meaningful, and to
19503 # report actual input values of CONFIG_FILES etc. instead of their
19504 # values after options handling.
19505 ac_log="
19506 This file was extended by Wine $as_me 2.11, which was
19507 generated by GNU Autoconf 2.69. Invocation command line was
19509 CONFIG_FILES = $CONFIG_FILES
19510 CONFIG_HEADERS = $CONFIG_HEADERS
19511 CONFIG_LINKS = $CONFIG_LINKS
19512 CONFIG_COMMANDS = $CONFIG_COMMANDS
19513 $ $0 $@
19515 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19518 _ACEOF
19520 case $ac_config_files in *"
19521 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19522 esac
19524 case $ac_config_headers in *"
19525 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19526 esac
19529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19530 # Files that config.status was made for.
19531 config_files="$ac_config_files"
19532 config_headers="$ac_config_headers"
19533 config_links="$ac_config_links"
19534 config_commands="$ac_config_commands"
19536 _ACEOF
19538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19539 ac_cs_usage="\
19540 \`$as_me' instantiates files and other configuration actions
19541 from templates according to the current configuration. Unless the files
19542 and actions are specified as TAGs, all are instantiated by default.
19544 Usage: $0 [OPTION]... [TAG]...
19546 -h, --help print this help, then exit
19547 -V, --version print version number and configuration settings, then exit
19548 --config print configuration, then exit
19549 -q, --quiet, --silent
19550 do not print progress messages
19551 -d, --debug don't remove temporary files
19552 --recheck update $as_me by reconfiguring in the same conditions
19553 --file=FILE[:TEMPLATE]
19554 instantiate the configuration file FILE
19555 --header=FILE[:TEMPLATE]
19556 instantiate the configuration header FILE
19558 Configuration files:
19559 $config_files
19561 Configuration headers:
19562 $config_headers
19564 Configuration links:
19565 $config_links
19567 Configuration commands:
19568 $config_commands
19570 Report bugs to <wine-devel@winehq.org>.
19571 Wine home page: <http://www.winehq.org>."
19573 _ACEOF
19574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19575 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19576 ac_cs_version="\\
19577 Wine config.status 2.11
19578 configured by $0, generated by GNU Autoconf 2.69,
19579 with options \\"\$ac_cs_config\\"
19581 Copyright (C) 2012 Free Software Foundation, Inc.
19582 This config.status script is free software; the Free Software Foundation
19583 gives unlimited permission to copy, distribute and modify it."
19585 ac_pwd='$ac_pwd'
19586 srcdir='$srcdir'
19587 test -n "\$AWK" || AWK=awk
19588 _ACEOF
19590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19591 # The default lists apply if the user does not specify any file.
19592 ac_need_defaults=:
19593 while test $# != 0
19595 case $1 in
19596 --*=?*)
19597 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19598 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19599 ac_shift=:
19601 --*=)
19602 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19603 ac_optarg=
19604 ac_shift=:
19607 ac_option=$1
19608 ac_optarg=$2
19609 ac_shift=shift
19611 esac
19613 case $ac_option in
19614 # Handling of the options.
19615 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19616 ac_cs_recheck=: ;;
19617 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19618 $as_echo "$ac_cs_version"; exit ;;
19619 --config | --confi | --conf | --con | --co | --c )
19620 $as_echo "$ac_cs_config"; exit ;;
19621 --debug | --debu | --deb | --de | --d | -d )
19622 debug=: ;;
19623 --file | --fil | --fi | --f )
19624 $ac_shift
19625 case $ac_optarg in
19626 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19627 '') as_fn_error $? "missing file argument" ;;
19628 esac
19629 as_fn_append CONFIG_FILES " '$ac_optarg'"
19630 ac_need_defaults=false;;
19631 --header | --heade | --head | --hea )
19632 $ac_shift
19633 case $ac_optarg in
19634 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19635 esac
19636 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19637 ac_need_defaults=false;;
19638 --he | --h)
19639 # Conflict between --help and --header
19640 as_fn_error $? "ambiguous option: \`$1'
19641 Try \`$0 --help' for more information.";;
19642 --help | --hel | -h )
19643 $as_echo "$ac_cs_usage"; exit ;;
19644 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19645 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19646 ac_cs_silent=: ;;
19648 # This is an error.
19649 -*) as_fn_error $? "unrecognized option: \`$1'
19650 Try \`$0 --help' for more information." ;;
19652 *) as_fn_append ac_config_targets " $1"
19653 ac_need_defaults=false ;;
19655 esac
19656 shift
19657 done
19659 ac_configure_extra_args=
19661 if $ac_cs_silent; then
19662 exec 6>/dev/null
19663 ac_configure_extra_args="$ac_configure_extra_args --silent"
19666 _ACEOF
19667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19668 if \$ac_cs_recheck; then
19669 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19670 shift
19671 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19672 CONFIG_SHELL='$SHELL'
19673 export CONFIG_SHELL
19674 exec "\$@"
19677 _ACEOF
19678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19679 exec 5>>config.log
19681 echo
19682 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19683 ## Running $as_me. ##
19684 _ASBOX
19685 $as_echo "$ac_log"
19686 } >&5
19688 _ACEOF
19689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19691 # INIT-COMMANDS
19693 wine_fn_output_makedep ()
19695 as_dir=tools; as_fn_mkdir_p
19696 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19698 wine_fn_output_makefile ()
19700 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19701 `cat $wine_rules_file`
19702 _WINE_EOF
19703 as_fn_error $? "could not create Makefile" "$LINENO" 5
19706 _ACEOF
19708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19710 # Handling of arguments.
19711 for ac_config_target in $ac_config_targets
19713 case $ac_config_target in
19714 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19715 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19716 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19717 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19718 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19719 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19720 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19721 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19722 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19723 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19724 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19725 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19726 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19728 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19729 esac
19730 done
19733 # If the user did not use the arguments to specify the items to instantiate,
19734 # then the envvar interface is used. Set only those that are not.
19735 # We use the long form for the default assignment because of an extremely
19736 # bizarre bug on SunOS 4.1.3.
19737 if $ac_need_defaults; then
19738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19740 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19741 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19744 # Have a temporary directory for convenience. Make it in the build tree
19745 # simply because there is no reason against having it here, and in addition,
19746 # creating and moving files from /tmp can sometimes cause problems.
19747 # Hook for its removal unless debugging.
19748 # Note that there is a small window in which the directory will not be cleaned:
19749 # after its creation but before its name has been assigned to `$tmp'.
19750 $debug ||
19752 tmp= ac_tmp=
19753 trap 'exit_status=$?
19754 : "${ac_tmp:=$tmp}"
19755 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19757 trap 'as_fn_exit 1' 1 2 13 15
19759 # Create a (secure) tmp directory for tmp files.
19762 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19763 test -d "$tmp"
19764 } ||
19766 tmp=./conf$$-$RANDOM
19767 (umask 077 && mkdir "$tmp")
19768 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19769 ac_tmp=$tmp
19771 # Set up the scripts for CONFIG_FILES section.
19772 # No need to generate them if there are no CONFIG_FILES.
19773 # This happens for instance with `./config.status config.h'.
19774 if test -n "$CONFIG_FILES"; then
19777 ac_cr=`echo X | tr X '\015'`
19778 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19779 # But we know of no other shell where ac_cr would be empty at this
19780 # point, so we can use a bashism as a fallback.
19781 if test "x$ac_cr" = x; then
19782 eval ac_cr=\$\'\\r\'
19784 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19785 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19786 ac_cs_awk_cr='\\r'
19787 else
19788 ac_cs_awk_cr=$ac_cr
19791 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19792 _ACEOF
19796 echo "cat >conf$$subs.awk <<_ACEOF" &&
19797 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19798 echo "_ACEOF"
19799 } >conf$$subs.sh ||
19800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19801 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19802 ac_delim='%!_!# '
19803 for ac_last_try in false false false false false :; do
19804 . ./conf$$subs.sh ||
19805 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19807 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19808 if test $ac_delim_n = $ac_delim_num; then
19809 break
19810 elif $ac_last_try; then
19811 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19812 else
19813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19815 done
19816 rm -f conf$$subs.sh
19818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19819 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19820 _ACEOF
19821 sed -n '
19823 s/^/S["/; s/!.*/"]=/
19826 s/^[^!]*!//
19827 :repl
19828 t repl
19829 s/'"$ac_delim"'$//
19830 t delim
19833 s/\(.\{148\}\)..*/\1/
19834 t more1
19835 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19838 b repl
19839 :more1
19840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19843 s/.\{148\}//
19844 t nl
19845 :delim
19847 s/\(.\{148\}\)..*/\1/
19848 t more2
19849 s/["\\]/\\&/g; s/^/"/; s/$/"/
19852 :more2
19853 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19856 s/.\{148\}//
19857 t delim
19858 ' <conf$$subs.awk | sed '
19859 /^[^""]/{
19861 s/\n//
19863 ' >>$CONFIG_STATUS || ac_write_fail=1
19864 rm -f conf$$subs.awk
19865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19866 _ACAWK
19867 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19868 for (key in S) S_is_set[key] = 1
19869 FS = "\a"
19873 line = $ 0
19874 nfields = split(line, field, "@")
19875 substed = 0
19876 len = length(field[1])
19877 for (i = 2; i < nfields; i++) {
19878 key = field[i]
19879 keylen = length(key)
19880 if (S_is_set[key]) {
19881 value = S[key]
19882 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19883 len += length(value) + length(field[++i])
19884 substed = 1
19885 } else
19886 len += 1 + keylen
19889 print line
19892 _ACAWK
19893 _ACEOF
19894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19895 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19896 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19897 else
19899 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19900 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19901 _ACEOF
19903 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19904 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19905 # trailing colons and then remove the whole line if VPATH becomes empty
19906 # (actually we leave an empty line to preserve line numbers).
19907 if test "x$srcdir" = x.; then
19908 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19910 s///
19911 s/^/:/
19912 s/[ ]*$/:/
19913 s/:\$(srcdir):/:/g
19914 s/:\${srcdir}:/:/g
19915 s/:@srcdir@:/:/g
19916 s/^:*//
19917 s/:*$//
19919 s/\(=[ ]*\).*/\1/
19921 s/\n//
19922 s/^[^=]*=[ ]*$//
19926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19927 fi # test -n "$CONFIG_FILES"
19929 # Set up the scripts for CONFIG_HEADERS section.
19930 # No need to generate them if there are no CONFIG_HEADERS.
19931 # This happens for instance with `./config.status Makefile'.
19932 if test -n "$CONFIG_HEADERS"; then
19933 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19934 BEGIN {
19935 _ACEOF
19937 # Transform confdefs.h into an awk script `defines.awk', embedded as
19938 # here-document in config.status, that substitutes the proper values into
19939 # config.h.in to produce config.h.
19941 # Create a delimiter string that does not exist in confdefs.h, to ease
19942 # handling of long lines.
19943 ac_delim='%!_!# '
19944 for ac_last_try in false false :; do
19945 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19946 if test -z "$ac_tt"; then
19947 break
19948 elif $ac_last_try; then
19949 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19950 else
19951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19953 done
19955 # For the awk script, D is an array of macro values keyed by name,
19956 # likewise P contains macro parameters if any. Preserve backslash
19957 # newline sequences.
19959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19960 sed -n '
19961 s/.\{148\}/&'"$ac_delim"'/g
19962 t rset
19963 :rset
19964 s/^[ ]*#[ ]*define[ ][ ]*/ /
19965 t def
19967 :def
19968 s/\\$//
19969 t bsnl
19970 s/["\\]/\\&/g
19971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19972 D["\1"]=" \3"/p
19973 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19975 :bsnl
19976 s/["\\]/\\&/g
19977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19978 D["\1"]=" \3\\\\\\n"\\/p
19979 t cont
19980 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19981 t cont
19983 :cont
19985 s/.\{148\}/&'"$ac_delim"'/g
19986 t clear
19987 :clear
19988 s/\\$//
19989 t bsnlc
19990 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19992 :bsnlc
19993 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19994 b cont
19995 ' <confdefs.h | sed '
19996 s/'"$ac_delim"'/"\\\
19997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20000 for (key in D) D_is_set[key] = 1
20001 FS = "\a"
20003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20004 line = \$ 0
20005 split(line, arg, " ")
20006 if (arg[1] == "#") {
20007 defundef = arg[2]
20008 mac1 = arg[3]
20009 } else {
20010 defundef = substr(arg[1], 2)
20011 mac1 = arg[2]
20013 split(mac1, mac2, "(") #)
20014 macro = mac2[1]
20015 prefix = substr(line, 1, index(line, defundef) - 1)
20016 if (D_is_set[macro]) {
20017 # Preserve the white space surrounding the "#".
20018 print prefix "define", macro P[macro] D[macro]
20019 next
20020 } else {
20021 # Replace #undef with comments. This is necessary, for example,
20022 # in the case of _POSIX_SOURCE, which is predefined and required
20023 # on some systems where configure will not decide to define it.
20024 if (defundef == "undef") {
20025 print "/*", prefix defundef, macro, "*/"
20026 next
20030 { print }
20031 _ACAWK
20032 _ACEOF
20033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20034 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20035 fi # test -n "$CONFIG_HEADERS"
20038 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20039 shift
20040 for ac_tag
20042 case $ac_tag in
20043 :[FHLC]) ac_mode=$ac_tag; continue;;
20044 esac
20045 case $ac_mode$ac_tag in
20046 :[FHL]*:*);;
20047 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20048 :[FH]-) ac_tag=-:-;;
20049 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20050 esac
20051 ac_save_IFS=$IFS
20052 IFS=:
20053 set x $ac_tag
20054 IFS=$ac_save_IFS
20055 shift
20056 ac_file=$1
20057 shift
20059 case $ac_mode in
20060 :L) ac_source=$1;;
20061 :[FH])
20062 ac_file_inputs=
20063 for ac_f
20065 case $ac_f in
20066 -) ac_f="$ac_tmp/stdin";;
20067 *) # Look for the file first in the build tree, then in the source tree
20068 # (if the path is not absolute). The absolute path cannot be DOS-style,
20069 # because $ac_f cannot contain `:'.
20070 test -f "$ac_f" ||
20071 case $ac_f in
20072 [\\/$]*) false;;
20073 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20074 esac ||
20075 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20076 esac
20077 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20078 as_fn_append ac_file_inputs " '$ac_f'"
20079 done
20081 # Let's still pretend it is `configure' which instantiates (i.e., don't
20082 # use $as_me), people would be surprised to read:
20083 # /* config.h. Generated by config.status. */
20084 configure_input='Generated from '`
20085 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20086 `' by configure.'
20087 if test x"$ac_file" != x-; then
20088 configure_input="$ac_file. $configure_input"
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20090 $as_echo "$as_me: creating $ac_file" >&6;}
20092 # Neutralize special characters interpreted by sed in replacement strings.
20093 case $configure_input in #(
20094 *\&* | *\|* | *\\* )
20095 ac_sed_conf_input=`$as_echo "$configure_input" |
20096 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20097 *) ac_sed_conf_input=$configure_input;;
20098 esac
20100 case $ac_tag in
20101 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20102 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20103 esac
20105 esac
20107 ac_dir=`$as_dirname -- "$ac_file" ||
20108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20109 X"$ac_file" : 'X\(//\)[^/]' \| \
20110 X"$ac_file" : 'X\(//\)$' \| \
20111 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20112 $as_echo X"$ac_file" |
20113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20114 s//\1/
20117 /^X\(\/\/\)[^/].*/{
20118 s//\1/
20121 /^X\(\/\/\)$/{
20122 s//\1/
20125 /^X\(\/\).*/{
20126 s//\1/
20129 s/.*/./; q'`
20130 as_dir="$ac_dir"; as_fn_mkdir_p
20131 ac_builddir=.
20133 case "$ac_dir" in
20134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20136 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20137 # A ".." for each directory in $ac_dir_suffix.
20138 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20139 case $ac_top_builddir_sub in
20140 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20141 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20142 esac ;;
20143 esac
20144 ac_abs_top_builddir=$ac_pwd
20145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20146 # for backward compatibility:
20147 ac_top_builddir=$ac_top_build_prefix
20149 case $srcdir in
20150 .) # We are building in place.
20151 ac_srcdir=.
20152 ac_top_srcdir=$ac_top_builddir_sub
20153 ac_abs_top_srcdir=$ac_pwd ;;
20154 [\\/]* | ?:[\\/]* ) # Absolute name.
20155 ac_srcdir=$srcdir$ac_dir_suffix;
20156 ac_top_srcdir=$srcdir
20157 ac_abs_top_srcdir=$srcdir ;;
20158 *) # Relative name.
20159 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20160 ac_top_srcdir=$ac_top_build_prefix$srcdir
20161 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20162 esac
20163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20166 case $ac_mode in
20169 # CONFIG_FILE
20172 _ACEOF
20174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20175 # If the template does not know about datarootdir, expand it.
20176 # FIXME: This hack should be removed a few years after 2.60.
20177 ac_datarootdir_hack=; ac_datarootdir_seen=
20178 ac_sed_dataroot='
20179 /datarootdir/ {
20183 /@datadir@/p
20184 /@docdir@/p
20185 /@infodir@/p
20186 /@localedir@/p
20187 /@mandir@/p'
20188 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20189 *datarootdir*) ac_datarootdir_seen=yes;;
20190 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20192 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20193 _ACEOF
20194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20195 ac_datarootdir_hack='
20196 s&@datadir@&$datadir&g
20197 s&@docdir@&$docdir&g
20198 s&@infodir@&$infodir&g
20199 s&@localedir@&$localedir&g
20200 s&@mandir@&$mandir&g
20201 s&\\\${datarootdir}&$datarootdir&g' ;;
20202 esac
20203 _ACEOF
20205 # Neutralize VPATH when `$srcdir' = `.'.
20206 # Shell code in configure.ac might set extrasub.
20207 # FIXME: do we really want to maintain this feature?
20208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20209 ac_sed_extra="$ac_vpsub
20210 $extrasub
20211 _ACEOF
20212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20214 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20215 s|@configure_input@|$ac_sed_conf_input|;t t
20216 s&@top_builddir@&$ac_top_builddir_sub&;t t
20217 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20218 s&@srcdir@&$ac_srcdir&;t t
20219 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20220 s&@top_srcdir@&$ac_top_srcdir&;t t
20221 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20222 s&@builddir@&$ac_builddir&;t t
20223 s&@abs_builddir@&$ac_abs_builddir&;t t
20224 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20225 $ac_datarootdir_hack
20227 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20228 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20230 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20231 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20232 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20233 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20235 which seems to be undefined. Please make sure it is defined" >&5
20236 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20237 which seems to be undefined. Please make sure it is defined" >&2;}
20239 rm -f "$ac_tmp/stdin"
20240 case $ac_file in
20241 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20242 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20243 esac \
20244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20248 # CONFIG_HEADER
20250 if test x"$ac_file" != x-; then
20252 $as_echo "/* $configure_input */" \
20253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20254 } >"$ac_tmp/config.h" \
20255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20256 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20258 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20259 else
20260 rm -f "$ac_file"
20261 mv "$ac_tmp/config.h" "$ac_file" \
20262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20264 else
20265 $as_echo "/* $configure_input */" \
20266 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20267 || as_fn_error $? "could not create -" "$LINENO" 5
20272 # CONFIG_LINK
20275 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20277 else
20278 # Prefer the file from the source tree if names are identical.
20279 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20280 ac_source=$srcdir/$ac_source
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20284 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20286 if test ! -r "$ac_source"; then
20287 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20289 rm -f "$ac_file"
20291 # Try a relative symlink, then a hard link, then a copy.
20292 case $ac_source in
20293 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20294 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20295 esac
20296 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20297 ln "$ac_source" "$ac_file" 2>/dev/null ||
20298 cp -p "$ac_source" "$ac_file" ||
20299 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20302 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20303 $as_echo "$as_me: executing $ac_file commands" >&6;}
20305 esac
20308 case $ac_file$ac_mode in
20309 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20310 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20311 "Makefile":C) wine_fn_output_makefile Makefile ;;
20313 esac
20314 done # for ac_tag
20317 as_fn_exit 0
20318 _ACEOF
20319 ac_clean_files=$ac_clean_files_save
20321 test $ac_write_fail = 0 ||
20322 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20325 # configure is writing to config.log, and then calls config.status.
20326 # config.status does its own redirection, appending to config.log.
20327 # Unfortunately, on DOS this fails, as config.log is still kept open
20328 # by configure, so config.status won't be able to write to it; its
20329 # output is simply discarded. So we exec the FD to /dev/null,
20330 # effectively closing config.log, so it can be properly (re)opened and
20331 # appended to by config.status. When coming back to configure, we
20332 # need to make the FD available again.
20333 if test "$no_create" != yes; then
20334 ac_cs_success=:
20335 ac_config_status_args=
20336 test "$silent" = yes &&
20337 ac_config_status_args="$ac_config_status_args --quiet"
20338 exec 5>/dev/null
20339 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20340 exec 5>>config.log
20341 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20342 # would make configure fail if this is the last instruction.
20343 $ac_cs_success || as_fn_exit 1
20345 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20347 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20351 if test "$no_create" = "yes"
20352 then
20353 exit 0
20356 ac_save_IFS="$IFS"
20357 if test "x$wine_notices" != x; then
20358 echo >&6
20359 IFS="|"
20360 for msg in $wine_notices; do
20361 IFS="$ac_save_IFS"
20362 if ${msg:+false} :; then :
20364 else
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20366 $as_echo "$as_me: $msg" >&6;}
20368 done
20370 IFS="|"
20371 for msg in $wine_warnings; do
20372 IFS="$ac_save_IFS"
20373 if ${msg:+false} :; then :
20375 else
20376 echo >&2
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20378 $as_echo "$as_me: WARNING: $msg" >&2;}
20380 done
20381 IFS="$ac_save_IFS"
20383 $as_echo "
20384 $as_me: Finished. Do '${ac_make}' to compile Wine.
20385 " >&6