winex11: Ignore X11 errors happening on the clipboard display connection.
[wine.git] / configure
blob7ef7019398f0a9f690ac99cee76732631d60bdc3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.19.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.19'
584 PACKAGE_STRING='Wine 1.9.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 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 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_core_apiquery_l1_1_0
878 enable_api_ms_win_core_appinit_l1_1_0
879 enable_api_ms_win_core_atoms_l1_1_0
880 enable_api_ms_win_core_com_l1_1_0
881 enable_api_ms_win_core_com_l1_1_1
882 enable_api_ms_win_core_console_l1_1_0
883 enable_api_ms_win_core_console_l2_1_0
884 enable_api_ms_win_core_datetime_l1_1_0
885 enable_api_ms_win_core_datetime_l1_1_1
886 enable_api_ms_win_core_debug_l1_1_0
887 enable_api_ms_win_core_debug_l1_1_1
888 enable_api_ms_win_core_delayload_l1_1_0
889 enable_api_ms_win_core_delayload_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_0
891 enable_api_ms_win_core_errorhandling_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_2
893 enable_api_ms_win_core_fibers_l1_1_0
894 enable_api_ms_win_core_fibers_l1_1_1
895 enable_api_ms_win_core_file_l1_1_0
896 enable_api_ms_win_core_file_l1_2_0
897 enable_api_ms_win_core_file_l1_2_1
898 enable_api_ms_win_core_file_l2_1_0
899 enable_api_ms_win_core_file_l2_1_1
900 enable_api_ms_win_core_handle_l1_1_0
901 enable_api_ms_win_core_heap_l1_1_0
902 enable_api_ms_win_core_heap_l1_2_0
903 enable_api_ms_win_core_heap_obsolete_l1_1_0
904 enable_api_ms_win_core_interlocked_l1_1_0
905 enable_api_ms_win_core_interlocked_l1_2_0
906 enable_api_ms_win_core_io_l1_1_0
907 enable_api_ms_win_core_io_l1_1_1
908 enable_api_ms_win_core_job_l1_1_0
909 enable_api_ms_win_core_job_l2_1_0
910 enable_api_ms_win_core_kernel32_legacy_l1_1_0
911 enable_api_ms_win_core_kernel32_legacy_l1_1_1
912 enable_api_ms_win_core_kernel32_private_l1_1_1
913 enable_api_ms_win_core_libraryloader_l1_1_0
914 enable_api_ms_win_core_libraryloader_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_2_0
916 enable_api_ms_win_core_libraryloader_l1_2_2
917 enable_api_ms_win_core_localization_l1_1_0
918 enable_api_ms_win_core_localization_l1_2_0
919 enable_api_ms_win_core_localization_l1_2_1
920 enable_api_ms_win_core_localization_l2_1_0
921 enable_api_ms_win_core_localization_obsolete_l1_1_0
922 enable_api_ms_win_core_localization_obsolete_l1_2_0
923 enable_api_ms_win_core_localization_private_l1_1_0
924 enable_api_ms_win_core_localregistry_l1_1_0
925 enable_api_ms_win_core_memory_l1_1_0
926 enable_api_ms_win_core_memory_l1_1_1
927 enable_api_ms_win_core_memory_l1_1_2
928 enable_api_ms_win_core_misc_l1_1_0
929 enable_api_ms_win_core_namedpipe_l1_1_0
930 enable_api_ms_win_core_namedpipe_l1_2_0
931 enable_api_ms_win_core_namespace_l1_1_0
932 enable_api_ms_win_core_normalization_l1_1_0
933 enable_api_ms_win_core_path_l1_1_0
934 enable_api_ms_win_core_privateprofile_l1_1_1
935 enable_api_ms_win_core_processenvironment_l1_1_0
936 enable_api_ms_win_core_processenvironment_l1_2_0
937 enable_api_ms_win_core_processthreads_l1_1_0
938 enable_api_ms_win_core_processthreads_l1_1_1
939 enable_api_ms_win_core_processthreads_l1_1_2
940 enable_api_ms_win_core_profile_l1_1_0
941 enable_api_ms_win_core_psapi_l1_1_0
942 enable_api_ms_win_core_realtime_l1_1_0
943 enable_api_ms_win_core_registry_l1_1_0
944 enable_api_ms_win_core_registryuserspecific_l1_1_0
945 enable_api_ms_win_core_rtlsupport_l1_1_0
946 enable_api_ms_win_core_rtlsupport_l1_2_0
947 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
948 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
949 enable_api_ms_win_core_sidebyside_l1_1_0
950 enable_api_ms_win_core_string_l1_1_0
951 enable_api_ms_win_core_string_l2_1_0
952 enable_api_ms_win_core_string_obsolete_l1_1_0
953 enable_api_ms_win_core_stringansi_l1_1_0
954 enable_api_ms_win_core_synch_l1_1_0
955 enable_api_ms_win_core_synch_l1_2_0
956 enable_api_ms_win_core_sysinfo_l1_1_0
957 enable_api_ms_win_core_sysinfo_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_2_1
959 enable_api_ms_win_core_threadpool_l1_1_0
960 enable_api_ms_win_core_threadpool_l1_2_0
961 enable_api_ms_win_core_threadpool_legacy_l1_1_0
962 enable_api_ms_win_core_timezone_l1_1_0
963 enable_api_ms_win_core_toolhelp_l1_1_0
964 enable_api_ms_win_core_url_l1_1_0
965 enable_api_ms_win_core_util_l1_1_0
966 enable_api_ms_win_core_version_l1_1_0
967 enable_api_ms_win_core_version_private_l1_1_0
968 enable_api_ms_win_core_versionansi_l1_1_0
969 enable_api_ms_win_core_windowserrorreporting_l1_1_0
970 enable_api_ms_win_core_winrt_error_l1_1_0
971 enable_api_ms_win_core_winrt_error_l1_1_1
972 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
973 enable_api_ms_win_core_winrt_l1_1_0
974 enable_api_ms_win_core_winrt_registration_l1_1_0
975 enable_api_ms_win_core_winrt_string_l1_1_0
976 enable_api_ms_win_core_wow64_l1_1_0
977 enable_api_ms_win_core_xstate_l1_1_0
978 enable_api_ms_win_core_xstate_l2_1_0
979 enable_api_ms_win_crt_conio_l1_1_0
980 enable_api_ms_win_crt_convert_l1_1_0
981 enable_api_ms_win_crt_environment_l1_1_0
982 enable_api_ms_win_crt_filesystem_l1_1_0
983 enable_api_ms_win_crt_heap_l1_1_0
984 enable_api_ms_win_crt_locale_l1_1_0
985 enable_api_ms_win_crt_math_l1_1_0
986 enable_api_ms_win_crt_multibyte_l1_1_0
987 enable_api_ms_win_crt_private_l1_1_0
988 enable_api_ms_win_crt_process_l1_1_0
989 enable_api_ms_win_crt_runtime_l1_1_0
990 enable_api_ms_win_crt_stdio_l1_1_0
991 enable_api_ms_win_crt_string_l1_1_0
992 enable_api_ms_win_crt_time_l1_1_0
993 enable_api_ms_win_crt_utility_l1_1_0
994 enable_api_ms_win_downlevel_advapi32_l1_1_0
995 enable_api_ms_win_downlevel_advapi32_l2_1_0
996 enable_api_ms_win_downlevel_normaliz_l1_1_0
997 enable_api_ms_win_downlevel_ole32_l1_1_0
998 enable_api_ms_win_downlevel_shell32_l1_1_0
999 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1000 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1001 enable_api_ms_win_downlevel_user32_l1_1_0
1002 enable_api_ms_win_downlevel_version_l1_1_0
1003 enable_api_ms_win_eventing_classicprovider_l1_1_0
1004 enable_api_ms_win_eventing_consumer_l1_1_0
1005 enable_api_ms_win_eventing_controller_l1_1_0
1006 enable_api_ms_win_eventing_provider_l1_1_0
1007 enable_api_ms_win_eventlog_legacy_l1_1_0
1008 enable_api_ms_win_ntuser_dc_access_l1_1_0
1009 enable_api_ms_win_security_audit_l1_1_1
1010 enable_api_ms_win_security_base_l1_1_0
1011 enable_api_ms_win_security_base_l1_2_0
1012 enable_api_ms_win_security_base_private_l1_1_1
1013 enable_api_ms_win_security_lsalookup_l1_1_0
1014 enable_api_ms_win_security_lsalookup_l1_1_1
1015 enable_api_ms_win_security_sddl_l1_1_0
1016 enable_api_ms_win_service_core_l1_1_0
1017 enable_api_ms_win_service_core_l1_1_1
1018 enable_api_ms_win_service_management_l1_1_0
1019 enable_api_ms_win_service_management_l2_1_0
1020 enable_api_ms_win_service_winsvc_l1_1_0
1021 enable_api_ms_win_service_winsvc_l1_2_0
1022 enable_api_ms_win_shell_shellcom_l1_1_0
1023 enable_api_ms_win_shell_shellfolders_l1_1_0
1024 enable_apphelp
1025 enable_appwiz_cpl
1026 enable_atl
1027 enable_atl100
1028 enable_atl110
1029 enable_atl80
1030 enable_atl90
1031 enable_authz
1032 enable_avicap32
1033 enable_avifil32
1034 enable_avrt
1035 enable_bcrypt
1036 enable_bluetoothapis
1037 enable_browseui
1038 enable_bthprops_cpl
1039 enable_cabinet
1040 enable_capi2032
1041 enable_cards
1042 enable_cfgmgr32
1043 enable_clusapi
1044 enable_combase
1045 enable_comcat
1046 enable_comctl32
1047 enable_comdlg32
1048 enable_compstui
1049 enable_comsvcs
1050 enable_concrt140
1051 enable_connect
1052 enable_credui
1053 enable_crtdll
1054 enable_crypt32
1055 enable_cryptdlg
1056 enable_cryptdll
1057 enable_cryptext
1058 enable_cryptnet
1059 enable_cryptui
1060 enable_ctapi32
1061 enable_ctl3d32
1062 enable_d2d1
1063 enable_d3d10
1064 enable_d3d10_1
1065 enable_d3d10core
1066 enable_d3d11
1067 enable_d3d8
1068 enable_d3d9
1069 enable_d3dcompiler_33
1070 enable_d3dcompiler_34
1071 enable_d3dcompiler_35
1072 enable_d3dcompiler_36
1073 enable_d3dcompiler_37
1074 enable_d3dcompiler_38
1075 enable_d3dcompiler_39
1076 enable_d3dcompiler_40
1077 enable_d3dcompiler_41
1078 enable_d3dcompiler_42
1079 enable_d3dcompiler_43
1080 enable_d3dcompiler_46
1081 enable_d3dcompiler_47
1082 enable_d3dim
1083 enable_d3drm
1084 enable_d3dx10_33
1085 enable_d3dx10_34
1086 enable_d3dx10_35
1087 enable_d3dx10_36
1088 enable_d3dx10_37
1089 enable_d3dx10_38
1090 enable_d3dx10_39
1091 enable_d3dx10_40
1092 enable_d3dx10_41
1093 enable_d3dx10_42
1094 enable_d3dx10_43
1095 enable_d3dx11_42
1096 enable_d3dx11_43
1097 enable_d3dx9_24
1098 enable_d3dx9_25
1099 enable_d3dx9_26
1100 enable_d3dx9_27
1101 enable_d3dx9_28
1102 enable_d3dx9_29
1103 enable_d3dx9_30
1104 enable_d3dx9_31
1105 enable_d3dx9_32
1106 enable_d3dx9_33
1107 enable_d3dx9_34
1108 enable_d3dx9_35
1109 enable_d3dx9_36
1110 enable_d3dx9_37
1111 enable_d3dx9_38
1112 enable_d3dx9_39
1113 enable_d3dx9_40
1114 enable_d3dx9_41
1115 enable_d3dx9_42
1116 enable_d3dx9_43
1117 enable_d3dxof
1118 enable_davclnt
1119 enable_dbgeng
1120 enable_dbghelp
1121 enable_dciman32
1122 enable_ddraw
1123 enable_ddrawex
1124 enable_devenum
1125 enable_dhcpcsvc
1126 enable_difxapi
1127 enable_dinput
1128 enable_dinput8
1129 enable_dispex
1130 enable_dmband
1131 enable_dmcompos
1132 enable_dmime
1133 enable_dmloader
1134 enable_dmscript
1135 enable_dmstyle
1136 enable_dmsynth
1137 enable_dmusic
1138 enable_dmusic32
1139 enable_dnsapi
1140 enable_dplay
1141 enable_dplayx
1142 enable_dpnaddr
1143 enable_dpnet
1144 enable_dpnhpast
1145 enable_dpnlobby
1146 enable_dpvoice
1147 enable_dpwsockx
1148 enable_drmclien
1149 enable_dsound
1150 enable_dssenh
1151 enable_dswave
1152 enable_dwmapi
1153 enable_dwrite
1154 enable_dxdiagn
1155 enable_dxgi
1156 enable_dxva2
1157 enable_esent
1158 enable_evr
1159 enable_explorerframe
1160 enable_ext_ms_win_gdi_devcaps_l1_1_0
1161 enable_faultrep
1162 enable_fltlib
1163 enable_fltmgr_sys
1164 enable_fntcache
1165 enable_fontsub
1166 enable_fusion
1167 enable_fwpuclnt
1168 enable_gameux
1169 enable_gdi32
1170 enable_gdiplus
1171 enable_glu32
1172 enable_gphoto2_ds
1173 enable_gpkcsp
1174 enable_hal
1175 enable_hhctrl_ocx
1176 enable_hid
1177 enable_hidclass_sys
1178 enable_hlink
1179 enable_hnetcfg
1180 enable_httpapi
1181 enable_iccvid
1182 enable_icmp
1183 enable_ieframe
1184 enable_imaadp32_acm
1185 enable_imagehlp
1186 enable_imm32
1187 enable_inetcomm
1188 enable_inetcpl_cpl
1189 enable_inetmib1
1190 enable_infosoft
1191 enable_initpki
1192 enable_inkobj
1193 enable_inseng
1194 enable_iphlpapi
1195 enable_iprop
1196 enable_irprops_cpl
1197 enable_itircl
1198 enable_itss
1199 enable_joy_cpl
1200 enable_jscript
1201 enable_jsproxy
1202 enable_kernel32
1203 enable_kernelbase
1204 enable_ksuser
1205 enable_ktmw32
1206 enable_loadperf
1207 enable_localspl
1208 enable_localui
1209 enable_lz32
1210 enable_mapi32
1211 enable_mapistub
1212 enable_mciavi32
1213 enable_mcicda
1214 enable_mciqtz32
1215 enable_mciseq
1216 enable_mciwave
1217 enable_mf
1218 enable_mfplat
1219 enable_mfreadwrite
1220 enable_mgmtapi
1221 enable_midimap
1222 enable_mlang
1223 enable_mmcndmgr
1224 enable_mmdevapi
1225 enable_mountmgr_sys
1226 enable_mpr
1227 enable_mprapi
1228 enable_msacm32_drv
1229 enable_msacm32
1230 enable_msadp32_acm
1231 enable_msasn1
1232 enable_mscat32
1233 enable_mscms
1234 enable_mscoree
1235 enable_msctf
1236 enable_msctfp
1237 enable_msdaps
1238 enable_msdelta
1239 enable_msdmo
1240 enable_msdrm
1241 enable_msftedit
1242 enable_msg711_acm
1243 enable_msgsm32_acm
1244 enable_mshtml_tlb
1245 enable_mshtml
1246 enable_msi
1247 enable_msident
1248 enable_msimg32
1249 enable_msimsg
1250 enable_msimtf
1251 enable_msisip
1252 enable_msisys_ocx
1253 enable_msls31
1254 enable_msnet32
1255 enable_mspatcha
1256 enable_msports
1257 enable_msrle32
1258 enable_msscript_ocx
1259 enable_mssign32
1260 enable_mssip32
1261 enable_mstask
1262 enable_msvcirt
1263 enable_msvcm80
1264 enable_msvcm90
1265 enable_msvcp100
1266 enable_msvcp110
1267 enable_msvcp120
1268 enable_msvcp120_app
1269 enable_msvcp140
1270 enable_msvcp60
1271 enable_msvcp70
1272 enable_msvcp71
1273 enable_msvcp80
1274 enable_msvcp90
1275 enable_msvcr100
1276 enable_msvcr110
1277 enable_msvcr120
1278 enable_msvcr120_app
1279 enable_msvcr70
1280 enable_msvcr71
1281 enable_msvcr80
1282 enable_msvcr90
1283 enable_msvcrt
1284 enable_msvcrt20
1285 enable_msvcrt40
1286 enable_msvcrtd
1287 enable_msvfw32
1288 enable_msvidc32
1289 enable_mswsock
1290 enable_msxml
1291 enable_msxml2
1292 enable_msxml3
1293 enable_msxml4
1294 enable_msxml6
1295 enable_ncrypt
1296 enable_nddeapi
1297 enable_ndis_sys
1298 enable_netapi32
1299 enable_netcfgx
1300 enable_netprofm
1301 enable_newdev
1302 enable_normaliz
1303 enable_npmshtml
1304 enable_npptools
1305 enable_ntdll
1306 enable_ntdsapi
1307 enable_ntoskrnl_exe
1308 enable_ntprint
1309 enable_objsel
1310 enable_odbc32
1311 enable_odbccp32
1312 enable_odbccu32
1313 enable_ole32
1314 enable_oleacc
1315 enable_oleaut32
1316 enable_olecli32
1317 enable_oledb32
1318 enable_oledlg
1319 enable_olepro32
1320 enable_olesvr32
1321 enable_olethk32
1322 enable_openal32
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_qcap
1336 enable_qedit
1337 enable_qmgr
1338 enable_qmgrprxy
1339 enable_quartz
1340 enable_query
1341 enable_rasapi32
1342 enable_rasdlg
1343 enable_regapi
1344 enable_resutils
1345 enable_riched20
1346 enable_riched32
1347 enable_rpcrt4
1348 enable_rsabase
1349 enable_rsaenh
1350 enable_rstrtmgr
1351 enable_rtutils
1352 enable_samlib
1353 enable_sane_ds
1354 enable_scarddlg
1355 enable_sccbase
1356 enable_schannel
1357 enable_schedsvc
1358 enable_scrrun
1359 enable_scsiport_sys
1360 enable_secur32
1361 enable_security
1362 enable_sensapi
1363 enable_serialui
1364 enable_setupapi
1365 enable_sfc
1366 enable_sfc_os
1367 enable_shdoclc
1368 enable_shdocvw
1369 enable_shell32
1370 enable_shfolder
1371 enable_shlwapi
1372 enable_slbcsp
1373 enable_slc
1374 enable_snmpapi
1375 enable_softpub
1376 enable_spoolss
1377 enable_sspicli
1378 enable_stdole2_tlb
1379 enable_stdole32_tlb
1380 enable_sti
1381 enable_svrapi
1382 enable_sxs
1383 enable_t2embed
1384 enable_tapi32
1385 enable_taskschd
1386 enable_tdi_sys
1387 enable_traffic
1388 enable_twain_32
1389 enable_ucrtbase
1390 enable_unicows
1391 enable_updspapi
1392 enable_url
1393 enable_urlmon
1394 enable_usbd_sys
1395 enable_user32
1396 enable_userenv
1397 enable_usp10
1398 enable_uxtheme
1399 enable_vbscript
1400 enable_vcomp
1401 enable_vcomp100
1402 enable_vcomp110
1403 enable_vcomp120
1404 enable_vcomp140
1405 enable_vcomp90
1406 enable_vcruntime140
1407 enable_vdmdbg
1408 enable_version
1409 enable_vssapi
1410 enable_wbemdisp
1411 enable_wbemprox
1412 enable_webservices
1413 enable_wer
1414 enable_wevtapi
1415 enable_wiaservc
1416 enable_wimgapi
1417 enable_windowscodecs
1418 enable_windowscodecsext
1419 enable_winealsa_drv
1420 enable_winebus_sys
1421 enable_winecoreaudio_drv
1422 enable_wined3d
1423 enable_winegstreamer
1424 enable_winejoystick_drv
1425 enable_winemac_drv
1426 enable_winemapi
1427 enable_winemp3_acm
1428 enable_wineoss_drv
1429 enable_wineps_drv
1430 enable_winepulse_drv
1431 enable_wineqtdecoder
1432 enable_winex11_drv
1433 enable_wing32
1434 enable_winhttp
1435 enable_wininet
1436 enable_winmm
1437 enable_winnls32
1438 enable_winscard
1439 enable_winspool_drv
1440 enable_winsta
1441 enable_wintab32
1442 enable_wintrust
1443 enable_wlanapi
1444 enable_wldap32
1445 enable_wmasf
1446 enable_wmi
1447 enable_wmiutils
1448 enable_wmp
1449 enable_wmvcore
1450 enable_wnaspi32
1451 enable_wpc
1452 enable_wpcap
1453 enable_ws2_32
1454 enable_wshom_ocx
1455 enable_wsnmp32
1456 enable_wsock32
1457 enable_wtsapi32
1458 enable_wuapi
1459 enable_wuaueng
1460 enable_x3daudio1_0
1461 enable_x3daudio1_1
1462 enable_x3daudio1_2
1463 enable_x3daudio1_3
1464 enable_x3daudio1_4
1465 enable_x3daudio1_5
1466 enable_x3daudio1_6
1467 enable_x3daudio1_7
1468 enable_xapofx1_1
1469 enable_xapofx1_2
1470 enable_xapofx1_3
1471 enable_xapofx1_4
1472 enable_xapofx1_5
1473 enable_xaudio2_0
1474 enable_xaudio2_1
1475 enable_xaudio2_2
1476 enable_xaudio2_3
1477 enable_xaudio2_4
1478 enable_xaudio2_5
1479 enable_xaudio2_6
1480 enable_xaudio2_7
1481 enable_xaudio2_8
1482 enable_xaudio2_9
1483 enable_xinput1_1
1484 enable_xinput1_2
1485 enable_xinput1_3
1486 enable_xinput1_4
1487 enable_xinput9_1_0
1488 enable_xmllite
1489 enable_xolehlp
1490 enable_xpsprint
1491 enable_xpssvcs
1492 enable_fonts
1493 enable_include
1494 enable_libs_port
1495 enable_libs_wine
1496 enable_libs_wpp
1497 enable_loader
1498 enable_po
1499 enable_arp
1500 enable_aspnet_regiis
1501 enable_attrib
1502 enable_cabarc
1503 enable_cacls
1504 enable_clock
1505 enable_cmd
1506 enable_conhost
1507 enable_control
1508 enable_cscript
1509 enable_dpnsvr
1510 enable_dxdiag
1511 enable_eject
1512 enable_expand
1513 enable_explorer
1514 enable_extrac32
1515 enable_findstr
1516 enable_fsutil
1517 enable_hh
1518 enable_hostname
1519 enable_icacls
1520 enable_icinfo
1521 enable_iexplore
1522 enable_ipconfig
1523 enable_lodctr
1524 enable_mofcomp
1525 enable_mshta
1526 enable_msiexec
1527 enable_msinfo32
1528 enable_net
1529 enable_netsh
1530 enable_netstat
1531 enable_ngen
1532 enable_notepad
1533 enable_oleview
1534 enable_ping
1535 enable_plugplay
1536 enable_presentationfontcache
1537 enable_progman
1538 enable_reg
1539 enable_regasm
1540 enable_regedit
1541 enable_regsvcs
1542 enable_regsvr32
1543 enable_rpcss
1544 enable_rundll32
1545 enable_sc
1546 enable_schtasks
1547 enable_sdbinst
1548 enable_secedit
1549 enable_servicemodelreg
1550 enable_services
1551 enable_shutdown
1552 enable_spoolsv
1553 enable_start
1554 enable_svchost
1555 enable_systeminfo
1556 enable_taskkill
1557 enable_tasklist
1558 enable_taskmgr
1559 enable_termsv
1560 enable_uninstaller
1561 enable_unlodctr
1562 enable_view
1563 enable_wevtutil
1564 enable_wineboot
1565 enable_winebrowser
1566 enable_winecfg
1567 enable_wineconsole
1568 enable_winedbg
1569 enable_winedevice
1570 enable_winefile
1571 enable_winemenubuilder
1572 enable_winemine
1573 enable_winemsibuilder
1574 enable_winepath
1575 enable_winetest
1576 enable_winhlp32
1577 enable_winver
1578 enable_wmic
1579 enable_wmplayer
1580 enable_wordpad
1581 enable_write
1582 enable_wscript
1583 enable_wusa
1584 enable_xcopy
1585 enable_server
1586 enable_tools
1588 ac_precious_vars='build_alias
1589 host_alias
1590 target_alias
1592 CFLAGS
1593 LDFLAGS
1594 LIBS
1595 CPPFLAGS
1597 CXXFLAGS
1600 XMKMF
1601 XML2_CFLAGS
1602 XML2_LIBS
1603 XSLT_CFLAGS
1604 XSLT_LIBS
1605 DBUS_CFLAGS
1606 DBUS_LIBS
1607 HAL_CFLAGS
1608 HAL_LIBS
1609 GNUTLS_CFLAGS
1610 GNUTLS_LIBS
1611 SANE_CFLAGS
1612 SANE_LIBS
1613 GPHOTO2_CFLAGS
1614 GPHOTO2_LIBS
1615 GPHOTO2_PORT_CFLAGS
1616 GPHOTO2_PORT_LIBS
1617 LCMS2_CFLAGS
1618 LCMS2_LIBS
1619 FREETYPE_CFLAGS
1620 FREETYPE_LIBS
1621 PULSE_CFLAGS
1622 PULSE_LIBS
1623 GSTREAMER_CFLAGS
1624 GSTREAMER_LIBS
1625 UDEV_CFLAGS
1626 UDEV_LIBS
1627 CAPI20_CFLAGS
1628 CAPI20_LIBS
1629 FONTCONFIG_CFLAGS
1630 FONTCONFIG_LIBS
1631 JPEG_CFLAGS
1632 JPEG_LIBS
1633 PNG_CFLAGS
1634 PNG_LIBS
1635 TIFF_CFLAGS
1636 TIFF_LIBS
1637 MPG123_CFLAGS
1638 MPG123_LIBS
1639 NETAPI_CFLAGS
1640 NETAPI_LIBS'
1643 # Initialize some variables set by options.
1644 ac_init_help=
1645 ac_init_version=false
1646 ac_unrecognized_opts=
1647 ac_unrecognized_sep=
1648 # The variables have the same names as the options, with
1649 # dashes changed to underlines.
1650 cache_file=/dev/null
1651 exec_prefix=NONE
1652 no_create=
1653 no_recursion=
1654 prefix=NONE
1655 program_prefix=NONE
1656 program_suffix=NONE
1657 program_transform_name=s,x,x,
1658 silent=
1659 site=
1660 srcdir=
1661 verbose=
1662 x_includes=NONE
1663 x_libraries=NONE
1665 # Installation directory options.
1666 # These are left unexpanded so users can "make install exec_prefix=/foo"
1667 # and all the variables that are supposed to be based on exec_prefix
1668 # by default will actually change.
1669 # Use braces instead of parens because sh, perl, etc. also accept them.
1670 # (The list follows the same order as the GNU Coding Standards.)
1671 bindir='${exec_prefix}/bin'
1672 sbindir='${exec_prefix}/sbin'
1673 libexecdir='${exec_prefix}/libexec'
1674 datarootdir='${prefix}/share'
1675 datadir='${datarootdir}'
1676 sysconfdir='${prefix}/etc'
1677 sharedstatedir='${prefix}/com'
1678 localstatedir='${prefix}/var'
1679 runstatedir='${localstatedir}/run'
1680 includedir='${prefix}/include'
1681 oldincludedir='/usr/include'
1682 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1683 infodir='${datarootdir}/info'
1684 htmldir='${docdir}'
1685 dvidir='${docdir}'
1686 pdfdir='${docdir}'
1687 psdir='${docdir}'
1688 libdir='${exec_prefix}/lib'
1689 localedir='${datarootdir}/locale'
1690 mandir='${datarootdir}/man'
1692 ac_prev=
1693 ac_dashdash=
1694 for ac_option
1696 # If the previous option needs an argument, assign it.
1697 if test -n "$ac_prev"; then
1698 eval $ac_prev=\$ac_option
1699 ac_prev=
1700 continue
1703 case $ac_option in
1704 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1705 *=) ac_optarg= ;;
1706 *) ac_optarg=yes ;;
1707 esac
1709 # Accept the important Cygnus configure options, so we can diagnose typos.
1711 case $ac_dashdash$ac_option in
1713 ac_dashdash=yes ;;
1715 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1716 ac_prev=bindir ;;
1717 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1718 bindir=$ac_optarg ;;
1720 -build | --build | --buil | --bui | --bu)
1721 ac_prev=build_alias ;;
1722 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1723 build_alias=$ac_optarg ;;
1725 -cache-file | --cache-file | --cache-fil | --cache-fi \
1726 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1727 ac_prev=cache_file ;;
1728 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1729 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1730 cache_file=$ac_optarg ;;
1732 --config-cache | -C)
1733 cache_file=config.cache ;;
1735 -datadir | --datadir | --datadi | --datad)
1736 ac_prev=datadir ;;
1737 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1738 datadir=$ac_optarg ;;
1740 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1741 | --dataroo | --dataro | --datar)
1742 ac_prev=datarootdir ;;
1743 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1744 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1745 datarootdir=$ac_optarg ;;
1747 -disable-* | --disable-*)
1748 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1749 # Reject names that are not valid shell variable names.
1750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1751 as_fn_error $? "invalid feature name: $ac_useropt"
1752 ac_useropt_orig=$ac_useropt
1753 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1754 case $ac_user_opts in
1756 "enable_$ac_useropt"
1757 "*) ;;
1758 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1759 ac_unrecognized_sep=', ';;
1760 esac
1761 eval enable_$ac_useropt=no ;;
1763 -docdir | --docdir | --docdi | --doc | --do)
1764 ac_prev=docdir ;;
1765 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1766 docdir=$ac_optarg ;;
1768 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1769 ac_prev=dvidir ;;
1770 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1771 dvidir=$ac_optarg ;;
1773 -enable-* | --enable-*)
1774 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1775 # Reject names that are not valid shell variable names.
1776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1777 as_fn_error $? "invalid feature name: $ac_useropt"
1778 ac_useropt_orig=$ac_useropt
1779 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1780 case $ac_user_opts in
1782 "enable_$ac_useropt"
1783 "*) ;;
1784 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1785 ac_unrecognized_sep=', ';;
1786 esac
1787 eval enable_$ac_useropt=\$ac_optarg ;;
1789 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1790 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1791 | --exec | --exe | --ex)
1792 ac_prev=exec_prefix ;;
1793 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1794 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1795 | --exec=* | --exe=* | --ex=*)
1796 exec_prefix=$ac_optarg ;;
1798 -gas | --gas | --ga | --g)
1799 # Obsolete; use --with-gas.
1800 with_gas=yes ;;
1802 -help | --help | --hel | --he | -h)
1803 ac_init_help=long ;;
1804 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1805 ac_init_help=recursive ;;
1806 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1807 ac_init_help=short ;;
1809 -host | --host | --hos | --ho)
1810 ac_prev=host_alias ;;
1811 -host=* | --host=* | --hos=* | --ho=*)
1812 host_alias=$ac_optarg ;;
1814 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1815 ac_prev=htmldir ;;
1816 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1817 | --ht=*)
1818 htmldir=$ac_optarg ;;
1820 -includedir | --includedir | --includedi | --included | --include \
1821 | --includ | --inclu | --incl | --inc)
1822 ac_prev=includedir ;;
1823 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1824 | --includ=* | --inclu=* | --incl=* | --inc=*)
1825 includedir=$ac_optarg ;;
1827 -infodir | --infodir | --infodi | --infod | --info | --inf)
1828 ac_prev=infodir ;;
1829 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1830 infodir=$ac_optarg ;;
1832 -libdir | --libdir | --libdi | --libd)
1833 ac_prev=libdir ;;
1834 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1835 libdir=$ac_optarg ;;
1837 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1838 | --libexe | --libex | --libe)
1839 ac_prev=libexecdir ;;
1840 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1841 | --libexe=* | --libex=* | --libe=*)
1842 libexecdir=$ac_optarg ;;
1844 -localedir | --localedir | --localedi | --localed | --locale)
1845 ac_prev=localedir ;;
1846 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1847 localedir=$ac_optarg ;;
1849 -localstatedir | --localstatedir | --localstatedi | --localstated \
1850 | --localstate | --localstat | --localsta | --localst | --locals)
1851 ac_prev=localstatedir ;;
1852 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1853 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1854 localstatedir=$ac_optarg ;;
1856 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1857 ac_prev=mandir ;;
1858 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1859 mandir=$ac_optarg ;;
1861 -nfp | --nfp | --nf)
1862 # Obsolete; use --without-fp.
1863 with_fp=no ;;
1865 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1866 | --no-cr | --no-c | -n)
1867 no_create=yes ;;
1869 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1870 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1871 no_recursion=yes ;;
1873 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1874 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1875 | --oldin | --oldi | --old | --ol | --o)
1876 ac_prev=oldincludedir ;;
1877 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1878 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1879 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1880 oldincludedir=$ac_optarg ;;
1882 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1883 ac_prev=prefix ;;
1884 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1885 prefix=$ac_optarg ;;
1887 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1888 | --program-pre | --program-pr | --program-p)
1889 ac_prev=program_prefix ;;
1890 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1891 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1892 program_prefix=$ac_optarg ;;
1894 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1895 | --program-suf | --program-su | --program-s)
1896 ac_prev=program_suffix ;;
1897 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1898 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1899 program_suffix=$ac_optarg ;;
1901 -program-transform-name | --program-transform-name \
1902 | --program-transform-nam | --program-transform-na \
1903 | --program-transform-n | --program-transform- \
1904 | --program-transform | --program-transfor \
1905 | --program-transfo | --program-transf \
1906 | --program-trans | --program-tran \
1907 | --progr-tra | --program-tr | --program-t)
1908 ac_prev=program_transform_name ;;
1909 -program-transform-name=* | --program-transform-name=* \
1910 | --program-transform-nam=* | --program-transform-na=* \
1911 | --program-transform-n=* | --program-transform-=* \
1912 | --program-transform=* | --program-transfor=* \
1913 | --program-transfo=* | --program-transf=* \
1914 | --program-trans=* | --program-tran=* \
1915 | --progr-tra=* | --program-tr=* | --program-t=*)
1916 program_transform_name=$ac_optarg ;;
1918 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1919 ac_prev=pdfdir ;;
1920 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1921 pdfdir=$ac_optarg ;;
1923 -psdir | --psdir | --psdi | --psd | --ps)
1924 ac_prev=psdir ;;
1925 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1926 psdir=$ac_optarg ;;
1928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1929 | -silent | --silent | --silen | --sile | --sil)
1930 silent=yes ;;
1932 -runstatedir | --runstatedir | --runstatedi | --runstated \
1933 | --runstate | --runstat | --runsta | --runst | --runs \
1934 | --run | --ru | --r)
1935 ac_prev=runstatedir ;;
1936 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1937 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1938 | --run=* | --ru=* | --r=*)
1939 runstatedir=$ac_optarg ;;
1941 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1942 ac_prev=sbindir ;;
1943 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1944 | --sbi=* | --sb=*)
1945 sbindir=$ac_optarg ;;
1947 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1948 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1949 | --sharedst | --shareds | --shared | --share | --shar \
1950 | --sha | --sh)
1951 ac_prev=sharedstatedir ;;
1952 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1953 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1954 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1955 | --sha=* | --sh=*)
1956 sharedstatedir=$ac_optarg ;;
1958 -site | --site | --sit)
1959 ac_prev=site ;;
1960 -site=* | --site=* | --sit=*)
1961 site=$ac_optarg ;;
1963 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1964 ac_prev=srcdir ;;
1965 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1966 srcdir=$ac_optarg ;;
1968 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1969 | --syscon | --sysco | --sysc | --sys | --sy)
1970 ac_prev=sysconfdir ;;
1971 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1972 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1973 sysconfdir=$ac_optarg ;;
1975 -target | --target | --targe | --targ | --tar | --ta | --t)
1976 ac_prev=target_alias ;;
1977 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1978 target_alias=$ac_optarg ;;
1980 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1981 verbose=yes ;;
1983 -version | --version | --versio | --versi | --vers | -V)
1984 ac_init_version=: ;;
1986 -with-* | --with-*)
1987 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1988 # Reject names that are not valid shell variable names.
1989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1990 as_fn_error $? "invalid package name: $ac_useropt"
1991 ac_useropt_orig=$ac_useropt
1992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1993 case $ac_user_opts in
1995 "with_$ac_useropt"
1996 "*) ;;
1997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1998 ac_unrecognized_sep=', ';;
1999 esac
2000 eval with_$ac_useropt=\$ac_optarg ;;
2002 -without-* | --without-*)
2003 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2004 # Reject names that are not valid shell variable names.
2005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2006 as_fn_error $? "invalid package name: $ac_useropt"
2007 ac_useropt_orig=$ac_useropt
2008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2009 case $ac_user_opts in
2011 "with_$ac_useropt"
2012 "*) ;;
2013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2014 ac_unrecognized_sep=', ';;
2015 esac
2016 eval with_$ac_useropt=no ;;
2018 --x)
2019 # Obsolete; use --with-x.
2020 with_x=yes ;;
2022 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2023 | --x-incl | --x-inc | --x-in | --x-i)
2024 ac_prev=x_includes ;;
2025 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2026 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2027 x_includes=$ac_optarg ;;
2029 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2030 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2031 ac_prev=x_libraries ;;
2032 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2033 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2034 x_libraries=$ac_optarg ;;
2036 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2037 Try \`$0 --help' for more information"
2040 *=*)
2041 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2042 # Reject names that are not valid shell variable names.
2043 case $ac_envvar in #(
2044 '' | [0-9]* | *[!_$as_cr_alnum]* )
2045 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2046 esac
2047 eval $ac_envvar=\$ac_optarg
2048 export $ac_envvar ;;
2051 # FIXME: should be removed in autoconf 3.0.
2052 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2054 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2055 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2058 esac
2059 done
2061 if test -n "$ac_prev"; then
2062 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2063 as_fn_error $? "missing argument to $ac_option"
2066 if test -n "$ac_unrecognized_opts"; then
2067 case $enable_option_checking in
2068 no) ;;
2069 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2070 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2071 esac
2074 # Check all directory arguments for consistency.
2075 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2076 datadir sysconfdir sharedstatedir localstatedir includedir \
2077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2078 libdir localedir mandir runstatedir
2080 eval ac_val=\$$ac_var
2081 # Remove trailing slashes.
2082 case $ac_val in
2083 */ )
2084 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2085 eval $ac_var=\$ac_val;;
2086 esac
2087 # Be sure to have absolute directory names.
2088 case $ac_val in
2089 [\\/$]* | ?:[\\/]* ) continue;;
2090 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2091 esac
2092 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2093 done
2095 # There might be people who depend on the old broken behavior: `$host'
2096 # used to hold the argument of --host etc.
2097 # FIXME: To remove some day.
2098 build=$build_alias
2099 host=$host_alias
2100 target=$target_alias
2102 # FIXME: To remove some day.
2103 if test "x$host_alias" != x; then
2104 if test "x$build_alias" = x; then
2105 cross_compiling=maybe
2106 elif test "x$build_alias" != "x$host_alias"; then
2107 cross_compiling=yes
2111 ac_tool_prefix=
2112 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2114 test "$silent" = yes && exec 6>/dev/null
2117 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2118 ac_ls_di=`ls -di .` &&
2119 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2120 as_fn_error $? "working directory cannot be determined"
2121 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2122 as_fn_error $? "pwd does not report name of working directory"
2125 # Find the source files, if location was not specified.
2126 if test -z "$srcdir"; then
2127 ac_srcdir_defaulted=yes
2128 # Try the directory containing this script, then the parent directory.
2129 ac_confdir=`$as_dirname -- "$as_myself" ||
2130 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2131 X"$as_myself" : 'X\(//\)[^/]' \| \
2132 X"$as_myself" : 'X\(//\)$' \| \
2133 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2134 $as_echo X"$as_myself" |
2135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2136 s//\1/
2139 /^X\(\/\/\)[^/].*/{
2140 s//\1/
2143 /^X\(\/\/\)$/{
2144 s//\1/
2147 /^X\(\/\).*/{
2148 s//\1/
2151 s/.*/./; q'`
2152 srcdir=$ac_confdir
2153 if test ! -r "$srcdir/$ac_unique_file"; then
2154 srcdir=..
2156 else
2157 ac_srcdir_defaulted=no
2159 if test ! -r "$srcdir/$ac_unique_file"; then
2160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2161 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2163 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2164 ac_abs_confdir=`(
2165 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2166 pwd)`
2167 # When building in place, set srcdir=.
2168 if test "$ac_abs_confdir" = "$ac_pwd"; then
2169 srcdir=.
2171 # Remove unnecessary trailing slashes from srcdir.
2172 # Double slashes in file names in object file debugging info
2173 # mess up M-x gdb in Emacs.
2174 case $srcdir in
2175 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2176 esac
2177 for ac_var in $ac_precious_vars; do
2178 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2179 eval ac_env_${ac_var}_value=\$${ac_var}
2180 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2181 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2182 done
2185 # Report the --help message.
2187 if test "$ac_init_help" = "long"; then
2188 # Omit some internal or obsolete options to make the list less imposing.
2189 # This message is too long to be a string in the A/UX 3.1 sh.
2190 cat <<_ACEOF
2191 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2193 Usage: $0 [OPTION]... [VAR=VALUE]...
2195 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2196 VAR=VALUE. See below for descriptions of some of the useful variables.
2198 Defaults for the options are specified in brackets.
2200 Configuration:
2201 -h, --help display this help and exit
2202 --help=short display options specific to this package
2203 --help=recursive display the short help of all the included packages
2204 -V, --version display version information and exit
2205 -q, --quiet, --silent do not print \`checking ...' messages
2206 --cache-file=FILE cache test results in FILE [disabled]
2207 -C, --config-cache alias for \`--cache-file=config.cache'
2208 -n, --no-create do not create output files
2209 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2211 Installation directories:
2212 --prefix=PREFIX install architecture-independent files in PREFIX
2213 [$ac_default_prefix]
2214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2215 [PREFIX]
2217 By default, \`make install' will install all the files in
2218 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2219 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2220 for instance \`--prefix=\$HOME'.
2222 For better control, use the options below.
2224 Fine tuning of the installation directories:
2225 --bindir=DIR user executables [EPREFIX/bin]
2226 --sbindir=DIR system admin executables [EPREFIX/sbin]
2227 --libexecdir=DIR program executables [EPREFIX/libexec]
2228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2230 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2231 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2232 --libdir=DIR object code libraries [EPREFIX/lib]
2233 --includedir=DIR C header files [PREFIX/include]
2234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2237 --infodir=DIR info documentation [DATAROOTDIR/info]
2238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2239 --mandir=DIR man documentation [DATAROOTDIR/man]
2240 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2241 --htmldir=DIR html documentation [DOCDIR]
2242 --dvidir=DIR dvi documentation [DOCDIR]
2243 --pdfdir=DIR pdf documentation [DOCDIR]
2244 --psdir=DIR ps documentation [DOCDIR]
2245 _ACEOF
2247 cat <<\_ACEOF
2249 X features:
2250 --x-includes=DIR X include files are in DIR
2251 --x-libraries=DIR X library files are in DIR
2253 System types:
2254 --build=BUILD configure for building on BUILD [guessed]
2255 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2256 _ACEOF
2259 if test -n "$ac_init_help"; then
2260 case $ac_init_help in
2261 short | recursive ) echo "Configuration of Wine 1.9.19:";;
2262 esac
2263 cat <<\_ACEOF
2265 Optional Features:
2266 --disable-option-checking ignore unrecognized --enable/--with options
2267 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2268 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2269 --disable-win16 do not include Win16 support
2270 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2271 binaries)
2272 --disable-tests do not build the regression tests
2273 --enable-maintainer-mode
2274 enable maintainer-specific build rules
2275 --disable-largefile omit support for large files
2277 Optional Packages:
2278 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2279 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2280 --without-alsa do not use the Alsa sound support
2281 --without-capi do not use CAPI (ISDN support)
2282 --without-cms do not use CMS (color management support)
2283 --without-coreaudio do not use the CoreAudio sound support
2284 --without-cups do not use CUPS
2285 --without-curses do not use (n)curses
2286 --without-dbus do not use DBus (dynamic device support)
2287 --without-fontconfig do not use fontconfig
2288 --without-freetype do not use the FreeType library
2289 --without-gettext do not use gettext
2290 --with-gettextpo use the GetTextPO library to rebuild po files
2291 --without-gphoto do not use gphoto (Digital Camera support)
2292 --without-glu do not use the GLU library
2293 --without-gnutls do not use GnuTLS (schannel support)
2294 --without-gsm do not use libgsm (GSM 06.10 codec support)
2295 --without-gstreamer do not use GStreamer (codecs support)
2296 --without-hal do not use HAL (dynamic device support)
2297 --without-jpeg do not use JPEG
2298 --without-ldap do not use LDAP
2299 --without-mpg123 do not use the mpg123 library
2300 --without-netapi do not use the Samba NetAPI library
2301 --without-openal do not use OpenAL
2302 --without-opencl do not use OpenCL
2303 --without-opengl do not use OpenGL
2304 --without-osmesa do not use the OSMesa library
2305 --without-oss do not use the OSS sound support
2306 --without-pcap do not use the Packet Capture library
2307 --without-png do not use PNG
2308 --without-pthread do not use the pthread library
2309 --without-pulse do not use PulseAudio sound support
2310 --without-sane do not use SANE (scanner support)
2311 --without-tiff do not use TIFF
2312 --without-udev do not use udev (plug and play support)
2313 --without-v4l do not use v4l1 (v4l support)
2314 --without-xcomposite do not use the Xcomposite extension
2315 --without-xcursor do not use the Xcursor extension
2316 --without-xinerama do not use Xinerama (multi-monitor support)
2317 --without-xinput do not use the Xinput extension
2318 --without-xinput2 do not use the Xinput 2 extension
2319 --without-xml do not use XML
2320 --without-xrandr do not use Xrandr (resolution changes)
2321 --without-xrender do not use the Xrender extension
2322 --without-xshape do not use the Xshape extension
2323 --without-xshm do not use XShm (shared memory extension)
2324 --without-xslt do not use XSLT
2325 --without-xxf86vm do not use XFree video mode extension
2326 --without-zlib do not use Zlib (data compression)
2327 --with-wine-tools=DIR use Wine tools from directory DIR
2328 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2329 --with-x use the X Window System
2331 Some influential environment variables:
2332 CC C compiler command
2333 CFLAGS C compiler flags
2334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2335 nonstandard directory <lib dir>
2336 LIBS libraries to pass to the linker, e.g. -l<library>
2337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2338 you have headers in a nonstandard directory <include dir>
2339 CXX C++ compiler command
2340 CXXFLAGS C++ compiler flags
2341 CPP C preprocessor
2342 XMKMF Path to xmkmf, Makefile generator for X Window System
2343 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2344 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2345 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2346 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2347 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2348 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2349 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2350 HAL_LIBS Linker flags for hal, overriding pkg-config
2351 GNUTLS_CFLAGS
2352 C compiler flags for gnutls, overriding pkg-config
2353 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2354 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2355 SANE_LIBS Linker flags for libsane, overriding pkg-config
2356 GPHOTO2_CFLAGS
2357 C compiler flags for libgphoto2, overriding pkg-config
2358 GPHOTO2_LIBS
2359 Linker flags for libgphoto2, overriding pkg-config
2360 GPHOTO2_PORT_CFLAGS
2361 C compiler flags for libgphoto2_port, overriding pkg-config
2362 GPHOTO2_PORT_LIBS
2363 Linker flags for libgphoto2_port, overriding pkg-config
2364 LCMS2_CFLAGS
2365 C compiler flags for lcms2, overriding pkg-config
2366 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2367 FREETYPE_CFLAGS
2368 C compiler flags for freetype2, overriding pkg-config
2369 FREETYPE_LIBS
2370 Linker flags for freetype2, overriding pkg-config
2371 PULSE_CFLAGS
2372 C compiler flags for libpulse, overriding pkg-config
2373 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2374 GSTREAMER_CFLAGS
2375 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2376 gstreamer-audio-1.0, overriding pkg-config
2377 GSTREAMER_LIBS
2378 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2379 gstreamer-audio-1.0, overriding pkg-config
2380 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2381 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2382 CAPI20_CFLAGS
2383 C compiler flags for capi20, overriding pkg-config
2384 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2385 FONTCONFIG_CFLAGS
2386 C compiler flags for fontconfig, overriding pkg-config
2387 FONTCONFIG_LIBS
2388 Linker flags for fontconfig, overriding pkg-config
2389 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2390 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2391 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2392 PNG_LIBS Linker flags for libpng, overriding pkg-config
2393 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2394 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2395 MPG123_CFLAGS
2396 C compiler flags for libmpg123, overriding pkg-config
2397 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2398 NETAPI_CFLAGS
2399 C compiler flags for netapi, overriding pkg-config
2400 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2402 Use these variables to override the choices made by `configure' or to help
2403 it to find libraries and programs with nonstandard names/locations.
2405 Report bugs to <wine-devel@winehq.org>.
2406 Wine home page: <http://www.winehq.org>.
2407 _ACEOF
2408 ac_status=$?
2411 if test "$ac_init_help" = "recursive"; then
2412 # If there are subdirs, report their specific --help.
2413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2414 test -d "$ac_dir" ||
2415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2416 continue
2417 ac_builddir=.
2419 case "$ac_dir" in
2420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2423 # A ".." for each directory in $ac_dir_suffix.
2424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2425 case $ac_top_builddir_sub in
2426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2428 esac ;;
2429 esac
2430 ac_abs_top_builddir=$ac_pwd
2431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2432 # for backward compatibility:
2433 ac_top_builddir=$ac_top_build_prefix
2435 case $srcdir in
2436 .) # We are building in place.
2437 ac_srcdir=.
2438 ac_top_srcdir=$ac_top_builddir_sub
2439 ac_abs_top_srcdir=$ac_pwd ;;
2440 [\\/]* | ?:[\\/]* ) # Absolute name.
2441 ac_srcdir=$srcdir$ac_dir_suffix;
2442 ac_top_srcdir=$srcdir
2443 ac_abs_top_srcdir=$srcdir ;;
2444 *) # Relative name.
2445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2446 ac_top_srcdir=$ac_top_build_prefix$srcdir
2447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2448 esac
2449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2451 cd "$ac_dir" || { ac_status=$?; continue; }
2452 # Check for guested configure.
2453 if test -f "$ac_srcdir/configure.gnu"; then
2454 echo &&
2455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2456 elif test -f "$ac_srcdir/configure"; then
2457 echo &&
2458 $SHELL "$ac_srcdir/configure" --help=recursive
2459 else
2460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2461 fi || ac_status=$?
2462 cd "$ac_pwd" || { ac_status=$?; break; }
2463 done
2466 test -n "$ac_init_help" && exit $ac_status
2467 if $ac_init_version; then
2468 cat <<\_ACEOF
2469 Wine configure 1.9.19
2470 generated by GNU Autoconf 2.69
2472 Copyright (C) 2012 Free Software Foundation, Inc.
2473 This configure script is free software; the Free Software Foundation
2474 gives unlimited permission to copy, distribute and modify it.
2475 _ACEOF
2476 exit
2479 ## ------------------------ ##
2480 ## Autoconf initialization. ##
2481 ## ------------------------ ##
2483 # ac_fn_c_try_compile LINENO
2484 # --------------------------
2485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2486 ac_fn_c_try_compile ()
2488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2489 rm -f conftest.$ac_objext
2490 if { { ac_try="$ac_compile"
2491 case "(($ac_try" in
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2494 esac
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496 $as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_compile") 2>conftest.err
2498 ac_status=$?
2499 if test -s conftest.err; then
2500 grep -v '^ *+' conftest.err >conftest.er1
2501 cat conftest.er1 >&5
2502 mv -f conftest.er1 conftest.err
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; } && {
2506 test -z "$ac_c_werror_flag" ||
2507 test ! -s conftest.err
2508 } && test -s conftest.$ac_objext; then :
2509 ac_retval=0
2510 else
2511 $as_echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2514 ac_retval=1
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2517 as_fn_set_status $ac_retval
2519 } # ac_fn_c_try_compile
2521 # ac_fn_cxx_try_compile LINENO
2522 # ----------------------------
2523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_cxx_try_compile ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 rm -f conftest.$ac_objext
2528 if { { ac_try="$ac_compile"
2529 case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_compile") 2>conftest.err
2536 ac_status=$?
2537 if test -s conftest.err; then
2538 grep -v '^ *+' conftest.err >conftest.er1
2539 cat conftest.er1 >&5
2540 mv -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; } && {
2544 test -z "$ac_cxx_werror_flag" ||
2545 test ! -s conftest.err
2546 } && test -s conftest.$ac_objext; then :
2547 ac_retval=0
2548 else
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 ac_retval=1
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status $ac_retval
2557 } # ac_fn_cxx_try_compile
2559 # ac_fn_c_try_link LINENO
2560 # -----------------------
2561 # Try to link conftest.$ac_ext, and return whether this succeeded.
2562 ac_fn_c_try_link ()
2564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565 rm -f conftest.$ac_objext conftest$ac_exeext
2566 if { { ac_try="$ac_link"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_link") 2>conftest.err
2574 ac_status=$?
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } && {
2582 test -z "$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest$ac_exeext && {
2585 test "$cross_compiling" = yes ||
2586 test -x conftest$ac_exeext
2587 }; then :
2588 ac_retval=0
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 ac_retval=1
2595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2597 # interfere with the next link command; also delete a directory that is
2598 # left behind by Apple's compiler. We do this before executing the actions.
2599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2601 as_fn_set_status $ac_retval
2603 } # ac_fn_c_try_link
2605 # ac_fn_c_try_cpp LINENO
2606 # ----------------------
2607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2608 ac_fn_c_try_cpp ()
2610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2611 if { { ac_try="$ac_cpp conftest.$ac_ext"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2619 ac_status=$?
2620 if test -s conftest.err; then
2621 grep -v '^ *+' conftest.err >conftest.er1
2622 cat conftest.er1 >&5
2623 mv -f conftest.er1 conftest.err
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } > conftest.i && {
2627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2628 test ! -s conftest.err
2629 }; then :
2630 ac_retval=0
2631 else
2632 $as_echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 ac_retval=1
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 as_fn_set_status $ac_retval
2640 } # ac_fn_c_try_cpp
2642 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2643 # -------------------------------------------------------
2644 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2645 # the include files in INCLUDES and setting the cache variable VAR
2646 # accordingly.
2647 ac_fn_c_check_header_mongrel ()
2649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650 if eval \${$3+:} false; then :
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \${$3+:} false; then :
2654 $as_echo_n "(cached) " >&6
2656 eval ac_res=\$$3
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2658 $as_echo "$ac_res" >&6; }
2659 else
2660 # Is the header compilable?
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2662 $as_echo_n "checking $2 usability... " >&6; }
2663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2666 #include <$2>
2667 _ACEOF
2668 if ac_fn_c_try_compile "$LINENO"; then :
2669 ac_header_compiler=yes
2670 else
2671 ac_header_compiler=no
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2675 $as_echo "$ac_header_compiler" >&6; }
2677 # Is the header present?
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2679 $as_echo_n "checking $2 presence... " >&6; }
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2682 #include <$2>
2683 _ACEOF
2684 if ac_fn_c_try_cpp "$LINENO"; then :
2685 ac_header_preproc=yes
2686 else
2687 ac_header_preproc=no
2689 rm -f conftest.err conftest.i conftest.$ac_ext
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2691 $as_echo "$ac_header_preproc" >&6; }
2693 # So? What about this header?
2694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2695 yes:no: )
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2697 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2701 no:yes:* )
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2703 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2705 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2707 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2709 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2711 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2712 ( $as_echo "## ------------------------------------ ##
2713 ## Report this to wine-devel@winehq.org ##
2714 ## ------------------------------------ ##"
2715 ) | sed "s/^/$as_me: WARNING: /" >&2
2717 esac
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \${$3+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 eval "$3=\$ac_header_compiler"
2725 eval ac_res=\$$3
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_header_mongrel
2733 # ac_fn_c_try_run LINENO
2734 # ----------------------
2735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2736 # that executables *can* be run.
2737 ac_fn_c_try_run ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 if { { ac_try="$ac_link"
2741 case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_link") 2>&5
2748 ac_status=$?
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2751 { { case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_try") 2>&5
2758 ac_status=$?
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; }; then :
2761 ac_retval=0
2762 else
2763 $as_echo "$as_me: program exited with status $ac_status" >&5
2764 $as_echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2767 ac_retval=$ac_status
2769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2773 } # ac_fn_c_try_run
2775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2776 # -------------------------------------------------------
2777 # Tests whether HEADER exists and can be compiled using the include files in
2778 # INCLUDES, setting the cache variable VAR accordingly.
2779 ac_fn_c_check_header_compile ()
2781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2790 #include <$2>
2791 _ACEOF
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 eval "$3=yes"
2794 else
2795 eval "$3=no"
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_header_compile
2806 # ac_fn_c_check_func LINENO FUNC VAR
2807 # ----------------------------------
2808 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2809 ac_fn_c_check_func ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2813 $as_echo_n "checking for $2... " >&6; }
2814 if eval \${$3+:} false; then :
2815 $as_echo_n "(cached) " >&6
2816 else
2817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2818 /* end confdefs.h. */
2819 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2821 #define $2 innocuous_$2
2823 /* System header to define __stub macros and hopefully few prototypes,
2824 which can conflict with char $2 (); below.
2825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2826 <limits.h> exists even on freestanding compilers. */
2828 #ifdef __STDC__
2829 # include <limits.h>
2830 #else
2831 # include <assert.h>
2832 #endif
2834 #undef $2
2836 /* Override any GCC internal prototype to avoid an error.
2837 Use char because int might match the return type of a GCC
2838 builtin and then its argument prototype would still apply. */
2839 #ifdef __cplusplus
2840 extern "C"
2841 #endif
2842 char $2 ();
2843 /* The GNU C library defines this for functions which it implements
2844 to always fail with ENOSYS. Some functions are actually named
2845 something starting with __ and the normal name is an alias. */
2846 #if defined __stub_$2 || defined __stub___$2
2847 choke me
2848 #endif
2851 main ()
2853 return $2 ();
2855 return 0;
2857 _ACEOF
2858 if ac_fn_c_try_link "$LINENO"; then :
2859 eval "$3=yes"
2860 else
2861 eval "$3=no"
2863 rm -f core conftest.err conftest.$ac_objext \
2864 conftest$ac_exeext conftest.$ac_ext
2866 eval ac_res=\$$3
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 $as_echo "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_c_check_func
2873 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2874 # ----------------------------------------------------
2875 # Tries to find if the field MEMBER exists in type AGGR, after including
2876 # INCLUDES, setting cache variable VAR accordingly.
2877 ac_fn_c_check_member ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2881 $as_echo_n "checking for $2.$3... " >&6; }
2882 if eval \${$4+:} false; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2891 static $2 ac_aggr;
2892 if (ac_aggr.$3)
2893 return 0;
2895 return 0;
2897 _ACEOF
2898 if ac_fn_c_try_compile "$LINENO"; then :
2899 eval "$4=yes"
2900 else
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2905 main ()
2907 static $2 ac_aggr;
2908 if (sizeof ac_aggr.$3)
2909 return 0;
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_compile "$LINENO"; then :
2915 eval "$4=yes"
2916 else
2917 eval "$4=no"
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 eval ac_res=\$$4
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_member
2930 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2931 # -------------------------------------------
2932 # Tests whether TYPE exists after having included INCLUDES, setting cache
2933 # variable VAR accordingly.
2934 ac_fn_c_check_type ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2938 $as_echo_n "checking for $2... " >&6; }
2939 if eval \${$3+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 eval "$3=no"
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2947 main ()
2949 if (sizeof ($2))
2950 return 0;
2952 return 0;
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2960 main ()
2962 if (sizeof (($2)))
2963 return 0;
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2970 else
2971 eval "$3=yes"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_type
2983 cat >config.log <<_ACEOF
2984 This file contains any messages produced by compilers while
2985 running configure, to aid debugging if configure makes a mistake.
2987 It was created by Wine $as_me 1.9.19, which was
2988 generated by GNU Autoconf 2.69. Invocation command line was
2990 $ $0 $@
2992 _ACEOF
2993 exec 5>>config.log
2995 cat <<_ASUNAME
2996 ## --------- ##
2997 ## Platform. ##
2998 ## --------- ##
3000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3012 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3017 _ASUNAME
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH
3022 IFS=$as_save_IFS
3023 test -z "$as_dir" && as_dir=.
3024 $as_echo "PATH: $as_dir"
3025 done
3026 IFS=$as_save_IFS
3028 } >&5
3030 cat >&5 <<_ACEOF
3033 ## ----------- ##
3034 ## Core tests. ##
3035 ## ----------- ##
3037 _ACEOF
3040 # Keep a trace of the command line.
3041 # Strip out --no-create and --no-recursion so they do not pile up.
3042 # Strip out --silent because we don't want to record it for future runs.
3043 # Also quote any args containing shell meta-characters.
3044 # Make two passes to allow for proper duplicate-argument suppression.
3045 ac_configure_args=
3046 ac_configure_args0=
3047 ac_configure_args1=
3048 ac_must_keep_next=false
3049 for ac_pass in 1 2
3051 for ac_arg
3053 case $ac_arg in
3054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3056 | -silent | --silent | --silen | --sile | --sil)
3057 continue ;;
3058 *\'*)
3059 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3060 esac
3061 case $ac_pass in
3062 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3064 as_fn_append ac_configure_args1 " '$ac_arg'"
3065 if test $ac_must_keep_next = true; then
3066 ac_must_keep_next=false # Got value, back to normal.
3067 else
3068 case $ac_arg in
3069 *=* | --config-cache | -C | -disable-* | --disable-* \
3070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3072 | -with-* | --with-* | -without-* | --without-* | --x)
3073 case "$ac_configure_args0 " in
3074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3075 esac
3077 -* ) ac_must_keep_next=true ;;
3078 esac
3080 as_fn_append ac_configure_args " '$ac_arg'"
3082 esac
3083 done
3084 done
3085 { ac_configure_args0=; unset ac_configure_args0;}
3086 { ac_configure_args1=; unset ac_configure_args1;}
3088 # When interrupted or exit'd, cleanup temporary files, and complete
3089 # config.log. We remove comments because anyway the quotes in there
3090 # would cause problems or look ugly.
3091 # WARNING: Use '\'' to represent an apostrophe within the trap.
3092 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3093 trap 'exit_status=$?
3094 # Save into config.log some information that might help in debugging.
3096 echo
3098 $as_echo "## ---------------- ##
3099 ## Cache variables. ##
3100 ## ---------------- ##"
3101 echo
3102 # The following way of writing the cache mishandles newlines in values,
3104 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3105 eval ac_val=\$$ac_var
3106 case $ac_val in #(
3107 *${as_nl}*)
3108 case $ac_var in #(
3109 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3110 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3111 esac
3112 case $ac_var in #(
3113 _ | IFS | as_nl) ;; #(
3114 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3115 *) { eval $ac_var=; unset $ac_var;} ;;
3116 esac ;;
3117 esac
3118 done
3119 (set) 2>&1 |
3120 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3121 *${as_nl}ac_space=\ *)
3122 sed -n \
3123 "s/'\''/'\''\\\\'\'''\''/g;
3124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3125 ;; #(
3127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3129 esac |
3130 sort
3132 echo
3134 $as_echo "## ----------------- ##
3135 ## Output variables. ##
3136 ## ----------------- ##"
3137 echo
3138 for ac_var in $ac_subst_vars
3140 eval ac_val=\$$ac_var
3141 case $ac_val in
3142 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3143 esac
3144 $as_echo "$ac_var='\''$ac_val'\''"
3145 done | sort
3146 echo
3148 if test -n "$ac_subst_files"; then
3149 $as_echo "## ------------------- ##
3150 ## File substitutions. ##
3151 ## ------------------- ##"
3152 echo
3153 for ac_var in $ac_subst_files
3155 eval ac_val=\$$ac_var
3156 case $ac_val in
3157 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3158 esac
3159 $as_echo "$ac_var='\''$ac_val'\''"
3160 done | sort
3161 echo
3164 if test -s confdefs.h; then
3165 $as_echo "## ----------- ##
3166 ## confdefs.h. ##
3167 ## ----------- ##"
3168 echo
3169 cat confdefs.h
3170 echo
3172 test "$ac_signal" != 0 &&
3173 $as_echo "$as_me: caught signal $ac_signal"
3174 $as_echo "$as_me: exit $exit_status"
3175 } >&5
3176 rm -f core *.core core.conftest.* &&
3177 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3178 exit $exit_status
3180 for ac_signal in 1 2 13 15; do
3181 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3182 done
3183 ac_signal=0
3185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3186 rm -f -r conftest* confdefs.h
3188 $as_echo "/* confdefs.h */" > confdefs.h
3190 # Predefined preprocessor variables.
3192 cat >>confdefs.h <<_ACEOF
3193 #define PACKAGE_NAME "$PACKAGE_NAME"
3194 _ACEOF
3196 cat >>confdefs.h <<_ACEOF
3197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3198 _ACEOF
3200 cat >>confdefs.h <<_ACEOF
3201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3202 _ACEOF
3204 cat >>confdefs.h <<_ACEOF
3205 #define PACKAGE_STRING "$PACKAGE_STRING"
3206 _ACEOF
3208 cat >>confdefs.h <<_ACEOF
3209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3210 _ACEOF
3212 cat >>confdefs.h <<_ACEOF
3213 #define PACKAGE_URL "$PACKAGE_URL"
3214 _ACEOF
3217 # Let the site file select an alternate cache file if it wants to.
3218 # Prefer an explicitly selected file to automatically selected ones.
3219 ac_site_file1=NONE
3220 ac_site_file2=NONE
3221 if test -n "$CONFIG_SITE"; then
3222 # We do not want a PATH search for config.site.
3223 case $CONFIG_SITE in #((
3224 -*) ac_site_file1=./$CONFIG_SITE;;
3225 */*) ac_site_file1=$CONFIG_SITE;;
3226 *) ac_site_file1=./$CONFIG_SITE;;
3227 esac
3228 elif test "x$prefix" != xNONE; then
3229 ac_site_file1=$prefix/share/config.site
3230 ac_site_file2=$prefix/etc/config.site
3231 else
3232 ac_site_file1=$ac_default_prefix/share/config.site
3233 ac_site_file2=$ac_default_prefix/etc/config.site
3235 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3237 test "x$ac_site_file" = xNONE && continue
3238 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3240 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3241 sed 's/^/| /' "$ac_site_file" >&5
3242 . "$ac_site_file" \
3243 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $? "failed to load site script $ac_site_file
3246 See \`config.log' for more details" "$LINENO" 5; }
3248 done
3250 if test -r "$cache_file"; then
3251 # Some versions of bash will fail to source /dev/null (special files
3252 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3253 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3255 $as_echo "$as_me: loading cache $cache_file" >&6;}
3256 case $cache_file in
3257 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3258 *) . "./$cache_file";;
3259 esac
3261 else
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3263 $as_echo "$as_me: creating cache $cache_file" >&6;}
3264 >$cache_file
3267 # Check that the precious variables saved in the cache have kept the same
3268 # value.
3269 ac_cache_corrupted=false
3270 for ac_var in $ac_precious_vars; do
3271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3272 eval ac_new_set=\$ac_env_${ac_var}_set
3273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3274 eval ac_new_val=\$ac_env_${ac_var}_value
3275 case $ac_old_set,$ac_new_set in
3276 set,)
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3278 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3279 ac_cache_corrupted=: ;;
3280 ,set)
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3282 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3283 ac_cache_corrupted=: ;;
3284 ,);;
3286 if test "x$ac_old_val" != "x$ac_new_val"; then
3287 # differences in whitespace do not lead to failure.
3288 ac_old_val_w=`echo x $ac_old_val`
3289 ac_new_val_w=`echo x $ac_new_val`
3290 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3292 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3293 ac_cache_corrupted=:
3294 else
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3296 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3297 eval $ac_var=\$ac_old_val
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3300 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3302 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3303 fi;;
3304 esac
3305 # Pass precious variables to config.status.
3306 if test "$ac_new_set" = set; then
3307 case $ac_new_val in
3308 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3309 *) ac_arg=$ac_var=$ac_new_val ;;
3310 esac
3311 case " $ac_configure_args " in
3312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3313 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3314 esac
3316 done
3317 if $ac_cache_corrupted; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3321 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3322 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3324 ## -------------------- ##
3325 ## Main body of script. ##
3326 ## -------------------- ##
3328 ac_ext=c
3329 ac_cpp='$CPP $CPPFLAGS'
3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 ac_config_headers="$ac_config_headers include/config.h"
3338 ac_aux_dir=
3339 for ac_dir in tools "$srcdir"/tools; do
3340 if test -f "$ac_dir/install-sh"; then
3341 ac_aux_dir=$ac_dir
3342 ac_install_sh="$ac_aux_dir/install-sh -c"
3343 break
3344 elif test -f "$ac_dir/install.sh"; then
3345 ac_aux_dir=$ac_dir
3346 ac_install_sh="$ac_aux_dir/install.sh -c"
3347 break
3348 elif test -f "$ac_dir/shtool"; then
3349 ac_aux_dir=$ac_dir
3350 ac_install_sh="$ac_aux_dir/shtool install -c"
3351 break
3353 done
3354 if test -z "$ac_aux_dir"; then
3355 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3358 # These three variables are undocumented and unsupported,
3359 # and are intended to be withdrawn in a future Autoconf release.
3360 # They can cause serious problems if a builder's source tree is in a directory
3361 # whose full name contains unusual characters.
3362 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3363 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3364 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3368 libwine_version="1.0"
3372 # Check whether --enable-win16 was given.
3373 if test "${enable_win16+set}" = set; then :
3374 enableval=$enable_win16;
3377 # Check whether --enable-win64 was given.
3378 if test "${enable_win64+set}" = set; then :
3379 enableval=$enable_win64;
3382 # Check whether --enable-tests was given.
3383 if test "${enable_tests+set}" = set; then :
3384 enableval=$enable_tests;
3387 # Check whether --enable-maintainer-mode was given.
3388 if test "${enable_maintainer_mode+set}" = set; then :
3389 enableval=$enable_maintainer_mode;
3394 # Check whether --with-alsa was given.
3395 if test "${with_alsa+set}" = set; then :
3396 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3400 # Check whether --with-capi was given.
3401 if test "${with_capi+set}" = set; then :
3402 withval=$with_capi;
3406 # Check whether --with-cms was given.
3407 if test "${with_cms+set}" = set; then :
3408 withval=$with_cms;
3412 # Check whether --with-coreaudio was given.
3413 if test "${with_coreaudio+set}" = set; then :
3414 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3418 # Check whether --with-cups was given.
3419 if test "${with_cups+set}" = set; then :
3420 withval=$with_cups;
3424 # Check whether --with-curses was given.
3425 if test "${with_curses+set}" = set; then :
3426 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3430 # Check whether --with-dbus was given.
3431 if test "${with_dbus+set}" = set; then :
3432 withval=$with_dbus;
3436 # Check whether --with-fontconfig was given.
3437 if test "${with_fontconfig+set}" = set; then :
3438 withval=$with_fontconfig;
3442 # Check whether --with-freetype was given.
3443 if test "${with_freetype+set}" = set; then :
3444 withval=$with_freetype;
3448 # Check whether --with-gettext was given.
3449 if test "${with_gettext+set}" = set; then :
3450 withval=$with_gettext;
3454 # Check whether --with-gettextpo was given.
3455 if test "${with_gettextpo+set}" = set; then :
3456 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3460 # Check whether --with-gphoto was given.
3461 if test "${with_gphoto+set}" = set; then :
3462 withval=$with_gphoto;
3466 # Check whether --with-glu was given.
3467 if test "${with_glu+set}" = set; then :
3468 withval=$with_glu;
3472 # Check whether --with-gnutls was given.
3473 if test "${with_gnutls+set}" = set; then :
3474 withval=$with_gnutls;
3478 # Check whether --with-gsm was given.
3479 if test "${with_gsm+set}" = set; then :
3480 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3484 # Check whether --with-gstreamer was given.
3485 if test "${with_gstreamer+set}" = set; then :
3486 withval=$with_gstreamer;
3490 # Check whether --with-hal was given.
3491 if test "${with_hal+set}" = set; then :
3492 withval=$with_hal;
3496 # Check whether --with-jpeg was given.
3497 if test "${with_jpeg+set}" = set; then :
3498 withval=$with_jpeg;
3502 # Check whether --with-ldap was given.
3503 if test "${with_ldap+set}" = set; then :
3504 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3508 # Check whether --with-mpg123 was given.
3509 if test "${with_mpg123+set}" = set; then :
3510 withval=$with_mpg123;
3514 # Check whether --with-netapi was given.
3515 if test "${with_netapi+set}" = set; then :
3516 withval=$with_netapi;
3520 # Check whether --with-openal was given.
3521 if test "${with_openal+set}" = set; then :
3522 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3526 # Check whether --with-opencl was given.
3527 if test "${with_opencl+set}" = set; then :
3528 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3532 # Check whether --with-opengl was given.
3533 if test "${with_opengl+set}" = set; then :
3534 withval=$with_opengl;
3538 # Check whether --with-osmesa was given.
3539 if test "${with_osmesa+set}" = set; then :
3540 withval=$with_osmesa;
3544 # Check whether --with-oss was given.
3545 if test "${with_oss+set}" = set; then :
3546 withval=$with_oss;
3550 # Check whether --with-pcap was given.
3551 if test "${with_pcap+set}" = set; then :
3552 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3556 # Check whether --with-png was given.
3557 if test "${with_png+set}" = set; then :
3558 withval=$with_png;
3562 # Check whether --with-pthread was given.
3563 if test "${with_pthread+set}" = set; then :
3564 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3568 # Check whether --with-pulse was given.
3569 if test "${with_pulse+set}" = set; then :
3570 withval=$with_pulse;
3574 # Check whether --with-sane was given.
3575 if test "${with_sane+set}" = set; then :
3576 withval=$with_sane;
3580 # Check whether --with-tiff was given.
3581 if test "${with_tiff+set}" = set; then :
3582 withval=$with_tiff;
3586 # Check whether --with-udev was given.
3587 if test "${with_udev+set}" = set; then :
3588 withval=$with_udev;
3592 # Check whether --with-v4l was given.
3593 if test "${with_v4l+set}" = set; then :
3594 withval=$with_v4l;
3598 # Check whether --with-xcomposite was given.
3599 if test "${with_xcomposite+set}" = set; then :
3600 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3604 # Check whether --with-xcursor was given.
3605 if test "${with_xcursor+set}" = set; then :
3606 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3610 # Check whether --with-xinerama was given.
3611 if test "${with_xinerama+set}" = set; then :
3612 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3616 # Check whether --with-xinput was given.
3617 if test "${with_xinput+set}" = set; then :
3618 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3622 # Check whether --with-xinput2 was given.
3623 if test "${with_xinput2+set}" = set; then :
3624 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3628 # Check whether --with-xml was given.
3629 if test "${with_xml+set}" = set; then :
3630 withval=$with_xml;
3634 # Check whether --with-xrandr was given.
3635 if test "${with_xrandr+set}" = set; then :
3636 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3640 # Check whether --with-xrender was given.
3641 if test "${with_xrender+set}" = set; then :
3642 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3646 # Check whether --with-xshape was given.
3647 if test "${with_xshape+set}" = set; then :
3648 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3652 # Check whether --with-xshm was given.
3653 if test "${with_xshm+set}" = set; then :
3654 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3658 # Check whether --with-xslt was given.
3659 if test "${with_xslt+set}" = set; then :
3660 withval=$with_xslt;
3664 # Check whether --with-xxf86vm was given.
3665 if test "${with_xxf86vm+set}" = set; then :
3666 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
3670 # Check whether --with-zlib was given.
3671 if test "${with_zlib+set}" = set; then :
3672 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3677 # Check whether --with-wine-tools was given.
3678 if test "${with_wine_tools+set}" = set; then :
3679 withval=$with_wine_tools;
3683 # Check whether --with-wine64 was given.
3684 if test "${with_wine64+set}" = set; then :
3685 withval=$with_wine64;
3689 # Make sure we can run config.sub.
3690 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3691 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3694 $as_echo_n "checking build system type... " >&6; }
3695 if ${ac_cv_build+:} false; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 ac_build_alias=$build_alias
3699 test "x$ac_build_alias" = x &&
3700 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3701 test "x$ac_build_alias" = x &&
3702 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3703 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3704 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3708 $as_echo "$ac_cv_build" >&6; }
3709 case $ac_cv_build in
3710 *-*-*) ;;
3711 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3712 esac
3713 build=$ac_cv_build
3714 ac_save_IFS=$IFS; IFS='-'
3715 set x $ac_cv_build
3716 shift
3717 build_cpu=$1
3718 build_vendor=$2
3719 shift; shift
3720 # Remember, the first character of IFS is used to create $*,
3721 # except with old shells:
3722 build_os=$*
3723 IFS=$ac_save_IFS
3724 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3728 $as_echo_n "checking host system type... " >&6; }
3729 if ${ac_cv_host+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test "x$host_alias" = x; then
3733 ac_cv_host=$ac_cv_build
3734 else
3735 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3736 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3741 $as_echo "$ac_cv_host" >&6; }
3742 case $ac_cv_host in
3743 *-*-*) ;;
3744 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3745 esac
3746 host=$ac_cv_host
3747 ac_save_IFS=$IFS; IFS='-'
3748 set x $ac_cv_host
3749 shift
3750 host_cpu=$1
3751 host_vendor=$2
3752 shift; shift
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3755 host_os=$*
3756 IFS=$ac_save_IFS
3757 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3761 case "$srcdir" in
3762 .) ;;
3763 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3764 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3765 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3766 fi ;;
3767 esac
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3772 set x ${MAKE-make}
3773 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3774 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3775 $as_echo_n "(cached) " >&6
3776 else
3777 cat >conftest.make <<\_ACEOF
3778 SHELL = /bin/sh
3779 all:
3780 @echo '@@@%%%=$(MAKE)=@@@%%%'
3781 _ACEOF
3782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3784 *@@@%%%=?*=@@@%%%*)
3785 eval ac_cv_prog_make_${ac_make}_set=yes;;
3787 eval ac_cv_prog_make_${ac_make}_set=no;;
3788 esac
3789 rm -f conftest.make
3791 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3793 $as_echo "yes" >&6; }
3794 SET_MAKE=
3795 else
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3798 SET_MAKE="MAKE=${MAKE-make}"
3801 ac_ext=c
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC="$CC" # Let the user override the test.
3816 else
3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 for as_dir in $PATH
3820 IFS=$as_save_IFS
3821 test -z "$as_dir" && as_dir=.
3822 for ac_exec_ext in '' $ac_executable_extensions; do
3823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 break 2
3828 done
3829 done
3830 IFS=$as_save_IFS
3834 CC=$ac_cv_prog_CC
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3838 else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3845 if test -z "$ac_cv_prog_CC"; then
3846 ac_ct_CC=$CC
3847 # Extract the first word of "gcc", so it can be a program name with args.
3848 set dummy gcc; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 if test -n "$ac_ct_CC"; then
3855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3856 else
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 for as_dir in $PATH
3860 IFS=$as_save_IFS
3861 test -z "$as_dir" && as_dir=.
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_CC="gcc"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 break 2
3868 done
3869 done
3870 IFS=$as_save_IFS
3874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3875 if test -n "$ac_ct_CC"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3877 $as_echo "$ac_ct_CC" >&6; }
3878 else
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3883 if test "x$ac_ct_CC" = x; then
3884 CC=""
3885 else
3886 case $cross_compiling:$ac_tool_warned in
3887 yes:)
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3890 ac_tool_warned=yes ;;
3891 esac
3892 CC=$ac_ct_CC
3894 else
3895 CC="$ac_cv_prog_CC"
3898 if test -z "$CC"; then
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3901 set dummy ${ac_tool_prefix}cc; ac_word=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if ${ac_cv_prog_CC+:} false; then :
3905 $as_echo_n "(cached) " >&6
3906 else
3907 if test -n "$CC"; then
3908 ac_cv_prog_CC="$CC" # Let the user override the test.
3909 else
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH
3913 IFS=$as_save_IFS
3914 test -z "$as_dir" && as_dir=.
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3917 ac_cv_prog_CC="${ac_tool_prefix}cc"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 break 2
3921 done
3922 done
3923 IFS=$as_save_IFS
3927 CC=$ac_cv_prog_CC
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3931 else
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3939 if test -z "$CC"; then
3940 # Extract the first word of "cc", so it can be a program name with args.
3941 set dummy cc; ac_word=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_CC+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 if test -n "$CC"; then
3948 ac_cv_prog_CC="$CC" # Let the user override the test.
3949 else
3950 ac_prog_rejected=no
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3954 IFS=$as_save_IFS
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3959 ac_prog_rejected=yes
3960 continue
3962 ac_cv_prog_CC="cc"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3968 IFS=$as_save_IFS
3970 if test $ac_prog_rejected = yes; then
3971 # We found a bogon in the path, so make sure we never use it.
3972 set dummy $ac_cv_prog_CC
3973 shift
3974 if test $# != 0; then
3975 # We chose a different compiler from the bogus one.
3976 # However, it has the same basename, so the bogon will be chosen
3977 # first if we set CC to just the basename; use the full file name.
3978 shift
3979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3984 CC=$ac_cv_prog_CC
3985 if test -n "$CC"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3987 $as_echo "$CC" >&6; }
3988 else
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3995 if test -z "$CC"; then
3996 if test -n "$ac_tool_prefix"; then
3997 for ac_prog in cl.exe
3999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$CC"; then
4007 ac_cv_prog_CC="$CC" # Let the user override the test.
4008 else
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 break 2
4020 done
4021 done
4022 IFS=$as_save_IFS
4026 CC=$ac_cv_prog_CC
4027 if test -n "$CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4029 $as_echo "$CC" >&6; }
4030 else
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4036 test -n "$CC" && break
4037 done
4039 if test -z "$CC"; then
4040 ac_ct_CC=$CC
4041 for ac_prog in cl.exe
4043 # Extract the first word of "$ac_prog", so it can be a program name with args.
4044 set dummy $ac_prog; ac_word=$2
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4046 $as_echo_n "checking for $ac_word... " >&6; }
4047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4048 $as_echo_n "(cached) " >&6
4049 else
4050 if test -n "$ac_ct_CC"; then
4051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4052 else
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 for as_dir in $PATH
4056 IFS=$as_save_IFS
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_ac_ct_CC="$ac_prog"
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 break 2
4064 done
4065 done
4066 IFS=$as_save_IFS
4070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4071 if test -n "$ac_ct_CC"; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4073 $as_echo "$ac_ct_CC" >&6; }
4074 else
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4076 $as_echo "no" >&6; }
4080 test -n "$ac_ct_CC" && break
4081 done
4083 if test "x$ac_ct_CC" = x; then
4084 CC=""
4085 else
4086 case $cross_compiling:$ac_tool_warned in
4087 yes:)
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4090 ac_tool_warned=yes ;;
4091 esac
4092 CC=$ac_ct_CC
4099 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error $? "no acceptable C compiler found in \$PATH
4102 See \`config.log' for more details" "$LINENO" 5; }
4104 # Provide some information about the compiler.
4105 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4106 set X $ac_compile
4107 ac_compiler=$2
4108 for ac_option in --version -v -V -qversion; do
4109 { { ac_try="$ac_compiler $ac_option >&5"
4110 case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4113 esac
4114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4117 ac_status=$?
4118 if test -s conftest.err; then
4119 sed '10a\
4120 ... rest of stderr output deleted ...
4121 10q' conftest.err >conftest.er1
4122 cat conftest.er1 >&5
4124 rm -f conftest.er1 conftest.err
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }
4127 done
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 ac_clean_files_save=$ac_clean_files
4141 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4142 # Try to create an executable without -o first, disregard a.out.
4143 # It will help us diagnose broken compilers, and finding out an intuition
4144 # of exeext.
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4146 $as_echo_n "checking whether the C compiler works... " >&6; }
4147 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4149 # The possible output files:
4150 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4152 ac_rmfiles=
4153 for ac_file in $ac_files
4155 case $ac_file in
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4157 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4158 esac
4159 done
4160 rm -f $ac_rmfiles
4162 if { { ac_try="$ac_link_default"
4163 case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_link_default") 2>&5
4170 ac_status=$?
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; then :
4173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4176 # so that the user can short-circuit this test for compilers unknown to
4177 # Autoconf.
4178 for ac_file in $ac_files ''
4180 test -f "$ac_file" || continue
4181 case $ac_file in
4182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4184 [ab].out )
4185 # We found the default executable, but exeext='' is most
4186 # certainly right.
4187 break;;
4188 *.* )
4189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4190 then :; else
4191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4193 # We set ac_cv_exeext here because the later test for it is not
4194 # safe: cross compilers may not add the suffix if given an `-o'
4195 # argument, so we may need to know it at that point already.
4196 # Even if this section looks crufty: it has the advantage of
4197 # actually working.
4198 break;;
4200 break;;
4201 esac
4202 done
4203 test "$ac_cv_exeext" = no && ac_cv_exeext=
4205 else
4206 ac_file=''
4208 if test -z "$ac_file"; then :
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4211 $as_echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216 as_fn_error 77 "C compiler cannot create executables
4217 See \`config.log' for more details" "$LINENO" 5; }
4218 else
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 $as_echo "yes" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4223 $as_echo_n "checking for C compiler default output file name... " >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4225 $as_echo "$ac_file" >&6; }
4226 ac_exeext=$ac_cv_exeext
4228 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4229 ac_clean_files=$ac_clean_files_save
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4231 $as_echo_n "checking for suffix of executables... " >&6; }
4232 if { { ac_try="$ac_link"
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") 2>&5
4240 ac_status=$?
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }; then :
4243 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4244 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4245 # work properly (i.e., refer to `conftest.exe'), while it won't with
4246 # `rm'.
4247 for ac_file in conftest.exe conftest conftest.*; do
4248 test -f "$ac_file" || continue
4249 case $ac_file in
4250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4251 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4252 break;;
4253 * ) break;;
4254 esac
4255 done
4256 else
4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4260 See \`config.log' for more details" "$LINENO" 5; }
4262 rm -f conftest conftest$ac_cv_exeext
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4264 $as_echo "$ac_cv_exeext" >&6; }
4266 rm -f conftest.$ac_ext
4267 EXEEXT=$ac_cv_exeext
4268 ac_exeext=$EXEEXT
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdio.h>
4273 main ()
4275 FILE *f = fopen ("conftest.out", "w");
4276 return ferror (f) || fclose (f) != 0;
4279 return 0;
4281 _ACEOF
4282 ac_clean_files="$ac_clean_files conftest.out"
4283 # Check that the compiler produces executables we can run. If not, either
4284 # the compiler is broken, or we cross compile.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4286 $as_echo_n "checking whether we are cross compiling... " >&6; }
4287 if test "$cross_compiling" != yes; then
4288 { { ac_try="$ac_link"
4289 case "(($ac_try" in
4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4292 esac
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_link") 2>&5
4296 ac_status=$?
4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }
4299 if { ac_try='./conftest$ac_cv_exeext'
4300 { { case "(($ac_try" in
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4303 esac
4304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_try") 2>&5
4307 ac_status=$?
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }; }; then
4310 cross_compiling=no
4311 else
4312 if test "$cross_compiling" = maybe; then
4313 cross_compiling=yes
4314 else
4315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4317 as_fn_error $? "cannot run C compiled programs.
4318 If you meant to cross compile, use \`--host'.
4319 See \`config.log' for more details" "$LINENO" 5; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4324 $as_echo "$cross_compiling" >&6; }
4326 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4327 ac_clean_files=$ac_clean_files_save
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4329 $as_echo_n "checking for suffix of object files... " >&6; }
4330 if ${ac_cv_objext+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 rm -f conftest.o conftest.obj
4345 if { { ac_try="$ac_compile"
4346 case "(($ac_try" in
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4349 esac
4350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4351 $as_echo "$ac_try_echo"; } >&5
4352 (eval "$ac_compile") 2>&5
4353 ac_status=$?
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; }; then :
4356 for ac_file in conftest.o conftest.obj conftest.*; do
4357 test -f "$ac_file" || continue;
4358 case $ac_file in
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4360 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4361 break;;
4362 esac
4363 done
4364 else
4365 $as_echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error $? "cannot compute suffix of object files: cannot compile
4371 See \`config.log' for more details" "$LINENO" 5; }
4373 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4376 $as_echo "$ac_cv_objext" >&6; }
4377 OBJEXT=$ac_cv_objext
4378 ac_objext=$OBJEXT
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4380 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4381 if ${ac_cv_c_compiler_gnu+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 main ()
4390 #ifndef __GNUC__
4391 choke me
4392 #endif
4395 return 0;
4397 _ACEOF
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 ac_compiler_gnu=yes
4400 else
4401 ac_compiler_gnu=no
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4408 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4409 if test $ac_compiler_gnu = yes; then
4410 GCC=yes
4411 else
4412 GCC=
4414 ac_test_CFLAGS=${CFLAGS+set}
4415 ac_save_CFLAGS=$CFLAGS
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4417 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4418 if ${ac_cv_prog_cc_g+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 ac_save_c_werror_flag=$ac_c_werror_flag
4422 ac_c_werror_flag=yes
4423 ac_cv_prog_cc_g=no
4424 CFLAGS="-g"
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4429 main ()
4433 return 0;
4435 _ACEOF
4436 if ac_fn_c_try_compile "$LINENO"; then :
4437 ac_cv_prog_cc_g=yes
4438 else
4439 CFLAGS=""
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4444 main ()
4448 return 0;
4450 _ACEOF
4451 if ac_fn_c_try_compile "$LINENO"; then :
4453 else
4454 ac_c_werror_flag=$ac_save_c_werror_flag
4455 CFLAGS="-g"
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4460 main ()
4464 return 0;
4466 _ACEOF
4467 if ac_fn_c_try_compile "$LINENO"; then :
4468 ac_cv_prog_cc_g=yes
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 ac_c_werror_flag=$ac_save_c_werror_flag
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4478 $as_echo "$ac_cv_prog_cc_g" >&6; }
4479 if test "$ac_test_CFLAGS" = set; then
4480 CFLAGS=$ac_save_CFLAGS
4481 elif test $ac_cv_prog_cc_g = yes; then
4482 if test "$GCC" = yes; then
4483 CFLAGS="-g -O2"
4484 else
4485 CFLAGS="-g"
4487 else
4488 if test "$GCC" = yes; then
4489 CFLAGS="-O2"
4490 else
4491 CFLAGS=
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4495 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4496 if ${ac_cv_prog_cc_c89+:} false; then :
4497 $as_echo_n "(cached) " >&6
4498 else
4499 ac_cv_prog_cc_c89=no
4500 ac_save_CC=$CC
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503 #include <stdarg.h>
4504 #include <stdio.h>
4505 struct stat;
4506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4507 struct buf { int x; };
4508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4509 static char *e (p, i)
4510 char **p;
4511 int i;
4513 return p[i];
4515 static char *f (char * (*g) (char **, int), char **p, ...)
4517 char *s;
4518 va_list v;
4519 va_start (v,p);
4520 s = g (p, va_arg (v,int));
4521 va_end (v);
4522 return s;
4525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4526 function prototypes and stuff, but not '\xHH' hex character constants.
4527 These don't provoke an error unfortunately, instead are silently treated
4528 as 'x'. The following induces an error, until -std is added to get
4529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4530 array size at least. It's necessary to write '\x00'==0 to get something
4531 that's true only with -std. */
4532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4535 inside strings and character constants. */
4536 #define FOO(x) 'x'
4537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4539 int test (int i, double x);
4540 struct s1 {int (*f) (int a);};
4541 struct s2 {int (*f) (double a);};
4542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4543 int argc;
4544 char **argv;
4546 main ()
4548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4550 return 0;
4552 _ACEOF
4553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4556 CC="$ac_save_CC $ac_arg"
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 ac_cv_prog_cc_c89=$ac_arg
4560 rm -f core conftest.err conftest.$ac_objext
4561 test "x$ac_cv_prog_cc_c89" != "xno" && break
4562 done
4563 rm -f conftest.$ac_ext
4564 CC=$ac_save_CC
4567 # AC_CACHE_VAL
4568 case "x$ac_cv_prog_cc_c89" in
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4571 $as_echo "none needed" >&6; } ;;
4572 xno)
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4574 $as_echo "unsupported" >&6; } ;;
4576 CC="$CC $ac_cv_prog_cc_c89"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4579 esac
4580 if test "x$ac_cv_prog_cc_c89" != xno; then :
4584 ac_ext=c
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4590 ac_ext=cpp
4591 ac_cpp='$CXXCPP $CPPFLAGS'
4592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4595 if test -z "$CXX"; then
4596 if test -n "$CCC"; then
4597 CXX=$CCC
4598 else
4599 if test -n "$ac_tool_prefix"; then
4600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CXX+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$CXX"; then
4610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 CXX=$ac_cv_prog_CXX
4630 if test -n "$CXX"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4632 $as_echo "$CXX" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$CXX" && break
4640 done
4642 if test -z "$CXX"; then
4643 ac_ct_CXX=$CXX
4644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$ac_ct_CXX"; then
4654 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_ac_ct_CXX="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4674 if test -n "$ac_ct_CXX"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4676 $as_echo "$ac_ct_CXX" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$ac_ct_CXX" && break
4684 done
4686 if test "x$ac_ct_CXX" = x; then
4687 CXX="g++"
4688 else
4689 case $cross_compiling:$ac_tool_warned in
4690 yes:)
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4694 esac
4695 CXX=$ac_ct_CXX
4701 # Provide some information about the compiler.
4702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4703 set X $ac_compile
4704 ac_compiler=$2
4705 for ac_option in --version -v -V -qversion; do
4706 { { ac_try="$ac_compiler $ac_option >&5"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4714 ac_status=$?
4715 if test -s conftest.err; then
4716 sed '10a\
4717 ... rest of stderr output deleted ...
4718 10q' conftest.err >conftest.er1
4719 cat conftest.er1 >&5
4721 rm -f conftest.er1 conftest.err
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }
4724 done
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4727 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4728 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4729 $as_echo_n "(cached) " >&6
4730 else
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4735 main ()
4737 #ifndef __GNUC__
4738 choke me
4739 #endif
4742 return 0;
4744 _ACEOF
4745 if ac_fn_cxx_try_compile "$LINENO"; then :
4746 ac_compiler_gnu=yes
4747 else
4748 ac_compiler_gnu=no
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4755 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4756 if test $ac_compiler_gnu = yes; then
4757 GXX=yes
4758 else
4759 GXX=
4761 ac_test_CXXFLAGS=${CXXFLAGS+set}
4762 ac_save_CXXFLAGS=$CXXFLAGS
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4764 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4765 if ${ac_cv_prog_cxx_g+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4769 ac_cxx_werror_flag=yes
4770 ac_cv_prog_cxx_g=no
4771 CXXFLAGS="-g"
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4776 main ()
4780 return 0;
4782 _ACEOF
4783 if ac_fn_cxx_try_compile "$LINENO"; then :
4784 ac_cv_prog_cxx_g=yes
4785 else
4786 CXXFLAGS=""
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4791 main ()
4795 return 0;
4797 _ACEOF
4798 if ac_fn_cxx_try_compile "$LINENO"; then :
4800 else
4801 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4802 CXXFLAGS="-g"
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4807 main ()
4811 return 0;
4813 _ACEOF
4814 if ac_fn_cxx_try_compile "$LINENO"; then :
4815 ac_cv_prog_cxx_g=yes
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4825 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4826 if test "$ac_test_CXXFLAGS" = set; then
4827 CXXFLAGS=$ac_save_CXXFLAGS
4828 elif test $ac_cv_prog_cxx_g = yes; then
4829 if test "$GXX" = yes; then
4830 CXXFLAGS="-g -O2"
4831 else
4832 CXXFLAGS="-g"
4834 else
4835 if test "$GXX" = yes; then
4836 CXXFLAGS="-O2"
4837 else
4838 CXXFLAGS=
4841 ac_ext=c
4842 ac_cpp='$CPP $CPPFLAGS'
4843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4849 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_CPPBIN+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 if test -n "$CPPBIN"; then
4856 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4857 else
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 for as_dir in $PATH
4861 IFS=$as_save_IFS
4862 test -z "$as_dir" && as_dir=.
4863 for ac_exec_ext in '' $ac_executable_extensions; do
4864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 break 2
4869 done
4870 done
4871 IFS=$as_save_IFS
4875 CPPBIN=$ac_cv_prog_CPPBIN
4876 if test -n "$CPPBIN"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4878 $as_echo "$CPPBIN" >&6; }
4879 else
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4886 if test -z "$ac_cv_prog_CPPBIN"; then
4887 ac_ct_CPPBIN=$CPPBIN
4888 # Extract the first word of "cpp", so it can be a program name with args.
4889 set dummy cpp; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 if test -n "$ac_ct_CPPBIN"; then
4896 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4897 else
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 for as_dir in $PATH
4901 IFS=$as_save_IFS
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_CPPBIN="cpp"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4916 if test -n "$ac_ct_CPPBIN"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4918 $as_echo "$ac_ct_CPPBIN" >&6; }
4919 else
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4924 if test "x$ac_ct_CPPBIN" = x; then
4925 CPPBIN="cpp"
4926 else
4927 case $cross_compiling:$ac_tool_warned in
4928 yes:)
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned=yes ;;
4932 esac
4933 CPPBIN=$ac_ct_CPPBIN
4935 else
4936 CPPBIN="$ac_cv_prog_CPPBIN"
4940 cat >>confdefs.h <<_ACEOF
4941 #define EXEEXT "$ac_exeext"
4942 _ACEOF
4944 if test -n "$ac_tool_prefix"; then
4945 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4946 set dummy ${ac_tool_prefix}ld; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_LD+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 if test -n "$LD"; then
4953 ac_cv_prog_LD="$LD" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_LD="${ac_tool_prefix}ld"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 break 2
4966 done
4967 done
4968 IFS=$as_save_IFS
4972 LD=$ac_cv_prog_LD
4973 if test -n "$LD"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4975 $as_echo "$LD" >&6; }
4976 else
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4983 if test -z "$ac_cv_prog_LD"; then
4984 ac_ct_LD=$LD
4985 # Extract the first word of "ld", so it can be a program name with args.
4986 set dummy ld; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$ac_ct_LD"; then
4993 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_LD="ld"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5013 if test -n "$ac_ct_LD"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5015 $as_echo "$ac_ct_LD" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5021 if test "x$ac_ct_LD" = x; then
5022 LD=""
5023 else
5024 case $cross_compiling:$ac_tool_warned in
5025 yes:)
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5029 esac
5030 LD=$ac_ct_LD
5032 else
5033 LD="$ac_cv_prog_LD"
5037 case $host in
5038 *-darwin*)
5039 with_fontconfig=${with_fontconfig:-no}
5041 *-mingw32*|*-cygwin*)
5042 enable_win16=${enable_win16:-no}
5043 CFLAGS="$CFLAGS -D_WIN32"
5045 esac
5047 case $host in
5048 x86_64*|amd64*)
5049 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5050 then
5051 CC="$CC -m32"
5052 CXX="$CXX -m32"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5054 $as_echo_n "checking whether $CC works... " >&6; }
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5060 main ()
5064 return 0;
5066 _ACEOF
5067 if ac_fn_c_try_link "$LINENO"; then :
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5069 $as_echo "yes" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5073 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5075 rm -f core conftest.err conftest.$ac_objext \
5076 conftest$ac_exeext conftest.$ac_ext
5077 host_cpu="i386"
5078 notice_platform="32-bit "
5079 TARGETFLAGS="-m32"
5081 enable_win16=${enable_win16:-yes}
5082 else
5083 if test "x${GCC}" = "xyes"
5084 then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5086 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5089 #include <stdarg.h>
5091 main ()
5093 void func(__builtin_ms_va_list *args);
5095 return 0;
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5100 $as_echo "yes" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5104 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 CC="$CC -m64"
5109 CXX="$CXX -m64"
5110 host_cpu="x86_64"
5111 notice_platform="64-bit "
5112 TARGETFLAGS="-m64"
5116 arm*)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5118 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5121 int ac_test(int i) { return i; }
5123 main ()
5125 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5127 return 0;
5129 _ACEOF
5130 if ac_fn_c_try_link "$LINENO"; then :
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5132 $as_echo "yes" >&6; }
5133 else
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5138 rm -f core conftest.err conftest.$ac_objext \
5139 conftest$ac_exeext conftest.$ac_ext
5140 CFLAGS="$CFLAGS -marm"
5141 TARGETFLAGS="-marm"
5144 i[3456789]86*)
5145 enable_win16=${enable_win16:-yes}
5147 esac
5149 enable_win16=${enable_win16:-no}
5150 enable_win64=${enable_win64:-no}
5152 enable_winetest=${enable_winetest:-$enable_tests}
5154 if test -n "$with_wine64"
5155 then
5156 if test "x$enable_win64" = "xyes"
5157 then
5158 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5159 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5161 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5162 You should create a separate build directory and run configure from there." "$LINENO" 5
5163 enable_fonts=${enable_fonts:-no}
5164 enable_server=${enable_server:-no}
5165 elif test "x$enable_win64" = "xyes"
5166 then
5167 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5171 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5172 if ${wine_cv_toolsdir+:} false; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 wine_cv_toolsdir="$with_wine_tools"
5176 if test -z "$with_wine_tools"; then
5177 if test "$cross_compiling" = "yes"; then
5178 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5179 elif test -n "$with_wine64"; then
5180 wine_cv_toolsdir="$with_wine64"
5183 if test -z "$wine_cv_toolsdir"; then
5184 wine_makedep=tools/makedep
5185 wine_cv_toolsdir="\$(top_builddir)"
5186 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5187 wine_makedep=$wine_cv_toolsdir/tools/makedep
5188 case "$wine_cv_toolsdir" in
5189 /*) ;;
5190 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5191 esac
5192 enable_tools=${enable_tools:-no}
5193 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5194 else
5195 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5199 $as_echo "$wine_cv_toolsdir" >&6; }
5200 TOOLSDIR=$wine_cv_toolsdir
5202 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5203 then
5204 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5208 for ac_prog in flex
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy $ac_prog; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_FLEX+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$FLEX"; then
5218 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_FLEX="$ac_prog"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 FLEX=$ac_cv_prog_FLEX
5238 if test -n "$FLEX"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5240 $as_echo "$FLEX" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5247 test -n "$FLEX" && break
5248 done
5249 test -n "$FLEX" || FLEX="none"
5251 if test "$FLEX" = "none"
5252 then
5253 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5256 $as_echo_n "checking whether flex is recent enough... " >&6; }
5257 cat >conftest.l <<EOF
5258 %top{
5259 #include "prediluvian.h"
5263 if $FLEX -t conftest.l >/dev/null 2>&5
5264 then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5270 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5273 for ac_prog in bison
5275 # Extract the first word of "$ac_prog", so it can be a program name with args.
5276 set dummy $ac_prog; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_BISON+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -n "$BISON"; then
5283 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5284 else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_BISON="$ac_prog"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 BISON=$ac_cv_prog_BISON
5303 if test -n "$BISON"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5305 $as_echo "$BISON" >&6; }
5306 else
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5312 test -n "$BISON" && break
5313 done
5314 test -n "$BISON" || BISON="none"
5316 if test "$BISON" = "none"
5317 then
5318 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog in ar gar
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_AR+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 if test -n "$AR"; then
5332 ac_cv_prog_AR="$AR" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 AR=$ac_cv_prog_AR
5352 if test -n "$AR"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5354 $as_echo "$AR" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5361 test -n "$AR" && break
5362 done
5364 if test -z "$AR"; then
5365 ac_ct_AR=$AR
5366 for ac_prog in ar gar
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 if test -n "$ac_ct_AR"; then
5376 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_ac_ct_AR="$ac_prog"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 break 2
5389 done
5390 done
5391 IFS=$as_save_IFS
5395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5396 if test -n "$ac_ct_AR"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5398 $as_echo "$ac_ct_AR" >&6; }
5399 else
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5405 test -n "$ac_ct_AR" && break
5406 done
5408 if test "x$ac_ct_AR" = x; then
5409 AR="ar"
5410 else
5411 case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5416 esac
5417 AR=$ac_ct_AR
5421 if test -n "$ac_tool_prefix"; then
5422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5423 set dummy ${ac_tool_prefix}strip; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_STRIP+:} false; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429 if test -n "$STRIP"; then
5430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5431 else
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in $PATH
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5443 done
5444 done
5445 IFS=$as_save_IFS
5449 STRIP=$ac_cv_prog_STRIP
5450 if test -n "$STRIP"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5452 $as_echo "$STRIP" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5460 if test -z "$ac_cv_prog_STRIP"; then
5461 ac_ct_STRIP=$STRIP
5462 # Extract the first word of "strip", so it can be a program name with args.
5463 set dummy strip; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$ac_ct_STRIP"; then
5470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_ac_ct_STRIP="strip"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5490 if test -n "$ac_ct_STRIP"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5492 $as_echo "$ac_ct_STRIP" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5498 if test "x$ac_ct_STRIP" = x; then
5499 STRIP="strip"
5500 else
5501 case $cross_compiling:$ac_tool_warned in
5502 yes:)
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5505 ac_tool_warned=yes ;;
5506 esac
5507 STRIP=$ac_ct_STRIP
5509 else
5510 STRIP="$ac_cv_prog_STRIP"
5513 ARFLAGS=rc
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_RANLIB+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$RANLIB"; then
5524 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 RANLIB=$ac_cv_prog_RANLIB
5544 if test -n "$RANLIB"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5546 $as_echo "$RANLIB" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_RANLIB"; then
5555 ac_ct_RANLIB=$RANLIB
5556 # Extract the first word of "ranlib", so it can be a program name with args.
5557 set dummy ranlib; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$ac_ct_RANLIB"; then
5564 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_RANLIB="ranlib"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5584 if test -n "$ac_ct_RANLIB"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5586 $as_echo "$ac_ct_RANLIB" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_RANLIB" = x; then
5593 RANLIB=":"
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 RANLIB=$ac_ct_RANLIB
5603 else
5604 RANLIB="$ac_cv_prog_RANLIB"
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5608 $as_echo_n "checking whether ln -s works... " >&6; }
5609 LN_S=$as_ln_s
5610 if test "$LN_S" = "ln -s"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5612 $as_echo "yes" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5615 $as_echo "no, using $LN_S" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5620 if ${ac_cv_path_GREP+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -z "$GREP"; then
5624 ac_path_GREP_found=false
5625 # Loop through the user's path and test for each of PROGNAME-LIST
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_prog in grep ggrep; do
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5634 as_fn_executable_p "$ac_path_GREP" || continue
5635 # Check for GNU ac_path_GREP and select it if it is found.
5636 # Check for GNU $ac_path_GREP
5637 case `"$ac_path_GREP" --version 2>&1` in
5638 *GNU*)
5639 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5641 ac_count=0
5642 $as_echo_n 0123456789 >"conftest.in"
5643 while :
5645 cat "conftest.in" "conftest.in" >"conftest.tmp"
5646 mv "conftest.tmp" "conftest.in"
5647 cp "conftest.in" "conftest.nl"
5648 $as_echo 'GREP' >> "conftest.nl"
5649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5650 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5651 as_fn_arith $ac_count + 1 && ac_count=$as_val
5652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5653 # Best one so far, save it but keep looking for a better one
5654 ac_cv_path_GREP="$ac_path_GREP"
5655 ac_path_GREP_max=$ac_count
5657 # 10*(2^10) chars as input seems more than enough
5658 test $ac_count -gt 10 && break
5659 done
5660 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5661 esac
5663 $ac_path_GREP_found && break 3
5664 done
5665 done
5666 done
5667 IFS=$as_save_IFS
5668 if test -z "$ac_cv_path_GREP"; then
5669 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5671 else
5672 ac_cv_path_GREP=$GREP
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5677 $as_echo "$ac_cv_path_GREP" >&6; }
5678 GREP="$ac_cv_path_GREP"
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5682 $as_echo_n "checking for egrep... " >&6; }
5683 if ${ac_cv_path_EGREP+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5687 then ac_cv_path_EGREP="$GREP -E"
5688 else
5689 if test -z "$EGREP"; then
5690 ac_path_EGREP_found=false
5691 # Loop through the user's path and test for each of PROGNAME-LIST
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_prog in egrep; do
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5700 as_fn_executable_p "$ac_path_EGREP" || continue
5701 # Check for GNU ac_path_EGREP and select it if it is found.
5702 # Check for GNU $ac_path_EGREP
5703 case `"$ac_path_EGREP" --version 2>&1` in
5704 *GNU*)
5705 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5707 ac_count=0
5708 $as_echo_n 0123456789 >"conftest.in"
5709 while :
5711 cat "conftest.in" "conftest.in" >"conftest.tmp"
5712 mv "conftest.tmp" "conftest.in"
5713 cp "conftest.in" "conftest.nl"
5714 $as_echo 'EGREP' >> "conftest.nl"
5715 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5717 as_fn_arith $ac_count + 1 && ac_count=$as_val
5718 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5719 # Best one so far, save it but keep looking for a better one
5720 ac_cv_path_EGREP="$ac_path_EGREP"
5721 ac_path_EGREP_max=$ac_count
5723 # 10*(2^10) chars as input seems more than enough
5724 test $ac_count -gt 10 && break
5725 done
5726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5727 esac
5729 $ac_path_EGREP_found && break 3
5730 done
5731 done
5732 done
5733 IFS=$as_save_IFS
5734 if test -z "$ac_cv_path_EGREP"; then
5735 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5737 else
5738 ac_cv_path_EGREP=$EGREP
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5744 $as_echo "$ac_cv_path_EGREP" >&6; }
5745 EGREP="$ac_cv_path_EGREP"
5748 # Extract the first word of "ldconfig", so it can be a program name with args.
5749 set dummy ldconfig; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_path_LDCONFIG+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 case $LDCONFIG in
5756 [\\/]* | ?:[\\/]*)
5757 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in /sbin /usr/sbin $PATH
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5771 done
5772 done
5773 IFS=$as_save_IFS
5775 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5777 esac
5779 LDCONFIG=$ac_cv_path_LDCONFIG
5780 if test -n "$LDCONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5782 $as_echo "$LDCONFIG" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 for ac_prog in msgfmt
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy $ac_prog; ac_word=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_MSGFMT+:} false; then :
5796 $as_echo_n "(cached) " >&6
5797 else
5798 if test -n "$MSGFMT"; then
5799 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_prog_MSGFMT="$ac_prog"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 IFS=$as_save_IFS
5818 MSGFMT=$ac_cv_prog_MSGFMT
5819 if test -n "$MSGFMT"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5821 $as_echo "$MSGFMT" >&6; }
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5828 test -n "$MSGFMT" && break
5829 done
5830 test -n "$MSGFMT" || MSGFMT="false"
5832 if ${ac_tool_prefix+:} false; then :
5833 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 if test -n "$PKG_CONFIG"; then
5841 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5861 if test -n "$PKG_CONFIG"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5863 $as_echo "$PKG_CONFIG" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5871 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5872 if test "x$cross_compiling" = xyes; then :
5874 else
5875 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5876 # Extract the first word of "pkg-config", so it can be a program name with args.
5877 set dummy pkg-config; ac_word=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 if test -n "$PKG_CONFIG"; then
5884 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5885 else
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_PKG_CONFIG="pkg-config"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 IFS=$as_save_IFS
5903 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5904 if test -n "$PKG_CONFIG"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5906 $as_echo "$PKG_CONFIG" >&6; }
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5914 else
5915 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5918 if test "x$enable_maintainer_mode" != "xyes"
5919 then
5920 FONTFORGE=""
5921 RSVG=""
5922 CONVERT=""
5923 ICOTOOL=""
5924 else
5925 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5926 for ac_prog in fontforge
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_FONTFORGE+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$FONTFORGE"; then
5936 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_FONTFORGE="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 FONTFORGE=$ac_cv_prog_FONTFORGE
5956 if test -n "$FONTFORGE"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5958 $as_echo "$FONTFORGE" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$FONTFORGE" && break
5966 done
5967 test -n "$FONTFORGE" || FONTFORGE="false"
5969 for ac_prog in rsvg-convert rsvg
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy $ac_prog; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_RSVG+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$RSVG"; then
5979 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_RSVG="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 RSVG=$ac_cv_prog_RSVG
5999 if test -n "$RSVG"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6001 $as_echo "$RSVG" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$RSVG" && break
6009 done
6010 test -n "$RSVG" || RSVG="false"
6012 for ac_prog in convert
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy $ac_prog; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_CONVERT+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 if test -n "$CONVERT"; then
6022 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_CONVERT="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 CONVERT=$ac_cv_prog_CONVERT
6042 if test -n "$CONVERT"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6044 $as_echo "$CONVERT" >&6; }
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$CONVERT" && break
6052 done
6053 test -n "$CONVERT" || CONVERT="false"
6055 for ac_prog in icotool
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy $ac_prog; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ICOTOOL+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ICOTOOL"; then
6065 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ICOTOOL="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ICOTOOL=$ac_cv_prog_ICOTOOL
6085 if test -n "$ICOTOOL"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6087 $as_echo "$ICOTOOL" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$ICOTOOL" && break
6095 done
6096 test -n "$ICOTOOL" || ICOTOOL="false"
6098 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6099 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6101 if test "$CONVERT" = false
6102 then
6103 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6106 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6107 convert_version=`convert --version | head -n1`
6108 if test "x$convert_version" != "x"
6109 then
6110 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6111 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6112 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6113 then
6114 CONVERT=false
6117 if test "$CONVERT" = false
6118 then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6120 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6121 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6124 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6128 if test "$ICOTOOL" = false
6129 then
6130 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6133 $as_echo_n "checking for recent enough icotool... " >&6; }
6134 icotool_version=`icotool --version | head -n1`
6135 if test "x$icotool_version" != "x"
6136 then
6137 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6138 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6139 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6140 then
6141 ICOTOOL=false
6142 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6145 if test "$ICOTOOL" = false
6146 then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6148 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6149 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6150 else
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6152 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6156 with_gettext=yes
6157 with_gettextpo=yes
6158 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6161 test "x$with_gettext" != xno || MSGFMT=false
6162 if test "$MSGFMT" != "false"
6163 then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6165 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6166 cat >conftest.po <<EOF
6167 # comment
6168 msgctxt "ctxt"
6169 msgid "id"
6170 msgstr "str"
6172 if $MSGFMT -o /dev/null conftest.po 2>&5
6173 then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6175 $as_echo "yes" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 MSGFMT=false
6182 if test "$MSGFMT" = false; then :
6183 case "x$with_gettext" in
6184 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6185 xno) ;;
6186 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6187 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6188 esac
6189 enable_po=${enable_po:-no}
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6194 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6195 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 ac_check_lib_save_LIBS=$LIBS
6199 LIBS="-li386 $LIBS"
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 /* Override any GCC internal prototype to avoid an error.
6204 Use char because int might match the return type of a GCC
6205 builtin and then its argument prototype would still apply. */
6206 #ifdef __cplusplus
6207 extern "C"
6208 #endif
6209 char i386_set_ldt ();
6211 main ()
6213 return i386_set_ldt ();
6215 return 0;
6217 _ACEOF
6218 if ac_fn_c_try_link "$LINENO"; then :
6219 ac_cv_lib_i386_i386_set_ldt=yes
6220 else
6221 ac_cv_lib_i386_i386_set_ldt=no
6223 rm -f core conftest.err conftest.$ac_objext \
6224 conftest$ac_exeext conftest.$ac_ext
6225 LIBS=$ac_check_lib_save_LIBS
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6228 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6229 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6230 cat >>confdefs.h <<_ACEOF
6231 #define HAVE_LIBI386 1
6232 _ACEOF
6234 LIBS="-li386 $LIBS"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6239 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6240 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 ac_check_lib_save_LIBS=$LIBS
6244 LIBS="-lossaudio $LIBS"
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6248 /* Override any GCC internal prototype to avoid an error.
6249 Use char because int might match the return type of a GCC
6250 builtin and then its argument prototype would still apply. */
6251 #ifdef __cplusplus
6252 extern "C"
6253 #endif
6254 char _oss_ioctl ();
6256 main ()
6258 return _oss_ioctl ();
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_link "$LINENO"; then :
6264 ac_cv_lib_ossaudio__oss_ioctl=yes
6265 else
6266 ac_cv_lib_ossaudio__oss_ioctl=no
6268 rm -f core conftest.err conftest.$ac_objext \
6269 conftest$ac_exeext conftest.$ac_ext
6270 LIBS=$ac_check_lib_save_LIBS
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6273 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6274 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6275 cat >>confdefs.h <<_ACEOF
6276 #define HAVE_LIBOSSAUDIO 1
6277 _ACEOF
6279 LIBS="-lossaudio $LIBS"
6284 OPENGL_LIBS=""
6288 # Check whether --enable-largefile was given.
6289 if test "${enable_largefile+set}" = set; then :
6290 enableval=$enable_largefile;
6293 if test "$enable_largefile" != no; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6296 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6297 if ${ac_cv_sys_largefile_CC+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 ac_cv_sys_largefile_CC=no
6301 if test "$GCC" != yes; then
6302 ac_save_CC=$CC
6303 while :; do
6304 # IRIX 6.2 and later do not support large files by default,
6305 # so use the C compiler's -n32 option if that helps.
6306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6316 ? 1 : -1];
6318 main ()
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_compile "$LINENO"; then :
6326 break
6328 rm -f core conftest.err conftest.$ac_objext
6329 CC="$CC -n32"
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 ac_cv_sys_largefile_CC=' -n32'; break
6333 rm -f core conftest.err conftest.$ac_objext
6334 break
6335 done
6336 CC=$ac_save_CC
6337 rm -f conftest.$ac_ext
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6341 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6342 if test "$ac_cv_sys_largefile_CC" != no; then
6343 CC=$CC$ac_cv_sys_largefile_CC
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6347 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6348 if ${ac_cv_sys_file_offset_bits+:} false; then :
6349 $as_echo_n "(cached) " >&6
6350 else
6351 while :; do
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <sys/types.h>
6355 /* Check that off_t can represent 2**63 - 1 correctly.
6356 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6357 since some C++ compilers masquerading as C compilers
6358 incorrectly reject 9223372036854775807. */
6359 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6360 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6361 && LARGE_OFF_T % 2147483647 == 1)
6362 ? 1 : -1];
6364 main ()
6368 return 0;
6370 _ACEOF
6371 if ac_fn_c_try_compile "$LINENO"; then :
6372 ac_cv_sys_file_offset_bits=no; break
6374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6377 #define _FILE_OFFSET_BITS 64
6378 #include <sys/types.h>
6379 /* Check that off_t can represent 2**63 - 1 correctly.
6380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6381 since some C++ compilers masquerading as C compilers
6382 incorrectly reject 9223372036854775807. */
6383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6385 && LARGE_OFF_T % 2147483647 == 1)
6386 ? 1 : -1];
6388 main ()
6392 return 0;
6394 _ACEOF
6395 if ac_fn_c_try_compile "$LINENO"; then :
6396 ac_cv_sys_file_offset_bits=64; break
6398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6399 ac_cv_sys_file_offset_bits=unknown
6400 break
6401 done
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6404 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6405 case $ac_cv_sys_file_offset_bits in #(
6406 no | unknown) ;;
6408 cat >>confdefs.h <<_ACEOF
6409 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6410 _ACEOF
6412 esac
6413 rm -rf conftest*
6414 if test $ac_cv_sys_file_offset_bits = unknown; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6416 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6417 if ${ac_cv_sys_large_files+:} false; then :
6418 $as_echo_n "(cached) " >&6
6419 else
6420 while :; do
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #include <sys/types.h>
6424 /* Check that off_t can represent 2**63 - 1 correctly.
6425 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6426 since some C++ compilers masquerading as C compilers
6427 incorrectly reject 9223372036854775807. */
6428 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6429 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6430 && LARGE_OFF_T % 2147483647 == 1)
6431 ? 1 : -1];
6433 main ()
6437 return 0;
6439 _ACEOF
6440 if ac_fn_c_try_compile "$LINENO"; then :
6441 ac_cv_sys_large_files=no; break
6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #define _LARGE_FILES 1
6447 #include <sys/types.h>
6448 /* Check that off_t can represent 2**63 - 1 correctly.
6449 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6450 since some C++ compilers masquerading as C compilers
6451 incorrectly reject 9223372036854775807. */
6452 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6453 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6454 && LARGE_OFF_T % 2147483647 == 1)
6455 ? 1 : -1];
6457 main ()
6461 return 0;
6463 _ACEOF
6464 if ac_fn_c_try_compile "$LINENO"; then :
6465 ac_cv_sys_large_files=1; break
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6468 ac_cv_sys_large_files=unknown
6469 break
6470 done
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6473 $as_echo "$ac_cv_sys_large_files" >&6; }
6474 case $ac_cv_sys_large_files in #(
6475 no | unknown) ;;
6477 cat >>confdefs.h <<_ACEOF
6478 #define _LARGE_FILES $ac_cv_sys_large_files
6479 _ACEOF
6481 esac
6482 rm -rf conftest*
6489 ac_ext=c
6490 ac_cpp='$CPP $CPPFLAGS'
6491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6495 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6496 # On Suns, sometimes $CPP names a directory.
6497 if test -n "$CPP" && test -d "$CPP"; then
6498 CPP=
6500 if test -z "$CPP"; then
6501 if ${ac_cv_prog_CPP+:} false; then :
6502 $as_echo_n "(cached) " >&6
6503 else
6504 # Double quotes because CPP needs to be expanded
6505 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6507 ac_preproc_ok=false
6508 for ac_c_preproc_warn_flag in '' yes
6510 # Use a header file that comes with gcc, so configuring glibc
6511 # with a fresh cross-compiler works.
6512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6513 # <limits.h> exists even on freestanding compilers.
6514 # On the NeXT, cc -E runs the code through the compiler's parser,
6515 # not just through cpp. "Syntax error" is here to catch this case.
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6518 #ifdef __STDC__
6519 # include <limits.h>
6520 #else
6521 # include <assert.h>
6522 #endif
6523 Syntax error
6524 _ACEOF
6525 if ac_fn_c_try_cpp "$LINENO"; then :
6527 else
6528 # Broken: fails on valid input.
6529 continue
6531 rm -f conftest.err conftest.i conftest.$ac_ext
6533 # OK, works on sane cases. Now check whether nonexistent headers
6534 # can be detected and how.
6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537 #include <ac_nonexistent.h>
6538 _ACEOF
6539 if ac_fn_c_try_cpp "$LINENO"; then :
6540 # Broken: success on invalid input.
6541 continue
6542 else
6543 # Passes both tests.
6544 ac_preproc_ok=:
6545 break
6547 rm -f conftest.err conftest.i conftest.$ac_ext
6549 done
6550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6551 rm -f conftest.i conftest.err conftest.$ac_ext
6552 if $ac_preproc_ok; then :
6553 break
6556 done
6557 ac_cv_prog_CPP=$CPP
6560 CPP=$ac_cv_prog_CPP
6561 else
6562 ac_cv_prog_CPP=$CPP
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6565 $as_echo "$CPP" >&6; }
6566 ac_preproc_ok=false
6567 for ac_c_preproc_warn_flag in '' yes
6569 # Use a header file that comes with gcc, so configuring glibc
6570 # with a fresh cross-compiler works.
6571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 # <limits.h> exists even on freestanding compilers.
6573 # On the NeXT, cc -E runs the code through the compiler's parser,
6574 # not just through cpp. "Syntax error" is here to catch this case.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #ifdef __STDC__
6578 # include <limits.h>
6579 #else
6580 # include <assert.h>
6581 #endif
6582 Syntax error
6583 _ACEOF
6584 if ac_fn_c_try_cpp "$LINENO"; then :
6586 else
6587 # Broken: fails on valid input.
6588 continue
6590 rm -f conftest.err conftest.i conftest.$ac_ext
6592 # OK, works on sane cases. Now check whether nonexistent headers
6593 # can be detected and how.
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <ac_nonexistent.h>
6597 _ACEOF
6598 if ac_fn_c_try_cpp "$LINENO"; then :
6599 # Broken: success on invalid input.
6600 continue
6601 else
6602 # Passes both tests.
6603 ac_preproc_ok=:
6604 break
6606 rm -f conftest.err conftest.i conftest.$ac_ext
6608 done
6609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6610 rm -f conftest.i conftest.err conftest.$ac_ext
6611 if $ac_preproc_ok; then :
6613 else
6614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6616 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6617 See \`config.log' for more details" "$LINENO" 5; }
6620 ac_ext=c
6621 ac_cpp='$CPP $CPPFLAGS'
6622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6628 $as_echo_n "checking for ANSI C header files... " >&6; }
6629 if ${ac_cv_header_stdc+:} false; then :
6630 $as_echo_n "(cached) " >&6
6631 else
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6634 #include <stdlib.h>
6635 #include <stdarg.h>
6636 #include <string.h>
6637 #include <float.h>
6640 main ()
6644 return 0;
6646 _ACEOF
6647 if ac_fn_c_try_compile "$LINENO"; then :
6648 ac_cv_header_stdc=yes
6649 else
6650 ac_cv_header_stdc=no
6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6654 if test $ac_cv_header_stdc = yes; then
6655 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #include <string.h>
6660 _ACEOF
6661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6662 $EGREP "memchr" >/dev/null 2>&1; then :
6664 else
6665 ac_cv_header_stdc=no
6667 rm -f conftest*
6671 if test $ac_cv_header_stdc = yes; then
6672 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #include <stdlib.h>
6677 _ACEOF
6678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6679 $EGREP "free" >/dev/null 2>&1; then :
6681 else
6682 ac_cv_header_stdc=no
6684 rm -f conftest*
6688 if test $ac_cv_header_stdc = yes; then
6689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6690 if test "$cross_compiling" = yes; then :
6692 else
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6695 #include <ctype.h>
6696 #include <stdlib.h>
6697 #if ((' ' & 0x0FF) == 0x020)
6698 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6699 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6700 #else
6701 # define ISLOWER(c) \
6702 (('a' <= (c) && (c) <= 'i') \
6703 || ('j' <= (c) && (c) <= 'r') \
6704 || ('s' <= (c) && (c) <= 'z'))
6705 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6706 #endif
6708 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6710 main ()
6712 int i;
6713 for (i = 0; i < 256; i++)
6714 if (XOR (islower (i), ISLOWER (i))
6715 || toupper (i) != TOUPPER (i))
6716 return 2;
6717 return 0;
6719 _ACEOF
6720 if ac_fn_c_try_run "$LINENO"; then :
6722 else
6723 ac_cv_header_stdc=no
6725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6726 conftest.$ac_objext conftest.beam conftest.$ac_ext
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6732 $as_echo "$ac_cv_header_stdc" >&6; }
6733 if test $ac_cv_header_stdc = yes; then
6735 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6739 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6740 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6741 inttypes.h stdint.h unistd.h
6742 do :
6743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6747 cat >>confdefs.h <<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 _ACEOF
6753 done
6756 for ac_header in \
6757 AL/al.h \
6758 ApplicationServices/ApplicationServices.h \
6759 AudioToolbox/AudioConverter.h \
6760 AudioUnit/AudioUnit.h \
6761 AudioUnit/AudioComponent.h \
6762 CL/cl.h \
6763 Carbon/Carbon.h \
6764 CommonCrypto/CommonDigest.h \
6765 CoreAudio/CoreAudio.h \
6766 CoreServices/CoreServices.h \
6767 DiskArbitration/DiskArbitration.h \
6768 IOKit/IOKitLib.h \
6769 IOKit/hid/IOHIDLib.h \
6770 OpenAL/al.h \
6771 OpenCL/opencl.h \
6772 QuickTime/ImageCompression.h \
6773 Security/Security.h \
6774 alias.h \
6775 alsa/asoundlib.h \
6776 arpa/inet.h \
6777 arpa/nameser.h \
6778 asm/types.h \
6779 asm/user.h \
6780 curses.h \
6781 direct.h \
6782 dirent.h \
6783 dlfcn.h \
6784 elf.h \
6785 float.h \
6786 fnmatch.h \
6787 getopt.h \
6788 gettext-po.h \
6789 grp.h \
6790 gsm.h \
6791 gsm/gsm.h \
6792 ieeefp.h \
6793 inet/mib2.h \
6794 io.h \
6795 kstat.h \
6796 lber.h \
6797 ldap.h \
6798 libproc.h \
6799 link.h \
6800 linux/cdrom.h \
6801 linux/compiler.h \
6802 linux/filter.h \
6803 linux/hdreg.h \
6804 linux/input.h \
6805 linux/ioctl.h \
6806 linux/joystick.h \
6807 linux/major.h \
6808 linux/param.h \
6809 linux/serial.h \
6810 linux/types.h \
6811 linux/ucdrom.h \
6812 lwp.h \
6813 mach-o/nlist.h \
6814 mach-o/loader.h \
6815 mach/mach.h \
6816 mach/machine.h \
6817 machine/cpu.h \
6818 machine/limits.h \
6819 machine/sysarch.h \
6820 mntent.h \
6821 ncurses.h \
6822 netdb.h \
6823 netinet/in.h \
6824 netinet/in_systm.h \
6825 netinet/tcp.h \
6826 netinet/tcp_fsm.h \
6827 pcap/pcap.h \
6828 poll.h \
6829 port.h \
6830 process.h \
6831 pthread.h \
6832 pwd.h \
6833 sched.h \
6834 scsi/scsi.h \
6835 scsi/scsi_ioctl.h \
6836 scsi/sg.h \
6837 stdbool.h \
6838 stdint.h \
6839 stropts.h \
6840 sys/asoundlib.h \
6841 sys/attr.h \
6842 sys/cdio.h \
6843 sys/elf32.h \
6844 sys/epoll.h \
6845 sys/event.h \
6846 sys/exec_elf.h \
6847 sys/filio.h \
6848 sys/inotify.h \
6849 sys/ioctl.h \
6850 sys/ipc.h \
6851 sys/limits.h \
6852 sys/link.h \
6853 sys/mman.h \
6854 sys/modem.h \
6855 sys/msg.h \
6856 sys/mtio.h \
6857 sys/param.h \
6858 sys/poll.h \
6859 sys/prctl.h \
6860 sys/protosw.h \
6861 sys/ptrace.h \
6862 sys/queue.h \
6863 sys/resource.h \
6864 sys/scsiio.h \
6865 sys/shm.h \
6866 sys/signal.h \
6867 sys/socket.h \
6868 sys/socketvar.h \
6869 sys/sockio.h \
6870 sys/statvfs.h \
6871 sys/strtio.h \
6872 sys/syscall.h \
6873 sys/sysinfo.h \
6874 sys/tihdr.h \
6875 sys/time.h \
6876 sys/timeout.h \
6877 sys/times.h \
6878 sys/uio.h \
6879 sys/user.h \
6880 sys/utsname.h \
6881 sys/vm86.h \
6882 sys/vnode.h \
6883 sys/wait.h \
6884 syscall.h \
6885 termios.h \
6886 unistd.h \
6887 utime.h \
6888 valgrind/memcheck.h \
6889 valgrind/valgrind.h \
6890 zlib.h
6892 do :
6893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 _ACEOF
6902 done
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6905 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6906 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6907 $as_echo_n "(cached) " >&6
6908 else
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6913 main ()
6915 return makedev(0, 0);
6917 return 0;
6919 _ACEOF
6920 if ac_fn_c_try_link "$LINENO"; then :
6921 ac_cv_header_sys_types_h_makedev=yes
6922 else
6923 ac_cv_header_sys_types_h_makedev=no
6925 rm -f core conftest.err conftest.$ac_objext \
6926 conftest$ac_exeext conftest.$ac_ext
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6930 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6932 if test $ac_cv_header_sys_types_h_makedev = no; then
6933 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6934 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6936 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6942 if test $ac_cv_header_sys_mkdev_h = no; then
6943 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6944 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6946 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6955 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6956 if ${ac_cv_header_stat_broken+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958 else
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6962 #include <sys/stat.h>
6964 #if defined S_ISBLK && defined S_IFDIR
6965 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6966 #endif
6968 #if defined S_ISBLK && defined S_IFCHR
6969 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6970 #endif
6972 #if defined S_ISLNK && defined S_IFREG
6973 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6974 #endif
6976 #if defined S_ISSOCK && defined S_IFREG
6977 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6978 #endif
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 ac_cv_header_stat_broken=no
6983 else
6984 ac_cv_header_stat_broken=yes
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6989 $as_echo "$ac_cv_header_stat_broken" >&6; }
6990 if test $ac_cv_header_stat_broken = yes; then
6992 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6998 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6999 do :
7000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7002 #ifdef HAVE_SYS_PARAM_H
7003 # include <sys/param.h>
7004 #endif
7006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7007 cat >>confdefs.h <<_ACEOF
7008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7009 _ACEOF
7013 done
7016 for ac_header in \
7017 netinet/ip.h \
7018 net/if.h \
7019 net/if_arp.h \
7020 net/if_dl.h \
7021 net/if_types.h \
7022 net/route.h \
7023 netinet/if_ether.h \
7024 netinet/if_inarp.h \
7025 netinet/in_pcb.h \
7026 netinet/ip_icmp.h \
7027 netinet/ip_var.h \
7028 netinet/udp.h \
7029 netipx/ipx.h \
7030 sys/un.h \
7032 do :
7033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7034 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7035 #ifdef HAVE_SYS_SOCKET_H
7036 # include <sys/socket.h>
7037 #endif
7038 #ifdef HAVE_SYS_SOCKETVAR_H
7039 # include <sys/socketvar.h>
7040 #endif
7041 #ifdef HAVE_NET_ROUTE_H
7042 # include <net/route.h>
7043 #endif
7044 #ifdef HAVE_NETINET_IN_H
7045 # include <netinet/in.h>
7046 #endif
7047 #ifdef HAVE_NETINET_IN_SYSTM_H
7048 # include <netinet/in_systm.h>
7049 #endif
7050 #ifdef HAVE_NET_IF_H
7051 # include <net/if.h>
7052 #endif
7053 #ifdef HAVE_NETINET_IP_H
7054 # include <netinet/ip.h>
7055 #endif
7057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7058 cat >>confdefs.h <<_ACEOF
7059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060 _ACEOF
7064 done
7067 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7068 do :
7069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7071 #ifdef HAVE_ALIAS_H
7072 # include <alias.h>
7073 #endif
7074 #ifdef HAVE_SYS_SOCKET_H
7075 # include <sys/socket.h>
7076 #endif
7077 #ifdef HAVE_SYS_SOCKETVAR_H
7078 # include <sys/socketvar.h>
7079 #endif
7080 #ifdef HAVE_SYS_TIMEOUT_H
7081 # include <sys/timeout.h>
7082 #endif
7083 #ifdef HAVE_NETINET_IN_H
7084 # include <netinet/in.h>
7085 #endif
7086 #ifdef HAVE_NETINET_IN_SYSTM_H
7087 # include <netinet/in_systm.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IP_H
7090 # include <netinet/ip.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IP_VAR_H
7093 # include <netinet/ip_var.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IP_ICMP_H
7096 # include <netinet/ip_icmp.h>
7097 #endif
7098 #ifdef HAVE_NETINET_UDP_H
7099 # include <netinet/udp.h>
7100 #endif
7101 #ifdef HAVE_NETINET_TCP_H
7102 # include <netinet/tcp.h>
7103 #endif
7104 #ifdef HAVE_NETINET_TCP_TIMER_H
7105 #include <netinet/tcp_timer.h>
7106 #endif
7108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7109 cat >>confdefs.h <<_ACEOF
7110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 _ACEOF
7115 done
7118 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7119 do :
7120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7122 #ifdef HAVE_ASM_TYPES_H
7123 # include <asm/types.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKET_H
7126 # include <sys/socket.h>
7127 #endif
7128 #ifdef HAVE_LINUX_TYPES_H
7129 # include <linux/types.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 mach-o/dyld_images.h
7143 do :
7144 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7145 # include <stdbool.h>
7146 #endif
7147 #ifdef HAVE_STDINT_H
7148 # include <stdint.h>
7149 #endif
7151 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7152 cat >>confdefs.h <<_ACEOF
7153 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7154 _ACEOF
7158 done
7161 for ac_header in resolv.h
7162 do :
7163 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7164 #ifdef HAVE_SYS_SOCKET_H
7165 # include <sys/socket.h>
7166 #endif
7167 #ifdef HAVE_NETINET_IN_H
7168 # include <netinet/in.h>
7169 #endif
7170 #ifdef HAVE_ARPA_NAMESER_H
7171 # include <arpa/nameser.h>
7172 #endif
7174 if test "x$ac_cv_header_resolv_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_RESOLV_H 1
7177 _ACEOF
7181 done
7184 for ac_header in ifaddrs.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7188 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_IFADDRS_H 1
7191 _ACEOF
7195 done
7198 for ac_header in sys/ucontext.h
7199 do :
7200 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7202 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7203 cat >>confdefs.h <<_ACEOF
7204 #define HAVE_SYS_UCONTEXT_H 1
7205 _ACEOF
7209 done
7212 for ac_header in sys/thr.h
7213 do :
7214 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7215 #ifdef HAVE_SYS_UCONTEXT_H
7216 #include <sys/ucontext.h>
7217 #endif
7219 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define HAVE_SYS_THR_H 1
7222 _ACEOF
7226 done
7229 for ac_header in pthread_np.h
7230 do :
7231 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7232 #include <pthread.h>
7233 #endif
7235 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7236 cat >>confdefs.h <<_ACEOF
7237 #define HAVE_PTHREAD_NP_H 1
7238 _ACEOF
7242 done
7245 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7246 do :
7247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7248 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7249 #include <sys/time.h>
7250 #endif
7251 #include <sys/types.h>
7252 #ifdef HAVE_ASM_TYPES_H
7253 #include <asm/types.h>
7254 #endif
7256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7257 cat >>confdefs.h <<_ACEOF
7258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7259 _ACEOF
7263 done
7266 for ac_header in libprocstat.h
7267 do :
7268 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7269 #include <sys/param.h>
7270 #endif
7271 #ifdef HAVE_SYS_QUEUE_H
7272 #include <sys/queue.h>
7273 #endif
7274 #ifdef HAVE_SYS_SOCKET_H
7275 #include <sys/socket.h>
7276 #endif
7278 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7279 cat >>confdefs.h <<_ACEOF
7280 #define HAVE_LIBPROCSTAT_H 1
7281 _ACEOF
7285 done
7289 dlldir="\${libdir}/wine"
7291 DLLFLAGS="-D_REENTRANT"
7293 LDRPATH_INSTALL=""
7295 LDRPATH_LOCAL=""
7297 LDEXECFLAGS=""
7299 LIBEXT="so"
7300 DLLEXT=".so"
7301 IMPLIBEXT="def"
7302 # Extract the first word of "ldd", so it can be a program name with args.
7303 set dummy ldd; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_path_LDD+:} false; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 case $LDD in
7310 [\\/]* | ?:[\\/]*)
7311 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 as_dummy="/sbin:/usr/sbin:$PATH"
7316 for as_dir in $as_dummy
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7330 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7332 esac
7334 LDD=$ac_cv_path_LDD
7335 if test -n "$LDD"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7337 $as_echo "$LDD" >&6; }
7338 else
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7344 if test -n "$ac_tool_prefix"; then
7345 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7346 set dummy ${ac_tool_prefix}otool; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_OTOOL+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$OTOOL"; then
7353 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 OTOOL=$ac_cv_prog_OTOOL
7373 if test -n "$OTOOL"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7375 $as_echo "$OTOOL" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7383 if test -z "$ac_cv_prog_OTOOL"; then
7384 ac_ct_OTOOL=$OTOOL
7385 # Extract the first word of "otool", so it can be a program name with args.
7386 set dummy otool; ac_word=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 $as_echo_n "checking for $ac_word... " >&6; }
7389 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7390 $as_echo_n "(cached) " >&6
7391 else
7392 if test -n "$ac_ct_OTOOL"; then
7393 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_ac_ct_OTOOL="otool"
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404 break 2
7406 done
7407 done
7408 IFS=$as_save_IFS
7412 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7413 if test -n "$ac_ct_OTOOL"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7415 $as_echo "$ac_ct_OTOOL" >&6; }
7416 else
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 $as_echo "no" >&6; }
7421 if test "x$ac_ct_OTOOL" = x; then
7422 OTOOL="otool"
7423 else
7424 case $cross_compiling:$ac_tool_warned in
7425 yes:)
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7428 ac_tool_warned=yes ;;
7429 esac
7430 OTOOL=$ac_ct_OTOOL
7432 else
7433 OTOOL="$ac_cv_prog_OTOOL"
7436 if test -n "$ac_tool_prefix"; then
7437 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7438 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_READELF+:} false; then :
7442 $as_echo_n "(cached) " >&6
7443 else
7444 if test -n "$READELF"; then
7445 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 break 2
7458 done
7459 done
7460 IFS=$as_save_IFS
7464 READELF=$ac_cv_prog_READELF
7465 if test -n "$READELF"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7467 $as_echo "$READELF" >&6; }
7468 else
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7475 if test -z "$ac_cv_prog_READELF"; then
7476 ac_ct_READELF=$READELF
7477 # Extract the first word of "readelf", so it can be a program name with args.
7478 set dummy readelf; ac_word=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480 $as_echo_n "checking for $ac_word... " >&6; }
7481 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7482 $as_echo_n "(cached) " >&6
7483 else
7484 if test -n "$ac_ct_READELF"; then
7485 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7486 else
7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488 for as_dir in $PATH
7490 IFS=$as_save_IFS
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7494 ac_cv_prog_ac_ct_READELF="readelf"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 break 2
7498 done
7499 done
7500 IFS=$as_save_IFS
7504 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7505 if test -n "$ac_ct_READELF"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7507 $as_echo "$ac_ct_READELF" >&6; }
7508 else
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7513 if test "x$ac_ct_READELF" = x; then
7514 READELF="true"
7515 else
7516 case $cross_compiling:$ac_tool_warned in
7517 yes:)
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520 ac_tool_warned=yes ;;
7521 esac
7522 READELF=$ac_ct_READELF
7524 else
7525 READELF="$ac_cv_prog_READELF"
7528 wine_rules_file=conf$$rules.make
7529 rm -f $wine_rules_file
7530 SUBDIRS=""
7532 DISABLED_SUBDIRS=""
7534 CONFIGURE_TARGETS=""
7536 ALL_TEST_RESOURCES=""
7539 wine_fn_append_file ()
7541 as_fn_append $1 " \\$as_nl $2"
7544 wine_fn_append_rule ()
7546 $as_echo "$1" >>$wine_rules_file
7549 wine_fn_has_flag ()
7551 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7554 wine_fn_all_rules ()
7556 wine_fn_append_file SUBDIRS $ac_dir
7557 wine_fn_append_rule \
7558 "all: $ac_dir
7559 .PHONY: $ac_dir
7560 $ac_dir: dummy
7561 @cd $ac_dir && \$(MAKE)"
7564 wine_fn_install_rules ()
7566 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7568 wine_fn_append_rule \
7569 ".PHONY: $ac_dir/install $ac_dir/uninstall
7570 $ac_dir/install:: $ac_dir
7571 @cd $ac_dir && \$(MAKE) install
7572 $ac_dir/uninstall::
7573 @cd $ac_dir && \$(MAKE) uninstall
7574 install:: $ac_dir/install
7575 __uninstall__: $ac_dir/uninstall"
7577 if wine_fn_has_flag install-lib
7578 then
7579 wine_fn_append_rule \
7580 ".PHONY: $ac_dir/install-lib
7581 $ac_dir/install-lib:: $ac_dir
7582 @cd $ac_dir && \$(MAKE) install-lib
7583 install-lib:: $ac_dir/install-lib"
7586 if wine_fn_has_flag install-dev
7587 then
7588 wine_fn_append_rule \
7589 ".PHONY: $ac_dir/install-dev
7590 $ac_dir/install-dev:: $ac_dir
7591 @cd $ac_dir && \$(MAKE) install-dev
7592 install-dev:: $ac_dir/install-dev"
7596 wine_fn_clean_rules ()
7598 ac_clean=$@
7600 if wine_fn_has_flag clean
7601 then
7602 wine_fn_append_rule \
7603 "$ac_dir/clean: dummy
7604 @cd $ac_dir && \$(MAKE) clean"
7605 else
7606 wine_fn_append_rule \
7607 "$ac_dir/clean: dummy
7608 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7610 wine_fn_append_rule \
7611 "__clean__: $ac_dir/clean
7612 .PHONY: $ac_dir/clean"
7615 wine_fn_disabled_rules ()
7617 ac_clean=$@
7619 wine_fn_append_file SUBDIRS $ac_dir
7620 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7621 wine_fn_append_rule \
7622 "__clean__: $ac_dir/clean
7623 .PHONY: $ac_dir/clean
7624 $ac_dir/clean: dummy
7625 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7628 wine_fn_config_makefile ()
7630 ac_dir=$1
7631 ac_enable=$2
7632 ac_flags=$3
7634 case $ac_dir in
7635 fonts|server) test -z "$with_wine64" || return ;;
7636 esac
7637 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7638 wine_fn_disabled_rules; return
7640 wine_fn_all_rules
7641 wine_fn_install_rules
7642 wine_fn_clean_rules
7645 wine_fn_config_lib ()
7647 ac_name=$1
7648 ac_flags=$2
7649 ac_dir=dlls/$ac_name
7650 ac_deps="include"
7652 if test "x$enable_tools" = xno; then :
7654 else
7655 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7657 wine_fn_all_rules
7658 wine_fn_clean_rules
7660 wine_fn_append_rule \
7661 ".PHONY: $ac_dir/install $ac_dir/uninstall
7662 $ac_dir/install:: $ac_dir
7663 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7664 $ac_dir/uninstall::
7665 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7666 install install-dev:: $ac_dir/install
7667 __uninstall__: $ac_dir/uninstall
7668 __builddeps__: $ac_dir
7669 $ac_dir: $ac_deps"
7672 wine_fn_config_dll ()
7674 ac_name=$1
7675 ac_dir=dlls/$ac_name
7676 ac_enable=$2
7677 ac_flags=$3
7678 ac_implib=${4:-$ac_name}
7679 ac_file=$ac_dir/lib$ac_implib
7680 ac_dll=$ac_name
7681 ac_deps="include"
7682 ac_implibflags=""
7684 if test "x$enable_tools" = xno; then :
7686 else
7687 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7689 case $ac_name in
7690 *16) ac_implibflags=" -m16" ;;
7691 *.*) ;;
7692 *) ac_dll=$ac_dll.dll ;;
7693 esac
7695 ac_clean=
7696 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7697 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7699 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7700 if test "$ac_enable" != enable_win16
7701 then
7702 wine_fn_clean_rules $ac_clean
7703 wine_fn_append_file SUBDIRS $ac_dir
7704 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7705 else
7706 wine_fn_disabled_rules $ac_clean
7707 return
7709 else
7710 wine_fn_all_rules
7711 wine_fn_clean_rules $ac_clean
7712 wine_fn_append_rule \
7713 "$ac_dir: __builddeps__
7714 manpages htmlpages sgmlpages xmlpages::
7715 @cd $ac_dir && \$(MAKE) \$@
7716 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7717 install install-lib:: $ac_dir/install-lib
7718 __uninstall__: $ac_dir/uninstall"
7719 if test -n "$DLLEXT"
7720 then
7721 wine_fn_append_rule \
7722 "$ac_dir/install-lib:: $ac_dir
7723 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7724 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7725 $ac_dir/uninstall::
7726 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7727 else
7728 wine_fn_append_rule \
7729 "$ac_dir/install-lib:: $ac_dir
7730 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7731 $ac_dir/uninstall::
7732 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7736 if wine_fn_has_flag staticimplib
7737 then
7738 wine_fn_append_rule \
7739 "__builddeps__: $ac_file.a
7740 $ac_file.a $ac_file.cross.a: $ac_deps
7741 $ac_file.a: dummy
7742 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7743 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7744 $ac_dir/install-dev:: $ac_file.a
7745 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7746 $ac_dir/uninstall::
7747 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7748 install install-dev:: $ac_dir/install-dev
7749 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7752 then
7753 wine_fn_append_rule \
7754 "__builddeps__: $ac_file.cross.a
7755 $ac_file.cross.a: dummy
7756 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7759 elif wine_fn_has_flag implib
7760 then
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.$IMPLIBEXT
7763 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7764 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7765 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7766 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7767 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7768 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7769 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7770 $ac_dir/uninstall::
7771 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7772 install install-dev:: $ac_dir/install-dev
7773 __uninstall__: $ac_dir/uninstall"
7774 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7775 then
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.cross.a
7778 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7779 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7784 wine_fn_config_program ()
7786 ac_name=$1
7787 ac_dir=programs/$ac_name
7788 ac_enable=$2
7789 ac_flags=$3
7790 ac_program=$ac_name
7792 case $ac_name in
7793 *.*) ;;
7794 *) ac_program=$ac_program.exe ;;
7795 esac
7797 ac_clean=
7798 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7799 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7801 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7802 wine_fn_disabled_rules $ac_clean; return
7805 wine_fn_all_rules
7806 wine_fn_clean_rules $ac_clean
7807 wine_fn_append_rule "$ac_dir: __builddeps__"
7809 wine_fn_has_flag install || return
7810 wine_fn_append_rule \
7811 ".PHONY: $ac_dir/install $ac_dir/uninstall
7812 install install-lib:: $ac_dir/install
7813 __uninstall__: $ac_dir/uninstall"
7815 if test -n "$DLLEXT"
7816 then
7817 wine_fn_append_rule \
7818 "$ac_dir/install:: $ac_dir
7819 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7820 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7821 $ac_dir/uninstall::
7822 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7824 if test -z "$with_wine64" && wine_fn_has_flag installbin
7825 then
7826 wine_fn_append_rule \
7827 "$ac_dir/install:: __tooldeps__
7828 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7829 $ac_dir/uninstall::
7830 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7832 else
7833 wine_fn_append_rule \
7834 "$ac_dir/install:: $ac_dir
7835 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7836 $ac_dir/uninstall::
7837 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7840 if test -z "$with_wine64" && wine_fn_has_flag manpage
7841 then
7842 wine_fn_append_rule \
7843 "$ac_dir/install:: $ac_dir
7844 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7845 $ac_dir/uninstall::
7846 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7850 wine_fn_config_test ()
7852 ac_dir=$1
7853 ac_name=$2
7854 ac_flags=$3
7856 ac_clean=
7857 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7858 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7860 if test "x$enable_tests" = xno; then :
7861 wine_fn_disabled_rules $ac_clean; return
7864 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7865 wine_fn_all_rules
7866 wine_fn_clean_rules $ac_clean
7868 wine_fn_append_rule \
7869 "$ac_dir: __builddeps__
7870 programs/winetest: $ac_dir
7871 check test: $ac_dir/test
7872 .PHONY: $ac_dir/test
7873 $ac_dir/test: dummy
7874 @cd $ac_dir && \$(MAKE) test
7875 testclean::
7876 \$(RM) $ac_dir/*.ok"
7878 if test -n "$CROSSTARGET"
7879 then
7880 wine_fn_append_rule \
7881 "crosstest: $ac_dir/crosstest
7882 .PHONY: $ac_dir/crosstest
7883 $ac_dir/crosstest: __builddeps__ dummy
7884 @cd $ac_dir && \$(MAKE) crosstest"
7888 wine_fn_config_tool ()
7890 ac_dir=$1
7891 ac_flags=$2
7892 if test "x$enable_tools" = xno; then :
7893 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7896 wine_fn_all_rules
7897 wine_fn_install_rules
7898 wine_fn_clean_rules
7900 wine_fn_append_rule "__tooldeps__: $ac_dir"
7901 wine_fn_append_rule "$ac_dir: libs/port"
7902 case $ac_dir in
7903 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7904 esac
7907 wine_fn_config_symlink ()
7909 ac_linkdir=
7910 if test "x$1" = "x-d"
7911 then
7912 ac_linkdir=$2
7913 shift; shift
7915 ac_links=$@
7916 wine_fn_append_rule \
7917 "$ac_links:
7918 @./config.status \$@"
7919 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7920 test -n "$ac_linkdir" || return
7921 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7924 wine_binary="wine"
7925 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7926 WINELOADER_PROGRAMS="$wine_binary"
7928 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7930 case $host_os in
7931 cygwin*|mingw32*)
7932 if test -n "$ac_tool_prefix"; then
7933 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7934 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 $as_echo_n "checking for $ac_word... " >&6; }
7937 if ${ac_cv_prog_DLLTOOL+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 if test -n "$DLLTOOL"; then
7941 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7942 else
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 for as_dir in $PATH
7946 IFS=$as_save_IFS
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 break 2
7954 done
7955 done
7956 IFS=$as_save_IFS
7960 DLLTOOL=$ac_cv_prog_DLLTOOL
7961 if test -n "$DLLTOOL"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7963 $as_echo "$DLLTOOL" >&6; }
7964 else
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7971 if test -z "$ac_cv_prog_DLLTOOL"; then
7972 ac_ct_DLLTOOL=$DLLTOOL
7973 # Extract the first word of "dlltool", so it can be a program name with args.
7974 set dummy dlltool; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 if test -n "$ac_ct_DLLTOOL"; then
7981 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7982 else
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 for as_dir in $PATH
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7994 done
7995 done
7996 IFS=$as_save_IFS
8000 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8001 if test -n "$ac_ct_DLLTOOL"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8003 $as_echo "$ac_ct_DLLTOOL" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8009 if test "x$ac_ct_DLLTOOL" = x; then
8010 DLLTOOL="false"
8011 else
8012 case $cross_compiling:$ac_tool_warned in
8013 yes:)
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8016 ac_tool_warned=yes ;;
8017 esac
8018 DLLTOOL=$ac_ct_DLLTOOL
8020 else
8021 DLLTOOL="$ac_cv_prog_DLLTOOL"
8024 LIBEXT="dll"
8025 DLLEXT=""
8026 IMPLIBEXT="a"
8027 enable_iphlpapi=${enable_iphlpapi:-no}
8028 enable_kernel32=${enable_kernel32:-no}
8029 enable_msvcrt=${enable_msvcrt:-no}
8030 enable_ntdll=${enable_ntdll:-no}
8031 enable_ws2_32=${enable_ws2_32:-no}
8032 enable_loader=${enable_loader:-no}
8033 enable_server=${enable_server:-no}
8034 with_x=${with_x:-no}
8035 with_pthread=${with_pthread:-no}
8037 crtlibs=""
8038 case $host_os in
8039 mingw32*)
8040 crtlibs="-lmsvcrt"
8041 SOCKET_LIBS="-lws2_32"
8043 esac
8045 LIBWINE_SHAREDLIB="libwine.dll"
8047 LIBWINE_IMPORTLIB="libwine.a"
8049 LIBWINE_INSTALL_LIB="libwine.dll"
8051 LIBWINE_INSTALL_DEV="libwine.a"
8053 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8055 LIBWINE_DEPENDS="wine.def"
8059 darwin*|macosx*)
8060 for ac_header in libunwind.h
8061 do :
8062 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8064 cat >>confdefs.h <<_ACEOF
8065 #define HAVE_LIBUNWIND_H 1
8066 _ACEOF
8070 done
8072 LIBEXT="dylib"
8073 DLLFLAGS="$DLLFLAGS -fPIC"
8074 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8075 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8076 COREFOUNDATION_LIBS="-framework CoreFoundation"
8078 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8080 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8082 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8084 CORESERVICES_LIBS="-framework CoreServices"
8086 APPKIT_LIBS="-framework AppKit"
8088 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8090 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8091 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8092 $as_echo_n "(cached) " >&6
8093 else
8094 ac_wine_try_cflags_saved=$CFLAGS
8095 CFLAGS="$CFLAGS -Wl,-no_pie"
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8099 _ACEOF
8100 if ac_fn_c_try_link "$LINENO"; then :
8101 ac_cv_cflags__Wl__no_pie=yes
8102 else
8103 ac_cv_cflags__Wl__no_pie=no
8105 rm -f core conftest.err conftest.$ac_objext \
8106 conftest$ac_exeext conftest.$ac_ext
8107 CFLAGS=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8110 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8111 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8112 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8114 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8115 then
8116 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8119 if test "$ac_cv_header_Security_Security_h" = "yes"
8120 then
8121 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8123 ac_save_LIBS="$LIBS"
8124 LIBS="$LIBS $SECURITY_LIBS"
8125 for ac_func in SSLCopyPeerCertificates
8126 do :
8127 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8128 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8131 _ACEOF
8134 done
8136 LIBS="$ac_save_LIBS"
8137 with_gnutls=${with_gnutls:-no}
8139 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8140 then
8141 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8142 then
8143 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8145 else
8146 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8149 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8150 ac_save_LIBS="$LIBS"
8151 LIBS="$LIBS $COREAUDIO_LIBS"
8152 for ac_func in AUGraphAddNode
8153 do :
8154 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8155 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8156 cat >>confdefs.h <<_ACEOF
8157 #define HAVE_AUGRAPHADDNODE 1
8158 _ACEOF
8161 done
8163 LIBS="$ac_save_LIBS"
8165 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8166 then
8167 OPENAL_LIBS="-framework OpenAL"
8170 cat >>confdefs.h <<_ACEOF
8171 #define HAVE_OPENAL 1
8172 _ACEOF
8174 ac_cv_lib_openal=yes
8176 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8177 then
8178 OPENCL_LIBS="-framework OpenCL"
8180 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8182 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8183 then
8184 ac_save_LIBS="$LIBS"
8185 LIBS="$LIBS $IOKIT_LIBS"
8186 for ac_func in IOHIDManagerCreate
8187 do :
8188 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8189 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8190 cat >>confdefs.h <<_ACEOF
8191 #define HAVE_IOHIDMANAGERCREATE 1
8192 _ACEOF
8195 done
8197 LIBS="$ac_save_LIBS"
8199 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8200 then
8201 ac_save_LIBS="$LIBS"
8202 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8204 $as_echo_n "checking for the QuickTime framework... " >&6; }
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 #include <QuickTime/ImageCompression.h>
8209 main ()
8211 CodecManagerVersion(NULL);
8213 return 0;
8215 _ACEOF
8216 if ac_fn_c_try_link "$LINENO"; then :
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8218 $as_echo "yes" >&6; }
8219 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8221 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8222 else
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8225 ac_cv_header_QuickTime_ImageCompression_h=no
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 LIBS="$ac_save_LIBS"
8231 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8232 then
8233 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8235 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8236 then
8237 CARBON_LIBS="-framework Carbon"
8241 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8242 then
8243 ac_save_LIBS="$LIBS"
8244 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8245 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8246 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8247 enable_winemac_drv=${enable_winemac_drv:-yes}
8250 LIBS="$ac_save_LIBS"
8253 if test "x$enable_win16" = "xyes"
8254 then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8256 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8257 if test "$cross_compiling" = yes; then :
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8259 $as_echo "cross-compiling, assuming yes" >&6; }
8260 else
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 asm(".text\n"
8264 "bad:\tnop;nop\n"
8265 "good:\tnop;nop\n\t"
8266 ".globl _testfunc\n"
8267 "_testfunc:\tcallw good");
8268 extern void testfunc();
8270 main ()
8272 unsigned short *p = (unsigned short *)testfunc;
8273 return p[0] != 0xe866 || p[1] != 0xfffa
8275 return 0;
8277 _ACEOF
8278 if ac_fn_c_try_run "$LINENO"; then :
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8280 $as_echo "yes" >&6; }
8281 else
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8284 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
8286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8287 conftest.$ac_objext conftest.beam conftest.$ac_ext
8292 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8294 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8296 LIBWINE_INSTALL_DEV="libwine.dylib"
8298 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8300 WINELOADER_DEPENDS="wine_info.plist"
8304 linux-android*)
8305 DLLFLAGS="$DLLFLAGS -fPIC"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8308 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8319 else
8320 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8327 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8328 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8329 LDEXECFLAGS="-Wl,--export-dynamic"
8331 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8333 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8334 if eval \${$as_ac_var+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_wine_try_cflags_saved=$CFLAGS
8338 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 eval "$as_ac_var=yes"
8345 else
8346 eval "$as_ac_var=no"
8348 rm -f core conftest.err conftest.$ac_objext \
8349 conftest$ac_exeext conftest.$ac_ext
8350 CFLAGS=$ac_wine_try_cflags_saved
8352 eval ac_res=\$$as_ac_var
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8354 $as_echo "$ac_res" >&6; }
8355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8356 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8357 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8358 else
8359 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8362 if eval \${$as_ac_var+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 eval "$as_ac_var=yes"
8373 else
8374 eval "$as_ac_var=no"
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 eval ac_res=\$$as_ac_var
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8382 $as_echo "$ac_res" >&6; }
8383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8384 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8385 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8390 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8391 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_cflags__Wl___enable_new_dtags=yes
8402 else
8403 ac_cv_cflags__Wl___enable_new_dtags=no
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8410 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8411 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8412 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8415 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8416 if ${ac_cv_cflags__Wl__pie+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -Wl,-pie"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__Wl__pie=yes
8427 else
8428 ac_cv_cflags__Wl__pie=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8435 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8436 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8437 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8440 LIBWINE_SHAREDLIB="libwine.so"
8442 LIBWINE_INSTALL_LIB="libwine.so"
8444 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8449 DLLFLAGS="$DLLFLAGS -fPIC"
8450 LDEXECFLAGS=""
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8452 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8453 if ${ac_cv_c_dll_gnuelf+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 ac_wine_try_cflags_saved=$CFLAGS
8457 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 void myfunc() {}
8461 _ACEOF
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 ac_cv_c_dll_gnuelf="yes"
8464 else
8465 ac_cv_c_dll_gnuelf="no"
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 CFLAGS=$ac_wine_try_cflags_saved
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8472 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8473 if test "$ac_cv_c_dll_gnuelf" = "yes"
8474 then
8475 LIBWINE_LDFLAGS="-shared"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8477 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8478 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8489 else
8490 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8497 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8498 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8499 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8500 else
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8514 else
8515 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8524 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8528 echo '{ global: *; };' >conftest.map
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8542 else
8543 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8552 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8554 rm -f conftest.map
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8557 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8558 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 ac_wine_try_cflags_saved=$CFLAGS
8562 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8569 else
8570 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 CFLAGS=$ac_wine_try_cflags_saved
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8577 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8578 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8579 LDEXECFLAGS="-Wl,--export-dynamic"
8582 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8585 if eval \${$as_ac_var+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 eval "$as_ac_var=yes"
8596 else
8597 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 eval ac_res=\$$as_ac_var
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8605 $as_echo "$ac_res" >&6; }
8606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8607 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8608 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8609 else
8610 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8613 if eval \${$as_ac_var+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 eval "$as_ac_var=yes"
8624 else
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 eval ac_res=\$$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8635 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8642 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__Wl___enable_new_dtags=yes
8653 else
8654 ac_cv_cflags__Wl___enable_new_dtags=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8661 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8662 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8663 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8666 case $host_cpu in
8667 *i[3456789]86* | x86_64)
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8670 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8681 else
8682 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8689 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8690 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8691 case $host_os in
8692 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8693 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8694 esac
8695 else
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8698 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8709 else
8710 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8717 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8718 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8719 case $host_os in
8720 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8721 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8722 esac
8724 # Extract the first word of "prelink", so it can be a program name with args.
8725 set dummy prelink; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_path_PRELINK+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 case $PRELINK in
8732 [\\/]* | ?:[\\/]*)
8733 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 for as_dir in /sbin /usr/sbin $PATH
8739 IFS=$as_save_IFS
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8745 break 2
8747 done
8748 done
8749 IFS=$as_save_IFS
8751 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8753 esac
8755 PRELINK=$ac_cv_path_PRELINK
8756 if test -n "$PRELINK"; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8758 $as_echo "$PRELINK" >&6; }
8759 else
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8761 $as_echo "no" >&6; }
8765 if test "x$PRELINK" = xfalse
8766 then
8767 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8771 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8772 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8773 $as_echo_n "(cached) " >&6
8774 else
8775 ac_wine_try_cflags_saved=$CFLAGS
8776 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 int main(int argc, char **argv) { return 0; }
8780 _ACEOF
8781 if ac_fn_c_try_link "$LINENO"; then :
8782 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8783 else
8784 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8786 rm -f core conftest.err conftest.$ac_objext \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8791 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8792 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8793 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8796 esac
8798 else
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8800 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8801 if ${ac_cv_c_dll_unixware+:} false; then :
8802 $as_echo_n "(cached) " >&6
8803 else
8804 ac_wine_try_cflags_saved=$CFLAGS
8805 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8808 void myfunc() {}
8809 _ACEOF
8810 if ac_fn_c_try_link "$LINENO"; then :
8811 ac_cv_c_dll_unixware="yes"
8812 else
8813 ac_cv_c_dll_unixware="no"
8815 rm -f core conftest.err conftest.$ac_objext \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8820 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8822 then
8823 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8826 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8828 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8830 LIBWINE_INSTALL_DEV="libwine.so"
8832 LIBWINE_DEPENDS="wine.map"
8835 esac
8837 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8838 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8839 enable_winemac_drv=${enable_winemac_drv:-no}
8840 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8842 CROSSTARGET=""
8844 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8845 then
8846 case "$host_cpu" in
8847 arm*)
8848 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8849 i[3456789]86*)
8850 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
8851 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8852 mingw32-gcc" ;;
8853 x86_64)
8854 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
8855 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8857 ac_prefix_list="" ;;
8858 esac
8859 for ac_prog in $ac_prefix_list
8861 # Extract the first word of "$ac_prog", so it can be a program name with args.
8862 set dummy $ac_prog; ac_word=$2
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8864 $as_echo_n "checking for $ac_word... " >&6; }
8865 if ${ac_cv_prog_CROSSCC+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 if test -n "$CROSSCC"; then
8869 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8870 else
8871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8872 for as_dir in $PATH
8874 IFS=$as_save_IFS
8875 test -z "$as_dir" && as_dir=.
8876 for ac_exec_ext in '' $ac_executable_extensions; do
8877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8878 ac_cv_prog_CROSSCC="$ac_prog"
8879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 break 2
8882 done
8883 done
8884 IFS=$as_save_IFS
8888 CROSSCC=$ac_cv_prog_CROSSCC
8889 if test -n "$CROSSCC"; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8891 $as_echo "$CROSSCC" >&6; }
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8894 $as_echo "no" >&6; }
8898 test -n "$CROSSCC" && break
8899 done
8900 test -n "$CROSSCC" || CROSSCC="false"
8902 if test "$CROSSCC" != "false"
8903 then
8904 ac_save_CC="$CC"
8905 CC="$CROSSCC"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8907 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8912 main ()
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_compile "$LINENO"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8921 $as_echo "yes" >&6; }
8922 set x $CROSSCC
8923 shift
8924 while test $# -ge 1
8926 case "$1" in
8927 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8928 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8929 esac
8930 shift
8931 done
8932 else
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8937 CC="$ac_save_CC"
8942 if test "$ac_cv_header_pthread_h" = "yes"
8943 then
8944 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8945 if test "x$ac_cv_func_pthread_create" = xyes; then :
8947 else
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8949 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8950 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 ac_check_lib_save_LIBS=$LIBS
8954 LIBS="-lpthread $LIBS"
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8961 #ifdef __cplusplus
8962 extern "C"
8963 #endif
8964 char pthread_create ();
8966 main ()
8968 return pthread_create ();
8970 return 0;
8972 _ACEOF
8973 if ac_fn_c_try_link "$LINENO"; then :
8974 ac_cv_lib_pthread_pthread_create=yes
8975 else
8976 ac_cv_lib_pthread_pthread_create=no
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_lib_save_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8983 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8984 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8985 PTHREAD_LIBS="-lpthread"
8992 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8993 case "x$with_pthread" in
8994 xno) ;;
8995 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8996 Wine cannot support threads without libpthread.
8997 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8998 esac
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9004 $as_echo_n "checking for X... " >&6; }
9007 # Check whether --with-x was given.
9008 if test "${with_x+set}" = set; then :
9009 withval=$with_x;
9012 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9013 if test "x$with_x" = xno; then
9014 # The user explicitly disabled X.
9015 have_x=disabled
9016 else
9017 case $x_includes,$x_libraries in #(
9018 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9019 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9020 $as_echo_n "(cached) " >&6
9021 else
9022 # One or both of the vars are not set, and there is no cached value.
9023 ac_x_includes=no ac_x_libraries=no
9024 rm -f -r conftest.dir
9025 if mkdir conftest.dir; then
9026 cd conftest.dir
9027 cat >Imakefile <<'_ACEOF'
9028 incroot:
9029 @echo incroot='${INCROOT}'
9030 usrlibdir:
9031 @echo usrlibdir='${USRLIBDIR}'
9032 libdir:
9033 @echo libdir='${LIBDIR}'
9034 _ACEOF
9035 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9036 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9037 for ac_var in incroot usrlibdir libdir; do
9038 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9039 done
9040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9041 for ac_extension in a so sl dylib la dll; do
9042 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9043 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9044 ac_im_usrlibdir=$ac_im_libdir; break
9046 done
9047 # Screen out bogus values from the imake configuration. They are
9048 # bogus both because they are the default anyway, and because
9049 # using them would break gcc on systems where it needs fixed includes.
9050 case $ac_im_incroot in
9051 /usr/include) ac_x_includes= ;;
9052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9053 esac
9054 case $ac_im_usrlibdir in
9055 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9057 esac
9059 cd ..
9060 rm -f -r conftest.dir
9063 # Standard set of common directories for X headers.
9064 # Check X11 before X11Rn because it is often a symlink to the current release.
9065 ac_x_header_dirs='
9066 /usr/X11/include
9067 /usr/X11R7/include
9068 /usr/X11R6/include
9069 /usr/X11R5/include
9070 /usr/X11R4/include
9072 /usr/include/X11
9073 /usr/include/X11R7
9074 /usr/include/X11R6
9075 /usr/include/X11R5
9076 /usr/include/X11R4
9078 /usr/local/X11/include
9079 /usr/local/X11R7/include
9080 /usr/local/X11R6/include
9081 /usr/local/X11R5/include
9082 /usr/local/X11R4/include
9084 /usr/local/include/X11
9085 /usr/local/include/X11R7
9086 /usr/local/include/X11R6
9087 /usr/local/include/X11R5
9088 /usr/local/include/X11R4
9090 /usr/X386/include
9091 /usr/x386/include
9092 /usr/XFree86/include/X11
9094 /usr/include
9095 /usr/local/include
9096 /usr/unsupported/include
9097 /usr/athena/include
9098 /usr/local/x11r5/include
9099 /usr/lpp/Xamples/include
9101 /usr/openwin/include
9102 /usr/openwin/share/include'
9104 if test "$ac_x_includes" = no; then
9105 # Guess where to find include files, by looking for Xlib.h.
9106 # First, try using that file with no special directory specified.
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 #include <X11/Xlib.h>
9110 _ACEOF
9111 if ac_fn_c_try_cpp "$LINENO"; then :
9112 # We can compile using X headers with no special include directory.
9113 ac_x_includes=
9114 else
9115 for ac_dir in $ac_x_header_dirs; do
9116 if test -r "$ac_dir/X11/Xlib.h"; then
9117 ac_x_includes=$ac_dir
9118 break
9120 done
9122 rm -f conftest.err conftest.i conftest.$ac_ext
9123 fi # $ac_x_includes = no
9125 if test "$ac_x_libraries" = no; then
9126 # Check for the libraries.
9127 # See if we find them without any special options.
9128 # Don't add to $LIBS permanently.
9129 ac_save_LIBS=$LIBS
9130 LIBS="-lX11 $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9133 #include <X11/Xlib.h>
9135 main ()
9137 XrmInitialize ()
9139 return 0;
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 LIBS=$ac_save_LIBS
9144 # We can link X programs with no special library path.
9145 ac_x_libraries=
9146 else
9147 LIBS=$ac_save_LIBS
9148 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9150 # Don't even attempt the hair of trying to link an X program!
9151 for ac_extension in a so sl dylib la dll; do
9152 if test -r "$ac_dir/libX11.$ac_extension"; then
9153 ac_x_libraries=$ac_dir
9154 break 2
9156 done
9157 done
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 fi # $ac_x_libraries = no
9163 case $ac_x_includes,$ac_x_libraries in #(
9164 no,* | *,no | *\'*)
9165 # Didn't find X, or a directory has "'" in its name.
9166 ac_cv_have_x="have_x=no";; #(
9168 # Record where we found X for the cache.
9169 ac_cv_have_x="have_x=yes\
9170 ac_x_includes='$ac_x_includes'\
9171 ac_x_libraries='$ac_x_libraries'"
9172 esac
9174 ;; #(
9175 *) have_x=yes;;
9176 esac
9177 eval "$ac_cv_have_x"
9178 fi # $with_x != no
9180 if test "$have_x" != yes; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9182 $as_echo "$have_x" >&6; }
9183 no_x=yes
9184 else
9185 # If each of the values was on the command line, it overrides each guess.
9186 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9187 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9188 # Update the cache value to reflect the command line values.
9189 ac_cv_have_x="have_x=yes\
9190 ac_x_includes='$x_includes'\
9191 ac_x_libraries='$x_libraries'"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9193 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9196 if test "$no_x" = yes; then
9197 # Not all programs may use this symbol, but it does not hurt to define it.
9199 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9201 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9202 else
9203 if test -n "$x_includes"; then
9204 X_CFLAGS="$X_CFLAGS -I$x_includes"
9207 # It would also be nice to do this for all -L options, not just this one.
9208 if test -n "$x_libraries"; then
9209 X_LIBS="$X_LIBS -L$x_libraries"
9210 # For Solaris; some versions of Sun CC require a space after -R and
9211 # others require no space. Words are not sufficient . . . .
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9213 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9214 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9215 ac_xsave_c_werror_flag=$ac_c_werror_flag
9216 ac_c_werror_flag=yes
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9221 main ()
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 $as_echo "no" >&6; }
9231 X_LIBS="$X_LIBS -R$x_libraries"
9232 else
9233 LIBS="$ac_xsave_LIBS -R $x_libraries"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9238 main ()
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9247 $as_echo "yes" >&6; }
9248 X_LIBS="$X_LIBS -R $x_libraries"
9249 else
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9251 $as_echo "neither works" >&6; }
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 ac_c_werror_flag=$ac_xsave_c_werror_flag
9259 LIBS=$ac_xsave_LIBS
9262 # Check for system-dependent libraries X programs must link with.
9263 # Do this before checking for the system-independent R6 libraries
9264 # (-lICE), since we may need -lsocket or whatever for X linking.
9266 if test "$ISC" = yes; then
9267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9268 else
9269 # Martyn Johnson says this is needed for Ultrix, if the X
9270 # libraries were built with DECnet support. And Karl Berry says
9271 # the Alpha needs dnet_stub (dnet does not exist).
9272 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char XOpenDisplay ();
9284 main ()
9286 return XOpenDisplay ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9293 else
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9295 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9296 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-ldnet $LIBS"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char dnet_ntoa ();
9312 main ()
9314 return dnet_ntoa ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_lib_dnet_dnet_ntoa=yes
9321 else
9322 ac_cv_lib_dnet_dnet_ntoa=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9329 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9330 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9331 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9334 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9336 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9337 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-ldnet_stub $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char dnet_ntoa ();
9353 main ()
9355 return dnet_ntoa ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9362 else
9363 ac_cv_lib_dnet_stub_dnet_ntoa=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9370 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9371 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS="$ac_xsave_LIBS"
9381 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9382 # to get the SysV transport functions.
9383 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9384 # needs -lnsl.
9385 # The nsl library prevents programs from opening the X display
9386 # on Irix 5.2, according to T.E. Dickey.
9387 # The functions gethostbyname, getservbyname, and inet_addr are
9388 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9389 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9390 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9394 if test $ac_cv_func_gethostbyname = no; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9396 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9397 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_check_lib_save_LIBS=$LIBS
9401 LIBS="-lnsl $LIBS"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9408 #ifdef __cplusplus
9409 extern "C"
9410 #endif
9411 char gethostbyname ();
9413 main ()
9415 return gethostbyname ();
9417 return 0;
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_lib_nsl_gethostbyname=yes
9422 else
9423 ac_cv_lib_nsl_gethostbyname=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS=$ac_check_lib_save_LIBS
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9430 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9431 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9435 if test $ac_cv_lib_nsl_gethostbyname = no; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9437 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9438 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lbsd $LIBS"
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 gethostbyname ();
9454 main ()
9456 return gethostbyname ();
9458 return 0;
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_lib_bsd_gethostbyname=yes
9463 else
9464 ac_cv_lib_bsd_gethostbyname=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9471 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9472 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9473 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9479 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9480 # socket/setsockopt and other routines are undefined under SCO ODT
9481 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9482 # on later versions), says Simon Leinen: it contains gethostby*
9483 # variants that don't use the name server (or something). -lsocket
9484 # must be given before -lnsl if both are needed. We assume that
9485 # if connect needs -lnsl, so does gethostbyname.
9486 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9487 if test "x$ac_cv_func_connect" = xyes; then :
9491 if test $ac_cv_func_connect = no; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9493 $as_echo_n "checking for connect in -lsocket... " >&6; }
9494 if ${ac_cv_lib_socket_connect+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9505 #ifdef __cplusplus
9506 extern "C"
9507 #endif
9508 char connect ();
9510 main ()
9512 return connect ();
9514 return 0;
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_lib_socket_connect=yes
9519 else
9520 ac_cv_lib_socket_connect=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9527 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9528 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9529 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9534 # Guillermo Gomez says -lposix is necessary on A/UX.
9535 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9536 if test "x$ac_cv_func_remove" = xyes; then :
9540 if test $ac_cv_func_remove = no; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9542 $as_echo_n "checking for remove in -lposix... " >&6; }
9543 if ${ac_cv_lib_posix_remove+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-lposix $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char remove ();
9559 main ()
9561 return remove ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_posix_remove=yes
9568 else
9569 ac_cv_lib_posix_remove=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9576 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9577 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9578 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9583 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9584 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9585 if test "x$ac_cv_func_shmat" = xyes; then :
9589 if test $ac_cv_func_shmat = no; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9591 $as_echo_n "checking for shmat in -lipc... " >&6; }
9592 if ${ac_cv_lib_ipc_shmat+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_lib_save_LIBS=$LIBS
9596 LIBS="-lipc $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char shmat ();
9608 main ()
9610 return shmat ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_lib_ipc_shmat=yes
9617 else
9618 ac_cv_lib_ipc_shmat=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9625 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9626 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9633 # Check for libraries that X11R6 Xt/Xaw programs need.
9634 ac_save_LDFLAGS=$LDFLAGS
9635 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9636 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9637 # check for ICE first), but we must link in the order -lSM -lICE or
9638 # we get undefined symbols. So assume we have SM if we have ICE.
9639 # These have to be linked with before -lX11, unlike the other
9640 # libraries we check for below, so use a different variable.
9641 # John Interrante, Karl Berry
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9643 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9644 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_check_lib_save_LIBS=$LIBS
9648 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char IceConnectionNumber ();
9660 main ()
9662 return IceConnectionNumber ();
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_link "$LINENO"; then :
9668 ac_cv_lib_ICE_IceConnectionNumber=yes
9669 else
9670 ac_cv_lib_ICE_IceConnectionNumber=no
9672 rm -f core conftest.err conftest.$ac_objext \
9673 conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_lib_save_LIBS
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9677 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9678 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9679 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9682 LDFLAGS=$ac_save_LDFLAGS
9687 if test "$have_x" = "yes"
9688 then
9689 ac_save_CPPFLAGS="$CPPFLAGS"
9690 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9693 $as_echo_n "checking for -lX11... " >&6; }
9694 if ${ac_cv_lib_soname_X11+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_soname_save_LIBS=$LIBS
9698 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char XCreateWindow ();
9710 main ()
9712 return XCreateWindow ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 case "$LIBEXT" in
9719 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if ${ac_cv_lib_soname_X11:+false} :; then :
9723 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9724 fi ;;
9725 esac
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_soname_save_LIBS
9731 if ${ac_cv_lib_soname_X11:+false} :; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9735 else
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9737 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9739 cat >>confdefs.h <<_ACEOF
9740 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9741 _ACEOF
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9746 $as_echo_n "checking for -lXext... " >&6; }
9747 if ${ac_cv_lib_soname_Xext+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_check_soname_save_LIBS=$LIBS
9751 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9758 #ifdef __cplusplus
9759 extern "C"
9760 #endif
9761 char XextCreateExtension ();
9763 main ()
9765 return XextCreateExtension ();
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 case "$LIBEXT" in
9772 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9773 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'` ;;
9774 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9775 if ${ac_cv_lib_soname_Xext:+false} :; then :
9776 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9777 fi ;;
9778 esac
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_soname_save_LIBS
9784 if ${ac_cv_lib_soname_Xext:+false} :; then :
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9786 $as_echo "not found" >&6; }
9788 else
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9790 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9792 cat >>confdefs.h <<_ACEOF
9793 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9794 _ACEOF
9796 X_LIBS="$X_LIBS -lXext"
9798 X_LIBS="$X_LIBS -lX11"
9800 for ac_header in X11/Xlib.h \
9801 X11/XKBlib.h \
9802 X11/Xutil.h \
9803 X11/Xcursor/Xcursor.h \
9804 X11/extensions/shape.h \
9805 X11/extensions/XInput.h \
9806 X11/extensions/XInput2.h \
9807 X11/extensions/XShm.h \
9808 X11/extensions/Xcomposite.h \
9809 X11/extensions/Xinerama.h \
9810 X11/extensions/Xrandr.h \
9811 X11/extensions/Xrender.h \
9812 X11/extensions/xf86vmode.h \
9813 X11/extensions/xf86vmproto.h
9814 do :
9815 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9816 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9817 # include <X11/Xlib.h>
9818 #endif
9819 #ifdef HAVE_X11_XUTIL_H
9820 # include <X11/Xutil.h>
9821 #endif
9823 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9824 cat >>confdefs.h <<_ACEOF
9825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9826 _ACEOF
9830 done
9833 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9834 then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9836 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9837 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_check_lib_save_LIBS=$LIBS
9841 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9848 #ifdef __cplusplus
9849 extern "C"
9850 #endif
9851 char XkbQueryExtension ();
9853 main ()
9855 return XkbQueryExtension ();
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_lib_X11_XkbQueryExtension=yes
9862 else
9863 ac_cv_lib_X11_XkbQueryExtension=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9870 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9871 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9873 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9879 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9880 then
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9882 $as_echo_n "checking for -lXcursor... " >&6; }
9883 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_check_soname_save_LIBS=$LIBS
9887 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9894 #ifdef __cplusplus
9895 extern "C"
9896 #endif
9897 char XcursorImageLoadCursor ();
9899 main ()
9901 return XcursorImageLoadCursor ();
9903 return 0;
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 case "$LIBEXT" in
9908 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9909 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'` ;;
9910 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9911 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9912 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9913 fi ;;
9914 esac
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_soname_save_LIBS
9920 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9922 $as_echo "not found" >&6; }
9924 else
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9926 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9928 cat >>confdefs.h <<_ACEOF
9929 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9930 _ACEOF
9935 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9936 case "x$with_xcursor" in
9937 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9938 xno) ;;
9939 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9940 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9941 esac
9945 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9946 then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9948 $as_echo_n "checking for -lXi... " >&6; }
9949 if ${ac_cv_lib_soname_Xi+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 ac_check_soname_save_LIBS=$LIBS
9953 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9960 #ifdef __cplusplus
9961 extern "C"
9962 #endif
9963 char XOpenDevice ();
9965 main ()
9967 return XOpenDevice ();
9969 return 0;
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 case "$LIBEXT" in
9974 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9975 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'` ;;
9976 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9977 if ${ac_cv_lib_soname_Xi:+false} :; then :
9978 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9979 fi ;;
9980 esac
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_soname_save_LIBS
9986 if ${ac_cv_lib_soname_Xi:+false} :; then :
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9988 $as_echo "not found" >&6; }
9990 else
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9992 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9994 cat >>confdefs.h <<_ACEOF
9995 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9996 _ACEOF
10001 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10002 case "x$with_xinput" in
10003 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10004 xno) ;;
10005 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10006 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10007 esac
10011 if test "x$ac_cv_lib_soname_Xi" != x
10012 then
10013 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10014 case "x$with_xinput2" in
10015 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10016 xno) ;;
10017 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10018 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10019 esac
10024 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10025 then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10027 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10028 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_check_lib_save_LIBS=$LIBS
10032 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10039 #ifdef __cplusplus
10040 extern "C"
10041 #endif
10042 char XShmQueryExtension ();
10044 main ()
10046 return XShmQueryExtension ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_lib_Xext_XShmQueryExtension=yes
10053 else
10054 ac_cv_lib_Xext_XShmQueryExtension=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 LIBS=$ac_check_lib_save_LIBS
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10061 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10062 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10064 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10069 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10070 case "x$with_xshm" in
10071 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10072 xno) ;;
10073 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10074 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10075 esac
10079 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10080 then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10082 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10083 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_lib_save_LIBS=$LIBS
10087 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XShapeQueryExtension ();
10099 main ()
10101 return XShapeQueryExtension ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 ac_cv_lib_Xext_XShapeQueryExtension=yes
10108 else
10109 ac_cv_lib_Xext_XShapeQueryExtension=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10116 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10117 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10119 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10124 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10125 case "x$with_xshape" in
10126 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10127 xno) ;;
10128 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10129 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10130 esac
10134 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10135 then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10137 $as_echo_n "checking for -lXxf86vm... " >&6; }
10138 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_check_soname_save_LIBS=$LIBS
10142 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10149 #ifdef __cplusplus
10150 extern "C"
10151 #endif
10152 char XF86VidModeQueryExtension ();
10154 main ()
10156 return XF86VidModeQueryExtension ();
10158 return 0;
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 case "$LIBEXT" in
10163 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10167 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 fi ;;
10169 esac
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 LIBS=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10179 else
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10181 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10183 cat >>confdefs.h <<_ACEOF
10184 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10185 _ACEOF
10190 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10191 case "x$with_xxf86vm" in
10192 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10193 xno) ;;
10194 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10195 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10196 esac
10200 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10201 then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10203 $as_echo_n "checking for -lXrender... " >&6; }
10204 if ${ac_cv_lib_soname_Xrender+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_check_soname_save_LIBS=$LIBS
10208 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char XRenderQueryExtension ();
10220 main ()
10222 return XRenderQueryExtension ();
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 case "$LIBEXT" in
10229 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10230 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'` ;;
10231 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10232 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10233 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10234 fi ;;
10235 esac
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_soname_save_LIBS
10241 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10243 $as_echo "not found" >&6; }
10245 else
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10247 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10249 cat >>confdefs.h <<_ACEOF
10250 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10251 _ACEOF
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10254 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10255 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 char XRenderSetPictureTransform ();
10271 main ()
10273 return XRenderSetPictureTransform ();
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10280 else
10281 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_lib_save_LIBS
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10288 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10289 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10291 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10296 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10297 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_check_lib_save_LIBS=$LIBS
10301 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10308 #ifdef __cplusplus
10309 extern "C"
10310 #endif
10311 char XRenderCreateLinearGradient ();
10313 main ()
10315 return XRenderCreateLinearGradient ();
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10321 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10322 else
10323 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 LIBS=$ac_check_lib_save_LIBS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10330 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10331 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10333 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10340 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10341 case "x$with_xrender" in
10342 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10343 xno) ;;
10344 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10345 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10346 esac
10350 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10351 then
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10357 main ()
10359 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_compile "$LINENO"; then :
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10366 $as_echo_n "checking for -lXrandr... " >&6; }
10367 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_check_soname_save_LIBS=$LIBS
10371 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10375 /* Override any GCC internal prototype to avoid an error.
10376 Use char because int might match the return type of a GCC
10377 builtin and then its argument prototype would still apply. */
10378 #ifdef __cplusplus
10379 extern "C"
10380 #endif
10381 char XRRQueryExtension ();
10383 main ()
10385 return XRRQueryExtension ();
10387 return 0;
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 case "$LIBEXT" in
10392 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10393 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'` ;;
10394 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10395 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10396 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10397 fi ;;
10398 esac
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_soname_save_LIBS
10404 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10406 $as_echo "not found" >&6; }
10408 else
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10410 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10412 cat >>confdefs.h <<_ACEOF
10413 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10414 _ACEOF
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 #include <X11/Xlib.h>
10419 #include <X11/extensions/Xrandr.h>
10421 main ()
10423 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_compile "$LINENO"; then :
10430 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10438 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10439 case "x$with_xrandr" in
10440 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10441 xno) ;;
10442 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10443 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10444 esac
10448 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10449 then
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10452 #include <X11/Xlib.h>
10453 #include <X11/extensions/Xinerama.h>
10455 main ()
10457 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_compile "$LINENO"; then :
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10464 $as_echo_n "checking for -lXinerama... " >&6; }
10465 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_check_soname_save_LIBS=$LIBS
10469 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10473 /* Override any GCC internal prototype to avoid an error.
10474 Use char because int might match the return type of a GCC
10475 builtin and then its argument prototype would still apply. */
10476 #ifdef __cplusplus
10477 extern "C"
10478 #endif
10479 char XineramaQueryScreens ();
10481 main ()
10483 return XineramaQueryScreens ();
10485 return 0;
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 case "$LIBEXT" in
10490 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10491 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'` ;;
10492 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10493 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10494 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10495 fi ;;
10496 esac
10498 rm -f core conftest.err conftest.$ac_objext \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_soname_save_LIBS
10502 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10504 $as_echo "not found" >&6; }
10506 else
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10508 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10510 cat >>confdefs.h <<_ACEOF
10511 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10512 _ACEOF
10517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10519 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10520 case "x$with_xinerama" in
10521 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10522 xno) ;;
10523 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10524 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10525 esac
10529 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10530 then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10532 $as_echo_n "checking for -lXcomposite... " >&6; }
10533 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10534 $as_echo_n "(cached) " >&6
10535 else
10536 ac_check_soname_save_LIBS=$LIBS
10537 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10544 #ifdef __cplusplus
10545 extern "C"
10546 #endif
10547 char XCompositeRedirectWindow ();
10549 main ()
10551 return XCompositeRedirectWindow ();
10553 return 0;
10555 _ACEOF
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 case "$LIBEXT" in
10558 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10559 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'` ;;
10560 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10561 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10562 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10563 fi ;;
10564 esac
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LIBS=$ac_check_soname_save_LIBS
10570 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10572 $as_echo "not found" >&6; }
10574 else
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10576 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10578 cat >>confdefs.h <<_ACEOF
10579 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10580 _ACEOF
10585 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10586 case "x$with_xcomposite" in
10587 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10588 xno) ;;
10589 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10590 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10591 esac
10595 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10596 #include <X11/Xlib.h>
10597 #endif
10599 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10601 cat >>confdefs.h <<_ACEOF
10602 #define HAVE_XICCALLBACK_CALLBACK 1
10603 _ACEOF
10607 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10608 #include <X11/Xlib.h>
10609 #endif
10611 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10613 cat >>confdefs.h <<_ACEOF
10614 #define HAVE_XEVENT_XCOOKIE 1
10615 _ACEOF
10622 opengl_msg=""
10623 if test "x$with_opengl" != "xno"
10624 then
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10626 $as_echo_n "checking for -lGL... " >&6; }
10627 if ${ac_cv_lib_soname_GL+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_check_soname_save_LIBS=$LIBS
10631 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10638 #ifdef __cplusplus
10639 extern "C"
10640 #endif
10641 char glXCreateContext ();
10643 main ()
10645 return glXCreateContext ();
10647 return 0;
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 case "$LIBEXT" in
10652 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10653 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'` ;;
10654 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10655 if ${ac_cv_lib_soname_GL:+false} :; then :
10656 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10657 fi ;;
10658 esac
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 LIBS=$ac_check_soname_save_LIBS
10664 if ${ac_cv_lib_soname_GL:+false} :; then :
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10666 $as_echo "not found" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10668 $as_echo_n "checking for -lGL... " >&6; }
10669 if ${ac_cv_lib_soname_GL+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_soname_save_LIBS=$LIBS
10673 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"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char glXCreateContext ();
10685 main ()
10687 return glXCreateContext ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 case "$LIBEXT" in
10694 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10695 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'` ;;
10696 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10697 if ${ac_cv_lib_soname_GL:+false} :; then :
10698 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10699 fi ;;
10700 esac
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_soname_save_LIBS
10706 if ${ac_cv_lib_soname_GL:+false} :; then :
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10708 $as_echo "not found" >&6; }
10709 if test -f /usr/X11R6/lib/libGL.a
10710 then
10711 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10712 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10713 else
10714 opengl_msg="No OpenGL library found on this system."
10716 else
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10718 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10720 cat >>confdefs.h <<_ACEOF
10721 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10722 _ACEOF
10724 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"
10726 else
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10728 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10730 cat >>confdefs.h <<_ACEOF
10731 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10732 _ACEOF
10734 OPENGL_LIBS="-lGL"
10736 if test "x$with_glu" != "xno"
10737 then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10739 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10740 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10741 $as_echo_n "(cached) " >&6
10742 else
10743 ac_check_lib_save_LIBS=$LIBS
10744 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10751 #ifdef __cplusplus
10752 extern "C"
10753 #endif
10754 char gluLookAt ();
10756 main ()
10758 return gluLookAt ();
10760 return 0;
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"; then :
10764 ac_cv_lib_GLU_gluLookAt=yes
10765 else
10766 ac_cv_lib_GLU_gluLookAt=no
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10773 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10774 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10778 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10779 case "x$with_glu" in
10780 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10781 xno) ;;
10782 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10783 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10784 esac
10789 if test "x$with_osmesa" != "xno"
10790 then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10792 $as_echo_n "checking for -lOSMesa... " >&6; }
10793 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10794 $as_echo_n "(cached) " >&6
10795 else
10796 ac_check_soname_save_LIBS=$LIBS
10797 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char glAccum ();
10809 main ()
10811 return glAccum ();
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817 case "$LIBEXT" in
10818 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10821 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10822 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10823 fi ;;
10824 esac
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_soname_save_LIBS
10830 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10832 $as_echo "not found" >&6; }
10834 else
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10836 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10838 cat >>confdefs.h <<_ACEOF
10839 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10840 _ACEOF
10844 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10845 case "x$with_osmesa" in
10846 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10849 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10850 esac
10855 if test -n "$opengl_msg"; then :
10856 case "x$with_opengl" in
10857 x) as_fn_append wine_warnings "|$opengl_msg
10858 OpenGL and Direct3D won't be supported." ;;
10859 xno) ;;
10860 *) as_fn_error $? "$opengl_msg
10861 OpenGL and Direct3D won't be supported.
10862 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10863 esac
10867 CPPFLAGS="$ac_save_CPPFLAGS"
10868 else
10869 X_CFLAGS=""
10870 X_LIBS=""
10872 if test "x$X_LIBS" = "x"; then :
10873 case "x$with_x" in
10874 xno) ;;
10875 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10876 without X support, which probably isn't what you want. You will need
10877 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10878 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10879 esac
10880 enable_winex11_drv=${enable_winex11_drv:-no}
10883 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10885 if test "$ac_cv_header_CL_cl_h" = "yes"
10886 then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10888 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10889 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10890 $as_echo_n "(cached) " >&6
10891 else
10892 ac_check_lib_save_LIBS=$LIBS
10893 LIBS="-lOpenCL $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10900 #ifdef __cplusplus
10901 extern "C"
10902 #endif
10903 char clGetPlatformInfo ();
10905 main ()
10907 return clGetPlatformInfo ();
10909 return 0;
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"; then :
10913 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10914 else
10915 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10917 rm -f core conftest.err conftest.$ac_objext \
10918 conftest$ac_exeext conftest.$ac_ext
10919 LIBS=$ac_check_lib_save_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10922 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10923 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10924 OPENCL_LIBS="-lOpenCL"
10929 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10930 case "x$with_opencl" in
10931 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10932 xno) ;;
10933 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10934 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10935 esac
10936 enable_opencl=${enable_opencl:-no}
10939 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10940 then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10942 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10943 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10944 $as_echo_n "(cached) " >&6
10945 else
10946 ac_check_lib_save_LIBS=$LIBS
10947 LIBS="-lpcap $LIBS"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10954 #ifdef __cplusplus
10955 extern "C"
10956 #endif
10957 char pcap_create ();
10959 main ()
10961 return pcap_create ();
10963 return 0;
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"; then :
10967 ac_cv_lib_pcap_pcap_create=yes
10968 else
10969 ac_cv_lib_pcap_pcap_create=no
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10976 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10977 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10978 PCAP_LIBS="-lpcap"
10983 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10984 case "x$with_pcap" in
10985 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10986 xno) ;;
10987 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10988 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10989 esac
10990 enable_wpcap=${enable_wpcap:-no}
10994 if test "x$with_xml" != "xno"
10995 then
10996 if ${XML2_CFLAGS:+false} :; then :
10997 if ${PKG_CONFIG+:} false; then :
10998 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11001 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11002 if ${XML2_LIBS:+false} :; then :
11003 if ${PKG_CONFIG+:} false; then :
11004 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11007 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11008 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11009 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11010 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11011 ac_save_CPPFLAGS=$CPPFLAGS
11012 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11013 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11014 do :
11015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11016 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11017 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11018 cat >>confdefs.h <<_ACEOF
11019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11020 _ACEOF
11024 done
11026 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"
11027 then
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11029 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11030 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11031 $as_echo_n "(cached) " >&6
11032 else
11033 ac_check_lib_save_LIBS=$LIBS
11034 LIBS="-lxml2 $XML2_LIBS $LIBS"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11041 #ifdef __cplusplus
11042 extern "C"
11043 #endif
11044 char xmlParseMemory ();
11046 main ()
11048 return xmlParseMemory ();
11050 return 0;
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"; then :
11054 ac_cv_lib_xml2_xmlParseMemory=yes
11055 else
11056 ac_cv_lib_xml2_xmlParseMemory=no
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11063 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11064 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11066 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11068 else
11069 XML2_LIBS=""
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11073 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11074 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lxml2 $XML2_LIBS $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char xmlReadMemory ();
11090 main ()
11092 return xmlReadMemory ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_xml2_xmlReadMemory=yes
11099 else
11100 ac_cv_lib_xml2_xmlReadMemory=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11107 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11108 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11110 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11115 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11116 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lxml2 $XML2_LIBS $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char xmlNewDocPI ();
11132 main ()
11134 return xmlNewDocPI ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_xml2_xmlNewDocPI=yes
11141 else
11142 ac_cv_lib_xml2_xmlNewDocPI=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11149 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11150 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11152 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11157 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11158 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lxml2 $XML2_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char xmlSchemaSetParserStructuredErrors ();
11174 main ()
11176 return xmlSchemaSetParserStructuredErrors ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11183 else
11184 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11191 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11192 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11194 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11199 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11200 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_lib_save_LIBS=$LIBS
11204 LIBS="-lxml2 $XML2_LIBS $LIBS"
11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11211 #ifdef __cplusplus
11212 extern "C"
11213 #endif
11214 char xmlSchemaSetValidStructuredErrors ();
11216 main ()
11218 return xmlSchemaSetValidStructuredErrors ();
11220 return 0;
11222 _ACEOF
11223 if ac_fn_c_try_link "$LINENO"; then :
11224 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11225 else
11226 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11228 rm -f core conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_lib_save_LIBS
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11233 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11234 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11236 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11241 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11242 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-lxml2 $XML2_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char xmlFirstElementChild ();
11258 main ()
11260 return xmlFirstElementChild ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 ac_cv_lib_xml2_xmlFirstElementChild=yes
11267 else
11268 ac_cv_lib_xml2_xmlFirstElementChild=no
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11275 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11276 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11278 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11282 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11284 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11286 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11290 else
11291 XML2_CFLAGS=""
11292 XML2_LIBS=""
11294 CPPFLAGS=$ac_save_CPPFLAGS
11295 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11296 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11299 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11300 case "x$with_xml" in
11301 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11302 xno) ;;
11303 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11304 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11305 esac
11309 if test "x$with_xslt" != "xno"
11310 then
11311 if ${XSLT_CFLAGS:+false} :; then :
11312 if ${PKG_CONFIG+:} false; then :
11313 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11316 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11317 if ${XSLT_LIBS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11322 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11323 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11324 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11325 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11326 ac_save_CPPFLAGS=$CPPFLAGS
11327 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11328 for ac_header in libxslt/pattern.h libxslt/transform.h
11329 do :
11330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11332 # include <libxslt/pattern.h>
11333 #endif
11335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11336 cat >>confdefs.h <<_ACEOF
11337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338 _ACEOF
11342 done
11344 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11345 then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11347 $as_echo_n "checking for -lxslt... " >&6; }
11348 if ${ac_cv_lib_soname_xslt+:} false; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 ac_check_soname_save_LIBS=$LIBS
11352 LIBS="-lxslt $XSLT_LIBS $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char xsltCompilePattern ();
11364 main ()
11366 return xsltCompilePattern ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 case "$LIBEXT" in
11373 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11374 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'` ;;
11375 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11376 if ${ac_cv_lib_soname_xslt:+false} :; then :
11377 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11378 fi ;;
11379 esac
11381 rm -f core conftest.err conftest.$ac_objext \
11382 conftest$ac_exeext conftest.$ac_ext
11383 LIBS=$ac_check_soname_save_LIBS
11385 if ${ac_cv_lib_soname_xslt:+false} :; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11387 $as_echo "not found" >&6; }
11389 else
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11391 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11393 cat >>confdefs.h <<_ACEOF
11394 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11395 _ACEOF
11399 else
11400 XSLT_CFLAGS=""
11402 CPPFLAGS=$ac_save_CPPFLAGS
11403 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11404 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11407 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11408 case "x$with_xslt" in
11409 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11410 xno) ;;
11411 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11412 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11413 esac
11417 if test "x$with_dbus" != "xno"
11418 then
11419 if ${DBUS_CFLAGS:+false} :; then :
11420 if ${PKG_CONFIG+:} false; then :
11421 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11425 if ${DBUS_LIBS:+false} :; then :
11426 if ${PKG_CONFIG+:} false; then :
11427 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11432 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11434 ac_save_CPPFLAGS=$CPPFLAGS
11435 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11436 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11437 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11439 $as_echo_n "checking for -ldbus-1... " >&6; }
11440 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char dbus_connection_close ();
11456 main ()
11458 return dbus_connection_close ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) 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'`
11468 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11469 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11470 fi ;;
11471 esac
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11480 DBUS_CFLAGS=""
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11483 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11487 _ACEOF
11491 else
11492 DBUS_CFLAGS=""
11496 CPPFLAGS=$ac_save_CPPFLAGS
11497 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11498 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11501 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11502 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11503 case "x$with_dbus" in
11504 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11505 xno) ;;
11506 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11507 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11508 esac
11512 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11513 then
11514 if ${HAL_CFLAGS:+false} :; then :
11515 if ${PKG_CONFIG+:} false; then :
11516 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11520 if ${HAL_LIBS:+false} :; then :
11521 if ${PKG_CONFIG+:} false; then :
11522 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11526 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11527 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11528 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11529 ac_save_CPPFLAGS=$CPPFLAGS
11530 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11531 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11532 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11534 $as_echo_n "checking for -lhal... " >&6; }
11535 if ${ac_cv_lib_soname_hal+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lhal $HAL_LIBS $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char libhal_ctx_new ();
11551 main ()
11553 return libhal_ctx_new ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 case "$LIBEXT" in
11560 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_hal:+false} :; then :
11564 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11565 fi ;;
11566 esac
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_hal:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11575 HAL_CFLAGS=""
11576 else
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11578 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11580 cat >>confdefs.h <<_ACEOF
11581 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11582 _ACEOF
11586 else
11587 HAL_CFLAGS=""
11591 CPPFLAGS=$ac_save_CPPFLAGS
11592 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11593 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11595 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11596 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11597 case "x$with_hal" in
11598 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11599 xno) ;;
11600 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11601 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11602 esac
11607 if test "x$with_gnutls" != "xno"
11608 then
11609 if ${GNUTLS_CFLAGS:+false} :; then :
11610 if ${PKG_CONFIG+:} false; then :
11611 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11615 if ${GNUTLS_LIBS:+false} :; then :
11616 if ${PKG_CONFIG+:} false; then :
11617 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11622 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11623 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11624 ac_save_CPPFLAGS=$CPPFLAGS
11625 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11626 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 #include <gnutls/gnutls.h>
11631 #include <gnutls/crypto.h>
11633 main ()
11635 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11637 return 0;
11639 _ACEOF
11640 if ac_fn_c_try_compile "$LINENO"; then :
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11642 $as_echo_n "checking for -lgnutls... " >&6; }
11643 if ${ac_cv_lib_soname_gnutls+:} false; then :
11644 $as_echo_n "(cached) " >&6
11645 else
11646 ac_check_soname_save_LIBS=$LIBS
11647 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char gnutls_global_init ();
11659 main ()
11661 return gnutls_global_init ();
11663 return 0;
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 case "$LIBEXT" in
11668 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) 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'`
11671 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11672 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'`
11673 fi ;;
11674 esac
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11683 GNUTLS_CFLAGS=""
11684 else
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11686 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11688 cat >>confdefs.h <<_ACEOF
11689 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11690 _ACEOF
11694 ac_wine_check_funcs_save_LIBS="$LIBS"
11695 LIBS="$LIBS $GNUTLS_LIBS"
11696 for ac_func in gnutls_hash
11697 do :
11698 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11699 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11700 cat >>confdefs.h <<_ACEOF
11701 #define HAVE_GNUTLS_HASH 1
11702 _ACEOF
11704 else
11705 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11707 done
11709 LIBS="$ac_wine_check_funcs_save_LIBS"
11711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11712 else
11713 GNUTLS_CFLAGS=""
11717 CPPFLAGS=$ac_save_CPPFLAGS
11718 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11719 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11722 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11723 case "x$with_gnutls" in
11724 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11725 xno) ;;
11726 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11727 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11728 esac
11732 CURSES_LIBS=""
11733 if test "$ac_cv_header_ncurses_h" = "yes"
11734 then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11736 $as_echo_n "checking for -lncurses... " >&6; }
11737 if ${ac_cv_lib_soname_ncurses+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_soname_save_LIBS=$LIBS
11741 LIBS="-lncurses $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char waddch ();
11753 main ()
11755 return waddch ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 case "$LIBEXT" in
11762 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 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'` ;;
11764 *) 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'`
11765 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11766 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11767 fi ;;
11768 esac
11770 rm -f core conftest.err conftest.$ac_objext \
11771 conftest$ac_exeext conftest.$ac_ext
11772 LIBS=$ac_check_soname_save_LIBS
11774 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11776 $as_echo "not found" >&6; }
11778 else
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11780 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11782 cat >>confdefs.h <<_ACEOF
11783 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11784 _ACEOF
11786 CURSES_LIBS="-lncurses"
11788 elif test "$ac_cv_header_curses_h" = "yes"
11789 then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11791 $as_echo_n "checking for -lcurses... " >&6; }
11792 if ${ac_cv_lib_soname_curses+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lcurses $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char waddch ();
11808 main ()
11810 return waddch ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 case "$LIBEXT" in
11817 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11818 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'` ;;
11819 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11820 if ${ac_cv_lib_soname_curses:+false} :; then :
11821 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11822 fi ;;
11823 esac
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_soname_save_LIBS
11829 if ${ac_cv_lib_soname_curses:+false} :; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11831 $as_echo "not found" >&6; }
11833 else
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11835 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11837 cat >>confdefs.h <<_ACEOF
11838 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11839 _ACEOF
11841 CURSES_LIBS="-lcurses"
11844 ac_save_LIBS="$LIBS"
11845 LIBS="$LIBS $CURSES_LIBS"
11846 for ac_func in mousemask
11847 do :
11848 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11849 if test "x$ac_cv_func_mousemask" = xyes; then :
11850 cat >>confdefs.h <<_ACEOF
11851 #define HAVE_MOUSEMASK 1
11852 _ACEOF
11855 done
11857 LIBS="$ac_save_LIBS"
11858 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11859 case "x$with_curses" in
11860 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11863 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11864 esac
11868 if test "x$with_sane" != "xno"
11869 then
11870 if ${SANE_CFLAGS:+false} :; then :
11871 if ${PKG_CONFIG+:} false; then :
11872 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11875 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11876 if ${SANE_LIBS:+false} :; then :
11877 if ${PKG_CONFIG+:} false; then :
11878 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11881 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11883 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11884 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11885 ac_save_CPPFLAGS=$CPPFLAGS
11886 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11887 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11888 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11890 $as_echo_n "checking for -lsane... " >&6; }
11891 if ${ac_cv_lib_soname_sane+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_soname_save_LIBS=$LIBS
11895 LIBS="-lsane $SANE_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char sane_init ();
11907 main ()
11909 return sane_init ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 case "$LIBEXT" in
11916 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11917 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'` ;;
11918 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11919 if ${ac_cv_lib_soname_sane:+false} :; then :
11920 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11921 fi ;;
11922 esac
11924 rm -f core conftest.err conftest.$ac_objext \
11925 conftest$ac_exeext conftest.$ac_ext
11926 LIBS=$ac_check_soname_save_LIBS
11928 if ${ac_cv_lib_soname_sane:+false} :; then :
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11930 $as_echo "not found" >&6; }
11931 SANE_CFLAGS=""
11932 else
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11934 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11936 cat >>confdefs.h <<_ACEOF
11937 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11938 _ACEOF
11942 else
11943 SANE_CFLAGS=""
11947 CPPFLAGS=$ac_save_CPPFLAGS
11948 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11949 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11952 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11953 case "x$with_sane" in
11954 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11955 xno) ;;
11956 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11957 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11958 esac
11962 if test "x$with_v4l" != "xno"
11963 then
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11965 $as_echo_n "checking for -lv4l1... " >&6; }
11966 if ${ac_cv_lib_soname_v4l1+:} false; then :
11967 $as_echo_n "(cached) " >&6
11968 else
11969 ac_check_soname_save_LIBS=$LIBS
11970 LIBS="-lv4l1 $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 char v4l1_open ();
11982 main ()
11984 return v4l1_open ();
11986 return 0;
11988 _ACEOF
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 case "$LIBEXT" in
11991 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11992 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'` ;;
11993 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11994 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11995 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11996 fi ;;
11997 esac
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_soname_save_LIBS
12003 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12005 $as_echo "not found" >&6; }
12007 else
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12009 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12011 cat >>confdefs.h <<_ACEOF
12012 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12013 _ACEOF
12018 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12019 case "x$with_v4l" in
12020 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12021 xno) ;;
12022 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12023 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12024 esac
12028 if test "x$with_gphoto" != "xno"
12029 then
12030 if ${GPHOTO2_CFLAGS:+false} :; then :
12031 if ${PKG_CONFIG+:} false; then :
12032 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12035 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12036 if ${GPHOTO2_LIBS:+false} :; then :
12037 if ${PKG_CONFIG+:} false; then :
12038 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12041 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12042 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12043 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12044 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12045 ac_save_CPPFLAGS=$CPPFLAGS
12046 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12047 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12048 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12050 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12051 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char gp_camera_new ();
12067 main ()
12069 return gp_camera_new ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 ac_cv_lib_gphoto2_gp_camera_new=yes
12076 else
12077 ac_cv_lib_gphoto2_gp_camera_new=no
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12084 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12085 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12087 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12089 else
12090 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12093 else
12094 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12098 CPPFLAGS=$ac_save_CPPFLAGS
12099 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12100 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12102 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12103 if ${PKG_CONFIG+:} false; then :
12104 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12107 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12108 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12113 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12114 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12115 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12117 ac_save_CPPFLAGS=$CPPFLAGS
12118 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12119 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12120 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12122 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12123 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_lib_save_LIBS=$LIBS
12127 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char gp_port_info_list_new ();
12139 main ()
12141 return gp_port_info_list_new ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12148 else
12149 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12151 rm -f core conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12153 LIBS=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12156 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12157 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12159 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12161 else
12162 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12165 else
12166 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12170 CPPFLAGS=$ac_save_CPPFLAGS
12171 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12172 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12175 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12176 case "x$with_gphoto" in
12177 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12178 xno) ;;
12179 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12180 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12181 esac
12184 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12185 case "x$with_gphoto" in
12186 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12187 xno) ;;
12188 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12189 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12190 esac
12195 if test "$ac_cv_header_resolv_h" = "yes"
12196 then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12198 $as_echo_n "checking for resolver library... " >&6; }
12199 if ${ac_cv_have_resolv+:} false; then :
12200 $as_echo_n "(cached) " >&6
12201 else
12202 ac_save_LIBS="$LIBS"
12203 for lib in '' -lresolv
12205 LIBS="$lib $ac_save_LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 #ifdef HAVE_NETINET_IN_H
12209 #include <netinet/in.h>
12210 #endif
12211 #include <resolv.h>
12213 main ()
12215 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 ac_cv_have_resolv=${lib:-"none required"}
12222 else
12223 ac_cv_have_resolv="not found"
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 test "x$ac_cv_have_resolv" = "xnot found" || break
12228 done
12229 LIBS="$ac_save_LIBS"
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12232 $as_echo "$ac_cv_have_resolv" >&6; }
12234 case "$ac_cv_have_resolv" in
12235 "not found") ;;
12236 "none required")
12238 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12241 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12243 RESOLV_LIBS=$ac_cv_have_resolv
12245 esac
12248 if test "x$with_cms" != "xno"
12249 then
12250 if ${LCMS2_CFLAGS:+false} :; then :
12251 if ${PKG_CONFIG+:} false; then :
12252 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12256 if ${LCMS2_LIBS:+false} :; then :
12257 if ${PKG_CONFIG+:} false; then :
12258 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12262 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12263 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12264 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12267 for ac_header in lcms2.h
12268 do :
12269 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12271 cat >>confdefs.h <<_ACEOF
12272 #define HAVE_LCMS2_H 1
12273 _ACEOF
12277 done
12279 if test "$ac_cv_header_lcms2_h" = "yes"
12280 then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12282 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12283 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12294 #ifdef __cplusplus
12295 extern "C"
12296 #endif
12297 char cmsOpenProfileFromFile ();
12299 main ()
12301 return cmsOpenProfileFromFile ();
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"; then :
12307 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12308 else
12309 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
12313 LIBS=$ac_check_lib_save_LIBS
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12316 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12317 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12319 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12321 else
12322 LCMS2_LIBS=""
12325 else
12326 LCMS2_CFLAGS=""
12327 LCMS2_LIBS=""
12329 CPPFLAGS=$ac_save_CPPFLAGS
12330 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12331 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12334 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12335 case "x$with_cms" in
12336 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12337 xno) ;;
12338 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12339 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12340 esac
12344 if test "x$with_freetype" != "xno"
12345 then
12346 if ${FREETYPE_CFLAGS:+false} :; then :
12347 if ${PKG_CONFIG+:} false; then :
12348 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12351 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12352 if ${FREETYPE_LIBS:+false} :; then :
12353 if ${PKG_CONFIG+:} false; then :
12354 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12357 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12358 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12359 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12361 ac_save_CPPFLAGS=$CPPFLAGS
12362 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12363 for ac_header in ft2build.h
12364 do :
12365 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12366 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12367 cat >>confdefs.h <<_ACEOF
12368 #define HAVE_FT2BUILD_H 1
12369 _ACEOF
12373 done
12375 if test "$ac_cv_header_ft2build_h" = "yes"
12376 then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12378 $as_echo_n "checking for -lfreetype... " >&6; }
12379 if ${ac_cv_lib_soname_freetype+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_soname_save_LIBS=$LIBS
12383 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char FT_Init_FreeType ();
12395 main ()
12397 return FT_Init_FreeType ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 case "$LIBEXT" in
12404 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12407 if ${ac_cv_lib_soname_freetype:+false} :; then :
12408 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12409 fi ;;
12410 esac
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12414 LIBS=$ac_check_soname_save_LIBS
12416 if ${ac_cv_lib_soname_freetype:+false} :; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12418 $as_echo "not found" >&6; }
12419 FREETYPE_LIBS=""
12420 else
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12422 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12424 cat >>confdefs.h <<_ACEOF
12425 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12426 _ACEOF
12429 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12431 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12432 #include FT_MODULE_H
12434 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12436 cat >>confdefs.h <<_ACEOF
12437 #define HAVE_FT_TRUETYPEENGINETYPE 1
12438 _ACEOF
12444 else
12445 FREETYPE_CFLAGS=""
12446 FREETYPE_LIBS=""
12448 CPPFLAGS=$ac_save_CPPFLAGS
12449 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12450 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12453 if test "x$ac_cv_lib_soname_freetype" = x; then :
12454 case "x$with_freetype" in
12455 xno) ;;
12456 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12457 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12458 esac
12459 enable_fonts=${enable_fonts:-no}
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12463 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12464 if ${ac_cv_c_ppdev+:} false; then :
12465 $as_echo_n "(cached) " >&6
12466 else
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12469 #ifdef HAVE_SYS_IOCTL_H
12470 # include <sys/ioctl.h>
12471 #endif
12472 #include <linux/ppdev.h>
12474 main ()
12476 ioctl (1,PPCLAIM,0)
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_compile "$LINENO"; then :
12482 ac_cv_c_ppdev="yes"
12483 else
12484 ac_cv_c_ppdev="no"
12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12489 $as_echo "$ac_cv_c_ppdev" >&6; }
12490 if test "$ac_cv_c_ppdev" = "yes"
12491 then
12493 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12497 ac_wine_check_funcs_save_LIBS="$LIBS"
12498 LIBS="$LIBS $PTHREAD_LIBS"
12499 for ac_func in \
12500 pthread_attr_get_np \
12501 pthread_getattr_np \
12502 pthread_getthreadid_np \
12503 pthread_get_stackaddr_np \
12504 pthread_get_stacksize_np
12505 do :
12506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12509 cat >>confdefs.h <<_ACEOF
12510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12511 _ACEOF
12514 done
12516 LIBS="$ac_wine_check_funcs_save_LIBS"
12518 if test "$ac_cv_header_zlib_h" = "yes"
12519 then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12521 $as_echo_n "checking for inflate in -lz... " >&6; }
12522 if ${ac_cv_lib_z_inflate+:} false; then :
12523 $as_echo_n "(cached) " >&6
12524 else
12525 ac_check_lib_save_LIBS=$LIBS
12526 LIBS="-lz $LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char inflate ();
12538 main ()
12540 return inflate ();
12542 return 0;
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 ac_cv_lib_z_inflate=yes
12547 else
12548 ac_cv_lib_z_inflate=no
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_lib_save_LIBS
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12555 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12556 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12558 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12560 Z_LIBS="-lz"
12565 if test "x$Z_LIBS" = "x"; then :
12566 case "x$with_zlib" in
12567 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12568 xno) ;;
12569 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12570 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12571 esac
12575 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12576 then
12577 if test "$ac_cv_header_gettext_po_h" = "yes"
12578 then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12580 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12581 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12582 $as_echo_n "(cached) " >&6
12583 else
12584 ac_check_lib_save_LIBS=$LIBS
12585 LIBS="-lgettextpo $LIBS"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 /* Override any GCC internal prototype to avoid an error.
12590 Use char because int might match the return type of a GCC
12591 builtin and then its argument prototype would still apply. */
12592 #ifdef __cplusplus
12593 extern "C"
12594 #endif
12595 char po_message_msgctxt ();
12597 main ()
12599 return po_message_msgctxt ();
12601 return 0;
12603 _ACEOF
12604 if ac_fn_c_try_link "$LINENO"; then :
12605 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12606 else
12607 ac_cv_lib_gettextpo_po_message_msgctxt=no
12609 rm -f core conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12611 LIBS=$ac_check_lib_save_LIBS
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12614 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12615 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12617 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12619 GETTEXTPO_LIBS="-lgettextpo"
12624 if test "x$GETTEXTPO_LIBS" = "x"; then :
12625 case "x$with_gettextpo" in
12626 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12627 xno) ;;
12628 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12629 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12630 esac
12633 if test "$srcdir" != .; then :
12634 case "x$with_gettextpo" in
12635 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12636 xno) ;;
12637 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12638 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12639 esac
12644 if test "x$with_pulse" != "xno";
12645 then
12646 if ${PULSE_CFLAGS:+false} :; then :
12647 if ${PKG_CONFIG+:} false; then :
12648 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12652 if ${PULSE_LIBS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12659 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12661 ac_save_CPPFLAGS=$CPPFLAGS
12662 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12663 for ac_header in pulse/pulseaudio.h
12664 do :
12665 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12666 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12667 cat >>confdefs.h <<_ACEOF
12668 #define HAVE_PULSE_PULSEAUDIO_H 1
12669 _ACEOF
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12671 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12672 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-lpulse $PULSE_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char pa_stream_is_corked ();
12688 main ()
12690 return pa_stream_is_corked ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_pulse_pa_stream_is_corked=yes
12697 else
12698 ac_cv_lib_pulse_pa_stream_is_corked=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12705 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12706 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12708 else
12709 PULSE_LIBS=""
12712 else
12713 PULSE_LIBS=""
12716 done
12718 CPPFLAGS=$ac_save_CPPFLAGS
12719 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test -z "$PULSE_LIBS"; then :
12724 case "x$with_pulse" in
12725 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12726 xno) ;;
12727 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12728 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12729 esac
12730 enable_winepulse_drv=${enable_winepulse_drv:-no}
12733 if test "x$with_gstreamer" != "xno"
12734 then
12735 if ${GSTREAMER_CFLAGS:+false} :; then :
12736 if ${PKG_CONFIG+:} false; then :
12737 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12741 if ${GSTREAMER_LIBS:+false} :; then :
12742 if ${PKG_CONFIG+:} false; then :
12743 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12748 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12749 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12750 ac_save_CPPFLAGS=$CPPFLAGS
12751 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12752 ac_gst_incl=""
12753 for i in $GSTREAMER_CFLAGS
12755 case "$i" in
12756 -I*) ac_gst_incl="$ac_gst_incl $i";;
12757 esac
12758 done
12759 GSTREAMER_CFLAGS=$ac_gst_incl
12760 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12761 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12762 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12764 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12767 #include <gst/gst.h>
12769 main ()
12771 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_compile "$LINENO"; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12778 $as_echo "yes" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12780 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12781 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
12784 ac_check_lib_save_LIBS=$LIBS
12785 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12792 #ifdef __cplusplus
12793 extern "C"
12794 #endif
12795 char gst_pad_new ();
12797 main ()
12799 return gst_pad_new ();
12801 return 0;
12803 _ACEOF
12804 if ac_fn_c_try_link "$LINENO"; then :
12805 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12806 else
12807 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12809 rm -f core conftest.err conftest.$ac_objext \
12810 conftest$ac_exeext conftest.$ac_ext
12811 LIBS=$ac_check_lib_save_LIBS
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12814 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12815 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12819 else
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12822 ac_glib2_broken=yes
12823 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12829 CPPFLAGS=$ac_save_CPPFLAGS
12830 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12831 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12834 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 :
12835 case "x$with_gstreamer" in
12836 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12837 xno) ;;
12838 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12839 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12840 esac
12843 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12845 ALSA_LIBS=""
12847 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12848 then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12850 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12851 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 ac_check_lib_save_LIBS=$LIBS
12855 LIBS="-lasound $LIBS"
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12862 #ifdef __cplusplus
12863 extern "C"
12864 #endif
12865 char snd_pcm_hw_params_get_access_mask ();
12867 main ()
12869 return snd_pcm_hw_params_get_access_mask ();
12871 return 0;
12873 _ACEOF
12874 if ac_fn_c_try_link "$LINENO"; then :
12875 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12876 else
12877 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12884 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12885 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12888 #ifdef HAVE_ALSA_ASOUNDLIB_H
12889 #include <alsa/asoundlib.h>
12890 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12891 #include <sys/asoundlib.h>
12892 #endif
12894 main ()
12896 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_compile "$LINENO"; then :
12902 ALSA_LIBS="-lasound"
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12910 if test "x$with_oss" != xno
12911 then
12912 ac_save_CPPFLAGS="$CPPFLAGS"
12913 if test -f /etc/oss.conf
12914 then
12915 . /etc/oss.conf
12917 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12918 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12919 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12920 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12921 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12923 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12925 cat >>confdefs.h <<_ACEOF
12926 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12927 _ACEOF
12929 OSS4_CFLAGS="$ac_oss_incl"
12936 CPPFLAGS="$ac_save_CPPFLAGS"
12938 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12939 case "x$with_oss" in
12940 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12941 xno) ;;
12942 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12943 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12944 esac
12945 enable_wineoss_drv=${enable_wineoss_drv:-no}
12948 if test "x$with_udev" != "xno"
12949 then
12950 if ${UDEV_CFLAGS:+false} :; then :
12951 if ${PKG_CONFIG+:} false; then :
12952 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12956 if ${UDEV_LIBS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12965 ac_save_CPPFLAGS=$CPPFLAGS
12966 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12967 for ac_header in libudev.h
12968 do :
12969 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12970 if test "x$ac_cv_header_libudev_h" = xyes; then :
12971 cat >>confdefs.h <<_ACEOF
12972 #define HAVE_LIBUDEV_H 1
12973 _ACEOF
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12975 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12976 if ${ac_cv_lib_udev_udev_new+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-ludev $UDEV_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char udev_new ();
12992 main ()
12994 return udev_new ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_udev_udev_new=yes
13001 else
13002 ac_cv_lib_udev_udev_new=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13009 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13010 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13012 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13014 else
13015 UDEV_LIBS=""
13018 else
13019 UDEV_LIBS=""
13022 done
13024 CPPFLAGS=$ac_save_CPPFLAGS
13025 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13026 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13029 if test "x$UDEV_LIBS" = "x"; then :
13030 case "x$with_udev" in
13031 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13032 xno) ;;
13033 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13034 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13035 esac
13039 if test "x$with_capi" != "xno"
13040 then
13041 if ${CAPI20_CFLAGS:+false} :; then :
13042 if ${PKG_CONFIG+:} false; then :
13043 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13047 if ${CAPI20_LIBS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13054 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13056 ac_save_CPPFLAGS=$CPPFLAGS
13057 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13058 for ac_header in capi20.h linux/capi.h
13059 do :
13060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13064 cat >>confdefs.h <<_ACEOF
13065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13066 _ACEOF
13070 done
13072 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13073 then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13075 $as_echo_n "checking for -lcapi20... " >&6; }
13076 if ${ac_cv_lib_soname_capi20+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_soname_save_LIBS=$LIBS
13080 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char capi20_register ();
13092 main ()
13094 return capi20_register ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 case "$LIBEXT" in
13101 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13102 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'` ;;
13103 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13104 if ${ac_cv_lib_soname_capi20:+false} :; then :
13105 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13106 fi ;;
13107 esac
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LIBS=$ac_check_soname_save_LIBS
13113 if ${ac_cv_lib_soname_capi20:+false} :; then :
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13115 $as_echo "not found" >&6; }
13117 else
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13119 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13121 cat >>confdefs.h <<_ACEOF
13122 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13123 _ACEOF
13128 CPPFLAGS=$ac_save_CPPFLAGS
13129 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13130 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13133 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13134 case "x$with_capi" in
13135 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13136 xno) ;;
13137 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13138 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13139 esac
13143 CUPS_CFLAGS=""
13145 if test "x$with_cups" != "xno"
13146 then
13147 ac_save_CPPFLAGS="$CPPFLAGS"
13148 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13149 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13150 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13151 for ac_header in cups/cups.h
13152 do :
13153 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13154 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13155 cat >>confdefs.h <<_ACEOF
13156 #define HAVE_CUPS_CUPS_H 1
13157 _ACEOF
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13159 $as_echo_n "checking for -lcups... " >&6; }
13160 if ${ac_cv_lib_soname_cups+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_soname_save_LIBS=$LIBS
13164 LIBS="-lcups $ac_cups_libs $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char cupsGetDefault ();
13176 main ()
13178 return cupsGetDefault ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 case "$LIBEXT" in
13185 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13186 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'` ;;
13187 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13188 if ${ac_cv_lib_soname_cups:+false} :; then :
13189 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13190 fi ;;
13191 esac
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_soname_save_LIBS
13197 if ${ac_cv_lib_soname_cups:+false} :; then :
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13199 $as_echo "not found" >&6; }
13201 else
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13203 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13205 cat >>confdefs.h <<_ACEOF
13206 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13207 _ACEOF
13209 CUPS_CFLAGS="$ac_cups_cflags"
13211 for ac_header in cups/ppd.h
13212 do :
13213 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define HAVE_CUPS_PPD_H 1
13217 _ACEOF
13221 done
13225 done
13227 CPPFLAGS="$ac_save_CPPFLAGS"
13229 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13230 case "x$with_cups" in
13231 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13232 xno) ;;
13233 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13234 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13235 esac
13239 if test "x$with_fontconfig" != "xno"
13240 then
13241 if ${FONTCONFIG_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false; then :
13243 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13246 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13247 if ${FONTCONFIG_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13252 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13254 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13256 ac_save_CPPFLAGS=$CPPFLAGS
13257 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13258 for ac_header in fontconfig/fontconfig.h
13259 do :
13260 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13264 _ACEOF
13268 done
13270 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13271 then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13273 $as_echo_n "checking for -lfontconfig... " >&6; }
13274 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13275 $as_echo_n "(cached) " >&6
13276 else
13277 ac_check_soname_save_LIBS=$LIBS
13278 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13282 /* Override any GCC internal prototype to avoid an error.
13283 Use char because int might match the return type of a GCC
13284 builtin and then its argument prototype would still apply. */
13285 #ifdef __cplusplus
13286 extern "C"
13287 #endif
13288 char FcInit ();
13290 main ()
13292 return FcInit ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"; then :
13298 case "$LIBEXT" in
13299 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13300 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'` ;;
13301 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13302 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13303 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13304 fi ;;
13305 esac
13307 rm -f core conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13309 LIBS=$ac_check_soname_save_LIBS
13311 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13313 $as_echo "not found" >&6; }
13314 FONTCONFIG_CFLAGS=""
13315 else
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13317 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13319 cat >>confdefs.h <<_ACEOF
13320 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13321 _ACEOF
13325 else
13326 FONTCONFIG_CFLAGS=""
13328 CPPFLAGS=$ac_save_CPPFLAGS
13329 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13330 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13333 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13334 case "x$with_fontconfig" in
13335 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13336 xno) ;;
13337 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13338 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13339 esac
13343 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13344 then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13346 $as_echo_n "checking for -lgsm... " >&6; }
13347 if ${ac_cv_lib_soname_gsm+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_soname_save_LIBS=$LIBS
13351 LIBS="-lgsm $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char gsm_create ();
13363 main ()
13365 return gsm_create ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 case "$LIBEXT" in
13372 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13373 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'` ;;
13374 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13375 if ${ac_cv_lib_soname_gsm:+false} :; then :
13376 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13377 fi ;;
13378 esac
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_soname_save_LIBS
13384 if ${ac_cv_lib_soname_gsm:+false} :; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13386 $as_echo "not found" >&6; }
13388 else
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13390 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13392 cat >>confdefs.h <<_ACEOF
13393 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13394 _ACEOF
13399 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13400 case "x$with_gsm" in
13401 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13402 xno) ;;
13403 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13404 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13405 esac
13409 if test "x$with_jpeg" != "xno"
13410 then
13411 if ${JPEG_CFLAGS:+false} :; then :
13412 if ${PKG_CONFIG+:} false; then :
13413 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13417 if ${JPEG_LIBS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13424 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13425 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13426 ac_save_CPPFLAGS=$CPPFLAGS
13427 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13428 for ac_header in jpeglib.h
13429 do :
13430 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_JPEGLIB_H 1
13434 _ACEOF
13438 done
13440 if test "$ac_cv_header_jpeglib_h" = "yes"
13441 then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13443 $as_echo_n "checking for -ljpeg... " >&6; }
13444 if ${ac_cv_lib_soname_jpeg+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_check_soname_save_LIBS=$LIBS
13448 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 #ifdef __cplusplus
13456 extern "C"
13457 #endif
13458 char jpeg_start_decompress ();
13460 main ()
13462 return jpeg_start_decompress ();
13464 return 0;
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 case "$LIBEXT" in
13469 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13473 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13474 fi ;;
13475 esac
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 JPEG_CFLAGS=""
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13487 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13491 _ACEOF
13495 else
13496 JPEG_CFLAGS=""
13498 CPPFLAGS=$ac_save_CPPFLAGS
13499 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13500 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13503 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13504 case "x$with_jpeg" in
13505 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13506 xno) ;;
13507 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13508 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13509 esac
13513 if test "x$with_png" != "xno"
13514 then
13515 if ${PNG_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13520 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13521 if ${PNG_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13526 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13530 ac_save_CPPFLAGS=$CPPFLAGS
13531 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13532 for ac_header in png.h
13533 do :
13534 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13535 if test "x$ac_cv_header_png_h" = xyes; then :
13536 cat >>confdefs.h <<_ACEOF
13537 #define HAVE_PNG_H 1
13538 _ACEOF
13542 done
13544 if test "$ac_cv_header_png_h" = "yes"
13545 then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13547 $as_echo_n "checking for -lpng... " >&6; }
13548 if ${ac_cv_lib_soname_png+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 ac_check_soname_save_LIBS=$LIBS
13552 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 #ifdef __cplusplus
13560 extern "C"
13561 #endif
13562 char png_create_read_struct ();
13564 main ()
13566 return png_create_read_struct ();
13568 return 0;
13570 _ACEOF
13571 if ac_fn_c_try_link "$LINENO"; then :
13572 case "$LIBEXT" in
13573 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13574 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'` ;;
13575 *) 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'`
13576 if ${ac_cv_lib_soname_png:+false} :; then :
13577 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13578 fi ;;
13579 esac
13581 rm -f core conftest.err conftest.$ac_objext \
13582 conftest$ac_exeext conftest.$ac_ext
13583 LIBS=$ac_check_soname_save_LIBS
13585 if ${ac_cv_lib_soname_png:+false} :; then :
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13587 $as_echo "not found" >&6; }
13588 PNG_CFLAGS=""
13589 else
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13591 $as_echo "$ac_cv_lib_soname_png" >&6; }
13593 cat >>confdefs.h <<_ACEOF
13594 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13595 _ACEOF
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 #include <png.h>
13601 main ()
13603 typeof(png_set_expand_gray_1_2_4_to_8) *p
13605 return 0;
13607 _ACEOF
13608 if ac_fn_c_try_compile "$LINENO"; then :
13610 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13615 else
13616 PNG_CFLAGS=""
13618 CPPFLAGS=$ac_save_CPPFLAGS
13619 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13620 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13623 if test "x$ac_cv_lib_soname_png" = "x"; then :
13624 case "x$with_png" in
13625 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13626 xno) ;;
13627 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13628 This is an error since --with-png was requested." "$LINENO" 5 ;;
13629 esac
13633 if test "x$with_tiff" != "xno"
13634 then
13635 if ${TIFF_CFLAGS:+false} :; then :
13636 if ${PKG_CONFIG+:} false; then :
13637 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13641 if ${TIFF_LIBS:+false} :; then :
13642 if ${PKG_CONFIG+:} false; then :
13643 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13648 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13649 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13650 ac_save_CPPFLAGS=$CPPFLAGS
13651 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13652 for ac_header in tiffio.h
13653 do :
13654 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13655 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13656 cat >>confdefs.h <<_ACEOF
13657 #define HAVE_TIFFIO_H 1
13658 _ACEOF
13662 done
13664 if test "$ac_cv_header_tiffio_h" = "yes"
13665 then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13667 $as_echo_n "checking for -ltiff... " >&6; }
13668 if ${ac_cv_lib_soname_tiff+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_check_soname_save_LIBS=$LIBS
13672 LIBS="-ltiff $TIFF_LIBS $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13679 #ifdef __cplusplus
13680 extern "C"
13681 #endif
13682 char TIFFClientOpen ();
13684 main ()
13686 return TIFFClientOpen ();
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 case "$LIBEXT" in
13693 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13694 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'` ;;
13695 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13696 if ${ac_cv_lib_soname_tiff:+false} :; then :
13697 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13698 fi ;;
13699 esac
13701 rm -f core conftest.err conftest.$ac_objext \
13702 conftest$ac_exeext conftest.$ac_ext
13703 LIBS=$ac_check_soname_save_LIBS
13705 if ${ac_cv_lib_soname_tiff:+false} :; then :
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13707 $as_echo "not found" >&6; }
13709 else
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13711 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13713 cat >>confdefs.h <<_ACEOF
13714 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13715 _ACEOF
13720 CPPFLAGS=$ac_save_CPPFLAGS
13721 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13722 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13725 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13726 case "x$with_tiff" in
13727 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13728 xno) ;;
13729 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13730 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13731 esac
13735 if test "x$with_mpg123" != "xno"
13736 then
13737 if ${MPG123_CFLAGS:+false} :; then :
13738 if ${PKG_CONFIG+:} false; then :
13739 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13743 if ${MPG123_LIBS:+false} :; then :
13744 if ${PKG_CONFIG+:} false; then :
13745 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13749 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13750 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13751 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13752 ac_save_CPPFLAGS=$CPPFLAGS
13753 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13754 for ac_header in mpg123.h
13755 do :
13756 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13757 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13758 cat >>confdefs.h <<_ACEOF
13759 #define HAVE_MPG123_H 1
13760 _ACEOF
13764 done
13766 if test "$ac_cv_header_mpg123_h" = "yes"
13767 then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13769 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13770 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 ac_check_lib_save_LIBS=$LIBS
13774 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13781 #ifdef __cplusplus
13782 extern "C"
13783 #endif
13784 char mpg123_feed ();
13786 main ()
13788 return mpg123_feed ();
13790 return 0;
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 ac_cv_lib_mpg123_mpg123_feed=yes
13795 else
13796 ac_cv_lib_mpg123_mpg123_feed=no
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 LIBS=$ac_check_lib_save_LIBS
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13803 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13804 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13806 else
13807 MPG123_LIBS=""
13810 else
13811 MPG123_CFLAGS=""
13812 MPG123_LIBS=""
13814 CPPFLAGS=$ac_save_CPPFLAGS
13815 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13816 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13819 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13820 case "x$with_mpg123" in
13821 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13822 xno) ;;
13823 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13824 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13825 esac
13826 enable_winemp3_acm=${enable_winemp3_acm:-no}
13829 if test "$ac_cv_header_AL_al_h" = "yes"
13830 then
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13832 $as_echo_n "checking for -lopenal... " >&6; }
13833 if ${ac_cv_lib_soname_openal+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 ac_check_soname_save_LIBS=$LIBS
13837 LIBS="-lopenal $LIBS"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 char alGetSource3i ();
13849 main ()
13851 return alGetSource3i ();
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_link "$LINENO"; then :
13857 case "$LIBEXT" in
13858 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13859 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'` ;;
13860 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13861 if ${ac_cv_lib_soname_openal:+false} :; then :
13862 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13863 fi ;;
13864 esac
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_soname_save_LIBS
13870 if ${ac_cv_lib_soname_openal:+false} :; then :
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13872 $as_echo "not found" >&6; }
13874 else
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13876 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13878 cat >>confdefs.h <<_ACEOF
13879 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13880 _ACEOF
13882 OPENAL_LIBS="-lopenal"
13884 ac_cv_lib_openal=yes
13886 cat >>confdefs.h <<_ACEOF
13887 #define HAVE_OPENAL 1
13888 _ACEOF
13892 if test "x$ac_cv_lib_openal" != xyes; then :
13893 case "x$with_openal" in
13894 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13895 xno) ;;
13896 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13897 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13898 esac
13899 enable_openal32=${enable_openal32:-no}
13902 if test "x$ac_cv_lib_openal" = xyes
13903 then
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13905 $as_echo_n "checking for openal-soft... " >&6; }
13906 if ${ac_cv_have_openalsoft+:} false; then :
13907 $as_echo_n "(cached) " >&6
13908 else
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13911 #include <AL/al.h>
13912 #include <AL/alc.h>
13913 #include <AL/alext.h>
13914 LPALCRENDERSAMPLESSOFT x;
13916 main ()
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_compile "$LINENO"; then :
13924 ac_cv_have_openalsoft=yes
13925 else
13926 ac_cv_have_openalsoft=no
13928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13931 $as_echo "$ac_cv_have_openalsoft" >&6; }
13933 if test "x$ac_cv_have_openalsoft" != xyes
13934 then
13935 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13936 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13937 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13938 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13939 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13940 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13941 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13942 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13943 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13944 enable_xapofx1_1=${enable_xapofx1_1:-no}
13945 enable_xapofx1_2=${enable_xapofx1_2:-no}
13946 enable_xapofx1_3=${enable_xapofx1_3:-no}
13947 enable_xapofx1_4=${enable_xapofx1_4:-no}
13948 enable_xapofx1_5=${enable_xapofx1_5:-no}
13949 enable_xaudio2_0=${enable_xaudio2_0:-no}
13950 enable_xaudio2_1=${enable_xaudio2_1:-no}
13951 enable_xaudio2_2=${enable_xaudio2_2:-no}
13952 enable_xaudio2_3=${enable_xaudio2_3:-no}
13953 enable_xaudio2_4=${enable_xaudio2_4:-no}
13954 enable_xaudio2_5=${enable_xaudio2_5:-no}
13955 enable_xaudio2_6=${enable_xaudio2_6:-no}
13956 enable_xaudio2_7=${enable_xaudio2_7:-no}
13957 enable_xaudio2_8=${enable_xaudio2_8:-no}
13958 enable_xaudio2_9=${enable_xaudio2_9:-no}
13961 if test "$ac_cv_header_kstat_h" = "yes"
13962 then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13964 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13965 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 ac_check_lib_save_LIBS=$LIBS
13969 LIBS="-lkstat $LIBS"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13976 #ifdef __cplusplus
13977 extern "C"
13978 #endif
13979 char kstat_open ();
13981 main ()
13983 return kstat_open ();
13985 return 0;
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 ac_cv_lib_kstat_kstat_open=yes
13990 else
13991 ac_cv_lib_kstat_kstat_open=no
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 LIBS=$ac_check_lib_save_LIBS
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13998 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13999 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14001 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14003 KSTAT_LIBS="-lkstat"
14009 if test "$ac_cv_header_libprocstat_h" = "yes"
14010 then
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14012 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14013 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_check_lib_save_LIBS=$LIBS
14017 LIBS="-lprocstat $LIBS"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14024 #ifdef __cplusplus
14025 extern "C"
14026 #endif
14027 char procstat_open_sysctl ();
14029 main ()
14031 return procstat_open_sysctl ();
14033 return 0;
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_lib_procstat_procstat_open_sysctl=yes
14038 else
14039 ac_cv_lib_procstat_procstat_open_sysctl=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 LIBS=$ac_check_lib_save_LIBS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14046 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14047 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14049 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14051 PROCSTAT_LIBS="-lprocstat"
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14058 $as_echo_n "checking for -lodbc... " >&6; }
14059 if ${ac_cv_lib_soname_odbc+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 ac_check_soname_save_LIBS=$LIBS
14063 LIBS="-lodbc $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char SQLConnect ();
14075 main ()
14077 return SQLConnect ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083 case "$LIBEXT" in
14084 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14085 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'` ;;
14086 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14087 if ${ac_cv_lib_soname_odbc:+false} :; then :
14088 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14089 fi ;;
14090 esac
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 LIBS=$ac_check_soname_save_LIBS
14096 if ${ac_cv_lib_soname_odbc:+false} :; then :
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14098 $as_echo "not found" >&6; }
14099 cat >>confdefs.h <<_ACEOF
14100 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14101 _ACEOF
14103 else
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14105 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14107 cat >>confdefs.h <<_ACEOF
14108 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14109 _ACEOF
14114 if test "x$with_netapi" != "xno"
14115 then
14116 if ${NETAPI_CFLAGS:+false} :; then :
14117 if ${PKG_CONFIG+:} false; then :
14118 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14122 if ${NETAPI_LIBS:+false} :; then :
14123 if ${PKG_CONFIG+:} false; then :
14124 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14129 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14130 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14131 ac_save_CPPFLAGS=$CPPFLAGS
14132 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14134 $as_echo_n "checking for -lnetapi... " >&6; }
14135 if ${ac_cv_lib_soname_netapi+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_check_soname_save_LIBS=$LIBS
14139 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 char libnetapi_init ();
14151 main ()
14153 return libnetapi_init ();
14155 return 0;
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 case "$LIBEXT" in
14160 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14161 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'` ;;
14162 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14163 if ${ac_cv_lib_soname_netapi:+false} :; then :
14164 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14165 fi ;;
14166 esac
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_soname_save_LIBS
14172 if ${ac_cv_lib_soname_netapi:+false} :; then :
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14174 $as_echo "not found" >&6; }
14175 cat >>confdefs.h <<_ACEOF
14176 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14177 _ACEOF
14179 else
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14181 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14183 cat >>confdefs.h <<_ACEOF
14184 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14185 _ACEOF
14189 CPPFLAGS=$ac_save_CPPFLAGS
14190 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14191 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14195 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14196 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14197 then
14198 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14202 EXTRACFLAGS=""
14204 if test "x${GCC}" = "xyes"
14205 then
14206 EXTRACFLAGS="-Wall -pipe"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14209 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14210 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 if test "$cross_compiling" = yes; then :
14214 ac_cv_c_gcc_strength_bug="no"
14215 else
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 int L[4] = {0,1,2,3};
14220 main ()
14222 static int Array[3];
14223 unsigned int B = 3;
14224 int i;
14225 for(i=0; i<B; i++) Array[i] = i - 3;
14226 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14227 L[i] = 4;
14228 return (Array[1] != -2 || L[2] != 3)
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_run "$LINENO"; then :
14234 ac_cv_c_gcc_strength_bug="no"
14235 else
14236 ac_cv_c_gcc_strength_bug="yes"
14238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14239 conftest.$ac_objext conftest.beam conftest.$ac_ext
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14244 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14245 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14246 then
14247 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14251 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14252 if ${ac_cv_cflags__fno_builtin+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_wine_try_cflags_saved=$CFLAGS
14256 CFLAGS="$CFLAGS -fno-builtin"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 ac_cv_cflags__fno_builtin=yes
14263 else
14264 ac_cv_cflags__fno_builtin=no
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 CFLAGS=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14271 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14272 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14273 BUILTINFLAG="-fno-builtin"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14277 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14278 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -fno-strict-aliasing"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__fno_strict_aliasing=yes
14289 else
14290 ac_cv_cflags__fno_strict_aliasing=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14297 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14298 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14299 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14302 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14303 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_wine_try_cflags_saved=$CFLAGS
14307 CFLAGS="$CFLAGS -fexcess-precision=standard"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_cflags__fexcess_precision_standard=yes
14314 else
14315 ac_cv_cflags__fexcess_precision_standard=no
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 CFLAGS=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14322 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14323 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14324 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14327 saved_CFLAGS=$CFLAGS
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14329 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14330 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_wine_try_cflags_saved=$CFLAGS
14334 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_cflags__Werror_unknown_warning_option=yes
14341 else
14342 ac_cv_cflags__Werror_unknown_warning_option=no
14344 rm -f core conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 CFLAGS=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14349 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14350 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14351 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14354 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14355 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_wine_try_cflags_saved=$CFLAGS
14359 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_cflags__Wdeclaration_after_statement=yes
14366 else
14367 ac_cv_cflags__Wdeclaration_after_statement=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 CFLAGS=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14374 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14375 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14376 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14379 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14380 if ${ac_cv_cflags__Wempty_body+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -Wempty-body"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_cflags__Wempty_body=yes
14391 else
14392 ac_cv_cflags__Wempty_body=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 CFLAGS=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14399 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14400 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14401 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14404 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14405 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -Wignored-qualifiers"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_cflags__Wignored_qualifiers=yes
14416 else
14417 ac_cv_cflags__Wignored_qualifiers=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 CFLAGS=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14424 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14425 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14426 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14429 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14430 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 ac_wine_try_cflags_saved=$CFLAGS
14434 CFLAGS="$CFLAGS -Wshift-overflow=2"
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_cflags__Wshift_overflow_2=yes
14441 else
14442 ac_cv_cflags__Wshift_overflow_2=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 CFLAGS=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14449 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14450 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14451 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14454 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14455 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_wine_try_cflags_saved=$CFLAGS
14459 CFLAGS="$CFLAGS -Wstrict-prototypes"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 int main(int argc, char **argv) { return 0; }
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"; then :
14465 ac_cv_cflags__Wstrict_prototypes=yes
14466 else
14467 ac_cv_cflags__Wstrict_prototypes=no
14469 rm -f core conftest.err conftest.$ac_objext \
14470 conftest$ac_exeext conftest.$ac_ext
14471 CFLAGS=$ac_wine_try_cflags_saved
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14474 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14475 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14476 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14479 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14480 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14481 $as_echo_n "(cached) " >&6
14482 else
14483 ac_wine_try_cflags_saved=$CFLAGS
14484 CFLAGS="$CFLAGS -Wtype-limits"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 int main(int argc, char **argv) { return 0; }
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_cflags__Wtype_limits=yes
14491 else
14492 ac_cv_cflags__Wtype_limits=no
14494 rm -f core conftest.err conftest.$ac_objext \
14495 conftest$ac_exeext conftest.$ac_ext
14496 CFLAGS=$ac_wine_try_cflags_saved
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14499 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14500 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14501 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14504 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14505 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 ac_wine_try_cflags_saved=$CFLAGS
14509 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int main(int argc, char **argv) { return 0; }
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"; then :
14515 ac_cv_cflags__Wunused_but_set_parameter=yes
14516 else
14517 ac_cv_cflags__Wunused_but_set_parameter=no
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 CFLAGS=$ac_wine_try_cflags_saved
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14524 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14525 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14526 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14529 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14530 if ${ac_cv_cflags__Wvla+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_wine_try_cflags_saved=$CFLAGS
14534 CFLAGS="$CFLAGS -Wvla"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 ac_cv_cflags__Wvla=yes
14541 else
14542 ac_cv_cflags__Wvla=no
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 CFLAGS=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14549 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14550 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14551 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14554 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14555 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
14566 else
14567 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
14574 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14575 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14576 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14580 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14581 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_wine_try_cflags_saved=$CFLAGS
14585 CFLAGS="$CFLAGS -Wpointer-arith"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 int main(int argc, char **argv) { return 0; }
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 ac_cv_cflags__Wpointer_arith=yes
14592 else
14593 ac_cv_cflags__Wpointer_arith=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 CFLAGS=$ac_wine_try_cflags_saved
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14600 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14601 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14602 saved_string_h_CFLAGS=$CFLAGS
14603 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14605 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14606 if ${ac_cv_c_string_h_warnings+:} false; then :
14607 $as_echo_n "(cached) " >&6
14608 else
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611 #include <string.h>
14613 main ()
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_compile "$LINENO"; then :
14621 ac_cv_c_string_h_warnings=no
14622 else
14623 ac_cv_c_string_h_warnings=yes
14625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14628 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14629 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14630 CFLAGS=$saved_string_h_CFLAGS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14634 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14635 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 ac_wine_try_cflags_saved=$CFLAGS
14639 CFLAGS="$CFLAGS -Wlogical-op"
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"; then :
14645 ac_cv_cflags__Wlogical_op=yes
14646 else
14647 ac_cv_cflags__Wlogical_op=no
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 CFLAGS=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14654 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14655 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14656 saved_string_h_CFLAGS=$CFLAGS
14657 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14659 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14660 if ${ac_cv_c_logicalop_noisy+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 #include <string.h>
14666 char*f(const char *h,char n) {return strchr(h,n);}
14668 main ()
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_compile "$LINENO"; then :
14676 ac_cv_c_logicalop_noisy=no
14677 else
14678 ac_cv_c_logicalop_noisy=yes
14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14683 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14684 CFLAGS=$saved_string_h_CFLAGS
14685 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14688 CFLAGS=$saved_CFLAGS
14690 for ac_flag in $CFLAGS; do
14691 case $ac_flag in
14692 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14693 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14694 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -gdwarf-2"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__gdwarf_2=yes
14705 else
14706 ac_cv_cflags__gdwarf_2=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14713 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14714 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14715 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14718 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14719 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -gstrict-dwarf"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__gstrict_dwarf=yes
14730 else
14731 ac_cv_cflags__gstrict_dwarf=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14738 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14739 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14740 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14741 fi ;;
14742 esac
14743 done
14745 case $host_cpu in
14746 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14747 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14748 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_wine_try_cflags_saved=$CFLAGS
14752 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 int main(int argc, char **argv) { return 0; }
14756 _ACEOF
14757 if ac_fn_c_try_link "$LINENO"; then :
14758 ac_cv_cflags__fno_omit_frame_pointer=yes
14759 else
14760 ac_cv_cflags__fno_omit_frame_pointer=no
14762 rm -f core conftest.err conftest.$ac_objext \
14763 conftest$ac_exeext conftest.$ac_ext
14764 CFLAGS=$ac_wine_try_cflags_saved
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14767 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14768 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14769 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14770 fi ;;
14771 esac
14773 case $host in
14774 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14775 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14776 if ${ac_cv_cflags__Wno_format+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -Wno-format"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_cflags__Wno_format=yes
14787 else
14788 ac_cv_cflags__Wno_format=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 CFLAGS=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14795 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14796 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14797 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14798 fi ;;
14799 esac
14801 if test "x$enable_maintainer_mode" = "xyes"
14802 then
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14804 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14805 if ${ac_cv_cflags__Werror+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 ac_wine_try_cflags_saved=$CFLAGS
14809 CFLAGS="$CFLAGS -Werror"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14812 int main(int argc, char **argv) { return 0; }
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"; then :
14815 ac_cv_cflags__Werror=yes
14816 else
14817 ac_cv_cflags__Werror=no
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext conftest.$ac_ext
14821 CFLAGS=$ac_wine_try_cflags_saved
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14824 $as_echo "$ac_cv_cflags__Werror" >&6; }
14825 if test "x$ac_cv_cflags__Werror" = xyes; then :
14826 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14830 saved_CFLAGS="$CFLAGS"
14831 CFLAGS="$CFLAGS -Werror"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14833 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14834 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14839 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14841 main ()
14845 return 0;
14847 _ACEOF
14848 if ac_fn_c_try_compile "$LINENO"; then :
14849 ac_cv_have_ms_hook_prologue="yes"
14850 else
14851 ac_cv_have_ms_hook_prologue="no"
14853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14856 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14857 CFLAGS="$saved_CFLAGS"
14858 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14859 then
14861 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14863 else
14864 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14871 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14872 if ${ac_cv_c_fortify_enabled+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 #include <string.h>
14879 main ()
14881 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14882 #error Fortify enabled
14883 #endif
14885 return 0;
14887 _ACEOF
14888 if ac_fn_c_try_compile "$LINENO"; then :
14889 ac_cv_c_fortify_enabled=no
14890 else
14891 ac_cv_c_fortify_enabled=yes
14893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14896 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14897 if test "$ac_cv_c_fortify_enabled" = yes
14898 then
14899 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14904 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14905 if ${ac_cv_c_extern_prefix+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 extern int ac_test;
14912 main ()
14914 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14916 return 0;
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_c_extern_prefix="yes"
14921 else
14922 ac_cv_c_extern_prefix="no"
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14928 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14930 case $host_cpu in
14931 *i[3456789]86*)
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14933 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14934 if ${ac_cv_c_stdcall_suffix+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 #ifndef _MSC_VER
14940 #define __stdcall __attribute__((__stdcall__))
14941 #endif
14942 int __stdcall ac_test(int i) { return i; }
14944 main ()
14946 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14948 return 0;
14950 _ACEOF
14951 if ac_fn_c_try_link "$LINENO"; then :
14952 ac_cv_c_stdcall_suffix="yes"
14953 else
14954 ac_cv_c_stdcall_suffix="no"
14956 rm -f core conftest.err conftest.$ac_objext \
14957 conftest$ac_exeext conftest.$ac_ext
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14960 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14961 *) ac_cv_c_stdcall_suffix="no" ;;
14962 esac
14965 if test "$ac_cv_c_extern_prefix" = "yes"
14966 then
14967 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14969 asm_name_prefix="_"
14970 else
14971 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14973 asm_name_prefix=""
14977 if test "$ac_cv_c_stdcall_suffix" = "yes"
14978 then
14979 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14981 else
14982 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14988 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14989 if ${ac_cv_asm_func_def+:} false; then :
14990 $as_echo_n "(cached) " >&6
14991 else
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14996 main ()
14998 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 ac_cv_asm_func_def=".def"
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15010 main ()
15012 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_asm_func_def=".type @function"
15019 else
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15024 main ()
15026 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15028 return 0;
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_asm_func_def=".type 2"
15033 else
15034 ac_cv_asm_func_def="unknown"
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15046 $as_echo "$ac_cv_asm_func_def" >&6; }
15049 case "$ac_cv_asm_func_def" in
15050 ".def")
15051 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15053 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15054 ".type @function")
15055 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15057 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15058 ".type 2")
15059 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15061 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15063 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15065 asm_func_header="" ;;
15066 esac
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15069 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15070 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 asm(".text\n\t.long 0");
15077 main ()
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"; then :
15085 ac_cv_c_asm_outside_funcs="yes"
15086 else
15087 ac_cv_c_asm_outside_funcs="no"
15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15092 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15095 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15096 if ${ac_cv_c_dot_previous+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15103 main ()
15105 asm(".text\nac_test:\t.long 0\n\t.previous");
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 ac_cv_c_dot_previous="yes"
15112 else
15113 ac_cv_c_dot_previous="no"
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15119 $as_echo "$ac_cv_c_dot_previous" >&6; }
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15122 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15123 if ${ac_cv_c_cfi_support+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15130 main ()
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"; then :
15138 ac_cv_c_cfi_support="yes"
15139 else
15140 ac_cv_c_cfi_support="no"
15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15145 $as_echo "$ac_cv_c_cfi_support" >&6; }
15147 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15148 asm_func_trailer=""
15149 if test "$ac_cv_c_dot_previous" = "yes"
15150 then
15151 asm_func_trailer="\\n\\t.previous"
15153 if test "$ac_cv_c_cfi_support" = "yes"
15154 then
15155 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15156 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15158 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15160 UNWINDFLAGS=-fasynchronous-unwind-tables
15162 else
15163 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15165 if test "x$enable_win64" = "xyes"
15166 then
15167 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15171 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15174 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15175 then
15176 cat >>confdefs.h <<_ACEOF
15177 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15178 _ACEOF
15180 else
15181 cat >>confdefs.h <<_ACEOF
15182 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15183 _ACEOF
15187 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15190 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15194 case $build_os in
15195 cygwin*|mingw32*) TOOLSEXT=".exe"
15197 esac
15199 case $host_os in
15200 linux-android*) ;;
15201 linux*)
15202 case $host_cpu in
15203 *i[3456789]86*|x86_64*)
15204 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15205 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15207 esac
15209 esac
15212 ac_save_CFLAGS="$CFLAGS"
15213 CFLAGS="$CFLAGS $BUILTINFLAG"
15214 for ac_func in \
15215 __res_get_state \
15216 __res_getservers \
15217 _finite \
15218 _isnan \
15219 _pclose \
15220 _popen \
15221 _snprintf \
15222 _spawnvp \
15223 _strdup \
15224 _stricmp \
15225 _strnicmp \
15226 _strtoi64 \
15227 _strtoui64 \
15228 _vsnprintf \
15229 asctime_r \
15230 chsize \
15231 dlopen \
15232 epoll_create \
15233 ffs \
15234 finitef \
15235 fnmatch \
15236 fork \
15237 fpclass \
15238 fstatfs \
15239 fstatvfs \
15240 ftruncate \
15241 futimens \
15242 futimes \
15243 futimesat \
15244 getattrlist \
15245 getopt_long_only \
15246 getpwuid \
15247 gettimeofday \
15248 getuid \
15249 if_nameindex \
15250 isnanf \
15251 kqueue \
15252 lstat \
15253 memmove \
15254 mmap \
15255 pclose \
15256 pipe2 \
15257 poll \
15258 popen \
15259 port_create \
15260 prctl \
15261 pread \
15262 proc_pidinfo \
15263 pwrite \
15264 readdir \
15265 readlink \
15266 sched_yield \
15267 select \
15268 setproctitle \
15269 setprogname \
15270 setrlimit \
15271 settimeofday \
15272 sigaltstack \
15273 sigprocmask \
15274 snprintf \
15275 statfs \
15276 statvfs \
15277 strcasecmp \
15278 strdup \
15279 strerror \
15280 strncasecmp \
15281 strtold \
15282 strtoll \
15283 strtoull \
15284 symlink \
15285 sysinfo \
15286 tcdrain \
15287 thr_kill2 \
15288 timegm \
15289 usleep \
15290 vsnprintf
15292 do :
15293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15295 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15298 _ACEOF
15301 done
15303 CFLAGS="$ac_save_CFLAGS"
15305 if test "$ac_cv_func_dlopen" = no
15306 then
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15308 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15309 if ${ac_cv_lib_dl_dlopen+:} false; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15312 ac_check_lib_save_LIBS=$LIBS
15313 LIBS="-ldl $LIBS"
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15317 /* Override any GCC internal prototype to avoid an error.
15318 Use char because int might match the return type of a GCC
15319 builtin and then its argument prototype would still apply. */
15320 #ifdef __cplusplus
15321 extern "C"
15322 #endif
15323 char dlopen ();
15325 main ()
15327 return dlopen ();
15329 return 0;
15331 _ACEOF
15332 if ac_fn_c_try_link "$LINENO"; then :
15333 ac_cv_lib_dl_dlopen=yes
15334 else
15335 ac_cv_lib_dl_dlopen=no
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_lib_save_LIBS
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15342 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15343 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15344 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15345 DL_LIBS="-ldl"
15350 ac_wine_check_funcs_save_LIBS="$LIBS"
15351 LIBS="$LIBS $DL_LIBS"
15352 for ac_func in dladdr
15353 do :
15354 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15355 if test "x$ac_cv_func_dladdr" = xyes; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_DLADDR 1
15358 _ACEOF
15361 done
15363 LIBS="$ac_wine_check_funcs_save_LIBS"
15365 if test "$ac_cv_func_poll" = no
15366 then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15368 $as_echo_n "checking for poll in -lpoll... " >&6; }
15369 if ${ac_cv_lib_poll_poll+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_check_lib_save_LIBS=$LIBS
15373 LIBS="-lpoll $LIBS"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char poll ();
15385 main ()
15387 return poll ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 ac_cv_lib_poll_poll=yes
15394 else
15395 ac_cv_lib_poll_poll=no
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15402 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15403 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15404 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15405 POLL_LIBS="-lpoll"
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15412 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15413 if ${ac_cv_search_gethostbyname+:} false; then :
15414 $as_echo_n "(cached) " >&6
15415 else
15416 ac_func_search_save_LIBS=$LIBS
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15423 #ifdef __cplusplus
15424 extern "C"
15425 #endif
15426 char gethostbyname ();
15428 main ()
15430 return gethostbyname ();
15432 return 0;
15434 _ACEOF
15435 for ac_lib in '' nsl; do
15436 if test -z "$ac_lib"; then
15437 ac_res="none required"
15438 else
15439 ac_res=-l$ac_lib
15440 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15442 if ac_fn_c_try_link "$LINENO"; then :
15443 ac_cv_search_gethostbyname=$ac_res
15445 rm -f core conftest.err conftest.$ac_objext \
15446 conftest$ac_exeext
15447 if ${ac_cv_search_gethostbyname+:} false; then :
15448 break
15450 done
15451 if ${ac_cv_search_gethostbyname+:} false; then :
15453 else
15454 ac_cv_search_gethostbyname=no
15456 rm conftest.$ac_ext
15457 LIBS=$ac_func_search_save_LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15460 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15461 ac_res=$ac_cv_search_gethostbyname
15462 if test "$ac_res" != no; then :
15463 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15469 $as_echo_n "checking for library containing connect... " >&6; }
15470 if ${ac_cv_search_connect+:} false; then :
15471 $as_echo_n "(cached) " >&6
15472 else
15473 ac_func_search_save_LIBS=$LIBS
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 #ifdef __cplusplus
15481 extern "C"
15482 #endif
15483 char connect ();
15485 main ()
15487 return connect ();
15489 return 0;
15491 _ACEOF
15492 for ac_lib in '' socket; do
15493 if test -z "$ac_lib"; then
15494 ac_res="none required"
15495 else
15496 ac_res=-l$ac_lib
15497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_cv_search_connect=$ac_res
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext
15504 if ${ac_cv_search_connect+:} false; then :
15505 break
15507 done
15508 if ${ac_cv_search_connect+:} false; then :
15510 else
15511 ac_cv_search_connect=no
15513 rm conftest.$ac_ext
15514 LIBS=$ac_func_search_save_LIBS
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15517 $as_echo "$ac_cv_search_connect" >&6; }
15518 ac_res=$ac_cv_search_connect
15519 if test "$ac_res" != no; then :
15520 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15526 $as_echo_n "checking for library containing inet_aton... " >&6; }
15527 if ${ac_cv_search_inet_aton+:} false; then :
15528 $as_echo_n "(cached) " >&6
15529 else
15530 ac_func_search_save_LIBS=$LIBS
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15534 /* Override any GCC internal prototype to avoid an error.
15535 Use char because int might match the return type of a GCC
15536 builtin and then its argument prototype would still apply. */
15537 #ifdef __cplusplus
15538 extern "C"
15539 #endif
15540 char inet_aton ();
15542 main ()
15544 return inet_aton ();
15546 return 0;
15548 _ACEOF
15549 for ac_lib in '' resolv; do
15550 if test -z "$ac_lib"; then
15551 ac_res="none required"
15552 else
15553 ac_res=-l$ac_lib
15554 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 ac_cv_search_inet_aton=$ac_res
15559 rm -f core conftest.err conftest.$ac_objext \
15560 conftest$ac_exeext
15561 if ${ac_cv_search_inet_aton+:} false; then :
15562 break
15564 done
15565 if ${ac_cv_search_inet_aton+:} false; then :
15567 else
15568 ac_cv_search_inet_aton=no
15570 rm conftest.$ac_ext
15571 LIBS=$ac_func_search_save_LIBS
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15574 $as_echo "$ac_cv_search_inet_aton" >&6; }
15575 ac_res=$ac_cv_search_inet_aton
15576 if test "$ac_res" != no; then :
15577 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15582 for ac_func in \
15583 getaddrinfo \
15584 getnameinfo \
15585 getnetbyname \
15586 getprotobyname \
15587 getprotobynumber \
15588 getservbyport \
15589 inet_addr \
15590 inet_network \
15591 inet_ntop \
15592 inet_pton \
15593 sendmsg \
15594 socketpair \
15596 do :
15597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15600 cat >>confdefs.h <<_ACEOF
15601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15602 _ACEOF
15605 done
15608 ac_save_LIBS=$LIBS
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15610 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15611 if ${ac_cv_search_clock_gettime+:} false; then :
15612 $as_echo_n "(cached) " >&6
15613 else
15614 ac_func_search_save_LIBS=$LIBS
15615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply. */
15621 #ifdef __cplusplus
15622 extern "C"
15623 #endif
15624 char clock_gettime ();
15626 main ()
15628 return clock_gettime ();
15630 return 0;
15632 _ACEOF
15633 for ac_lib in '' rt; do
15634 if test -z "$ac_lib"; then
15635 ac_res="none required"
15636 else
15637 ac_res=-l$ac_lib
15638 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15640 if ac_fn_c_try_link "$LINENO"; then :
15641 ac_cv_search_clock_gettime=$ac_res
15643 rm -f core conftest.err conftest.$ac_objext \
15644 conftest$ac_exeext
15645 if ${ac_cv_search_clock_gettime+:} false; then :
15646 break
15648 done
15649 if ${ac_cv_search_clock_gettime+:} false; then :
15651 else
15652 ac_cv_search_clock_gettime=no
15654 rm conftest.$ac_ext
15655 LIBS=$ac_func_search_save_LIBS
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15658 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15659 ac_res=$ac_cv_search_clock_gettime
15660 if test "$ac_res" != no; then :
15661 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15663 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15665 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15669 LIBS=$ac_save_LIBS
15671 LDAP_LIBS=""
15673 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15674 then
15675 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15677 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15679 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15680 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 ac_check_lib_save_LIBS=$LIBS
15684 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15691 #ifdef __cplusplus
15692 extern "C"
15693 #endif
15694 char ldap_initialize ();
15696 main ()
15698 return ldap_initialize ();
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"; then :
15704 ac_cv_lib_ldap_r_ldap_initialize=yes
15705 else
15706 ac_cv_lib_ldap_r_ldap_initialize=no
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 LIBS=$ac_check_lib_save_LIBS
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15713 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15714 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15716 $as_echo_n "checking for ber_init in -llber... " >&6; }
15717 if ${ac_cv_lib_lber_ber_init+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 ac_check_lib_save_LIBS=$LIBS
15721 LIBS="-llber $PTHREAD_LIBS $LIBS"
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 #ifdef __cplusplus
15729 extern "C"
15730 #endif
15731 char ber_init ();
15733 main ()
15735 return ber_init ();
15737 return 0;
15739 _ACEOF
15740 if ac_fn_c_try_link "$LINENO"; then :
15741 ac_cv_lib_lber_ber_init=yes
15742 else
15743 ac_cv_lib_lber_ber_init=no
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15747 LIBS=$ac_check_lib_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15750 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15751 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15753 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15755 LDAP_LIBS="-lldap_r -llber"
15762 ac_wine_check_funcs_save_LIBS="$LIBS"
15763 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15764 for ac_func in \
15765 ldap_count_references \
15766 ldap_first_reference \
15767 ldap_next_reference \
15768 ldap_parse_reference \
15769 ldap_parse_sort_control \
15770 ldap_parse_sortresponse_control \
15771 ldap_parse_vlv_control \
15772 ldap_parse_vlvresponse_control
15773 do :
15774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15779 _ACEOF
15782 done
15784 LIBS="$ac_wine_check_funcs_save_LIBS"
15786 if test "x$LDAP_LIBS" = "x"; then :
15787 case "x$with_ldap" in
15788 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15789 xno) ;;
15790 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15791 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15792 esac
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15797 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15798 if ${wine_cv_one_arg_mkdir+:} false; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #include <sys/stat.h>
15805 main ()
15807 mkdir("foo");
15809 return 0;
15811 _ACEOF
15812 if ac_fn_c_try_compile "$LINENO"; then :
15813 wine_cv_one_arg_mkdir=yes
15814 else
15815 wine_cv_one_arg_mkdir=no
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15820 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15821 if test "$wine_cv_one_arg_mkdir" = "yes"
15822 then
15824 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15829 $as_echo_n "checking for sched_setaffinity... " >&6; }
15830 if ${wine_cv_have_sched_setaffinity+:} false; then :
15831 $as_echo_n "(cached) " >&6
15832 else
15833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _GNU_SOURCE
15836 #include <sched.h>
15838 main ()
15840 sched_setaffinity(0, 0, 0);
15842 return 0;
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 wine_cv_have_sched_setaffinity=yes
15847 else
15848 wine_cv_have_sched_setaffinity=no
15850 rm -f core conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15854 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15855 if test "$wine_cv_have_sched_setaffinity" = "yes"
15856 then
15858 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15863 $as_echo_n "checking for fallocate... " >&6; }
15864 if ${wine_cv_have_fallocate+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 #define _GNU_SOURCE
15870 #include <fcntl.h>
15872 main ()
15874 fallocate(-1, 0, 0, 0);
15876 return 0;
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"; then :
15880 wine_cv_have_fallocate=yes
15881 else
15882 wine_cv_have_fallocate=no
15884 rm -f core conftest.err conftest.$ac_objext \
15885 conftest$ac_exeext conftest.$ac_ext
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15888 $as_echo "$wine_cv_have_fallocate" >&6; }
15889 if test "$wine_cv_have_fallocate" = "yes"
15890 then
15892 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15898 $as_echo_n "checking for inline... " >&6; }
15899 if ${ac_cv_c_inline+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_cv_c_inline=no
15903 for ac_kw in inline __inline__ __inline; do
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #ifndef __cplusplus
15907 typedef int foo_t;
15908 static $ac_kw foo_t static_foo () {return 0; }
15909 $ac_kw foo_t foo () {return 0; }
15910 #endif
15912 _ACEOF
15913 if ac_fn_c_try_compile "$LINENO"; then :
15914 ac_cv_c_inline=$ac_kw
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917 test "$ac_cv_c_inline" != no && break
15918 done
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15922 $as_echo "$ac_cv_c_inline" >&6; }
15924 case $ac_cv_c_inline in
15925 inline | yes) ;;
15927 case $ac_cv_c_inline in
15928 no) ac_val=;;
15929 *) ac_val=$ac_cv_c_inline;;
15930 esac
15931 cat >>confdefs.h <<_ACEOF
15932 #ifndef __cplusplus
15933 #define inline $ac_val
15934 #endif
15935 _ACEOF
15937 esac
15939 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15940 if test "x$ac_cv_type_mode_t" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_MODE_T 1
15944 _ACEOF
15948 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15949 if test "x$ac_cv_type_off_t" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_OFF_T 1
15953 _ACEOF
15957 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15958 if test "x$ac_cv_type_pid_t" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_PID_T 1
15962 _ACEOF
15966 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15967 if test "x$ac_cv_type_size_t" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_SIZE_T 1
15971 _ACEOF
15975 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15976 if test "x$ac_cv_type_ssize_t" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_SSIZE_T 1
15980 _ACEOF
15984 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15985 if test "x$ac_cv_type_long_long" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_LONG_LONG 1
15989 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_FSBLKCNT_T 1
15998 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16003 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_FSFILCNT_T 1
16007 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16013 #include <signal.h>
16015 if test "x$ac_cv_type_sigset_t" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_SIGSET_T 1
16019 _ACEOF
16024 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16026 if test "x$ac_cv_type_request_sense" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_REQUEST_SENSE 1
16030 _ACEOF
16036 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_SOCKET_H
16038 #include <sys/socket.h>
16039 #endif
16040 #ifdef HAVE_SYS_SOCKETVAR_H
16041 #include <sys/socketvar.h>
16042 #endif
16043 #ifdef HAVE_NET_ROUTE_H
16044 #include <net/route.h>
16045 #endif
16046 #ifdef HAVE_NETINET_IN_H
16047 #include <netinet/in.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IN_SYSTM_H
16050 #include <netinet/in_systm.h>
16051 #endif
16052 #ifdef HAVE_NETINET_IP_H
16053 #include <netinet/ip.h>
16054 #endif
16055 #ifdef HAVE_NETINET_IN_PCB_H
16056 #include <netinet/in_pcb.h>
16057 #endif
16059 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_XINPGEN 1
16063 _ACEOF
16069 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16070 #include <link.h>
16071 #endif
16072 #ifdef HAVE_SYS_LINK_H
16073 #include <sys/link.h>
16074 #endif
16076 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_R_DEBUG 1
16080 _ACEOF
16084 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16085 #include <link.h>
16086 #endif
16087 #ifdef HAVE_SYS_LINK_H
16088 #include <sys/link.h>
16089 #endif
16091 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_LINK_MAP 1
16095 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16102 #include <linux/input.h>
16103 #endif
16105 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16109 _ACEOF
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16116 $as_echo_n "checking for sigaddset... " >&6; }
16117 if ${wine_cv_have_sigaddset+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 #include <signal.h>
16124 main ()
16126 sigset_t set; sigaddset(&set,SIGTERM);
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 wine_cv_have_sigaddset=yes
16133 else
16134 wine_cv_have_sigaddset=no
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16140 $as_echo "$wine_cv_have_sigaddset" >&6; }
16141 if test "$wine_cv_have_sigaddset" = "yes"
16142 then
16144 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16150 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16151 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 #include <netdb.h>
16158 main ()
16161 char *name=0;
16162 struct hostent he;
16163 struct hostent *result;
16164 char *buf=0;
16165 int bufsize=0;
16166 int errnr;
16167 char *addr=0;
16168 int addrlen=0;
16169 int addrtype=0;
16170 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16171 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 wine_cv_linux_gethostbyname_r_6=yes
16179 else
16180 wine_cv_linux_gethostbyname_r_6=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16188 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16189 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16190 then
16192 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16196 if test "$ac_cv_header_linux_joystick_h" = "yes"
16197 then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16199 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16200 if ${wine_cv_linux_joystick_22_api+:} false; then :
16201 $as_echo_n "(cached) " >&6
16202 else
16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 #include <sys/ioctl.h>
16207 #include <sys/types.h>
16208 #include <linux/joystick.h>
16210 struct js_event blub;
16211 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16212 #error "no 2.2 header"
16213 #endif
16216 main ()
16218 /*empty*/
16220 return 0;
16222 _ACEOF
16223 if ac_fn_c_try_compile "$LINENO"; then :
16224 wine_cv_linux_joystick_22_api=yes
16225 else
16226 wine_cv_linux_joystick_22_api=no
16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16232 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16233 if test "$wine_cv_linux_joystick_22_api" = "yes"
16234 then
16236 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16242 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16243 #ifdef HAVE_SYS_PARAM_H
16244 # include <sys/param.h>
16245 #endif
16246 #ifdef HAVE_SYS_MOUNT_H
16247 # include <sys/mount.h>
16248 #endif
16249 #ifdef HAVE_SYS_VFS_H
16250 # include <sys/vfs.h>
16251 #endif
16252 #ifdef HAVE_SYS_STATFS_H
16253 # include <sys/statfs.h>
16254 #endif
16256 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_STRUCT_STATFS_F_BFREE 1
16260 _ACEOF
16264 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16265 #ifdef HAVE_SYS_PARAM_H
16266 # include <sys/param.h>
16267 #endif
16268 #ifdef HAVE_SYS_MOUNT_H
16269 # include <sys/mount.h>
16270 #endif
16271 #ifdef HAVE_SYS_VFS_H
16272 # include <sys/vfs.h>
16273 #endif
16274 #ifdef HAVE_SYS_STATFS_H
16275 # include <sys/statfs.h>
16276 #endif
16278 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16282 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16287 #ifdef HAVE_SYS_PARAM_H
16288 # include <sys/param.h>
16289 #endif
16290 #ifdef HAVE_SYS_MOUNT_H
16291 # include <sys/mount.h>
16292 #endif
16293 #ifdef HAVE_SYS_VFS_H
16294 # include <sys/vfs.h>
16295 #endif
16296 #ifdef HAVE_SYS_STATFS_H
16297 # include <sys/statfs.h>
16298 #endif
16300 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16302 cat >>confdefs.h <<_ACEOF
16303 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16304 _ACEOF
16308 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16309 #ifdef HAVE_SYS_PARAM_H
16310 # include <sys/param.h>
16311 #endif
16312 #ifdef HAVE_SYS_MOUNT_H
16313 # include <sys/mount.h>
16314 #endif
16315 #ifdef HAVE_SYS_VFS_H
16316 # include <sys/vfs.h>
16317 #endif
16318 #ifdef HAVE_SYS_STATFS_H
16319 # include <sys/statfs.h>
16320 #endif
16322 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_STATFS_F_FFREE 1
16326 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16331 #ifdef HAVE_SYS_PARAM_H
16332 # include <sys/param.h>
16333 #endif
16334 #ifdef HAVE_SYS_MOUNT_H
16335 # include <sys/mount.h>
16336 #endif
16337 #ifdef HAVE_SYS_VFS_H
16338 # include <sys/vfs.h>
16339 #endif
16340 #ifdef HAVE_SYS_STATFS_H
16341 # include <sys/statfs.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16353 #ifdef HAVE_SYS_PARAM_H
16354 # include <sys/param.h>
16355 #endif
16356 #ifdef HAVE_SYS_MOUNT_H
16357 # include <sys/mount.h>
16358 #endif
16359 #ifdef HAVE_SYS_VFS_H
16360 # include <sys/vfs.h>
16361 #endif
16362 #ifdef HAVE_SYS_STATFS_H
16363 # include <sys/statfs.h>
16364 #endif
16366 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16370 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16377 #include <sys/statvfs.h>
16378 #endif
16380 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16384 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16391 #include <dirent.h>
16392 #endif
16394 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16396 cat >>confdefs.h <<_ACEOF
16397 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16398 _ACEOF
16404 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16405 #ifdef HAVE_SYS_SOCKET_H
16406 # include <sys/socket.h>
16407 #endif
16408 #ifdef HAVE_SYS_UN_H
16409 # include <sys/un.h>
16410 #endif
16412 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16416 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16421 #ifdef HAVE_SYS_SOCKET_H
16422 # include <sys/socket.h>
16423 #endif
16424 #ifdef HAVE_SYS_UN_H
16425 # include <sys/un.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16432 _ACEOF
16436 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16437 #ifdef HAVE_SYS_SOCKET_H
16438 # include <sys/socket.h>
16439 #endif
16440 #ifdef HAVE_SYS_UN_H
16441 # include <sys/un.h>
16442 #endif
16444 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16448 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16455 #ifdef HAVE_SCSI_SG_H
16456 #include <scsi/sg.h>
16457 #endif
16459 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_SCSIREQ_T_CMD 1
16463 _ACEOF
16467 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>
16468 #ifdef HAVE_SCSI_SG_H
16469 #include <scsi/sg.h>
16470 #endif
16472 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16476 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16484 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_SIGINFO_T_SI_FD 1
16488 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16495 #ifdef HAVE_SYS_MTIO_H
16496 #include <sys/mtio.h>
16497 #endif
16499 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16503 _ACEOF
16507 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16508 #ifdef HAVE_SYS_MTIO_H
16509 #include <sys/mtio.h>
16510 #endif
16512 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16516 _ACEOF
16520 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16521 #ifdef HAVE_SYS_MTIO_H
16522 #include <sys/mtio.h>
16523 #endif
16525 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16529 _ACEOF
16535 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16536 #include <getopt.h>
16537 #endif
16539 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_STRUCT_OPTION_NAME 1
16543 _ACEOF
16549 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16550 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16554 _ACEOF
16558 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16559 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_STAT_ST_MTIM 1
16563 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16568 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16572 _ACEOF
16576 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16577 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_STAT_ST_CTIM 1
16581 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16586 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16590 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_ATIM 1
16599 _ACEOF
16603 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16608 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16617 _ACEOF
16621 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16653 _ACEOF
16659 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
16660 #include <sys/types.h>
16661 #endif
16662 #ifdef HAVE_NETINET_IN_H
16663 #include <netinet/in.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16670 _ACEOF
16676 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16677 #include <resolv.h>
16678 #endif
16680 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_STRUCT___RES_STATE 1
16684 _ACEOF
16690 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
16691 #include <resolv.h>
16692 #endif
16694 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16698 _ACEOF
16704 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16705 #include <sys/types.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IN_H
16708 # include <netinet/in.h>
16709 #endif
16710 #ifdef HAVE_ARPA_NAMESER_H
16711 # include <arpa/nameser.h>
16712 #endif
16714 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_NS_MSG__MSG_PTR 1
16718 _ACEOF
16724 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16725 #include <sys/types.h>
16726 #endif
16727 #ifdef HAVE_NETINET_IP_H
16728 #include <netinet/ip.h>
16729 #endif
16730 #ifdef HAVE_NETINET_IP_ICMP_H
16731 #include <netinet/ip_icmp.h>
16732 #endif
16733 #ifdef HAVE_NETINET_ICMP_VAR_H
16734 #include <netinet/icmp_var.h>
16735 #endif
16737 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16741 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16748 #include <sys/types.h>
16749 #endif
16750 #ifdef HAVE_ALIAS_H
16751 #include <alias.h>
16752 #endif
16753 #ifdef HAVE_SYS_SOCKET_H
16754 #include <sys/socket.h>
16755 #endif
16756 #ifdef HAVE_SYS_SOCKETVAR_H
16757 #include <sys/socketvar.h>
16758 #endif
16759 #ifdef HAVE_SYS_TIMEOUT_H
16760 #include <sys/timeout.h>
16761 #endif
16762 #ifdef HAVE_NETINET_IN_H
16763 #include <netinet/in.h>
16764 #endif
16765 #ifdef HAVE_NETINET_IN_SYSTM_H
16766 #include <netinet/in_systm.h>
16767 #endif
16768 #ifdef HAVE_NETINET_IP_H
16769 #include <netinet/ip.h>
16770 #endif
16771 #ifdef HAVE_NETINET_IP_VAR_H
16772 #include <netinet/ip_var.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IP_ICMP_H
16775 #include <netinet/ip_icmp.h>
16776 #endif
16777 #ifdef HAVE_NETINET_ICMP_VAR_H
16778 #include <netinet/icmp_var.h>
16779 #endif
16781 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16785 _ACEOF
16791 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16792 #include <sys/types.h>
16793 #endif
16794 #ifdef HAVE_SYS_SOCKETVAR_H
16795 #include <sys/socketvar.h>
16796 #endif
16797 #ifdef HAVE_NETINET_IN_H
16798 #include <netinet/in.h>
16799 #endif
16800 #ifdef HAVE_NETINET_IP_VAR_H
16801 #include <netinet/ip_var.h>
16802 #endif
16804 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16808 _ACEOF
16814 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
16815 #include <netinet/ip_var.h>
16816 #endif
16818 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16820 cat >>confdefs.h <<_ACEOF
16821 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16822 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16829 #include <sys/types.h>
16830 #endif
16831 #ifdef HAVE_SYS_SOCKETVAR_H
16832 #include <sys/socketvar.h>
16833 #endif
16834 #ifdef HAVE_NETINET_IN_H
16835 #include <netinet/in.h>
16836 #endif
16837 #ifdef HAVE_NETINET_TCP_H
16838 #include <netinet/tcp.h>
16839 #endif
16840 #ifdef HAVE_NETINET_TCP_VAR_H
16841 #include <netinet/tcp_var.h>
16842 #endif
16844 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16848 _ACEOF
16854 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
16855 #include <netinet/tcp_var.h>
16856 #endif
16858 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16862 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16869 #include <sys/types.h>
16870 #endif
16871 #ifdef HAVE_NETINET_IN_H
16872 #include <netinet/in.h>
16873 #endif
16874 #ifdef HAVE_NETINET_IP_VAR_H
16875 #include <netinet/ip_var.h>
16876 #endif
16877 #ifdef HAVE_NETINET_UDP_H
16878 #include <netinet/udp.h>
16879 #endif
16880 #ifdef HAVE_NETINET_UDP_VAR_H
16881 #include <netinet/udp_var.h>
16882 #endif
16884 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16886 cat >>confdefs.h <<_ACEOF
16887 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16888 _ACEOF
16894 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16895 #include <sys/types.h>
16896 #endif
16897 #ifdef HAVE_NET_IF_H
16898 # include <net/if.h>
16899 #endif
16901 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16905 _ACEOF
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16912 $as_echo_n "checking for timezone variable... " >&6; }
16913 if ${ac_cv_have_timezone+:} false; then :
16914 $as_echo_n "(cached) " >&6
16915 else
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16918 #include <time.h>
16920 main ()
16922 timezone = 1
16924 return 0;
16926 _ACEOF
16927 if ac_fn_c_try_link "$LINENO"; then :
16928 ac_cv_have_timezone="yes"
16929 else
16930 ac_cv_have_timezone="no"
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16936 $as_echo "$ac_cv_have_timezone" >&6; }
16937 if test "$ac_cv_have_timezone" = "yes"
16938 then
16940 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16944 $as_echo_n "checking for daylight variable... " >&6; }
16945 if ${ac_cv_have_daylight+:} false; then :
16946 $as_echo_n "(cached) " >&6
16947 else
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16950 #include <time.h>
16952 main ()
16954 daylight = 1
16956 return 0;
16958 _ACEOF
16959 if ac_fn_c_try_link "$LINENO"; then :
16960 ac_cv_have_daylight="yes"
16961 else
16962 ac_cv_have_daylight="no"
16964 rm -f core conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16968 $as_echo "$ac_cv_have_daylight" >&6; }
16969 if test "$ac_cv_have_daylight" = "yes"
16970 then
16972 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16976 ac_save_LIBS="$LIBS"
16977 LIBS="$LIBS -lm"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16979 $as_echo_n "checking for isfinite... " >&6; }
16980 if ${ac_cv_have_isfinite+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #define _GNU_SOURCE
16986 #include <math.h>
16988 main ()
16990 float f = 0.0; return isfinite(f)
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_link "$LINENO"; then :
16996 ac_cv_have_isfinite="yes"
16997 else
16998 ac_cv_have_isfinite="no"
17000 rm -f core conftest.err conftest.$ac_objext \
17001 conftest$ac_exeext conftest.$ac_ext
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17004 $as_echo "$ac_cv_have_isfinite" >&6; }
17005 if test "$ac_cv_have_isfinite" = "yes"
17006 then
17008 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17013 $as_echo_n "checking for isinf... " >&6; }
17014 if ${ac_cv_have_isinf+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <math.h>
17021 main ()
17023 float f = 0.0; return isinf(f)
17025 return 0;
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 ac_cv_have_isinf="yes"
17030 else
17031 ac_cv_have_isinf="no"
17033 rm -f core conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17037 $as_echo "$ac_cv_have_isinf" >&6; }
17038 if test "$ac_cv_have_isinf" = "yes"
17039 then
17041 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17046 $as_echo_n "checking for isnan... " >&6; }
17047 if ${ac_cv_have_isnan+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #include <math.h>
17054 main ()
17056 float f = 0.0; return isnan(f)
17058 return 0;
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_have_isnan="yes"
17063 else
17064 ac_cv_have_isnan="no"
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17070 $as_echo "$ac_cv_have_isnan" >&6; }
17071 if test "$ac_cv_have_isnan" = "yes"
17072 then
17074 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17078 for ac_func in \
17079 asinh \
17080 asinhf \
17081 cbrt \
17082 cbrtf \
17083 erf \
17084 erff \
17085 exp2 \
17086 exp2f \
17087 lgamma \
17088 lgammaf \
17089 llrint \
17090 llrintf \
17091 llround \
17092 llroundf \
17093 log2 \
17094 log2f \
17095 lrint \
17096 lrintf \
17097 lround \
17098 lroundf \
17099 powl \
17100 remainder \
17101 remainderf \
17102 rint \
17103 rintf \
17104 round \
17105 roundf \
17106 trunc \
17107 truncf
17109 do :
17110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17115 _ACEOF
17118 done
17120 LIBS="$ac_save_LIBS"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17123 $as_echo_n "checking for __builtin_clz... " >&6; }
17124 if ${ac_cv_have___builtin_clz+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17131 main ()
17133 return __builtin_clz(1)
17135 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_have___builtin_clz="yes"
17140 else
17141 ac_cv_have___builtin_clz="no"
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17147 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17148 if test "$ac_cv_have___builtin_clz" = "yes"
17149 then
17151 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17156 $as_echo_n "checking for __builtin_popcount... " >&6; }
17157 if ${ac_cv_have___builtin_popcount+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17164 main ()
17166 return __builtin_popcount(1)
17168 return 0;
17170 _ACEOF
17171 if ac_fn_c_try_link "$LINENO"; then :
17172 ac_cv_have___builtin_popcount="yes"
17173 else
17174 ac_cv_have___builtin_popcount="no"
17176 rm -f core conftest.err conftest.$ac_objext \
17177 conftest$ac_exeext conftest.$ac_ext
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17180 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17181 if test "$ac_cv_have___builtin_popcount" = "yes"
17182 then
17184 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17189 case $host_cpu in
17190 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17191 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17192 if ${ac_cv_cpp_def___i386__+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17197 #ifndef __i386__
17199 #endif
17200 _ACEOF
17201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17202 $EGREP "yes" >/dev/null 2>&1; then :
17203 ac_cv_cpp_def___i386__=yes
17204 else
17205 ac_cv_cpp_def___i386__=no
17207 rm -f conftest*
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17211 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17212 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17213 CFLAGS="$CFLAGS -D__i386__"
17214 LINTFLAGS="$LINTFLAGS -D__i386__"
17215 fi ;;
17216 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17217 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17218 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #ifndef __x86_64__
17225 #endif
17226 _ACEOF
17227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17228 $EGREP "yes" >/dev/null 2>&1; then :
17229 ac_cv_cpp_def___x86_64__=yes
17230 else
17231 ac_cv_cpp_def___x86_64__=no
17233 rm -f conftest*
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17237 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17238 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17239 CFLAGS="$CFLAGS -D__x86_64__"
17240 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17241 fi ;;
17242 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17243 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17244 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #ifndef __sparc64__
17251 #endif
17252 _ACEOF
17253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17254 $EGREP "yes" >/dev/null 2>&1; then :
17255 ac_cv_cpp_def___sparc64__=yes
17256 else
17257 ac_cv_cpp_def___sparc64__=no
17259 rm -f conftest*
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17263 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17264 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17265 CFLAGS="$CFLAGS -D__sparc64__"
17266 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17267 fi ;;
17268 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17269 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17270 if ${ac_cv_cpp_def___sparc__+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17275 #ifndef __sparc__
17277 #endif
17278 _ACEOF
17279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17280 $EGREP "yes" >/dev/null 2>&1; then :
17281 ac_cv_cpp_def___sparc__=yes
17282 else
17283 ac_cv_cpp_def___sparc__=no
17285 rm -f conftest*
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17289 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17290 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17291 CFLAGS="$CFLAGS -D__sparc__"
17292 LINTFLAGS="$LINTFLAGS -D__sparc__"
17293 fi ;;
17294 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17295 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17296 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #ifndef __powerpc64__
17303 #endif
17304 _ACEOF
17305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17306 $EGREP "yes" >/dev/null 2>&1; then :
17307 ac_cv_cpp_def___powerpc64__=yes
17308 else
17309 ac_cv_cpp_def___powerpc64__=no
17311 rm -f conftest*
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17315 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17316 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17317 CFLAGS="$CFLAGS -D__powerpc64__"
17318 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17319 fi ;;
17320 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17321 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17322 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 #ifndef __powerpc__
17329 #endif
17330 _ACEOF
17331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17332 $EGREP "yes" >/dev/null 2>&1; then :
17333 ac_cv_cpp_def___powerpc__=yes
17334 else
17335 ac_cv_cpp_def___powerpc__=no
17337 rm -f conftest*
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17341 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17342 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17343 CFLAGS="$CFLAGS -D__powerpc__"
17344 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17345 fi ;;
17346 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17347 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17348 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 #ifndef __aarch64__
17355 #endif
17356 _ACEOF
17357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17358 $EGREP "yes" >/dev/null 2>&1; then :
17359 ac_cv_cpp_def___aarch64__=yes
17360 else
17361 ac_cv_cpp_def___aarch64__=no
17363 rm -f conftest*
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17367 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17368 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17369 CFLAGS="$CFLAGS -D__aarch64__"
17370 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17371 fi ;;
17372 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17373 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17374 if ${ac_cv_cpp_def___arm__+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #ifndef __arm__
17381 #endif
17382 _ACEOF
17383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17384 $EGREP "yes" >/dev/null 2>&1; then :
17385 ac_cv_cpp_def___arm__=yes
17386 else
17387 ac_cv_cpp_def___arm__=no
17389 rm -f conftest*
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17393 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17394 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17395 CFLAGS="$CFLAGS -D__arm__"
17396 LINTFLAGS="$LINTFLAGS -D__arm__"
17397 fi ;;
17398 esac
17400 case $host_vendor in
17401 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17402 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17403 if ${ac_cv_cpp_def___sun__+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #ifndef __sun__
17410 #endif
17411 _ACEOF
17412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17413 $EGREP "yes" >/dev/null 2>&1; then :
17414 ac_cv_cpp_def___sun__=yes
17415 else
17416 ac_cv_cpp_def___sun__=no
17418 rm -f conftest*
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17422 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17423 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17424 CFLAGS="$CFLAGS -D__sun__"
17425 LINTFLAGS="$LINTFLAGS -D__sun__"
17426 fi ;;
17427 esac
17433 ac_config_commands="$ac_config_commands include/stamp-h"
17435 $as_echo_n "creating Makefile rules..." >&6
17437 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17438 SOCKET_LIBS = $SOCKET_LIBS
17439 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17440 IOKIT_LIBS = $IOKIT_LIBS
17441 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17442 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17443 CORESERVICES_LIBS = $CORESERVICES_LIBS
17444 APPKIT_LIBS = $APPKIT_LIBS
17445 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17446 SECURITY_LIBS = $SECURITY_LIBS
17447 COREAUDIO_LIBS = $COREAUDIO_LIBS
17448 OPENAL_LIBS = $OPENAL_LIBS
17449 OPENCL_LIBS = $OPENCL_LIBS
17450 QUICKTIME_LIBS = $QUICKTIME_LIBS
17451 CARBON_LIBS = $CARBON_LIBS
17452 PTHREAD_LIBS = $PTHREAD_LIBS
17453 X_CFLAGS = $X_CFLAGS
17454 X_PRE_LIBS = $X_PRE_LIBS
17455 X_LIBS = $X_LIBS
17456 X_EXTRA_LIBS = $X_EXTRA_LIBS
17457 PCAP_LIBS = $PCAP_LIBS
17458 XML2_CFLAGS = $XML2_CFLAGS
17459 XML2_LIBS = $XML2_LIBS
17460 XSLT_CFLAGS = $XSLT_CFLAGS
17461 XSLT_LIBS = $XSLT_LIBS
17462 DBUS_CFLAGS = $DBUS_CFLAGS
17463 DBUS_LIBS = $DBUS_LIBS
17464 HAL_CFLAGS = $HAL_CFLAGS
17465 HAL_LIBS = $HAL_LIBS
17466 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17467 GNUTLS_LIBS = $GNUTLS_LIBS
17468 SANE_CFLAGS = $SANE_CFLAGS
17469 SANE_LIBS = $SANE_LIBS
17470 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17471 GPHOTO2_LIBS = $GPHOTO2_LIBS
17472 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17473 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17474 RESOLV_LIBS = $RESOLV_LIBS
17475 LCMS2_CFLAGS = $LCMS2_CFLAGS
17476 LCMS2_LIBS = $LCMS2_LIBS
17477 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17478 FREETYPE_LIBS = $FREETYPE_LIBS
17479 Z_LIBS = $Z_LIBS
17480 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17481 PULSE_CFLAGS = $PULSE_CFLAGS
17482 PULSE_LIBS = $PULSE_LIBS
17483 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17484 GSTREAMER_LIBS = $GSTREAMER_LIBS
17485 ALSA_LIBS = $ALSA_LIBS
17486 OSS4_CFLAGS = $OSS4_CFLAGS
17487 UDEV_CFLAGS = $UDEV_CFLAGS
17488 UDEV_LIBS = $UDEV_LIBS
17489 CAPI20_CFLAGS = $CAPI20_CFLAGS
17490 CAPI20_LIBS = $CAPI20_LIBS
17491 CUPS_CFLAGS = $CUPS_CFLAGS
17492 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17493 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17494 JPEG_CFLAGS = $JPEG_CFLAGS
17495 JPEG_LIBS = $JPEG_LIBS
17496 PNG_CFLAGS = $PNG_CFLAGS
17497 PNG_LIBS = $PNG_LIBS
17498 TIFF_CFLAGS = $TIFF_CFLAGS
17499 TIFF_LIBS = $TIFF_LIBS
17500 MPG123_CFLAGS = $MPG123_CFLAGS
17501 MPG123_LIBS = $MPG123_LIBS
17502 KSTAT_LIBS = $KSTAT_LIBS
17503 PROCSTAT_LIBS = $PROCSTAT_LIBS
17504 NETAPI_CFLAGS = $NETAPI_CFLAGS
17505 NETAPI_LIBS = $NETAPI_LIBS
17506 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17507 DL_LIBS = $DL_LIBS
17508 POLL_LIBS = $POLL_LIBS
17509 RT_LIBS = $RT_LIBS
17510 LDAP_LIBS = $LDAP_LIBS
17515 wine_fn_append_rule "
17516 # Rules automatically generated by configure
17518 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17520 .INIT: Makefile
17521 .MAKEFILEDEPS:
17522 all: Makefile
17523 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17524 @./config.status Make.tmp Makefile
17525 depend: \$(MAKEDEP) dummy
17526 \$(MAKEDEP)"
17528 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17529 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17531 if test "x$enable_fonts" != xno; then
17532 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17533 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17534 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17535 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17536 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17537 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17539 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17540 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17541 ac_config_links="$ac_config_links wine:tools/winewrapper"
17542 wine_fn_config_symlink wine
17543 if test "x$enable_win64" != xno; then
17544 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17545 wine_fn_config_symlink wine64
17548 wine_fn_config_dll acledit enable_acledit
17549 wine_fn_config_dll aclui enable_aclui implib
17550 wine_fn_config_dll activeds enable_activeds implib
17551 wine_fn_config_dll actxprxy enable_actxprxy clean
17552 wine_fn_config_lib adsiid
17553 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17554 wine_fn_config_test dlls/advapi32/tests advapi32_test
17555 wine_fn_config_dll advpack enable_advpack implib
17556 wine_fn_config_test dlls/advpack/tests advpack_test
17557 wine_fn_config_dll amstream enable_amstream clean
17558 wine_fn_config_test dlls/amstream/tests amstream_test
17559 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17566 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17568 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17575 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17579 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17580 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17581 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17582 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17585 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17588 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17599 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17601 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17602 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17603 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17609 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17610 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17622 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17634 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17638 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17641 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17654 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17661 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17662 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17663 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17664 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17665 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17666 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17667 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17676 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17677 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17678 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17679 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17680 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17681 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17685 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17686 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17687 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17688 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17689 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17690 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17691 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17692 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17693 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17694 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17695 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17696 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17697 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17698 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17699 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17700 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17701 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17702 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17703 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17704 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17705 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17706 wine_fn_config_dll apphelp enable_apphelp
17707 wine_fn_config_test dlls/apphelp/tests apphelp_test
17708 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17709 wine_fn_config_dll atl enable_atl clean,implib
17710 wine_fn_config_test dlls/atl/tests atl_test
17711 wine_fn_config_dll atl100 enable_atl100 clean,implib
17712 wine_fn_config_test dlls/atl100/tests atl100_test
17713 wine_fn_config_dll atl110 enable_atl110 clean
17714 wine_fn_config_dll atl80 enable_atl80 clean,implib
17715 wine_fn_config_test dlls/atl80/tests atl80_test
17716 wine_fn_config_dll atl90 enable_atl90 clean
17717 wine_fn_config_dll authz enable_authz
17718 wine_fn_config_dll avicap32 enable_avicap32 implib
17719 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17720 wine_fn_config_test dlls/avifil32/tests avifil32_test
17721 wine_fn_config_dll avifile.dll16 enable_win16
17722 wine_fn_config_dll avrt enable_avrt implib
17723 wine_fn_config_dll bcrypt enable_bcrypt implib
17724 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17725 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17726 wine_fn_config_dll browseui enable_browseui clean
17727 wine_fn_config_test dlls/browseui/tests browseui_test
17728 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17729 wine_fn_config_dll cabinet enable_cabinet implib
17730 wine_fn_config_test dlls/cabinet/tests cabinet_test
17731 wine_fn_config_dll capi2032 enable_capi2032 implib
17732 wine_fn_config_dll cards enable_cards implib
17733 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17734 wine_fn_config_dll clusapi enable_clusapi implib
17735 wine_fn_config_dll combase enable_combase
17736 wine_fn_config_test dlls/combase/tests combase_test
17737 wine_fn_config_dll comcat enable_comcat
17738 wine_fn_config_test dlls/comcat/tests comcat_test
17739 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17740 wine_fn_config_test dlls/comctl32/tests comctl32_test
17741 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17742 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17743 wine_fn_config_dll comm.drv16 enable_win16
17744 wine_fn_config_dll commdlg.dll16 enable_win16
17745 wine_fn_config_dll compobj.dll16 enable_win16
17746 wine_fn_config_dll compstui enable_compstui implib
17747 wine_fn_config_dll comsvcs enable_comsvcs implib
17748 wine_fn_config_dll concrt140 enable_concrt140
17749 wine_fn_config_dll connect enable_connect
17750 wine_fn_config_dll credui enable_credui clean,implib
17751 wine_fn_config_test dlls/credui/tests credui_test
17752 wine_fn_config_dll crtdll enable_crtdll
17753 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17754 wine_fn_config_test dlls/crypt32/tests crypt32_test
17755 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17756 wine_fn_config_dll cryptdll enable_cryptdll implib
17757 wine_fn_config_dll cryptext enable_cryptext
17758 wine_fn_config_dll cryptnet enable_cryptnet implib
17759 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17760 wine_fn_config_dll cryptui enable_cryptui clean,implib
17761 wine_fn_config_test dlls/cryptui/tests cryptui_test
17762 wine_fn_config_dll ctapi32 enable_ctapi32
17763 wine_fn_config_dll ctl3d.dll16 enable_win16
17764 wine_fn_config_dll ctl3d32 enable_ctl3d32
17765 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17766 wine_fn_config_dll d2d1 enable_d2d1 implib
17767 wine_fn_config_test dlls/d2d1/tests d2d1_test
17768 wine_fn_config_dll d3d10 enable_d3d10 implib
17769 wine_fn_config_test dlls/d3d10/tests d3d10_test
17770 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17771 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17772 wine_fn_config_dll d3d10core enable_d3d10core implib
17773 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17774 wine_fn_config_dll d3d11 enable_d3d11 implib
17775 wine_fn_config_test dlls/d3d11/tests d3d11_test
17776 wine_fn_config_dll d3d8 enable_d3d8 implib
17777 wine_fn_config_test dlls/d3d8/tests d3d8_test
17778 wine_fn_config_dll d3d9 enable_d3d9 implib
17779 wine_fn_config_test dlls/d3d9/tests d3d9_test
17780 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17781 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17782 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17783 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17784 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17785 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17786 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17787 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17788 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17789 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17790 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17791 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17792 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17793 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17794 wine_fn_config_dll d3dim enable_d3dim
17795 wine_fn_config_dll d3drm enable_d3drm implib
17796 wine_fn_config_test dlls/d3drm/tests d3drm_test
17797 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17798 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17799 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17800 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17801 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17802 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17803 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17804 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17805 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17806 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17807 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17808 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17809 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17810 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17811 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17812 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17813 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17814 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17815 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17816 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17817 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17818 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17819 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17820 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17821 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17822 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17823 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17824 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17825 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17826 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17827 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17828 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17829 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17830 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17831 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17832 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17833 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17834 wine_fn_config_dll davclnt enable_davclnt
17835 wine_fn_config_dll dbgeng enable_dbgeng implib
17836 wine_fn_config_dll dbghelp enable_dbghelp implib
17837 wine_fn_config_dll dciman32 enable_dciman32 implib
17838 wine_fn_config_dll ddeml.dll16 enable_win16
17839 wine_fn_config_dll ddraw enable_ddraw clean,implib
17840 wine_fn_config_test dlls/ddraw/tests ddraw_test
17841 wine_fn_config_dll ddrawex enable_ddrawex clean
17842 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17843 wine_fn_config_dll devenum enable_devenum clean
17844 wine_fn_config_test dlls/devenum/tests devenum_test
17845 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17846 wine_fn_config_dll difxapi enable_difxapi
17847 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17848 wine_fn_config_test dlls/dinput/tests dinput_test
17849 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17850 wine_fn_config_test dlls/dinput8/tests dinput8_test
17851 wine_fn_config_dll dispdib.dll16 enable_win16
17852 wine_fn_config_dll dispex enable_dispex clean
17853 wine_fn_config_test dlls/dispex/tests dispex_test
17854 wine_fn_config_dll display.drv16 enable_win16
17855 wine_fn_config_dll dmband enable_dmband clean
17856 wine_fn_config_test dlls/dmband/tests dmband_test
17857 wine_fn_config_dll dmcompos enable_dmcompos clean
17858 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17859 wine_fn_config_dll dmime enable_dmime clean
17860 wine_fn_config_test dlls/dmime/tests dmime_test
17861 wine_fn_config_dll dmloader enable_dmloader clean
17862 wine_fn_config_test dlls/dmloader/tests dmloader_test
17863 wine_fn_config_dll dmscript enable_dmscript clean
17864 wine_fn_config_test dlls/dmscript/tests dmscript_test
17865 wine_fn_config_dll dmstyle enable_dmstyle clean
17866 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17867 wine_fn_config_dll dmsynth enable_dmsynth clean
17868 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17869 wine_fn_config_dll dmusic enable_dmusic clean
17870 wine_fn_config_test dlls/dmusic/tests dmusic_test
17871 wine_fn_config_dll dmusic32 enable_dmusic32
17872 wine_fn_config_dll dnsapi enable_dnsapi implib
17873 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17874 wine_fn_config_dll dplay enable_dplay
17875 wine_fn_config_dll dplayx enable_dplayx clean,implib
17876 wine_fn_config_test dlls/dplayx/tests dplayx_test
17877 wine_fn_config_dll dpnaddr enable_dpnaddr
17878 wine_fn_config_dll dpnet enable_dpnet clean,implib
17879 wine_fn_config_test dlls/dpnet/tests dpnet_test
17880 wine_fn_config_dll dpnhpast enable_dpnhpast
17881 wine_fn_config_dll dpnlobby enable_dpnlobby
17882 wine_fn_config_dll dpvoice enable_dpvoice clean
17883 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17884 wine_fn_config_dll dpwsockx enable_dpwsockx
17885 wine_fn_config_dll drmclien enable_drmclien
17886 wine_fn_config_dll dsound enable_dsound clean,implib
17887 wine_fn_config_test dlls/dsound/tests dsound_test
17888 wine_fn_config_dll dssenh enable_dssenh
17889 wine_fn_config_test dlls/dssenh/tests dssenh_test
17890 wine_fn_config_dll dswave enable_dswave clean
17891 wine_fn_config_test dlls/dswave/tests dswave_test
17892 wine_fn_config_dll dwmapi enable_dwmapi implib
17893 wine_fn_config_dll dwrite enable_dwrite implib
17894 wine_fn_config_test dlls/dwrite/tests dwrite_test
17895 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17896 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17897 wine_fn_config_lib dxerr8
17898 wine_fn_config_lib dxerr9
17899 wine_fn_config_dll dxgi enable_dxgi implib
17900 wine_fn_config_test dlls/dxgi/tests dxgi_test
17901 wine_fn_config_lib dxguid
17902 wine_fn_config_dll dxva2 enable_dxva2
17903 wine_fn_config_dll esent enable_esent
17904 wine_fn_config_dll evr enable_evr
17905 wine_fn_config_dll explorerframe enable_explorerframe clean
17906 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17907 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17908 wine_fn_config_dll faultrep enable_faultrep implib
17909 wine_fn_config_test dlls/faultrep/tests faultrep_test
17910 wine_fn_config_dll fltlib enable_fltlib
17911 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17912 wine_fn_config_dll fntcache enable_fntcache
17913 wine_fn_config_dll fontsub enable_fontsub
17914 wine_fn_config_dll fusion enable_fusion
17915 wine_fn_config_test dlls/fusion/tests fusion_test
17916 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17917 wine_fn_config_dll gameux enable_gameux clean
17918 wine_fn_config_test dlls/gameux/tests gameux_test
17919 wine_fn_config_dll gdi.exe16 enable_win16
17920 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17921 wine_fn_config_test dlls/gdi32/tests gdi32_test
17922 wine_fn_config_dll gdiplus enable_gdiplus implib
17923 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17924 wine_fn_config_dll glu32 enable_glu32 implib
17925 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17926 wine_fn_config_dll gpkcsp enable_gpkcsp
17927 wine_fn_config_dll hal enable_hal
17928 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17929 wine_fn_config_dll hid enable_hid implib
17930 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17931 wine_fn_config_dll hlink enable_hlink clean,implib
17932 wine_fn_config_test dlls/hlink/tests hlink_test
17933 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17934 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17935 wine_fn_config_dll httpapi enable_httpapi
17936 wine_fn_config_dll iccvid enable_iccvid clean
17937 wine_fn_config_dll icmp enable_icmp
17938 wine_fn_config_dll ieframe enable_ieframe clean,implib
17939 wine_fn_config_test dlls/ieframe/tests ieframe_test
17940 wine_fn_config_dll ifsmgr.vxd enable_win16
17941 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17942 wine_fn_config_dll imagehlp enable_imagehlp implib
17943 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17944 wine_fn_config_dll imm.dll16 enable_win16
17945 wine_fn_config_dll imm32 enable_imm32 implib
17946 wine_fn_config_test dlls/imm32/tests imm32_test
17947 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17948 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17949 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17950 wine_fn_config_dll inetmib1 enable_inetmib1
17951 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17952 wine_fn_config_dll infosoft enable_infosoft clean
17953 wine_fn_config_test dlls/infosoft/tests infosoft_test
17954 wine_fn_config_dll initpki enable_initpki
17955 wine_fn_config_dll inkobj enable_inkobj
17956 wine_fn_config_dll inseng enable_inseng clean
17957 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17958 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17959 wine_fn_config_dll iprop enable_iprop
17960 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17961 wine_fn_config_dll itircl enable_itircl
17962 wine_fn_config_dll itss enable_itss clean
17963 wine_fn_config_test dlls/itss/tests itss_test
17964 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17965 wine_fn_config_dll jscript enable_jscript clean
17966 wine_fn_config_test dlls/jscript/tests jscript_test
17967 wine_fn_config_dll jsproxy enable_jsproxy implib
17968 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17969 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17970 wine_fn_config_test dlls/kernel32/tests kernel32_test
17971 wine_fn_config_dll kernelbase enable_kernelbase
17972 wine_fn_config_dll keyboard.drv16 enable_win16
17973 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17974 wine_fn_config_dll ksuser enable_ksuser
17975 wine_fn_config_dll ktmw32 enable_ktmw32
17976 wine_fn_config_dll loadperf enable_loadperf implib
17977 wine_fn_config_dll localspl enable_localspl clean
17978 wine_fn_config_test dlls/localspl/tests localspl_test
17979 wine_fn_config_dll localui enable_localui clean
17980 wine_fn_config_test dlls/localui/tests localui_test
17981 wine_fn_config_dll lz32 enable_lz32 implib
17982 wine_fn_config_test dlls/lz32/tests lz32_test
17983 wine_fn_config_dll lzexpand.dll16 enable_win16
17984 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17985 wine_fn_config_test dlls/mapi32/tests mapi32_test
17986 wine_fn_config_dll mapistub enable_mapistub
17987 wine_fn_config_dll mciavi32 enable_mciavi32
17988 wine_fn_config_dll mcicda enable_mcicda
17989 wine_fn_config_dll mciqtz32 enable_mciqtz32
17990 wine_fn_config_dll mciseq enable_mciseq
17991 wine_fn_config_dll mciwave enable_mciwave
17992 wine_fn_config_dll mf enable_mf
17993 wine_fn_config_dll mfplat enable_mfplat
17994 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17995 wine_fn_config_dll mgmtapi enable_mgmtapi
17996 wine_fn_config_dll midimap enable_midimap
17997 wine_fn_config_dll mlang enable_mlang clean,implib
17998 wine_fn_config_test dlls/mlang/tests mlang_test
17999 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18000 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18001 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18002 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18003 wine_fn_config_dll mmdevldr.vxd enable_win16
18004 wine_fn_config_dll mmsystem.dll16 enable_win16
18005 wine_fn_config_dll monodebg.vxd enable_win16
18006 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18007 wine_fn_config_dll mouse.drv16 enable_win16
18008 wine_fn_config_dll mpr enable_mpr clean,implib
18009 wine_fn_config_test dlls/mpr/tests mpr_test
18010 wine_fn_config_dll mprapi enable_mprapi implib
18011 wine_fn_config_dll msacm.dll16 enable_win16
18012 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18013 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18014 wine_fn_config_test dlls/msacm32/tests msacm32_test
18015 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18016 wine_fn_config_dll msasn1 enable_msasn1 implib
18017 wine_fn_config_dll mscat32 enable_mscat32
18018 wine_fn_config_dll mscms enable_mscms implib
18019 wine_fn_config_test dlls/mscms/tests mscms_test
18020 wine_fn_config_dll mscoree enable_mscoree clean
18021 wine_fn_config_test dlls/mscoree/tests mscoree_test
18022 wine_fn_config_dll msctf enable_msctf clean
18023 wine_fn_config_test dlls/msctf/tests msctf_test
18024 wine_fn_config_dll msctfp enable_msctfp clean
18025 wine_fn_config_dll msdaps enable_msdaps clean
18026 wine_fn_config_dll msdelta enable_msdelta
18027 wine_fn_config_dll msdmo enable_msdmo implib
18028 wine_fn_config_test dlls/msdmo/tests msdmo_test
18029 wine_fn_config_dll msdrm enable_msdrm
18030 wine_fn_config_dll msftedit enable_msftedit
18031 wine_fn_config_dll msg711.acm enable_msg711_acm
18032 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18033 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18034 wine_fn_config_dll mshtml enable_mshtml clean,implib
18035 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18036 wine_fn_config_dll msi enable_msi clean,implib
18037 wine_fn_config_test dlls/msi/tests msi_test
18038 wine_fn_config_dll msident enable_msident clean
18039 wine_fn_config_dll msimg32 enable_msimg32 implib
18040 wine_fn_config_dll msimsg enable_msimsg
18041 wine_fn_config_dll msimtf enable_msimtf clean
18042 wine_fn_config_dll msisip enable_msisip
18043 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18044 wine_fn_config_dll msls31 enable_msls31
18045 wine_fn_config_dll msnet32 enable_msnet32
18046 wine_fn_config_dll mspatcha enable_mspatcha implib
18047 wine_fn_config_dll msports enable_msports
18048 wine_fn_config_dll msrle32 enable_msrle32 clean
18049 wine_fn_config_test dlls/msrle32/tests msrle32_test
18050 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18051 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18052 wine_fn_config_dll mssign32 enable_mssign32
18053 wine_fn_config_dll mssip32 enable_mssip32
18054 wine_fn_config_dll mstask enable_mstask clean
18055 wine_fn_config_test dlls/mstask/tests mstask_test
18056 wine_fn_config_dll msvcirt enable_msvcirt
18057 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18058 wine_fn_config_dll msvcm80 enable_msvcm80
18059 wine_fn_config_dll msvcm90 enable_msvcm90
18060 wine_fn_config_dll msvcp100 enable_msvcp100
18061 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18062 wine_fn_config_dll msvcp110 enable_msvcp110
18063 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18064 wine_fn_config_dll msvcp120 enable_msvcp120
18065 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18066 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18067 wine_fn_config_dll msvcp140 enable_msvcp140
18068 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18069 wine_fn_config_dll msvcp60 enable_msvcp60
18070 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18071 wine_fn_config_dll msvcp70 enable_msvcp70
18072 wine_fn_config_dll msvcp71 enable_msvcp71
18073 wine_fn_config_dll msvcp80 enable_msvcp80
18074 wine_fn_config_dll msvcp90 enable_msvcp90
18075 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18076 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18077 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18078 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18079 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18080 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18081 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18082 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18083 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18084 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18085 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18086 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18087 wine_fn_config_dll msvcrt enable_msvcrt implib
18088 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18089 wine_fn_config_dll msvcrt20 enable_msvcrt20
18090 wine_fn_config_dll msvcrt40 enable_msvcrt40
18091 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18092 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18093 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18094 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18095 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18096 wine_fn_config_dll msvideo.dll16 enable_win16
18097 wine_fn_config_dll mswsock enable_mswsock implib
18098 wine_fn_config_dll msxml enable_msxml clean
18099 wine_fn_config_dll msxml2 enable_msxml2 clean
18100 wine_fn_config_dll msxml3 enable_msxml3 clean
18101 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18102 wine_fn_config_dll msxml4 enable_msxml4 clean
18103 wine_fn_config_dll msxml6 enable_msxml6 clean
18104 wine_fn_config_dll ncrypt enable_ncrypt
18105 wine_fn_config_dll nddeapi enable_nddeapi implib
18106 wine_fn_config_dll ndis.sys enable_ndis_sys
18107 wine_fn_config_dll netapi32 enable_netapi32 implib
18108 wine_fn_config_test dlls/netapi32/tests netapi32_test
18109 wine_fn_config_dll netcfgx enable_netcfgx clean
18110 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18111 wine_fn_config_dll netprofm enable_netprofm clean
18112 wine_fn_config_test dlls/netprofm/tests netprofm_test
18113 wine_fn_config_dll newdev enable_newdev implib
18114 wine_fn_config_dll normaliz enable_normaliz implib
18115 wine_fn_config_dll npmshtml enable_npmshtml
18116 wine_fn_config_dll npptools enable_npptools
18117 wine_fn_config_dll ntdll enable_ntdll implib
18118 wine_fn_config_test dlls/ntdll/tests ntdll_test
18119 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18120 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18121 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18122 wine_fn_config_dll ntprint enable_ntprint
18123 wine_fn_config_test dlls/ntprint/tests ntprint_test
18124 wine_fn_config_dll objsel enable_objsel clean
18125 wine_fn_config_dll odbc32 enable_odbc32 implib
18126 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18127 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18128 wine_fn_config_dll odbccu32 enable_odbccu32
18129 wine_fn_config_dll ole2.dll16 enable_win16
18130 wine_fn_config_dll ole2conv.dll16 enable_win16
18131 wine_fn_config_dll ole2disp.dll16 enable_win16
18132 wine_fn_config_dll ole2nls.dll16 enable_win16
18133 wine_fn_config_dll ole2prox.dll16 enable_win16
18134 wine_fn_config_dll ole2thk.dll16 enable_win16
18135 wine_fn_config_dll ole32 enable_ole32 clean,implib
18136 wine_fn_config_test dlls/ole32/tests ole32_test
18137 wine_fn_config_dll oleacc enable_oleacc clean,implib
18138 wine_fn_config_test dlls/oleacc/tests oleacc_test
18139 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18140 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18141 wine_fn_config_dll olecli.dll16 enable_win16
18142 wine_fn_config_dll olecli32 enable_olecli32 implib
18143 wine_fn_config_dll oledb32 enable_oledb32 clean
18144 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18145 wine_fn_config_dll oledlg enable_oledlg clean,implib
18146 wine_fn_config_test dlls/oledlg/tests oledlg_test
18147 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18148 wine_fn_config_dll olesvr.dll16 enable_win16
18149 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18150 wine_fn_config_dll olethk32 enable_olethk32
18151 wine_fn_config_dll openal32 enable_openal32
18152 wine_fn_config_dll opencl enable_opencl
18153 wine_fn_config_dll opengl32 enable_opengl32 implib
18154 wine_fn_config_test dlls/opengl32/tests opengl32_test
18155 wine_fn_config_dll packager enable_packager clean
18156 wine_fn_config_test dlls/packager/tests packager_test
18157 wine_fn_config_dll pdh enable_pdh implib
18158 wine_fn_config_test dlls/pdh/tests pdh_test
18159 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18160 wine_fn_config_dll pidgen enable_pidgen
18161 wine_fn_config_dll powrprof enable_powrprof implib
18162 wine_fn_config_dll printui enable_printui
18163 wine_fn_config_dll prntvpt enable_prntvpt
18164 wine_fn_config_dll propsys enable_propsys clean,implib
18165 wine_fn_config_test dlls/propsys/tests propsys_test
18166 wine_fn_config_dll psapi enable_psapi implib
18167 wine_fn_config_test dlls/psapi/tests psapi_test
18168 wine_fn_config_dll pstorec enable_pstorec clean
18169 wine_fn_config_dll qcap enable_qcap
18170 wine_fn_config_test dlls/qcap/tests qcap_test
18171 wine_fn_config_dll qedit enable_qedit clean
18172 wine_fn_config_test dlls/qedit/tests qedit_test
18173 wine_fn_config_dll qmgr enable_qmgr clean
18174 wine_fn_config_test dlls/qmgr/tests qmgr_test
18175 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18176 wine_fn_config_dll quartz enable_quartz clean,implib
18177 wine_fn_config_test dlls/quartz/tests quartz_test clean
18178 wine_fn_config_dll query enable_query
18179 wine_fn_config_dll rasapi16.dll16 enable_win16
18180 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18181 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18182 wine_fn_config_dll rasdlg enable_rasdlg implib
18183 wine_fn_config_dll regapi enable_regapi
18184 wine_fn_config_dll resutils enable_resutils implib
18185 wine_fn_config_dll riched20 enable_riched20 clean,implib
18186 wine_fn_config_test dlls/riched20/tests riched20_test
18187 wine_fn_config_dll riched32 enable_riched32
18188 wine_fn_config_test dlls/riched32/tests riched32_test
18189 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18190 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18191 wine_fn_config_dll rsabase enable_rsabase
18192 wine_fn_config_dll rsaenh enable_rsaenh implib
18193 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18194 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18195 wine_fn_config_dll rtutils enable_rtutils implib
18196 wine_fn_config_dll samlib enable_samlib
18197 wine_fn_config_dll sane.ds enable_sane_ds clean
18198 wine_fn_config_dll scarddlg enable_scarddlg
18199 wine_fn_config_dll sccbase enable_sccbase
18200 wine_fn_config_dll schannel enable_schannel
18201 wine_fn_config_test dlls/schannel/tests schannel_test
18202 wine_fn_config_dll schedsvc enable_schedsvc clean
18203 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18204 wine_fn_config_dll scrrun enable_scrrun clean
18205 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18206 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18207 wine_fn_config_dll secur32 enable_secur32 implib
18208 wine_fn_config_test dlls/secur32/tests secur32_test
18209 wine_fn_config_dll security enable_security
18210 wine_fn_config_dll sensapi enable_sensapi implib
18211 wine_fn_config_dll serialui enable_serialui clean
18212 wine_fn_config_test dlls/serialui/tests serialui_test
18213 wine_fn_config_dll setupapi enable_setupapi clean,implib
18214 wine_fn_config_test dlls/setupapi/tests setupapi_test
18215 wine_fn_config_dll setupx.dll16 enable_win16
18216 wine_fn_config_dll sfc enable_sfc implib
18217 wine_fn_config_dll sfc_os enable_sfc_os implib
18218 wine_fn_config_dll shdoclc enable_shdoclc clean
18219 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18220 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18221 wine_fn_config_dll shell.dll16 enable_win16
18222 wine_fn_config_dll shell32 enable_shell32 clean,implib
18223 wine_fn_config_test dlls/shell32/tests shell32_test
18224 wine_fn_config_dll shfolder enable_shfolder implib
18225 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18226 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18227 wine_fn_config_dll slbcsp enable_slbcsp
18228 wine_fn_config_dll slc enable_slc implib
18229 wine_fn_config_test dlls/slc/tests slc_test
18230 wine_fn_config_dll snmpapi enable_snmpapi implib
18231 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18232 wine_fn_config_dll softpub enable_softpub
18233 wine_fn_config_dll sound.drv16 enable_win16
18234 wine_fn_config_dll spoolss enable_spoolss implib
18235 wine_fn_config_test dlls/spoolss/tests spoolss_test
18236 wine_fn_config_dll sspicli enable_sspicli
18237 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18238 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18239 wine_fn_config_dll sti enable_sti clean,implib
18240 wine_fn_config_test dlls/sti/tests sti_test
18241 wine_fn_config_dll storage.dll16 enable_win16
18242 wine_fn_config_dll stress.dll16 enable_win16
18243 wine_fn_config_lib strmbase
18244 wine_fn_config_lib strmiids
18245 wine_fn_config_dll svrapi enable_svrapi
18246 wine_fn_config_dll sxs enable_sxs implib
18247 wine_fn_config_test dlls/sxs/tests sxs_test
18248 wine_fn_config_dll system.drv16 enable_win16
18249 wine_fn_config_dll t2embed enable_t2embed implib
18250 wine_fn_config_test dlls/t2embed/tests t2embed_test
18251 wine_fn_config_dll tapi32 enable_tapi32 implib
18252 wine_fn_config_dll taskschd enable_taskschd clean
18253 wine_fn_config_test dlls/taskschd/tests taskschd_test
18254 wine_fn_config_dll tdi.sys enable_tdi_sys
18255 wine_fn_config_dll toolhelp.dll16 enable_win16
18256 wine_fn_config_dll traffic enable_traffic
18257 wine_fn_config_dll twain.dll16 enable_win16
18258 wine_fn_config_dll twain_32 enable_twain_32
18259 wine_fn_config_test dlls/twain_32/tests twain_32_test
18260 wine_fn_config_dll typelib.dll16 enable_win16
18261 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18262 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18263 wine_fn_config_dll unicows enable_unicows implib
18264 wine_fn_config_dll updspapi enable_updspapi
18265 wine_fn_config_dll url enable_url implib
18266 wine_fn_config_dll urlmon enable_urlmon clean,implib
18267 wine_fn_config_test dlls/urlmon/tests urlmon_test
18268 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18269 wine_fn_config_dll user.exe16 enable_win16
18270 wine_fn_config_dll user32 enable_user32 clean,implib
18271 wine_fn_config_test dlls/user32/tests user32_test
18272 wine_fn_config_dll userenv enable_userenv implib
18273 wine_fn_config_test dlls/userenv/tests userenv_test
18274 wine_fn_config_dll usp10 enable_usp10 implib
18275 wine_fn_config_test dlls/usp10/tests usp10_test
18276 wine_fn_config_lib uuid
18277 wine_fn_config_dll uxtheme enable_uxtheme implib
18278 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18279 wine_fn_config_dll vbscript enable_vbscript clean
18280 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18281 wine_fn_config_dll vcomp enable_vcomp
18282 wine_fn_config_test dlls/vcomp/tests vcomp_test
18283 wine_fn_config_dll vcomp100 enable_vcomp100
18284 wine_fn_config_dll vcomp110 enable_vcomp110
18285 wine_fn_config_dll vcomp120 enable_vcomp120
18286 wine_fn_config_dll vcomp140 enable_vcomp140
18287 wine_fn_config_dll vcomp90 enable_vcomp90
18288 wine_fn_config_dll vcruntime140 enable_vcruntime140
18289 wine_fn_config_dll vdhcp.vxd enable_win16
18290 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18291 wine_fn_config_dll ver.dll16 enable_win16
18292 wine_fn_config_dll version enable_version implib
18293 wine_fn_config_test dlls/version/tests version_test
18294 wine_fn_config_dll vmm.vxd enable_win16
18295 wine_fn_config_dll vnbt.vxd enable_win16
18296 wine_fn_config_dll vnetbios.vxd enable_win16
18297 wine_fn_config_dll vssapi enable_vssapi
18298 wine_fn_config_dll vtdapi.vxd enable_win16
18299 wine_fn_config_dll vwin32.vxd enable_win16
18300 wine_fn_config_dll w32skrnl enable_win16
18301 wine_fn_config_dll w32sys.dll16 enable_win16
18302 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18303 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18304 wine_fn_config_dll wbemprox enable_wbemprox clean
18305 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18306 wine_fn_config_dll webservices enable_webservices implib
18307 wine_fn_config_test dlls/webservices/tests webservices_test
18308 wine_fn_config_dll wer enable_wer implib
18309 wine_fn_config_test dlls/wer/tests wer_test
18310 wine_fn_config_dll wevtapi enable_wevtapi
18311 wine_fn_config_dll wiaservc enable_wiaservc clean
18312 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18313 wine_fn_config_dll wimgapi enable_wimgapi
18314 wine_fn_config_dll win32s16.dll16 enable_win16
18315 wine_fn_config_dll win87em.dll16 enable_win16
18316 wine_fn_config_dll winaspi.dll16 enable_win16
18317 wine_fn_config_dll windebug.dll16 enable_win16
18318 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18319 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18320 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18321 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18322 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18323 wine_fn_config_dll winebus.sys enable_winebus_sys
18324 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18325 wine_fn_config_lib winecrt0
18326 wine_fn_config_dll wined3d enable_wined3d implib
18327 wine_fn_config_dll winegstreamer enable_winegstreamer
18328 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18329 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18330 wine_fn_config_dll winemapi enable_winemapi
18331 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18332 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18333 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18334 wine_fn_config_dll wineps16.drv16 enable_win16
18335 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18336 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18337 wine_fn_config_dll winex11.drv enable_winex11_drv
18338 wine_fn_config_dll wing.dll16 enable_win16
18339 wine_fn_config_dll wing32 enable_wing32
18340 wine_fn_config_dll winhttp enable_winhttp clean,implib
18341 wine_fn_config_test dlls/winhttp/tests winhttp_test
18342 wine_fn_config_dll wininet enable_wininet clean,implib
18343 wine_fn_config_test dlls/wininet/tests wininet_test
18344 wine_fn_config_dll winmm enable_winmm clean,implib
18345 wine_fn_config_test dlls/winmm/tests winmm_test
18346 wine_fn_config_dll winnls.dll16 enable_win16
18347 wine_fn_config_dll winnls32 enable_winnls32 implib
18348 wine_fn_config_dll winscard enable_winscard implib
18349 wine_fn_config_dll winsock.dll16 enable_win16
18350 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18351 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18352 wine_fn_config_dll winsta enable_winsta
18353 wine_fn_config_dll wintab.dll16 enable_win16
18354 wine_fn_config_dll wintab32 enable_wintab32 implib
18355 wine_fn_config_test dlls/wintab32/tests wintab32_test
18356 wine_fn_config_dll wintrust enable_wintrust implib
18357 wine_fn_config_test dlls/wintrust/tests wintrust_test
18358 wine_fn_config_dll wlanapi enable_wlanapi
18359 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18360 wine_fn_config_test dlls/wldap32/tests wldap32_test
18361 wine_fn_config_dll wmasf enable_wmasf
18362 wine_fn_config_dll wmi enable_wmi
18363 wine_fn_config_dll wmiutils enable_wmiutils clean
18364 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18365 wine_fn_config_dll wmp enable_wmp clean
18366 wine_fn_config_test dlls/wmp/tests wmp_test
18367 wine_fn_config_dll wmvcore enable_wmvcore
18368 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18369 wine_fn_config_dll wow32 enable_win16 implib
18370 wine_fn_config_dll wpc enable_wpc clean
18371 wine_fn_config_test dlls/wpc/tests wpc_test
18372 wine_fn_config_dll wpcap enable_wpcap
18373 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18374 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18375 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18376 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18377 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18378 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18379 wine_fn_config_dll wsock32 enable_wsock32 implib
18380 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18381 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18382 wine_fn_config_dll wuapi enable_wuapi clean
18383 wine_fn_config_dll wuaueng enable_wuaueng
18384 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18385 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18386 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18387 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18388 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18389 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18390 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18391 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18392 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18393 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18394 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18395 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18396 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18397 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18398 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18399 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18400 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18401 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18402 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18403 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18404 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18405 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18406 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18407 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18408 wine_fn_config_dll xinput1_1 enable_xinput1_1
18409 wine_fn_config_dll xinput1_2 enable_xinput1_2
18410 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18411 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18412 wine_fn_config_dll xinput1_4 enable_xinput1_4
18413 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18414 wine_fn_config_dll xmllite enable_xmllite implib
18415 wine_fn_config_test dlls/xmllite/tests xmllite_test
18416 wine_fn_config_dll xolehlp enable_xolehlp
18417 wine_fn_config_dll xpsprint enable_xpsprint
18418 wine_fn_config_dll xpssvcs enable_xpssvcs
18419 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18420 wine_fn_config_makefile include enable_include clean,install-dev
18421 wine_fn_config_makefile libs/port enable_libs_port
18422 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18423 wine_fn_config_makefile libs/wpp enable_libs_wpp
18424 wine_fn_config_makefile loader enable_loader clean,install-lib
18425 wine_fn_config_makefile po enable_po clean
18426 wine_fn_config_program arp enable_arp install
18427 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18428 wine_fn_config_program attrib enable_attrib clean,install
18429 wine_fn_config_program cabarc enable_cabarc install
18430 wine_fn_config_program cacls enable_cacls install
18431 wine_fn_config_program clock enable_clock clean,install
18432 wine_fn_config_program cmd enable_cmd clean,install
18433 wine_fn_config_test programs/cmd/tests cmd.exe_test
18434 wine_fn_config_program conhost enable_conhost install
18435 wine_fn_config_program control enable_control install
18436 wine_fn_config_program cscript enable_cscript clean,install
18437 wine_fn_config_program dpnsvr enable_dpnsvr install
18438 wine_fn_config_program dxdiag enable_dxdiag clean,install
18439 wine_fn_config_program eject enable_eject install
18440 wine_fn_config_program expand enable_expand install
18441 wine_fn_config_program explorer enable_explorer clean,install
18442 wine_fn_config_program extrac32 enable_extrac32 install
18443 wine_fn_config_program findstr enable_findstr install
18444 wine_fn_config_program fsutil enable_fsutil install
18445 wine_fn_config_program hh enable_hh install
18446 wine_fn_config_program hostname enable_hostname clean,install
18447 wine_fn_config_program icacls enable_icacls install
18448 wine_fn_config_program icinfo enable_icinfo install
18449 wine_fn_config_program iexplore enable_iexplore install
18450 wine_fn_config_program ipconfig enable_ipconfig clean,install
18451 wine_fn_config_program lodctr enable_lodctr install
18452 wine_fn_config_program mofcomp enable_mofcomp install
18453 wine_fn_config_program mshta enable_mshta install
18454 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18455 wine_fn_config_program msinfo32 enable_msinfo32 install
18456 wine_fn_config_program net enable_net clean,install
18457 wine_fn_config_program netsh enable_netsh install
18458 wine_fn_config_program netstat enable_netstat clean,install
18459 wine_fn_config_program ngen enable_ngen install
18460 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18461 wine_fn_config_program oleview enable_oleview clean,install
18462 wine_fn_config_program ping enable_ping install
18463 wine_fn_config_program plugplay enable_plugplay install
18464 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18465 wine_fn_config_program progman enable_progman clean,install
18466 wine_fn_config_program reg enable_reg clean,install
18467 wine_fn_config_test programs/reg/tests reg.exe_test
18468 wine_fn_config_program regasm enable_regasm install
18469 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18470 wine_fn_config_test programs/regedit/tests regedit.exe_test
18471 wine_fn_config_program regsvcs enable_regsvcs install
18472 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18473 wine_fn_config_program rpcss enable_rpcss clean,install
18474 wine_fn_config_program rundll.exe16 enable_win16 install
18475 wine_fn_config_program rundll32 enable_rundll32 install
18476 wine_fn_config_program sc enable_sc install
18477 wine_fn_config_program schtasks enable_schtasks install
18478 wine_fn_config_program sdbinst enable_sdbinst install
18479 wine_fn_config_program secedit enable_secedit install
18480 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18481 wine_fn_config_program services enable_services clean,install
18482 wine_fn_config_test programs/services/tests services.exe_test
18483 wine_fn_config_program shutdown enable_shutdown install
18484 wine_fn_config_program spoolsv enable_spoolsv install
18485 wine_fn_config_program start enable_start clean,install
18486 wine_fn_config_program svchost enable_svchost install
18487 wine_fn_config_program systeminfo enable_systeminfo install
18488 wine_fn_config_program taskkill enable_taskkill clean,install
18489 wine_fn_config_program tasklist enable_tasklist install
18490 wine_fn_config_program taskmgr enable_taskmgr clean,install
18491 wine_fn_config_program termsv enable_termsv install
18492 wine_fn_config_program uninstaller enable_uninstaller clean,install
18493 wine_fn_config_program unlodctr enable_unlodctr install
18494 wine_fn_config_program view enable_view clean,install
18495 wine_fn_config_program wevtutil enable_wevtutil install
18496 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18497 wine_fn_config_program winebrowser enable_winebrowser install
18498 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18499 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18500 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18501 wine_fn_config_program winedevice enable_winedevice install
18502 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18503 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18504 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18505 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18506 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18507 wine_fn_config_program winetest enable_winetest clean
18508 wine_fn_config_program winevdm enable_win16 install
18509 wine_fn_config_program winhelp.exe16 enable_win16 install
18510 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18511 wine_fn_config_program winoldap.mod16 enable_win16 install
18512 wine_fn_config_program winver enable_winver install
18513 wine_fn_config_program wmic enable_wmic clean,install
18514 wine_fn_config_program wmplayer enable_wmplayer install
18515 wine_fn_config_program wordpad enable_wordpad clean,install
18516 wine_fn_config_program write enable_write clean,install
18517 wine_fn_config_program wscript enable_wscript clean,install
18518 wine_fn_config_test programs/wscript/tests wscript.exe_test
18519 wine_fn_config_program wusa enable_wusa install
18520 wine_fn_config_program xcopy enable_xcopy clean,install
18521 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18522 wine_fn_config_makefile server enable_server clean,install-lib
18523 wine_fn_config_tool tools clean
18524 wine_fn_config_tool tools/sfnt2fon clean
18525 wine_fn_config_tool tools/widl clean,install-dev
18526 wine_fn_config_tool tools/winebuild clean,install-dev
18527 wine_fn_config_tool tools/winedump clean,install-dev
18528 wine_fn_config_tool tools/winegcc clean,install-dev
18529 wine_fn_config_tool tools/winemaker clean,install-dev
18530 wine_fn_config_tool tools/wmc clean,install-dev
18531 wine_fn_config_tool tools/wrc clean,install-dev
18534 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18535 wine_fn_append_file CONFIGURE_TARGETS "tags"
18536 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18537 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18538 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18539 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18540 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18541 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18543 if test "x$enable_tools" != xno
18544 then
18545 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18546 ac_config_commands="$ac_config_commands tools/makedep"
18550 ac_config_commands="$ac_config_commands Makefile"
18553 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18557 if test "x$enable_maintainer_mode" = xyes
18558 then
18559 wine_fn_append_rule "configure: configure.ac aclocal.m4
18560 autoconf --warnings=all
18561 include/config.h.in: include/stamp-h.in
18562 include/stamp-h.in: configure.ac aclocal.m4
18563 autoheader --warnings=all
18564 @echo timestamp > \$@"
18567 if test "x$enable_tools" != xno
18568 then
18569 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18570 @./config.status tools/makedep
18571 Makefile: tools/makedep$ac_exeext"
18572 else
18573 wine_fn_append_rule "\$(MAKEDEP):
18574 @echo \"You need to run make in $TOOLSDIR first\" && false"
18577 if test -n "$with_wine64"
18578 then
18579 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18580 fonts server:
18581 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18582 $with_wine64/loader/wine:
18583 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18584 $with_wine64/loader/wine-preloader:
18585 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18586 clean::
18587 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18588 else
18589 WINELOADER_INSTALL="wine.inf"
18591 wine_fn_append_rule "install install-lib::
18592 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18593 uninstall::
18594 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18595 case $host_os in
18596 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18597 *) wine_fn_append_rule "install install-lib::
18598 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18599 uninstall::
18600 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18601 esac
18604 $as_echo " done" >&6
18605 cat >confcache <<\_ACEOF
18606 # This file is a shell script that caches the results of configure
18607 # tests run on this system so they can be shared between configure
18608 # scripts and configure runs, see configure's option --config-cache.
18609 # It is not useful on other systems. If it contains results you don't
18610 # want to keep, you may remove or edit it.
18612 # config.status only pays attention to the cache file if you give it
18613 # the --recheck option to rerun configure.
18615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18617 # following values.
18619 _ACEOF
18621 # The following way of writing the cache mishandles newlines in values,
18622 # but we know of no workaround that is simple, portable, and efficient.
18623 # So, we kill variables containing newlines.
18624 # Ultrix sh set writes to stderr and can't be redirected directly,
18625 # and sets the high bit in the cache file unless we assign to the vars.
18627 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18628 eval ac_val=\$$ac_var
18629 case $ac_val in #(
18630 *${as_nl}*)
18631 case $ac_var in #(
18632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18634 esac
18635 case $ac_var in #(
18636 _ | IFS | as_nl) ;; #(
18637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18638 *) { eval $ac_var=; unset $ac_var;} ;;
18639 esac ;;
18640 esac
18641 done
18643 (set) 2>&1 |
18644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18645 *${as_nl}ac_space=\ *)
18646 # `set' does not quote correctly, so add quotes: double-quote
18647 # substitution turns \\\\ into \\, and sed turns \\ into \.
18648 sed -n \
18649 "s/'/'\\\\''/g;
18650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18651 ;; #(
18653 # `set' quotes correctly as required by POSIX, so do not add quotes.
18654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18656 esac |
18657 sort
18659 sed '
18660 /^ac_cv_env_/b end
18661 t clear
18662 :clear
18663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18664 t end
18665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18666 :end' >>confcache
18667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18668 if test -w "$cache_file"; then
18669 if test "x$cache_file" != "x/dev/null"; then
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18671 $as_echo "$as_me: updating cache $cache_file" >&6;}
18672 if test ! -f "$cache_file" || test -h "$cache_file"; then
18673 cat confcache >"$cache_file"
18674 else
18675 case $cache_file in #(
18676 */* | ?:*)
18677 mv -f confcache "$cache_file"$$ &&
18678 mv -f "$cache_file"$$ "$cache_file" ;; #(
18680 mv -f confcache "$cache_file" ;;
18681 esac
18684 else
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18686 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18689 rm -f confcache
18691 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18692 # Let make expand exec_prefix.
18693 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18695 DEFS=-DHAVE_CONFIG_H
18697 ac_libobjs=
18698 ac_ltlibobjs=
18700 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18701 # 1. Remove the extension, and $U if already installed.
18702 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18703 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18704 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18705 # will be set to the directory where LIBOBJS objects are built.
18706 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18707 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18708 done
18709 LIBOBJS=$ac_libobjs
18711 LTLIBOBJS=$ac_ltlibobjs
18715 : "${CONFIG_STATUS=./config.status}"
18716 ac_write_fail=0
18717 ac_clean_files_save=$ac_clean_files
18718 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18720 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18721 as_write_fail=0
18722 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18723 #! $SHELL
18724 # Generated by $as_me.
18725 # Run this file to recreate the current configuration.
18726 # Compiler output produced by configure, useful for debugging
18727 # configure, is in config.log if it exists.
18729 debug=false
18730 ac_cs_recheck=false
18731 ac_cs_silent=false
18733 SHELL=\${CONFIG_SHELL-$SHELL}
18734 export SHELL
18735 _ASEOF
18736 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18737 ## -------------------- ##
18738 ## M4sh Initialization. ##
18739 ## -------------------- ##
18741 # Be more Bourne compatible
18742 DUALCASE=1; export DUALCASE # for MKS sh
18743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18744 emulate sh
18745 NULLCMD=:
18746 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18747 # is contrary to our usage. Disable this feature.
18748 alias -g '${1+"$@"}'='"$@"'
18749 setopt NO_GLOB_SUBST
18750 else
18751 case `(set -o) 2>/dev/null` in #(
18752 *posix*) :
18753 set -o posix ;; #(
18754 *) :
18756 esac
18760 as_nl='
18762 export as_nl
18763 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18764 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18767 # Prefer a ksh shell builtin over an external printf program on Solaris,
18768 # but without wasting forks for bash or zsh.
18769 if test -z "$BASH_VERSION$ZSH_VERSION" \
18770 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18771 as_echo='print -r --'
18772 as_echo_n='print -rn --'
18773 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18774 as_echo='printf %s\n'
18775 as_echo_n='printf %s'
18776 else
18777 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18778 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18779 as_echo_n='/usr/ucb/echo -n'
18780 else
18781 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18782 as_echo_n_body='eval
18783 arg=$1;
18784 case $arg in #(
18785 *"$as_nl"*)
18786 expr "X$arg" : "X\\(.*\\)$as_nl";
18787 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18788 esac;
18789 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18791 export as_echo_n_body
18792 as_echo_n='sh -c $as_echo_n_body as_echo'
18794 export as_echo_body
18795 as_echo='sh -c $as_echo_body as_echo'
18798 # The user is always right.
18799 if test "${PATH_SEPARATOR+set}" != set; then
18800 PATH_SEPARATOR=:
18801 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18802 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18803 PATH_SEPARATOR=';'
18808 # IFS
18809 # We need space, tab and new line, in precisely that order. Quoting is
18810 # there to prevent editors from complaining about space-tab.
18811 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18812 # splitting by setting IFS to empty value.)
18813 IFS=" "" $as_nl"
18815 # Find who we are. Look in the path if we contain no directory separator.
18816 as_myself=
18817 case $0 in #((
18818 *[\\/]* ) as_myself=$0 ;;
18819 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18820 for as_dir in $PATH
18822 IFS=$as_save_IFS
18823 test -z "$as_dir" && as_dir=.
18824 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18825 done
18826 IFS=$as_save_IFS
18829 esac
18830 # We did not find ourselves, most probably we were run as `sh COMMAND'
18831 # in which case we are not to be found in the path.
18832 if test "x$as_myself" = x; then
18833 as_myself=$0
18835 if test ! -f "$as_myself"; then
18836 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18837 exit 1
18840 # Unset variables that we do not need and which cause bugs (e.g. in
18841 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18842 # suppresses any "Segmentation fault" message there. '((' could
18843 # trigger a bug in pdksh 5.2.14.
18844 for as_var in BASH_ENV ENV MAIL MAILPATH
18845 do eval test x\${$as_var+set} = xset \
18846 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18847 done
18848 PS1='$ '
18849 PS2='> '
18850 PS4='+ '
18852 # NLS nuisances.
18853 LC_ALL=C
18854 export LC_ALL
18855 LANGUAGE=C
18856 export LANGUAGE
18858 # CDPATH.
18859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18862 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18863 # ----------------------------------------
18864 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18865 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18866 # script with STATUS, using 1 if that was 0.
18867 as_fn_error ()
18869 as_status=$1; test $as_status -eq 0 && as_status=1
18870 if test "$4"; then
18871 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18872 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18874 $as_echo "$as_me: error: $2" >&2
18875 as_fn_exit $as_status
18876 } # as_fn_error
18879 # as_fn_set_status STATUS
18880 # -----------------------
18881 # Set $? to STATUS, without forking.
18882 as_fn_set_status ()
18884 return $1
18885 } # as_fn_set_status
18887 # as_fn_exit STATUS
18888 # -----------------
18889 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18890 as_fn_exit ()
18892 set +e
18893 as_fn_set_status $1
18894 exit $1
18895 } # as_fn_exit
18897 # as_fn_unset VAR
18898 # ---------------
18899 # Portably unset VAR.
18900 as_fn_unset ()
18902 { eval $1=; unset $1;}
18904 as_unset=as_fn_unset
18905 # as_fn_append VAR VALUE
18906 # ----------------------
18907 # Append the text in VALUE to the end of the definition contained in VAR. Take
18908 # advantage of any shell optimizations that allow amortized linear growth over
18909 # repeated appends, instead of the typical quadratic growth present in naive
18910 # implementations.
18911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18912 eval 'as_fn_append ()
18914 eval $1+=\$2
18916 else
18917 as_fn_append ()
18919 eval $1=\$$1\$2
18921 fi # as_fn_append
18923 # as_fn_arith ARG...
18924 # ------------------
18925 # Perform arithmetic evaluation on the ARGs, and store the result in the
18926 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18927 # must be portable across $(()) and expr.
18928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18929 eval 'as_fn_arith ()
18931 as_val=$(( $* ))
18933 else
18934 as_fn_arith ()
18936 as_val=`expr "$@" || test $? -eq 1`
18938 fi # as_fn_arith
18941 if expr a : '\(a\)' >/dev/null 2>&1 &&
18942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18943 as_expr=expr
18944 else
18945 as_expr=false
18948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18949 as_basename=basename
18950 else
18951 as_basename=false
18954 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18955 as_dirname=dirname
18956 else
18957 as_dirname=false
18960 as_me=`$as_basename -- "$0" ||
18961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18962 X"$0" : 'X\(//\)$' \| \
18963 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18964 $as_echo X/"$0" |
18965 sed '/^.*\/\([^/][^/]*\)\/*$/{
18966 s//\1/
18969 /^X\/\(\/\/\)$/{
18970 s//\1/
18973 /^X\/\(\/\).*/{
18974 s//\1/
18977 s/.*/./; q'`
18979 # Avoid depending upon Character Ranges.
18980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18983 as_cr_digits='0123456789'
18984 as_cr_alnum=$as_cr_Letters$as_cr_digits
18986 ECHO_C= ECHO_N= ECHO_T=
18987 case `echo -n x` in #(((((
18988 -n*)
18989 case `echo 'xy\c'` in
18990 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18991 xy) ECHO_C='\c';;
18992 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18993 ECHO_T=' ';;
18994 esac;;
18996 ECHO_N='-n';;
18997 esac
18999 rm -f conf$$ conf$$.exe conf$$.file
19000 if test -d conf$$.dir; then
19001 rm -f conf$$.dir/conf$$.file
19002 else
19003 rm -f conf$$.dir
19004 mkdir conf$$.dir 2>/dev/null
19006 if (echo >conf$$.file) 2>/dev/null; then
19007 if ln -s conf$$.file conf$$ 2>/dev/null; then
19008 as_ln_s='ln -s'
19009 # ... but there are two gotchas:
19010 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19011 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19012 # In both cases, we have to default to `cp -pR'.
19013 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19014 as_ln_s='cp -pR'
19015 elif ln conf$$.file conf$$ 2>/dev/null; then
19016 as_ln_s=ln
19017 else
19018 as_ln_s='cp -pR'
19020 else
19021 as_ln_s='cp -pR'
19023 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19024 rmdir conf$$.dir 2>/dev/null
19027 # as_fn_mkdir_p
19028 # -------------
19029 # Create "$as_dir" as a directory, including parents if necessary.
19030 as_fn_mkdir_p ()
19033 case $as_dir in #(
19034 -*) as_dir=./$as_dir;;
19035 esac
19036 test -d "$as_dir" || eval $as_mkdir_p || {
19037 as_dirs=
19038 while :; do
19039 case $as_dir in #(
19040 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19041 *) as_qdir=$as_dir;;
19042 esac
19043 as_dirs="'$as_qdir' $as_dirs"
19044 as_dir=`$as_dirname -- "$as_dir" ||
19045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19046 X"$as_dir" : 'X\(//\)[^/]' \| \
19047 X"$as_dir" : 'X\(//\)$' \| \
19048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19049 $as_echo X"$as_dir" |
19050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19051 s//\1/
19054 /^X\(\/\/\)[^/].*/{
19055 s//\1/
19058 /^X\(\/\/\)$/{
19059 s//\1/
19062 /^X\(\/\).*/{
19063 s//\1/
19066 s/.*/./; q'`
19067 test -d "$as_dir" && break
19068 done
19069 test -z "$as_dirs" || eval "mkdir $as_dirs"
19070 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19073 } # as_fn_mkdir_p
19074 if mkdir -p . 2>/dev/null; then
19075 as_mkdir_p='mkdir -p "$as_dir"'
19076 else
19077 test -d ./-p && rmdir ./-p
19078 as_mkdir_p=false
19082 # as_fn_executable_p FILE
19083 # -----------------------
19084 # Test if FILE is an executable regular file.
19085 as_fn_executable_p ()
19087 test -f "$1" && test -x "$1"
19088 } # as_fn_executable_p
19089 as_test_x='test -x'
19090 as_executable_p=as_fn_executable_p
19092 # Sed expression to map a string onto a valid CPP name.
19093 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19095 # Sed expression to map a string onto a valid variable name.
19096 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19099 exec 6>&1
19100 ## ----------------------------------- ##
19101 ## Main body of $CONFIG_STATUS script. ##
19102 ## ----------------------------------- ##
19103 _ASEOF
19104 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19107 # Save the log message, to keep $0 and so on meaningful, and to
19108 # report actual input values of CONFIG_FILES etc. instead of their
19109 # values after options handling.
19110 ac_log="
19111 This file was extended by Wine $as_me 1.9.19, which was
19112 generated by GNU Autoconf 2.69. Invocation command line was
19114 CONFIG_FILES = $CONFIG_FILES
19115 CONFIG_HEADERS = $CONFIG_HEADERS
19116 CONFIG_LINKS = $CONFIG_LINKS
19117 CONFIG_COMMANDS = $CONFIG_COMMANDS
19118 $ $0 $@
19120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19123 _ACEOF
19125 case $ac_config_files in *"
19126 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19127 esac
19129 case $ac_config_headers in *"
19130 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19131 esac
19134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19135 # Files that config.status was made for.
19136 config_files="$ac_config_files"
19137 config_headers="$ac_config_headers"
19138 config_links="$ac_config_links"
19139 config_commands="$ac_config_commands"
19141 _ACEOF
19143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19144 ac_cs_usage="\
19145 \`$as_me' instantiates files and other configuration actions
19146 from templates according to the current configuration. Unless the files
19147 and actions are specified as TAGs, all are instantiated by default.
19149 Usage: $0 [OPTION]... [TAG]...
19151 -h, --help print this help, then exit
19152 -V, --version print version number and configuration settings, then exit
19153 --config print configuration, then exit
19154 -q, --quiet, --silent
19155 do not print progress messages
19156 -d, --debug don't remove temporary files
19157 --recheck update $as_me by reconfiguring in the same conditions
19158 --file=FILE[:TEMPLATE]
19159 instantiate the configuration file FILE
19160 --header=FILE[:TEMPLATE]
19161 instantiate the configuration header FILE
19163 Configuration files:
19164 $config_files
19166 Configuration headers:
19167 $config_headers
19169 Configuration links:
19170 $config_links
19172 Configuration commands:
19173 $config_commands
19175 Report bugs to <wine-devel@winehq.org>.
19176 Wine home page: <http://www.winehq.org>."
19178 _ACEOF
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19181 ac_cs_version="\\
19182 Wine config.status 1.9.19
19183 configured by $0, generated by GNU Autoconf 2.69,
19184 with options \\"\$ac_cs_config\\"
19186 Copyright (C) 2012 Free Software Foundation, Inc.
19187 This config.status script is free software; the Free Software Foundation
19188 gives unlimited permission to copy, distribute and modify it."
19190 ac_pwd='$ac_pwd'
19191 srcdir='$srcdir'
19192 test -n "\$AWK" || AWK=awk
19193 _ACEOF
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19196 # The default lists apply if the user does not specify any file.
19197 ac_need_defaults=:
19198 while test $# != 0
19200 case $1 in
19201 --*=?*)
19202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19203 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19204 ac_shift=:
19206 --*=)
19207 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19208 ac_optarg=
19209 ac_shift=:
19212 ac_option=$1
19213 ac_optarg=$2
19214 ac_shift=shift
19216 esac
19218 case $ac_option in
19219 # Handling of the options.
19220 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19221 ac_cs_recheck=: ;;
19222 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19223 $as_echo "$ac_cs_version"; exit ;;
19224 --config | --confi | --conf | --con | --co | --c )
19225 $as_echo "$ac_cs_config"; exit ;;
19226 --debug | --debu | --deb | --de | --d | -d )
19227 debug=: ;;
19228 --file | --fil | --fi | --f )
19229 $ac_shift
19230 case $ac_optarg in
19231 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19232 '') as_fn_error $? "missing file argument" ;;
19233 esac
19234 as_fn_append CONFIG_FILES " '$ac_optarg'"
19235 ac_need_defaults=false;;
19236 --header | --heade | --head | --hea )
19237 $ac_shift
19238 case $ac_optarg in
19239 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19240 esac
19241 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19242 ac_need_defaults=false;;
19243 --he | --h)
19244 # Conflict between --help and --header
19245 as_fn_error $? "ambiguous option: \`$1'
19246 Try \`$0 --help' for more information.";;
19247 --help | --hel | -h )
19248 $as_echo "$ac_cs_usage"; exit ;;
19249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19250 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19251 ac_cs_silent=: ;;
19253 # This is an error.
19254 -*) as_fn_error $? "unrecognized option: \`$1'
19255 Try \`$0 --help' for more information." ;;
19257 *) as_fn_append ac_config_targets " $1"
19258 ac_need_defaults=false ;;
19260 esac
19261 shift
19262 done
19264 ac_configure_extra_args=
19266 if $ac_cs_silent; then
19267 exec 6>/dev/null
19268 ac_configure_extra_args="$ac_configure_extra_args --silent"
19271 _ACEOF
19272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19273 if \$ac_cs_recheck; then
19274 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19275 shift
19276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19277 CONFIG_SHELL='$SHELL'
19278 export CONFIG_SHELL
19279 exec "\$@"
19282 _ACEOF
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19284 exec 5>>config.log
19286 echo
19287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19288 ## Running $as_me. ##
19289 _ASBOX
19290 $as_echo "$ac_log"
19291 } >&5
19293 _ACEOF
19294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19296 # INIT-COMMANDS
19298 wine_fn_output_makedep ()
19300 as_dir=tools; as_fn_mkdir_p
19301 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19303 wine_fn_output_makefile ()
19305 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19306 `cat $wine_rules_file`
19307 _WINE_EOF
19308 as_fn_error $? "could not create Makefile" "$LINENO" 5
19311 _ACEOF
19313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19315 # Handling of arguments.
19316 for ac_config_target in $ac_config_targets
19318 case $ac_config_target in
19319 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19320 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19321 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19322 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19323 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19324 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19325 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19326 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19327 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19328 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19329 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19330 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19331 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19333 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19334 esac
19335 done
19338 # If the user did not use the arguments to specify the items to instantiate,
19339 # then the envvar interface is used. Set only those that are not.
19340 # We use the long form for the default assignment because of an extremely
19341 # bizarre bug on SunOS 4.1.3.
19342 if $ac_need_defaults; then
19343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19344 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19345 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19349 # Have a temporary directory for convenience. Make it in the build tree
19350 # simply because there is no reason against having it here, and in addition,
19351 # creating and moving files from /tmp can sometimes cause problems.
19352 # Hook for its removal unless debugging.
19353 # Note that there is a small window in which the directory will not be cleaned:
19354 # after its creation but before its name has been assigned to `$tmp'.
19355 $debug ||
19357 tmp= ac_tmp=
19358 trap 'exit_status=$?
19359 : "${ac_tmp:=$tmp}"
19360 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19362 trap 'as_fn_exit 1' 1 2 13 15
19364 # Create a (secure) tmp directory for tmp files.
19367 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19368 test -d "$tmp"
19369 } ||
19371 tmp=./conf$$-$RANDOM
19372 (umask 077 && mkdir "$tmp")
19373 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19374 ac_tmp=$tmp
19376 # Set up the scripts for CONFIG_FILES section.
19377 # No need to generate them if there are no CONFIG_FILES.
19378 # This happens for instance with `./config.status config.h'.
19379 if test -n "$CONFIG_FILES"; then
19382 ac_cr=`echo X | tr X '\015'`
19383 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19384 # But we know of no other shell where ac_cr would be empty at this
19385 # point, so we can use a bashism as a fallback.
19386 if test "x$ac_cr" = x; then
19387 eval ac_cr=\$\'\\r\'
19389 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19390 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19391 ac_cs_awk_cr='\\r'
19392 else
19393 ac_cs_awk_cr=$ac_cr
19396 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19397 _ACEOF
19401 echo "cat >conf$$subs.awk <<_ACEOF" &&
19402 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19403 echo "_ACEOF"
19404 } >conf$$subs.sh ||
19405 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19406 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19407 ac_delim='%!_!# '
19408 for ac_last_try in false false false false false :; do
19409 . ./conf$$subs.sh ||
19410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19412 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19413 if test $ac_delim_n = $ac_delim_num; then
19414 break
19415 elif $ac_last_try; then
19416 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19417 else
19418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19420 done
19421 rm -f conf$$subs.sh
19423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19424 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19425 _ACEOF
19426 sed -n '
19428 s/^/S["/; s/!.*/"]=/
19431 s/^[^!]*!//
19432 :repl
19433 t repl
19434 s/'"$ac_delim"'$//
19435 t delim
19438 s/\(.\{148\}\)..*/\1/
19439 t more1
19440 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19443 b repl
19444 :more1
19445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19448 s/.\{148\}//
19449 t nl
19450 :delim
19452 s/\(.\{148\}\)..*/\1/
19453 t more2
19454 s/["\\]/\\&/g; s/^/"/; s/$/"/
19457 :more2
19458 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19461 s/.\{148\}//
19462 t delim
19463 ' <conf$$subs.awk | sed '
19464 /^[^""]/{
19466 s/\n//
19468 ' >>$CONFIG_STATUS || ac_write_fail=1
19469 rm -f conf$$subs.awk
19470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19471 _ACAWK
19472 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19473 for (key in S) S_is_set[key] = 1
19474 FS = "\a"
19478 line = $ 0
19479 nfields = split(line, field, "@")
19480 substed = 0
19481 len = length(field[1])
19482 for (i = 2; i < nfields; i++) {
19483 key = field[i]
19484 keylen = length(key)
19485 if (S_is_set[key]) {
19486 value = S[key]
19487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19488 len += length(value) + length(field[++i])
19489 substed = 1
19490 } else
19491 len += 1 + keylen
19494 print line
19497 _ACAWK
19498 _ACEOF
19499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19500 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19501 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19502 else
19504 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19505 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19506 _ACEOF
19508 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19509 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19510 # trailing colons and then remove the whole line if VPATH becomes empty
19511 # (actually we leave an empty line to preserve line numbers).
19512 if test "x$srcdir" = x.; then
19513 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19515 s///
19516 s/^/:/
19517 s/[ ]*$/:/
19518 s/:\$(srcdir):/:/g
19519 s/:\${srcdir}:/:/g
19520 s/:@srcdir@:/:/g
19521 s/^:*//
19522 s/:*$//
19524 s/\(=[ ]*\).*/\1/
19526 s/\n//
19527 s/^[^=]*=[ ]*$//
19531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19532 fi # test -n "$CONFIG_FILES"
19534 # Set up the scripts for CONFIG_HEADERS section.
19535 # No need to generate them if there are no CONFIG_HEADERS.
19536 # This happens for instance with `./config.status Makefile'.
19537 if test -n "$CONFIG_HEADERS"; then
19538 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19539 BEGIN {
19540 _ACEOF
19542 # Transform confdefs.h into an awk script `defines.awk', embedded as
19543 # here-document in config.status, that substitutes the proper values into
19544 # config.h.in to produce config.h.
19546 # Create a delimiter string that does not exist in confdefs.h, to ease
19547 # handling of long lines.
19548 ac_delim='%!_!# '
19549 for ac_last_try in false false :; do
19550 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19551 if test -z "$ac_tt"; then
19552 break
19553 elif $ac_last_try; then
19554 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19555 else
19556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19558 done
19560 # For the awk script, D is an array of macro values keyed by name,
19561 # likewise P contains macro parameters if any. Preserve backslash
19562 # newline sequences.
19564 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19565 sed -n '
19566 s/.\{148\}/&'"$ac_delim"'/g
19567 t rset
19568 :rset
19569 s/^[ ]*#[ ]*define[ ][ ]*/ /
19570 t def
19572 :def
19573 s/\\$//
19574 t bsnl
19575 s/["\\]/\\&/g
19576 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19577 D["\1"]=" \3"/p
19578 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19580 :bsnl
19581 s/["\\]/\\&/g
19582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19583 D["\1"]=" \3\\\\\\n"\\/p
19584 t cont
19585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19586 t cont
19588 :cont
19590 s/.\{148\}/&'"$ac_delim"'/g
19591 t clear
19592 :clear
19593 s/\\$//
19594 t bsnlc
19595 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19597 :bsnlc
19598 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19599 b cont
19600 ' <confdefs.h | sed '
19601 s/'"$ac_delim"'/"\\\
19602 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19605 for (key in D) D_is_set[key] = 1
19606 FS = "\a"
19608 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19609 line = \$ 0
19610 split(line, arg, " ")
19611 if (arg[1] == "#") {
19612 defundef = arg[2]
19613 mac1 = arg[3]
19614 } else {
19615 defundef = substr(arg[1], 2)
19616 mac1 = arg[2]
19618 split(mac1, mac2, "(") #)
19619 macro = mac2[1]
19620 prefix = substr(line, 1, index(line, defundef) - 1)
19621 if (D_is_set[macro]) {
19622 # Preserve the white space surrounding the "#".
19623 print prefix "define", macro P[macro] D[macro]
19624 next
19625 } else {
19626 # Replace #undef with comments. This is necessary, for example,
19627 # in the case of _POSIX_SOURCE, which is predefined and required
19628 # on some systems where configure will not decide to define it.
19629 if (defundef == "undef") {
19630 print "/*", prefix defundef, macro, "*/"
19631 next
19635 { print }
19636 _ACAWK
19637 _ACEOF
19638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19639 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19640 fi # test -n "$CONFIG_HEADERS"
19643 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19644 shift
19645 for ac_tag
19647 case $ac_tag in
19648 :[FHLC]) ac_mode=$ac_tag; continue;;
19649 esac
19650 case $ac_mode$ac_tag in
19651 :[FHL]*:*);;
19652 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19653 :[FH]-) ac_tag=-:-;;
19654 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19655 esac
19656 ac_save_IFS=$IFS
19657 IFS=:
19658 set x $ac_tag
19659 IFS=$ac_save_IFS
19660 shift
19661 ac_file=$1
19662 shift
19664 case $ac_mode in
19665 :L) ac_source=$1;;
19666 :[FH])
19667 ac_file_inputs=
19668 for ac_f
19670 case $ac_f in
19671 -) ac_f="$ac_tmp/stdin";;
19672 *) # Look for the file first in the build tree, then in the source tree
19673 # (if the path is not absolute). The absolute path cannot be DOS-style,
19674 # because $ac_f cannot contain `:'.
19675 test -f "$ac_f" ||
19676 case $ac_f in
19677 [\\/$]*) false;;
19678 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19679 esac ||
19680 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19681 esac
19682 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19683 as_fn_append ac_file_inputs " '$ac_f'"
19684 done
19686 # Let's still pretend it is `configure' which instantiates (i.e., don't
19687 # use $as_me), people would be surprised to read:
19688 # /* config.h. Generated by config.status. */
19689 configure_input='Generated from '`
19690 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19691 `' by configure.'
19692 if test x"$ac_file" != x-; then
19693 configure_input="$ac_file. $configure_input"
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19695 $as_echo "$as_me: creating $ac_file" >&6;}
19697 # Neutralize special characters interpreted by sed in replacement strings.
19698 case $configure_input in #(
19699 *\&* | *\|* | *\\* )
19700 ac_sed_conf_input=`$as_echo "$configure_input" |
19701 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19702 *) ac_sed_conf_input=$configure_input;;
19703 esac
19705 case $ac_tag in
19706 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19707 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19708 esac
19710 esac
19712 ac_dir=`$as_dirname -- "$ac_file" ||
19713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19714 X"$ac_file" : 'X\(//\)[^/]' \| \
19715 X"$ac_file" : 'X\(//\)$' \| \
19716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19717 $as_echo X"$ac_file" |
19718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19719 s//\1/
19722 /^X\(\/\/\)[^/].*/{
19723 s//\1/
19726 /^X\(\/\/\)$/{
19727 s//\1/
19730 /^X\(\/\).*/{
19731 s//\1/
19734 s/.*/./; q'`
19735 as_dir="$ac_dir"; as_fn_mkdir_p
19736 ac_builddir=.
19738 case "$ac_dir" in
19739 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19741 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19742 # A ".." for each directory in $ac_dir_suffix.
19743 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19744 case $ac_top_builddir_sub in
19745 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19746 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19747 esac ;;
19748 esac
19749 ac_abs_top_builddir=$ac_pwd
19750 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19751 # for backward compatibility:
19752 ac_top_builddir=$ac_top_build_prefix
19754 case $srcdir in
19755 .) # We are building in place.
19756 ac_srcdir=.
19757 ac_top_srcdir=$ac_top_builddir_sub
19758 ac_abs_top_srcdir=$ac_pwd ;;
19759 [\\/]* | ?:[\\/]* ) # Absolute name.
19760 ac_srcdir=$srcdir$ac_dir_suffix;
19761 ac_top_srcdir=$srcdir
19762 ac_abs_top_srcdir=$srcdir ;;
19763 *) # Relative name.
19764 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19765 ac_top_srcdir=$ac_top_build_prefix$srcdir
19766 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19767 esac
19768 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19771 case $ac_mode in
19774 # CONFIG_FILE
19777 _ACEOF
19779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19780 # If the template does not know about datarootdir, expand it.
19781 # FIXME: This hack should be removed a few years after 2.60.
19782 ac_datarootdir_hack=; ac_datarootdir_seen=
19783 ac_sed_dataroot='
19784 /datarootdir/ {
19788 /@datadir@/p
19789 /@docdir@/p
19790 /@infodir@/p
19791 /@localedir@/p
19792 /@mandir@/p'
19793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19794 *datarootdir*) ac_datarootdir_seen=yes;;
19795 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19798 _ACEOF
19799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19800 ac_datarootdir_hack='
19801 s&@datadir@&$datadir&g
19802 s&@docdir@&$docdir&g
19803 s&@infodir@&$infodir&g
19804 s&@localedir@&$localedir&g
19805 s&@mandir@&$mandir&g
19806 s&\\\${datarootdir}&$datarootdir&g' ;;
19807 esac
19808 _ACEOF
19810 # Neutralize VPATH when `$srcdir' = `.'.
19811 # Shell code in configure.ac might set extrasub.
19812 # FIXME: do we really want to maintain this feature?
19813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19814 ac_sed_extra="$ac_vpsub
19815 $extrasub
19816 _ACEOF
19817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19820 s|@configure_input@|$ac_sed_conf_input|;t t
19821 s&@top_builddir@&$ac_top_builddir_sub&;t t
19822 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19823 s&@srcdir@&$ac_srcdir&;t t
19824 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19825 s&@top_srcdir@&$ac_top_srcdir&;t t
19826 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19827 s&@builddir@&$ac_builddir&;t t
19828 s&@abs_builddir@&$ac_abs_builddir&;t t
19829 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19830 $ac_datarootdir_hack
19832 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19833 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19835 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19836 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19837 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19838 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19840 which seems to be undefined. Please make sure it is defined" >&5
19841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19842 which seems to be undefined. Please make sure it is defined" >&2;}
19844 rm -f "$ac_tmp/stdin"
19845 case $ac_file in
19846 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19847 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19848 esac \
19849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19853 # CONFIG_HEADER
19855 if test x"$ac_file" != x-; then
19857 $as_echo "/* $configure_input */" \
19858 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19859 } >"$ac_tmp/config.h" \
19860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19861 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19863 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19864 else
19865 rm -f "$ac_file"
19866 mv "$ac_tmp/config.h" "$ac_file" \
19867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19869 else
19870 $as_echo "/* $configure_input */" \
19871 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19872 || as_fn_error $? "could not create -" "$LINENO" 5
19877 # CONFIG_LINK
19880 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19882 else
19883 # Prefer the file from the source tree if names are identical.
19884 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19885 ac_source=$srcdir/$ac_source
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19889 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19891 if test ! -r "$ac_source"; then
19892 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19894 rm -f "$ac_file"
19896 # Try a relative symlink, then a hard link, then a copy.
19897 case $ac_source in
19898 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19899 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19900 esac
19901 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19902 ln "$ac_source" "$ac_file" 2>/dev/null ||
19903 cp -p "$ac_source" "$ac_file" ||
19904 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19907 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19908 $as_echo "$as_me: executing $ac_file commands" >&6;}
19910 esac
19913 case $ac_file$ac_mode in
19914 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19915 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19916 "Makefile":C) wine_fn_output_makefile Makefile ;;
19918 esac
19919 done # for ac_tag
19922 as_fn_exit 0
19923 _ACEOF
19924 ac_clean_files=$ac_clean_files_save
19926 test $ac_write_fail = 0 ||
19927 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19930 # configure is writing to config.log, and then calls config.status.
19931 # config.status does its own redirection, appending to config.log.
19932 # Unfortunately, on DOS this fails, as config.log is still kept open
19933 # by configure, so config.status won't be able to write to it; its
19934 # output is simply discarded. So we exec the FD to /dev/null,
19935 # effectively closing config.log, so it can be properly (re)opened and
19936 # appended to by config.status. When coming back to configure, we
19937 # need to make the FD available again.
19938 if test "$no_create" != yes; then
19939 ac_cs_success=:
19940 ac_config_status_args=
19941 test "$silent" = yes &&
19942 ac_config_status_args="$ac_config_status_args --quiet"
19943 exec 5>/dev/null
19944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19945 exec 5>>config.log
19946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19947 # would make configure fail if this is the last instruction.
19948 $ac_cs_success || as_fn_exit 1
19950 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19952 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19956 if test "$no_create" = "yes"
19957 then
19958 exit 0
19961 ac_save_IFS="$IFS"
19962 if test "x$wine_notices" != x; then
19963 echo >&6
19964 IFS="|"
19965 for msg in $wine_notices; do
19966 IFS="$ac_save_IFS"
19967 if ${msg:+false} :; then :
19969 else
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19971 $as_echo "$as_me: $msg" >&6;}
19973 done
19975 IFS="|"
19976 for msg in $wine_warnings; do
19977 IFS="$ac_save_IFS"
19978 if ${msg:+false} :; then :
19980 else
19981 echo >&2
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19983 $as_echo "$as_me: WARNING: $msg" >&2;}
19985 done
19986 IFS="$ac_save_IFS"
19988 $as_echo "
19989 $as_me: Finished. Do '${ac_make}' to compile Wine.
19990 " >&6