wined3d: Recognize a couple of Haswell / Broadwell GPUs on macOS.
[wine.git] / configure
blob99793b05169005f21b65eef0149ff267ea117583
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.20.
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.20'
584 PACKAGE_STRING='Wine 1.9.20'
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_appcompat_l1_1_1
879 enable_api_ms_win_core_appinit_l1_1_0
880 enable_api_ms_win_core_atoms_l1_1_0
881 enable_api_ms_win_core_bem_l1_1_0
882 enable_api_ms_win_core_com_l1_1_0
883 enable_api_ms_win_core_com_l1_1_1
884 enable_api_ms_win_core_console_l1_1_0
885 enable_api_ms_win_core_console_l2_1_0
886 enable_api_ms_win_core_datetime_l1_1_0
887 enable_api_ms_win_core_datetime_l1_1_1
888 enable_api_ms_win_core_debug_l1_1_0
889 enable_api_ms_win_core_debug_l1_1_1
890 enable_api_ms_win_core_delayload_l1_1_0
891 enable_api_ms_win_core_delayload_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_0
893 enable_api_ms_win_core_errorhandling_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_2
895 enable_api_ms_win_core_fibers_l1_1_0
896 enable_api_ms_win_core_fibers_l1_1_1
897 enable_api_ms_win_core_file_l1_1_0
898 enable_api_ms_win_core_file_l1_2_0
899 enable_api_ms_win_core_file_l1_2_1
900 enable_api_ms_win_core_file_l2_1_0
901 enable_api_ms_win_core_file_l2_1_1
902 enable_api_ms_win_core_handle_l1_1_0
903 enable_api_ms_win_core_heap_l1_1_0
904 enable_api_ms_win_core_heap_l1_2_0
905 enable_api_ms_win_core_heap_obsolete_l1_1_0
906 enable_api_ms_win_core_interlocked_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_2_0
908 enable_api_ms_win_core_io_l1_1_0
909 enable_api_ms_win_core_io_l1_1_1
910 enable_api_ms_win_core_job_l1_1_0
911 enable_api_ms_win_core_job_l2_1_0
912 enable_api_ms_win_core_kernel32_legacy_l1_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_1
914 enable_api_ms_win_core_kernel32_private_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_1_0
916 enable_api_ms_win_core_libraryloader_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_2_0
918 enable_api_ms_win_core_libraryloader_l1_2_2
919 enable_api_ms_win_core_localization_l1_1_0
920 enable_api_ms_win_core_localization_l1_2_0
921 enable_api_ms_win_core_localization_l1_2_1
922 enable_api_ms_win_core_localization_l2_1_0
923 enable_api_ms_win_core_localization_obsolete_l1_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_2_0
925 enable_api_ms_win_core_localization_private_l1_1_0
926 enable_api_ms_win_core_localregistry_l1_1_0
927 enable_api_ms_win_core_memory_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_1
929 enable_api_ms_win_core_memory_l1_1_2
930 enable_api_ms_win_core_misc_l1_1_0
931 enable_api_ms_win_core_namedpipe_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_2_0
933 enable_api_ms_win_core_namespace_l1_1_0
934 enable_api_ms_win_core_normalization_l1_1_0
935 enable_api_ms_win_core_path_l1_1_0
936 enable_api_ms_win_core_privateprofile_l1_1_1
937 enable_api_ms_win_core_processenvironment_l1_1_0
938 enable_api_ms_win_core_processenvironment_l1_2_0
939 enable_api_ms_win_core_processthreads_l1_1_0
940 enable_api_ms_win_core_processthreads_l1_1_1
941 enable_api_ms_win_core_processthreads_l1_1_2
942 enable_api_ms_win_core_profile_l1_1_0
943 enable_api_ms_win_core_psapi_l1_1_0
944 enable_api_ms_win_core_realtime_l1_1_0
945 enable_api_ms_win_core_registry_l1_1_0
946 enable_api_ms_win_core_registryuserspecific_l1_1_0
947 enable_api_ms_win_core_rtlsupport_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_2_0
949 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
950 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
951 enable_api_ms_win_core_sidebyside_l1_1_0
952 enable_api_ms_win_core_string_l1_1_0
953 enable_api_ms_win_core_string_l2_1_0
954 enable_api_ms_win_core_string_obsolete_l1_1_0
955 enable_api_ms_win_core_stringansi_l1_1_0
956 enable_api_ms_win_core_synch_l1_1_0
957 enable_api_ms_win_core_synch_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_1_0
959 enable_api_ms_win_core_sysinfo_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_2_1
961 enable_api_ms_win_core_threadpool_l1_1_0
962 enable_api_ms_win_core_threadpool_l1_2_0
963 enable_api_ms_win_core_threadpool_legacy_l1_1_0
964 enable_api_ms_win_core_timezone_l1_1_0
965 enable_api_ms_win_core_toolhelp_l1_1_0
966 enable_api_ms_win_core_url_l1_1_0
967 enable_api_ms_win_core_util_l1_1_0
968 enable_api_ms_win_core_version_l1_1_0
969 enable_api_ms_win_core_version_private_l1_1_0
970 enable_api_ms_win_core_versionansi_l1_1_0
971 enable_api_ms_win_core_windowserrorreporting_l1_1_0
972 enable_api_ms_win_core_winrt_error_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_1
974 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
975 enable_api_ms_win_core_winrt_l1_1_0
976 enable_api_ms_win_core_winrt_registration_l1_1_0
977 enable_api_ms_win_core_winrt_string_l1_1_0
978 enable_api_ms_win_core_wow64_l1_1_0
979 enable_api_ms_win_core_xstate_l1_1_0
980 enable_api_ms_win_core_xstate_l2_1_0
981 enable_api_ms_win_crt_conio_l1_1_0
982 enable_api_ms_win_crt_convert_l1_1_0
983 enable_api_ms_win_crt_environment_l1_1_0
984 enable_api_ms_win_crt_filesystem_l1_1_0
985 enable_api_ms_win_crt_heap_l1_1_0
986 enable_api_ms_win_crt_locale_l1_1_0
987 enable_api_ms_win_crt_math_l1_1_0
988 enable_api_ms_win_crt_multibyte_l1_1_0
989 enable_api_ms_win_crt_private_l1_1_0
990 enable_api_ms_win_crt_process_l1_1_0
991 enable_api_ms_win_crt_runtime_l1_1_0
992 enable_api_ms_win_crt_stdio_l1_1_0
993 enable_api_ms_win_crt_string_l1_1_0
994 enable_api_ms_win_crt_time_l1_1_0
995 enable_api_ms_win_crt_utility_l1_1_0
996 enable_api_ms_win_downlevel_advapi32_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l2_1_0
998 enable_api_ms_win_downlevel_normaliz_l1_1_0
999 enable_api_ms_win_downlevel_ole32_l1_1_0
1000 enable_api_ms_win_downlevel_shell32_l1_1_0
1001 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1003 enable_api_ms_win_downlevel_user32_l1_1_0
1004 enable_api_ms_win_downlevel_version_l1_1_0
1005 enable_api_ms_win_eventing_classicprovider_l1_1_0
1006 enable_api_ms_win_eventing_consumer_l1_1_0
1007 enable_api_ms_win_eventing_controller_l1_1_0
1008 enable_api_ms_win_eventing_provider_l1_1_0
1009 enable_api_ms_win_eventlog_legacy_l1_1_0
1010 enable_api_ms_win_ntuser_dc_access_l1_1_0
1011 enable_api_ms_win_security_audit_l1_1_1
1012 enable_api_ms_win_security_base_l1_1_0
1013 enable_api_ms_win_security_base_l1_2_0
1014 enable_api_ms_win_security_base_private_l1_1_1
1015 enable_api_ms_win_security_lsalookup_l1_1_0
1016 enable_api_ms_win_security_lsalookup_l1_1_1
1017 enable_api_ms_win_security_sddl_l1_1_0
1018 enable_api_ms_win_service_core_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_1
1020 enable_api_ms_win_service_management_l1_1_0
1021 enable_api_ms_win_service_management_l2_1_0
1022 enable_api_ms_win_service_private_l1_1_1
1023 enable_api_ms_win_service_winsvc_l1_1_0
1024 enable_api_ms_win_service_winsvc_l1_2_0
1025 enable_api_ms_win_shell_shellcom_l1_1_0
1026 enable_api_ms_win_shell_shellfolders_l1_1_0
1027 enable_apphelp
1028 enable_appwiz_cpl
1029 enable_atl
1030 enable_atl100
1031 enable_atl110
1032 enable_atl80
1033 enable_atl90
1034 enable_authz
1035 enable_avicap32
1036 enable_avifil32
1037 enable_avrt
1038 enable_bcrypt
1039 enable_bluetoothapis
1040 enable_browseui
1041 enable_bthprops_cpl
1042 enable_cabinet
1043 enable_capi2032
1044 enable_cards
1045 enable_cfgmgr32
1046 enable_clusapi
1047 enable_combase
1048 enable_comcat
1049 enable_comctl32
1050 enable_comdlg32
1051 enable_compstui
1052 enable_comsvcs
1053 enable_concrt140
1054 enable_connect
1055 enable_credui
1056 enable_crtdll
1057 enable_crypt32
1058 enable_cryptdlg
1059 enable_cryptdll
1060 enable_cryptext
1061 enable_cryptnet
1062 enable_cryptui
1063 enable_ctapi32
1064 enable_ctl3d32
1065 enable_d2d1
1066 enable_d3d10
1067 enable_d3d10_1
1068 enable_d3d10core
1069 enable_d3d11
1070 enable_d3d8
1071 enable_d3d9
1072 enable_d3dcompiler_33
1073 enable_d3dcompiler_34
1074 enable_d3dcompiler_35
1075 enable_d3dcompiler_36
1076 enable_d3dcompiler_37
1077 enable_d3dcompiler_38
1078 enable_d3dcompiler_39
1079 enable_d3dcompiler_40
1080 enable_d3dcompiler_41
1081 enable_d3dcompiler_42
1082 enable_d3dcompiler_43
1083 enable_d3dcompiler_46
1084 enable_d3dcompiler_47
1085 enable_d3dim
1086 enable_d3drm
1087 enable_d3dx10_33
1088 enable_d3dx10_34
1089 enable_d3dx10_35
1090 enable_d3dx10_36
1091 enable_d3dx10_37
1092 enable_d3dx10_38
1093 enable_d3dx10_39
1094 enable_d3dx10_40
1095 enable_d3dx10_41
1096 enable_d3dx10_42
1097 enable_d3dx10_43
1098 enable_d3dx11_42
1099 enable_d3dx11_43
1100 enable_d3dx9_24
1101 enable_d3dx9_25
1102 enable_d3dx9_26
1103 enable_d3dx9_27
1104 enable_d3dx9_28
1105 enable_d3dx9_29
1106 enable_d3dx9_30
1107 enable_d3dx9_31
1108 enable_d3dx9_32
1109 enable_d3dx9_33
1110 enable_d3dx9_34
1111 enable_d3dx9_35
1112 enable_d3dx9_36
1113 enable_d3dx9_37
1114 enable_d3dx9_38
1115 enable_d3dx9_39
1116 enable_d3dx9_40
1117 enable_d3dx9_41
1118 enable_d3dx9_42
1119 enable_d3dx9_43
1120 enable_d3dxof
1121 enable_davclnt
1122 enable_dbgeng
1123 enable_dbghelp
1124 enable_dciman32
1125 enable_ddraw
1126 enable_ddrawex
1127 enable_devenum
1128 enable_dhcpcsvc
1129 enable_difxapi
1130 enable_dinput
1131 enable_dinput8
1132 enable_dispex
1133 enable_dmband
1134 enable_dmcompos
1135 enable_dmime
1136 enable_dmloader
1137 enable_dmscript
1138 enable_dmstyle
1139 enable_dmsynth
1140 enable_dmusic
1141 enable_dmusic32
1142 enable_dnsapi
1143 enable_dplay
1144 enable_dplayx
1145 enable_dpnaddr
1146 enable_dpnet
1147 enable_dpnhpast
1148 enable_dpnlobby
1149 enable_dpvoice
1150 enable_dpwsockx
1151 enable_drmclien
1152 enable_dsound
1153 enable_dssenh
1154 enable_dswave
1155 enable_dwmapi
1156 enable_dwrite
1157 enable_dxdiagn
1158 enable_dxgi
1159 enable_dxva2
1160 enable_esent
1161 enable_evr
1162 enable_explorerframe
1163 enable_ext_ms_win_gdi_devcaps_l1_1_0
1164 enable_faultrep
1165 enable_fltlib
1166 enable_fltmgr_sys
1167 enable_fntcache
1168 enable_fontsub
1169 enable_fusion
1170 enable_fwpuclnt
1171 enable_gameux
1172 enable_gdi32
1173 enable_gdiplus
1174 enable_glu32
1175 enable_gphoto2_ds
1176 enable_gpkcsp
1177 enable_hal
1178 enable_hhctrl_ocx
1179 enable_hid
1180 enable_hidclass_sys
1181 enable_hlink
1182 enable_hnetcfg
1183 enable_httpapi
1184 enable_iccvid
1185 enable_icmp
1186 enable_ieframe
1187 enable_imaadp32_acm
1188 enable_imagehlp
1189 enable_imm32
1190 enable_inetcomm
1191 enable_inetcpl_cpl
1192 enable_inetmib1
1193 enable_infosoft
1194 enable_initpki
1195 enable_inkobj
1196 enable_inseng
1197 enable_iphlpapi
1198 enable_iprop
1199 enable_irprops_cpl
1200 enable_itircl
1201 enable_itss
1202 enable_joy_cpl
1203 enable_jscript
1204 enable_jsproxy
1205 enable_kernel32
1206 enable_kernelbase
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_loadperf
1210 enable_localspl
1211 enable_localui
1212 enable_lz32
1213 enable_mapi32
1214 enable_mapistub
1215 enable_mciavi32
1216 enable_mcicda
1217 enable_mciqtz32
1218 enable_mciseq
1219 enable_mciwave
1220 enable_mf
1221 enable_mfplat
1222 enable_mfreadwrite
1223 enable_mgmtapi
1224 enable_midimap
1225 enable_mlang
1226 enable_mmcndmgr
1227 enable_mmdevapi
1228 enable_mountmgr_sys
1229 enable_mpr
1230 enable_mprapi
1231 enable_msacm32_drv
1232 enable_msacm32
1233 enable_msadp32_acm
1234 enable_msasn1
1235 enable_mscat32
1236 enable_mscms
1237 enable_mscoree
1238 enable_msctf
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdelta
1242 enable_msdmo
1243 enable_msdrm
1244 enable_msftedit
1245 enable_msg711_acm
1246 enable_msgsm32_acm
1247 enable_mshtml_tlb
1248 enable_mshtml
1249 enable_msi
1250 enable_msident
1251 enable_msimg32
1252 enable_msimsg
1253 enable_msimtf
1254 enable_msisip
1255 enable_msisys_ocx
1256 enable_msls31
1257 enable_msnet32
1258 enable_mspatcha
1259 enable_msports
1260 enable_msrle32
1261 enable_msscript_ocx
1262 enable_mssign32
1263 enable_mssip32
1264 enable_mstask
1265 enable_msvcirt
1266 enable_msvcm80
1267 enable_msvcm90
1268 enable_msvcp100
1269 enable_msvcp110
1270 enable_msvcp120
1271 enable_msvcp120_app
1272 enable_msvcp140
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcr100
1279 enable_msvcr110
1280 enable_msvcr120
1281 enable_msvcr120_app
1282 enable_msvcr70
1283 enable_msvcr71
1284 enable_msvcr80
1285 enable_msvcr90
1286 enable_msvcrt
1287 enable_msvcrt20
1288 enable_msvcrt40
1289 enable_msvcrtd
1290 enable_msvfw32
1291 enable_msvidc32
1292 enable_mswsock
1293 enable_msxml
1294 enable_msxml2
1295 enable_msxml3
1296 enable_msxml4
1297 enable_msxml6
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netprofm
1304 enable_newdev
1305 enable_normaliz
1306 enable_npmshtml
1307 enable_npptools
1308 enable_ntdll
1309 enable_ntdsapi
1310 enable_ntoskrnl_exe
1311 enable_ntprint
1312 enable_objsel
1313 enable_odbc32
1314 enable_odbccp32
1315 enable_odbccu32
1316 enable_ole32
1317 enable_oleacc
1318 enable_oleaut32
1319 enable_olecli32
1320 enable_oledb32
1321 enable_oledlg
1322 enable_olepro32
1323 enable_olesvr32
1324 enable_olethk32
1325 enable_openal32
1326 enable_opencl
1327 enable_opengl32
1328 enable_packager
1329 enable_pdh
1330 enable_photometadatahandler
1331 enable_pidgen
1332 enable_powrprof
1333 enable_printui
1334 enable_prntvpt
1335 enable_propsys
1336 enable_psapi
1337 enable_pstorec
1338 enable_qcap
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_samlib
1356 enable_sane_ds
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrrun
1362 enable_scsiport_sys
1363 enable_secur32
1364 enable_security
1365 enable_sensapi
1366 enable_serialui
1367 enable_setupapi
1368 enable_sfc
1369 enable_sfc_os
1370 enable_shdoclc
1371 enable_shdocvw
1372 enable_shell32
1373 enable_shfolder
1374 enable_shlwapi
1375 enable_slbcsp
1376 enable_slc
1377 enable_snmpapi
1378 enable_softpub
1379 enable_spoolss
1380 enable_sspicli
1381 enable_stdole2_tlb
1382 enable_stdole32_tlb
1383 enable_sti
1384 enable_svrapi
1385 enable_sxs
1386 enable_t2embed
1387 enable_tapi32
1388 enable_taskschd
1389 enable_tdi_sys
1390 enable_traffic
1391 enable_twain_32
1392 enable_ucrtbase
1393 enable_unicows
1394 enable_updspapi
1395 enable_url
1396 enable_urlmon
1397 enable_usbd_sys
1398 enable_user32
1399 enable_userenv
1400 enable_usp10
1401 enable_uxtheme
1402 enable_vbscript
1403 enable_vcomp
1404 enable_vcomp100
1405 enable_vcomp110
1406 enable_vcomp120
1407 enable_vcomp140
1408 enable_vcomp90
1409 enable_vcruntime140
1410 enable_vdmdbg
1411 enable_version
1412 enable_vssapi
1413 enable_wbemdisp
1414 enable_wbemprox
1415 enable_webservices
1416 enable_wer
1417 enable_wevtapi
1418 enable_wiaservc
1419 enable_wimgapi
1420 enable_windowscodecs
1421 enable_windowscodecsext
1422 enable_winealsa_drv
1423 enable_winebus_sys
1424 enable_winecoreaudio_drv
1425 enable_wined3d
1426 enable_winegstreamer
1427 enable_winehid_sys
1428 enable_winejoystick_drv
1429 enable_winemac_drv
1430 enable_winemapi
1431 enable_winemp3_acm
1432 enable_wineoss_drv
1433 enable_wineps_drv
1434 enable_winepulse_drv
1435 enable_wineqtdecoder
1436 enable_winex11_drv
1437 enable_wing32
1438 enable_winhttp
1439 enable_wininet
1440 enable_winmm
1441 enable_winnls32
1442 enable_winscard
1443 enable_winspool_drv
1444 enable_winsta
1445 enable_wintab32
1446 enable_wintrust
1447 enable_wlanapi
1448 enable_wldap32
1449 enable_wmasf
1450 enable_wmi
1451 enable_wmiutils
1452 enable_wmp
1453 enable_wmvcore
1454 enable_wnaspi32
1455 enable_wpc
1456 enable_wpcap
1457 enable_ws2_32
1458 enable_wshom_ocx
1459 enable_wsnmp32
1460 enable_wsock32
1461 enable_wtsapi32
1462 enable_wuapi
1463 enable_wuaueng
1464 enable_x3daudio1_0
1465 enable_x3daudio1_1
1466 enable_x3daudio1_2
1467 enable_x3daudio1_3
1468 enable_x3daudio1_4
1469 enable_x3daudio1_5
1470 enable_x3daudio1_6
1471 enable_x3daudio1_7
1472 enable_xapofx1_1
1473 enable_xapofx1_2
1474 enable_xapofx1_3
1475 enable_xapofx1_4
1476 enable_xapofx1_5
1477 enable_xaudio2_0
1478 enable_xaudio2_1
1479 enable_xaudio2_2
1480 enable_xaudio2_3
1481 enable_xaudio2_4
1482 enable_xaudio2_5
1483 enable_xaudio2_6
1484 enable_xaudio2_7
1485 enable_xaudio2_8
1486 enable_xaudio2_9
1487 enable_xinput1_1
1488 enable_xinput1_2
1489 enable_xinput1_3
1490 enable_xinput1_4
1491 enable_xinput9_1_0
1492 enable_xmllite
1493 enable_xolehlp
1494 enable_xpsprint
1495 enable_xpssvcs
1496 enable_fonts
1497 enable_include
1498 enable_libs_port
1499 enable_libs_wine
1500 enable_libs_wpp
1501 enable_loader
1502 enable_po
1503 enable_arp
1504 enable_aspnet_regiis
1505 enable_attrib
1506 enable_cabarc
1507 enable_cacls
1508 enable_clock
1509 enable_cmd
1510 enable_conhost
1511 enable_control
1512 enable_cscript
1513 enable_dpnsvr
1514 enable_dxdiag
1515 enable_eject
1516 enable_expand
1517 enable_explorer
1518 enable_extrac32
1519 enable_findstr
1520 enable_fsutil
1521 enable_hh
1522 enable_hostname
1523 enable_icacls
1524 enable_icinfo
1525 enable_iexplore
1526 enable_ipconfig
1527 enable_lodctr
1528 enable_mofcomp
1529 enable_mshta
1530 enable_msiexec
1531 enable_msinfo32
1532 enable_net
1533 enable_netsh
1534 enable_netstat
1535 enable_ngen
1536 enable_notepad
1537 enable_oleview
1538 enable_ping
1539 enable_plugplay
1540 enable_presentationfontcache
1541 enable_progman
1542 enable_reg
1543 enable_regasm
1544 enable_regedit
1545 enable_regsvcs
1546 enable_regsvr32
1547 enable_rpcss
1548 enable_rundll32
1549 enable_sc
1550 enable_schtasks
1551 enable_sdbinst
1552 enable_secedit
1553 enable_servicemodelreg
1554 enable_services
1555 enable_shutdown
1556 enable_spoolsv
1557 enable_start
1558 enable_subst
1559 enable_svchost
1560 enable_systeminfo
1561 enable_taskkill
1562 enable_tasklist
1563 enable_taskmgr
1564 enable_termsv
1565 enable_uninstaller
1566 enable_unlodctr
1567 enable_view
1568 enable_wevtutil
1569 enable_wineboot
1570 enable_winebrowser
1571 enable_winecfg
1572 enable_wineconsole
1573 enable_winedbg
1574 enable_winedevice
1575 enable_winefile
1576 enable_winemenubuilder
1577 enable_winemine
1578 enable_winemsibuilder
1579 enable_winepath
1580 enable_winetest
1581 enable_winhlp32
1582 enable_winver
1583 enable_wmic
1584 enable_wmplayer
1585 enable_wordpad
1586 enable_write
1587 enable_wscript
1588 enable_wusa
1589 enable_xcopy
1590 enable_server
1591 enable_tools
1593 ac_precious_vars='build_alias
1594 host_alias
1595 target_alias
1597 CFLAGS
1598 LDFLAGS
1599 LIBS
1600 CPPFLAGS
1602 CXXFLAGS
1605 XMKMF
1606 XML2_CFLAGS
1607 XML2_LIBS
1608 XSLT_CFLAGS
1609 XSLT_LIBS
1610 DBUS_CFLAGS
1611 DBUS_LIBS
1612 HAL_CFLAGS
1613 HAL_LIBS
1614 GNUTLS_CFLAGS
1615 GNUTLS_LIBS
1616 SANE_CFLAGS
1617 SANE_LIBS
1618 GPHOTO2_CFLAGS
1619 GPHOTO2_LIBS
1620 GPHOTO2_PORT_CFLAGS
1621 GPHOTO2_PORT_LIBS
1622 LCMS2_CFLAGS
1623 LCMS2_LIBS
1624 FREETYPE_CFLAGS
1625 FREETYPE_LIBS
1626 PULSE_CFLAGS
1627 PULSE_LIBS
1628 GSTREAMER_CFLAGS
1629 GSTREAMER_LIBS
1630 UDEV_CFLAGS
1631 UDEV_LIBS
1632 CAPI20_CFLAGS
1633 CAPI20_LIBS
1634 FONTCONFIG_CFLAGS
1635 FONTCONFIG_LIBS
1636 JPEG_CFLAGS
1637 JPEG_LIBS
1638 PNG_CFLAGS
1639 PNG_LIBS
1640 TIFF_CFLAGS
1641 TIFF_LIBS
1642 MPG123_CFLAGS
1643 MPG123_LIBS
1644 NETAPI_CFLAGS
1645 NETAPI_LIBS'
1648 # Initialize some variables set by options.
1649 ac_init_help=
1650 ac_init_version=false
1651 ac_unrecognized_opts=
1652 ac_unrecognized_sep=
1653 # The variables have the same names as the options, with
1654 # dashes changed to underlines.
1655 cache_file=/dev/null
1656 exec_prefix=NONE
1657 no_create=
1658 no_recursion=
1659 prefix=NONE
1660 program_prefix=NONE
1661 program_suffix=NONE
1662 program_transform_name=s,x,x,
1663 silent=
1664 site=
1665 srcdir=
1666 verbose=
1667 x_includes=NONE
1668 x_libraries=NONE
1670 # Installation directory options.
1671 # These are left unexpanded so users can "make install exec_prefix=/foo"
1672 # and all the variables that are supposed to be based on exec_prefix
1673 # by default will actually change.
1674 # Use braces instead of parens because sh, perl, etc. also accept them.
1675 # (The list follows the same order as the GNU Coding Standards.)
1676 bindir='${exec_prefix}/bin'
1677 sbindir='${exec_prefix}/sbin'
1678 libexecdir='${exec_prefix}/libexec'
1679 datarootdir='${prefix}/share'
1680 datadir='${datarootdir}'
1681 sysconfdir='${prefix}/etc'
1682 sharedstatedir='${prefix}/com'
1683 localstatedir='${prefix}/var'
1684 runstatedir='${localstatedir}/run'
1685 includedir='${prefix}/include'
1686 oldincludedir='/usr/include'
1687 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1688 infodir='${datarootdir}/info'
1689 htmldir='${docdir}'
1690 dvidir='${docdir}'
1691 pdfdir='${docdir}'
1692 psdir='${docdir}'
1693 libdir='${exec_prefix}/lib'
1694 localedir='${datarootdir}/locale'
1695 mandir='${datarootdir}/man'
1697 ac_prev=
1698 ac_dashdash=
1699 for ac_option
1701 # If the previous option needs an argument, assign it.
1702 if test -n "$ac_prev"; then
1703 eval $ac_prev=\$ac_option
1704 ac_prev=
1705 continue
1708 case $ac_option in
1709 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1710 *=) ac_optarg= ;;
1711 *) ac_optarg=yes ;;
1712 esac
1714 # Accept the important Cygnus configure options, so we can diagnose typos.
1716 case $ac_dashdash$ac_option in
1718 ac_dashdash=yes ;;
1720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1721 ac_prev=bindir ;;
1722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1723 bindir=$ac_optarg ;;
1725 -build | --build | --buil | --bui | --bu)
1726 ac_prev=build_alias ;;
1727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1728 build_alias=$ac_optarg ;;
1730 -cache-file | --cache-file | --cache-fil | --cache-fi \
1731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1732 ac_prev=cache_file ;;
1733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1735 cache_file=$ac_optarg ;;
1737 --config-cache | -C)
1738 cache_file=config.cache ;;
1740 -datadir | --datadir | --datadi | --datad)
1741 ac_prev=datadir ;;
1742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1743 datadir=$ac_optarg ;;
1745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1746 | --dataroo | --dataro | --datar)
1747 ac_prev=datarootdir ;;
1748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1750 datarootdir=$ac_optarg ;;
1752 -disable-* | --disable-*)
1753 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1754 # Reject names that are not valid shell variable names.
1755 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1756 as_fn_error $? "invalid feature name: $ac_useropt"
1757 ac_useropt_orig=$ac_useropt
1758 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1759 case $ac_user_opts in
1761 "enable_$ac_useropt"
1762 "*) ;;
1763 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1764 ac_unrecognized_sep=', ';;
1765 esac
1766 eval enable_$ac_useropt=no ;;
1768 -docdir | --docdir | --docdi | --doc | --do)
1769 ac_prev=docdir ;;
1770 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1771 docdir=$ac_optarg ;;
1773 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1774 ac_prev=dvidir ;;
1775 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1776 dvidir=$ac_optarg ;;
1778 -enable-* | --enable-*)
1779 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1782 as_fn_error $? "invalid feature name: $ac_useropt"
1783 ac_useropt_orig=$ac_useropt
1784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1787 "enable_$ac_useropt"
1788 "*) ;;
1789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1790 ac_unrecognized_sep=', ';;
1791 esac
1792 eval enable_$ac_useropt=\$ac_optarg ;;
1794 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1795 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1796 | --exec | --exe | --ex)
1797 ac_prev=exec_prefix ;;
1798 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1799 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1800 | --exec=* | --exe=* | --ex=*)
1801 exec_prefix=$ac_optarg ;;
1803 -gas | --gas | --ga | --g)
1804 # Obsolete; use --with-gas.
1805 with_gas=yes ;;
1807 -help | --help | --hel | --he | -h)
1808 ac_init_help=long ;;
1809 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1810 ac_init_help=recursive ;;
1811 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1812 ac_init_help=short ;;
1814 -host | --host | --hos | --ho)
1815 ac_prev=host_alias ;;
1816 -host=* | --host=* | --hos=* | --ho=*)
1817 host_alias=$ac_optarg ;;
1819 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1820 ac_prev=htmldir ;;
1821 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1822 | --ht=*)
1823 htmldir=$ac_optarg ;;
1825 -includedir | --includedir | --includedi | --included | --include \
1826 | --includ | --inclu | --incl | --inc)
1827 ac_prev=includedir ;;
1828 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1829 | --includ=* | --inclu=* | --incl=* | --inc=*)
1830 includedir=$ac_optarg ;;
1832 -infodir | --infodir | --infodi | --infod | --info | --inf)
1833 ac_prev=infodir ;;
1834 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1835 infodir=$ac_optarg ;;
1837 -libdir | --libdir | --libdi | --libd)
1838 ac_prev=libdir ;;
1839 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1840 libdir=$ac_optarg ;;
1842 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1843 | --libexe | --libex | --libe)
1844 ac_prev=libexecdir ;;
1845 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1846 | --libexe=* | --libex=* | --libe=*)
1847 libexecdir=$ac_optarg ;;
1849 -localedir | --localedir | --localedi | --localed | --locale)
1850 ac_prev=localedir ;;
1851 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1852 localedir=$ac_optarg ;;
1854 -localstatedir | --localstatedir | --localstatedi | --localstated \
1855 | --localstate | --localstat | --localsta | --localst | --locals)
1856 ac_prev=localstatedir ;;
1857 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1858 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1859 localstatedir=$ac_optarg ;;
1861 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1862 ac_prev=mandir ;;
1863 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1864 mandir=$ac_optarg ;;
1866 -nfp | --nfp | --nf)
1867 # Obsolete; use --without-fp.
1868 with_fp=no ;;
1870 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1871 | --no-cr | --no-c | -n)
1872 no_create=yes ;;
1874 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1875 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1876 no_recursion=yes ;;
1878 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1879 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1880 | --oldin | --oldi | --old | --ol | --o)
1881 ac_prev=oldincludedir ;;
1882 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1883 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1884 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1885 oldincludedir=$ac_optarg ;;
1887 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1888 ac_prev=prefix ;;
1889 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1890 prefix=$ac_optarg ;;
1892 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1893 | --program-pre | --program-pr | --program-p)
1894 ac_prev=program_prefix ;;
1895 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1896 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1897 program_prefix=$ac_optarg ;;
1899 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1900 | --program-suf | --program-su | --program-s)
1901 ac_prev=program_suffix ;;
1902 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1903 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1904 program_suffix=$ac_optarg ;;
1906 -program-transform-name | --program-transform-name \
1907 | --program-transform-nam | --program-transform-na \
1908 | --program-transform-n | --program-transform- \
1909 | --program-transform | --program-transfor \
1910 | --program-transfo | --program-transf \
1911 | --program-trans | --program-tran \
1912 | --progr-tra | --program-tr | --program-t)
1913 ac_prev=program_transform_name ;;
1914 -program-transform-name=* | --program-transform-name=* \
1915 | --program-transform-nam=* | --program-transform-na=* \
1916 | --program-transform-n=* | --program-transform-=* \
1917 | --program-transform=* | --program-transfor=* \
1918 | --program-transfo=* | --program-transf=* \
1919 | --program-trans=* | --program-tran=* \
1920 | --progr-tra=* | --program-tr=* | --program-t=*)
1921 program_transform_name=$ac_optarg ;;
1923 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1924 ac_prev=pdfdir ;;
1925 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1926 pdfdir=$ac_optarg ;;
1928 -psdir | --psdir | --psdi | --psd | --ps)
1929 ac_prev=psdir ;;
1930 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1931 psdir=$ac_optarg ;;
1933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1934 | -silent | --silent | --silen | --sile | --sil)
1935 silent=yes ;;
1937 -runstatedir | --runstatedir | --runstatedi | --runstated \
1938 | --runstate | --runstat | --runsta | --runst | --runs \
1939 | --run | --ru | --r)
1940 ac_prev=runstatedir ;;
1941 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1942 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1943 | --run=* | --ru=* | --r=*)
1944 runstatedir=$ac_optarg ;;
1946 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1947 ac_prev=sbindir ;;
1948 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1949 | --sbi=* | --sb=*)
1950 sbindir=$ac_optarg ;;
1952 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1953 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1954 | --sharedst | --shareds | --shared | --share | --shar \
1955 | --sha | --sh)
1956 ac_prev=sharedstatedir ;;
1957 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1958 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1959 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1960 | --sha=* | --sh=*)
1961 sharedstatedir=$ac_optarg ;;
1963 -site | --site | --sit)
1964 ac_prev=site ;;
1965 -site=* | --site=* | --sit=*)
1966 site=$ac_optarg ;;
1968 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1969 ac_prev=srcdir ;;
1970 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1971 srcdir=$ac_optarg ;;
1973 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1974 | --syscon | --sysco | --sysc | --sys | --sy)
1975 ac_prev=sysconfdir ;;
1976 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1977 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1978 sysconfdir=$ac_optarg ;;
1980 -target | --target | --targe | --targ | --tar | --ta | --t)
1981 ac_prev=target_alias ;;
1982 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1983 target_alias=$ac_optarg ;;
1985 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1986 verbose=yes ;;
1988 -version | --version | --versio | --versi | --vers | -V)
1989 ac_init_version=: ;;
1991 -with-* | --with-*)
1992 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1993 # Reject names that are not valid shell variable names.
1994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1995 as_fn_error $? "invalid package name: $ac_useropt"
1996 ac_useropt_orig=$ac_useropt
1997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1998 case $ac_user_opts in
2000 "with_$ac_useropt"
2001 "*) ;;
2002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2003 ac_unrecognized_sep=', ';;
2004 esac
2005 eval with_$ac_useropt=\$ac_optarg ;;
2007 -without-* | --without-*)
2008 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2009 # Reject names that are not valid shell variable names.
2010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2011 as_fn_error $? "invalid package name: $ac_useropt"
2012 ac_useropt_orig=$ac_useropt
2013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2014 case $ac_user_opts in
2016 "with_$ac_useropt"
2017 "*) ;;
2018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2019 ac_unrecognized_sep=', ';;
2020 esac
2021 eval with_$ac_useropt=no ;;
2023 --x)
2024 # Obsolete; use --with-x.
2025 with_x=yes ;;
2027 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2028 | --x-incl | --x-inc | --x-in | --x-i)
2029 ac_prev=x_includes ;;
2030 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2031 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2032 x_includes=$ac_optarg ;;
2034 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2035 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2036 ac_prev=x_libraries ;;
2037 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2038 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2039 x_libraries=$ac_optarg ;;
2041 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2042 Try \`$0 --help' for more information"
2045 *=*)
2046 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2047 # Reject names that are not valid shell variable names.
2048 case $ac_envvar in #(
2049 '' | [0-9]* | *[!_$as_cr_alnum]* )
2050 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2051 esac
2052 eval $ac_envvar=\$ac_optarg
2053 export $ac_envvar ;;
2056 # FIXME: should be removed in autoconf 3.0.
2057 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2058 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2059 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2060 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2063 esac
2064 done
2066 if test -n "$ac_prev"; then
2067 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2068 as_fn_error $? "missing argument to $ac_option"
2071 if test -n "$ac_unrecognized_opts"; then
2072 case $enable_option_checking in
2073 no) ;;
2074 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2075 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2076 esac
2079 # Check all directory arguments for consistency.
2080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2081 datadir sysconfdir sharedstatedir localstatedir includedir \
2082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2083 libdir localedir mandir runstatedir
2085 eval ac_val=\$$ac_var
2086 # Remove trailing slashes.
2087 case $ac_val in
2088 */ )
2089 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2090 eval $ac_var=\$ac_val;;
2091 esac
2092 # Be sure to have absolute directory names.
2093 case $ac_val in
2094 [\\/$]* | ?:[\\/]* ) continue;;
2095 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2096 esac
2097 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2098 done
2100 # There might be people who depend on the old broken behavior: `$host'
2101 # used to hold the argument of --host etc.
2102 # FIXME: To remove some day.
2103 build=$build_alias
2104 host=$host_alias
2105 target=$target_alias
2107 # FIXME: To remove some day.
2108 if test "x$host_alias" != x; then
2109 if test "x$build_alias" = x; then
2110 cross_compiling=maybe
2111 elif test "x$build_alias" != "x$host_alias"; then
2112 cross_compiling=yes
2116 ac_tool_prefix=
2117 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2119 test "$silent" = yes && exec 6>/dev/null
2122 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2123 ac_ls_di=`ls -di .` &&
2124 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2125 as_fn_error $? "working directory cannot be determined"
2126 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2127 as_fn_error $? "pwd does not report name of working directory"
2130 # Find the source files, if location was not specified.
2131 if test -z "$srcdir"; then
2132 ac_srcdir_defaulted=yes
2133 # Try the directory containing this script, then the parent directory.
2134 ac_confdir=`$as_dirname -- "$as_myself" ||
2135 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2136 X"$as_myself" : 'X\(//\)[^/]' \| \
2137 X"$as_myself" : 'X\(//\)$' \| \
2138 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2139 $as_echo X"$as_myself" |
2140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2141 s//\1/
2144 /^X\(\/\/\)[^/].*/{
2145 s//\1/
2148 /^X\(\/\/\)$/{
2149 s//\1/
2152 /^X\(\/\).*/{
2153 s//\1/
2156 s/.*/./; q'`
2157 srcdir=$ac_confdir
2158 if test ! -r "$srcdir/$ac_unique_file"; then
2159 srcdir=..
2161 else
2162 ac_srcdir_defaulted=no
2164 if test ! -r "$srcdir/$ac_unique_file"; then
2165 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2166 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2168 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2169 ac_abs_confdir=`(
2170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2171 pwd)`
2172 # When building in place, set srcdir=.
2173 if test "$ac_abs_confdir" = "$ac_pwd"; then
2174 srcdir=.
2176 # Remove unnecessary trailing slashes from srcdir.
2177 # Double slashes in file names in object file debugging info
2178 # mess up M-x gdb in Emacs.
2179 case $srcdir in
2180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2181 esac
2182 for ac_var in $ac_precious_vars; do
2183 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2184 eval ac_env_${ac_var}_value=\$${ac_var}
2185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2186 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2187 done
2190 # Report the --help message.
2192 if test "$ac_init_help" = "long"; then
2193 # Omit some internal or obsolete options to make the list less imposing.
2194 # This message is too long to be a string in the A/UX 3.1 sh.
2195 cat <<_ACEOF
2196 \`configure' configures Wine 1.9.20 to adapt to many kinds of systems.
2198 Usage: $0 [OPTION]... [VAR=VALUE]...
2200 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2201 VAR=VALUE. See below for descriptions of some of the useful variables.
2203 Defaults for the options are specified in brackets.
2205 Configuration:
2206 -h, --help display this help and exit
2207 --help=short display options specific to this package
2208 --help=recursive display the short help of all the included packages
2209 -V, --version display version information and exit
2210 -q, --quiet, --silent do not print \`checking ...' messages
2211 --cache-file=FILE cache test results in FILE [disabled]
2212 -C, --config-cache alias for \`--cache-file=config.cache'
2213 -n, --no-create do not create output files
2214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2216 Installation directories:
2217 --prefix=PREFIX install architecture-independent files in PREFIX
2218 [$ac_default_prefix]
2219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2220 [PREFIX]
2222 By default, \`make install' will install all the files in
2223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2224 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2225 for instance \`--prefix=\$HOME'.
2227 For better control, use the options below.
2229 Fine tuning of the installation directories:
2230 --bindir=DIR user executables [EPREFIX/bin]
2231 --sbindir=DIR system admin executables [EPREFIX/sbin]
2232 --libexecdir=DIR program executables [EPREFIX/libexec]
2233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2236 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2237 --libdir=DIR object code libraries [EPREFIX/lib]
2238 --includedir=DIR C header files [PREFIX/include]
2239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2242 --infodir=DIR info documentation [DATAROOTDIR/info]
2243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2244 --mandir=DIR man documentation [DATAROOTDIR/man]
2245 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2246 --htmldir=DIR html documentation [DOCDIR]
2247 --dvidir=DIR dvi documentation [DOCDIR]
2248 --pdfdir=DIR pdf documentation [DOCDIR]
2249 --psdir=DIR ps documentation [DOCDIR]
2250 _ACEOF
2252 cat <<\_ACEOF
2254 X features:
2255 --x-includes=DIR X include files are in DIR
2256 --x-libraries=DIR X library files are in DIR
2258 System types:
2259 --build=BUILD configure for building on BUILD [guessed]
2260 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2261 _ACEOF
2264 if test -n "$ac_init_help"; then
2265 case $ac_init_help in
2266 short | recursive ) echo "Configuration of Wine 1.9.20:";;
2267 esac
2268 cat <<\_ACEOF
2270 Optional Features:
2271 --disable-option-checking ignore unrecognized --enable/--with options
2272 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2273 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2274 --disable-win16 do not include Win16 support
2275 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2276 binaries)
2277 --disable-tests do not build the regression tests
2278 --enable-maintainer-mode
2279 enable maintainer-specific build rules
2280 --disable-largefile omit support for large files
2282 Optional Packages:
2283 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2284 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2285 --without-alsa do not use the Alsa sound support
2286 --without-capi do not use CAPI (ISDN support)
2287 --without-cms do not use CMS (color management support)
2288 --without-coreaudio do not use the CoreAudio sound support
2289 --without-cups do not use CUPS
2290 --without-curses do not use (n)curses
2291 --without-dbus do not use DBus (dynamic device support)
2292 --without-fontconfig do not use fontconfig
2293 --without-freetype do not use the FreeType library
2294 --without-gettext do not use gettext
2295 --with-gettextpo use the GetTextPO library to rebuild po files
2296 --without-gphoto do not use gphoto (Digital Camera support)
2297 --without-glu do not use the GLU library
2298 --without-gnutls do not use GnuTLS (schannel support)
2299 --without-gsm do not use libgsm (GSM 06.10 codec support)
2300 --without-gstreamer do not use GStreamer (codecs support)
2301 --without-hal do not use HAL (dynamic device support)
2302 --without-jpeg do not use JPEG
2303 --without-ldap do not use LDAP
2304 --without-mpg123 do not use the mpg123 library
2305 --without-netapi do not use the Samba NetAPI library
2306 --without-openal do not use OpenAL
2307 --without-opencl do not use OpenCL
2308 --without-opengl do not use OpenGL
2309 --without-osmesa do not use the OSMesa library
2310 --without-oss do not use the OSS sound support
2311 --without-pcap do not use the Packet Capture library
2312 --without-png do not use PNG
2313 --without-pthread do not use the pthread library
2314 --without-pulse do not use PulseAudio sound support
2315 --without-sane do not use SANE (scanner support)
2316 --without-tiff do not use TIFF
2317 --without-udev do not use udev (plug and play support)
2318 --without-v4l do not use v4l1 (v4l support)
2319 --without-xcomposite do not use the Xcomposite extension
2320 --without-xcursor do not use the Xcursor extension
2321 --without-xinerama do not use Xinerama (multi-monitor support)
2322 --without-xinput do not use the Xinput extension
2323 --without-xinput2 do not use the Xinput 2 extension
2324 --without-xml do not use XML
2325 --without-xrandr do not use Xrandr (resolution changes)
2326 --without-xrender do not use the Xrender extension
2327 --without-xshape do not use the Xshape extension
2328 --without-xshm do not use XShm (shared memory extension)
2329 --without-xslt do not use XSLT
2330 --without-xxf86vm do not use XFree video mode extension
2331 --without-zlib do not use Zlib (data compression)
2332 --with-wine-tools=DIR use Wine tools from directory DIR
2333 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2334 --with-x use the X Window System
2336 Some influential environment variables:
2337 CC C compiler command
2338 CFLAGS C compiler flags
2339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2340 nonstandard directory <lib dir>
2341 LIBS libraries to pass to the linker, e.g. -l<library>
2342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2343 you have headers in a nonstandard directory <include dir>
2344 CXX C++ compiler command
2345 CXXFLAGS C++ compiler flags
2346 CPP C preprocessor
2347 XMKMF Path to xmkmf, Makefile generator for X Window System
2348 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2349 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2350 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2351 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2352 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2353 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2354 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2355 HAL_LIBS Linker flags for hal, overriding pkg-config
2356 GNUTLS_CFLAGS
2357 C compiler flags for gnutls, overriding pkg-config
2358 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2359 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2360 SANE_LIBS Linker flags for libsane, overriding pkg-config
2361 GPHOTO2_CFLAGS
2362 C compiler flags for libgphoto2, overriding pkg-config
2363 GPHOTO2_LIBS
2364 Linker flags for libgphoto2, overriding pkg-config
2365 GPHOTO2_PORT_CFLAGS
2366 C compiler flags for libgphoto2_port, overriding pkg-config
2367 GPHOTO2_PORT_LIBS
2368 Linker flags for libgphoto2_port, overriding pkg-config
2369 LCMS2_CFLAGS
2370 C compiler flags for lcms2, overriding pkg-config
2371 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2372 FREETYPE_CFLAGS
2373 C compiler flags for freetype2, overriding pkg-config
2374 FREETYPE_LIBS
2375 Linker flags for freetype2, overriding pkg-config
2376 PULSE_CFLAGS
2377 C compiler flags for libpulse, overriding pkg-config
2378 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2379 GSTREAMER_CFLAGS
2380 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2381 gstreamer-audio-1.0, overriding pkg-config
2382 GSTREAMER_LIBS
2383 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2384 gstreamer-audio-1.0, overriding pkg-config
2385 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2386 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2387 CAPI20_CFLAGS
2388 C compiler flags for capi20, overriding pkg-config
2389 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2390 FONTCONFIG_CFLAGS
2391 C compiler flags for fontconfig, overriding pkg-config
2392 FONTCONFIG_LIBS
2393 Linker flags for fontconfig, overriding pkg-config
2394 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2395 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2396 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2397 PNG_LIBS Linker flags for libpng, overriding pkg-config
2398 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2399 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2400 MPG123_CFLAGS
2401 C compiler flags for libmpg123, overriding pkg-config
2402 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2403 NETAPI_CFLAGS
2404 C compiler flags for netapi, overriding pkg-config
2405 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2407 Use these variables to override the choices made by `configure' or to help
2408 it to find libraries and programs with nonstandard names/locations.
2410 Report bugs to <wine-devel@winehq.org>.
2411 Wine home page: <http://www.winehq.org>.
2412 _ACEOF
2413 ac_status=$?
2416 if test "$ac_init_help" = "recursive"; then
2417 # If there are subdirs, report their specific --help.
2418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2419 test -d "$ac_dir" ||
2420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2421 continue
2422 ac_builddir=.
2424 case "$ac_dir" in
2425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2428 # A ".." for each directory in $ac_dir_suffix.
2429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2430 case $ac_top_builddir_sub in
2431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2433 esac ;;
2434 esac
2435 ac_abs_top_builddir=$ac_pwd
2436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2437 # for backward compatibility:
2438 ac_top_builddir=$ac_top_build_prefix
2440 case $srcdir in
2441 .) # We are building in place.
2442 ac_srcdir=.
2443 ac_top_srcdir=$ac_top_builddir_sub
2444 ac_abs_top_srcdir=$ac_pwd ;;
2445 [\\/]* | ?:[\\/]* ) # Absolute name.
2446 ac_srcdir=$srcdir$ac_dir_suffix;
2447 ac_top_srcdir=$srcdir
2448 ac_abs_top_srcdir=$srcdir ;;
2449 *) # Relative name.
2450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2451 ac_top_srcdir=$ac_top_build_prefix$srcdir
2452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2453 esac
2454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2456 cd "$ac_dir" || { ac_status=$?; continue; }
2457 # Check for guested configure.
2458 if test -f "$ac_srcdir/configure.gnu"; then
2459 echo &&
2460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2461 elif test -f "$ac_srcdir/configure"; then
2462 echo &&
2463 $SHELL "$ac_srcdir/configure" --help=recursive
2464 else
2465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2466 fi || ac_status=$?
2467 cd "$ac_pwd" || { ac_status=$?; break; }
2468 done
2471 test -n "$ac_init_help" && exit $ac_status
2472 if $ac_init_version; then
2473 cat <<\_ACEOF
2474 Wine configure 1.9.20
2475 generated by GNU Autoconf 2.69
2477 Copyright (C) 2012 Free Software Foundation, Inc.
2478 This configure script is free software; the Free Software Foundation
2479 gives unlimited permission to copy, distribute and modify it.
2480 _ACEOF
2481 exit
2484 ## ------------------------ ##
2485 ## Autoconf initialization. ##
2486 ## ------------------------ ##
2488 # ac_fn_c_try_compile LINENO
2489 # --------------------------
2490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2491 ac_fn_c_try_compile ()
2493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2494 rm -f conftest.$ac_objext
2495 if { { ac_try="$ac_compile"
2496 case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_compile") 2>conftest.err
2503 ac_status=$?
2504 if test -s conftest.err; then
2505 grep -v '^ *+' conftest.err >conftest.er1
2506 cat conftest.er1 >&5
2507 mv -f conftest.er1 conftest.err
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; } && {
2511 test -z "$ac_c_werror_flag" ||
2512 test ! -s conftest.err
2513 } && test -s conftest.$ac_objext; then :
2514 ac_retval=0
2515 else
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2519 ac_retval=1
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 as_fn_set_status $ac_retval
2524 } # ac_fn_c_try_compile
2526 # ac_fn_cxx_try_compile LINENO
2527 # ----------------------------
2528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2529 ac_fn_cxx_try_compile ()
2531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2532 rm -f conftest.$ac_objext
2533 if { { ac_try="$ac_compile"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2539 $as_echo "$ac_try_echo"; } >&5
2540 (eval "$ac_compile") 2>conftest.err
2541 ac_status=$?
2542 if test -s conftest.err; then
2543 grep -v '^ *+' conftest.err >conftest.er1
2544 cat conftest.er1 >&5
2545 mv -f conftest.er1 conftest.err
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; } && {
2549 test -z "$ac_cxx_werror_flag" ||
2550 test ! -s conftest.err
2551 } && test -s conftest.$ac_objext; then :
2552 ac_retval=0
2553 else
2554 $as_echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2557 ac_retval=1
2559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2560 as_fn_set_status $ac_retval
2562 } # ac_fn_cxx_try_compile
2564 # ac_fn_c_try_link LINENO
2565 # -----------------------
2566 # Try to link conftest.$ac_ext, and return whether this succeeded.
2567 ac_fn_c_try_link ()
2569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570 rm -f conftest.$ac_objext conftest$ac_exeext
2571 if { { ac_try="$ac_link"
2572 case "(($ac_try" in
2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2575 esac
2576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_link") 2>conftest.err
2579 ac_status=$?
2580 if test -s conftest.err; then
2581 grep -v '^ *+' conftest.err >conftest.er1
2582 cat conftest.er1 >&5
2583 mv -f conftest.er1 conftest.err
2585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2586 test $ac_status = 0; } && {
2587 test -z "$ac_c_werror_flag" ||
2588 test ! -s conftest.err
2589 } && test -s conftest$ac_exeext && {
2590 test "$cross_compiling" = yes ||
2591 test -x conftest$ac_exeext
2592 }; then :
2593 ac_retval=0
2594 else
2595 $as_echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 ac_retval=1
2600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2602 # interfere with the next link command; also delete a directory that is
2603 # left behind by Apple's compiler. We do this before executing the actions.
2604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 as_fn_set_status $ac_retval
2608 } # ac_fn_c_try_link
2610 # ac_fn_c_try_cpp LINENO
2611 # ----------------------
2612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2613 ac_fn_c_try_cpp ()
2615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 if { { ac_try="$ac_cpp conftest.$ac_ext"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2624 ac_status=$?
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } > conftest.i && {
2632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2633 test ! -s conftest.err
2634 }; then :
2635 ac_retval=0
2636 else
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2640 ac_retval=1
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status $ac_retval
2645 } # ac_fn_c_try_cpp
2647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2648 # -------------------------------------------------------
2649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2650 # the include files in INCLUDES and setting the cache variable VAR
2651 # accordingly.
2652 ac_fn_c_check_header_mongrel ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 if eval \${$3+:} false; then :
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2657 $as_echo_n "checking for $2... " >&6; }
2658 if eval \${$3+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 eval ac_res=\$$3
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663 $as_echo "$ac_res" >&6; }
2664 else
2665 # Is the header compilable?
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2667 $as_echo_n "checking $2 usability... " >&6; }
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2671 #include <$2>
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674 ac_header_compiler=yes
2675 else
2676 ac_header_compiler=no
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2680 $as_echo "$ac_header_compiler" >&6; }
2682 # Is the header present?
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2684 $as_echo_n "checking $2 presence... " >&6; }
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2687 #include <$2>
2688 _ACEOF
2689 if ac_fn_c_try_cpp "$LINENO"; then :
2690 ac_header_preproc=yes
2691 else
2692 ac_header_preproc=no
2694 rm -f conftest.err conftest.i conftest.$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2696 $as_echo "$ac_header_preproc" >&6; }
2698 # So? What about this header?
2699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2700 yes:no: )
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2706 no:yes:* )
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2717 ( $as_echo "## ------------------------------------ ##
2718 ## Report this to wine-devel@winehq.org ##
2719 ## ------------------------------------ ##"
2720 ) | sed "s/^/$as_me: WARNING: /" >&2
2722 esac
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2724 $as_echo_n "checking for $2... " >&6; }
2725 if eval \${$3+:} false; then :
2726 $as_echo_n "(cached) " >&6
2727 else
2728 eval "$3=\$ac_header_compiler"
2730 eval ac_res=\$$3
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 } # ac_fn_c_check_header_mongrel
2738 # ac_fn_c_try_run LINENO
2739 # ----------------------
2740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2741 # that executables *can* be run.
2742 ac_fn_c_try_run ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 if { { ac_try="$ac_link"
2746 case "(($ac_try" in
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2749 esac
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_link") 2>&5
2753 ac_status=$?
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2756 { { case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_try") 2>&5
2763 ac_status=$?
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; }; }; then :
2766 ac_retval=0
2767 else
2768 $as_echo "$as_me: program exited with status $ac_status" >&5
2769 $as_echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_retval=$ac_status
2774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 as_fn_set_status $ac_retval
2778 } # ac_fn_c_try_run
2780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2781 # -------------------------------------------------------
2782 # Tests whether HEADER exists and can be compiled using the include files in
2783 # INCLUDES, setting the cache variable VAR accordingly.
2784 ac_fn_c_check_header_compile ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2788 $as_echo_n "checking for $2... " >&6; }
2789 if eval \${$3+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2795 #include <$2>
2796 _ACEOF
2797 if ac_fn_c_try_compile "$LINENO"; then :
2798 eval "$3=yes"
2799 else
2800 eval "$3=no"
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 eval ac_res=\$$3
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2806 $as_echo "$ac_res" >&6; }
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 } # ac_fn_c_check_header_compile
2811 # ac_fn_c_check_func LINENO FUNC VAR
2812 # ----------------------------------
2813 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2814 ac_fn_c_check_func ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2818 $as_echo_n "checking for $2... " >&6; }
2819 if eval \${$3+:} false; then :
2820 $as_echo_n "(cached) " >&6
2821 else
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2826 #define $2 innocuous_$2
2828 /* System header to define __stub macros and hopefully few prototypes,
2829 which can conflict with char $2 (); below.
2830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2831 <limits.h> exists even on freestanding compilers. */
2833 #ifdef __STDC__
2834 # include <limits.h>
2835 #else
2836 # include <assert.h>
2837 #endif
2839 #undef $2
2841 /* Override any GCC internal prototype to avoid an error.
2842 Use char because int might match the return type of a GCC
2843 builtin and then its argument prototype would still apply. */
2844 #ifdef __cplusplus
2845 extern "C"
2846 #endif
2847 char $2 ();
2848 /* The GNU C library defines this for functions which it implements
2849 to always fail with ENOSYS. Some functions are actually named
2850 something starting with __ and the normal name is an alias. */
2851 #if defined __stub_$2 || defined __stub___$2
2852 choke me
2853 #endif
2856 main ()
2858 return $2 ();
2860 return 0;
2862 _ACEOF
2863 if ac_fn_c_try_link "$LINENO"; then :
2864 eval "$3=yes"
2865 else
2866 eval "$3=no"
2868 rm -f core conftest.err conftest.$ac_objext \
2869 conftest$ac_exeext conftest.$ac_ext
2871 eval ac_res=\$$3
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 $as_echo "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_func
2878 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2879 # ----------------------------------------------------
2880 # Tries to find if the field MEMBER exists in type AGGR, after including
2881 # INCLUDES, setting cache variable VAR accordingly.
2882 ac_fn_c_check_member ()
2884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2886 $as_echo_n "checking for $2.$3... " >&6; }
2887 if eval \${$4+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2894 main ()
2896 static $2 ac_aggr;
2897 if (ac_aggr.$3)
2898 return 0;
2900 return 0;
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 eval "$4=yes"
2905 else
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 main ()
2912 static $2 ac_aggr;
2913 if (sizeof ac_aggr.$3)
2914 return 0;
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 eval "$4=yes"
2921 else
2922 eval "$4=no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 eval ac_res=\$$4
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_member
2935 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2936 # -------------------------------------------
2937 # Tests whether TYPE exists after having included INCLUDES, setting cache
2938 # variable VAR accordingly.
2939 ac_fn_c_check_type ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 eval "$3=no"
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2954 if (sizeof ($2))
2955 return 0;
2957 return 0;
2959 _ACEOF
2960 if ac_fn_c_try_compile "$LINENO"; then :
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2965 main ()
2967 if (sizeof (($2)))
2968 return 0;
2970 return 0;
2972 _ACEOF
2973 if ac_fn_c_try_compile "$LINENO"; then :
2975 else
2976 eval "$3=yes"
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 eval ac_res=\$$3
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2984 $as_echo "$ac_res" >&6; }
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 } # ac_fn_c_check_type
2988 cat >config.log <<_ACEOF
2989 This file contains any messages produced by compilers while
2990 running configure, to aid debugging if configure makes a mistake.
2992 It was created by Wine $as_me 1.9.20, which was
2993 generated by GNU Autoconf 2.69. Invocation command line was
2995 $ $0 $@
2997 _ACEOF
2998 exec 5>>config.log
3000 cat <<_ASUNAME
3001 ## --------- ##
3002 ## Platform. ##
3003 ## --------- ##
3005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3017 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3022 _ASUNAME
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 $as_echo "PATH: $as_dir"
3030 done
3031 IFS=$as_save_IFS
3033 } >&5
3035 cat >&5 <<_ACEOF
3038 ## ----------- ##
3039 ## Core tests. ##
3040 ## ----------- ##
3042 _ACEOF
3045 # Keep a trace of the command line.
3046 # Strip out --no-create and --no-recursion so they do not pile up.
3047 # Strip out --silent because we don't want to record it for future runs.
3048 # Also quote any args containing shell meta-characters.
3049 # Make two passes to allow for proper duplicate-argument suppression.
3050 ac_configure_args=
3051 ac_configure_args0=
3052 ac_configure_args1=
3053 ac_must_keep_next=false
3054 for ac_pass in 1 2
3056 for ac_arg
3058 case $ac_arg in
3059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3061 | -silent | --silent | --silen | --sile | --sil)
3062 continue ;;
3063 *\'*)
3064 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3065 esac
3066 case $ac_pass in
3067 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3069 as_fn_append ac_configure_args1 " '$ac_arg'"
3070 if test $ac_must_keep_next = true; then
3071 ac_must_keep_next=false # Got value, back to normal.
3072 else
3073 case $ac_arg in
3074 *=* | --config-cache | -C | -disable-* | --disable-* \
3075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3077 | -with-* | --with-* | -without-* | --without-* | --x)
3078 case "$ac_configure_args0 " in
3079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3080 esac
3082 -* ) ac_must_keep_next=true ;;
3083 esac
3085 as_fn_append ac_configure_args " '$ac_arg'"
3087 esac
3088 done
3089 done
3090 { ac_configure_args0=; unset ac_configure_args0;}
3091 { ac_configure_args1=; unset ac_configure_args1;}
3093 # When interrupted or exit'd, cleanup temporary files, and complete
3094 # config.log. We remove comments because anyway the quotes in there
3095 # would cause problems or look ugly.
3096 # WARNING: Use '\'' to represent an apostrophe within the trap.
3097 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3098 trap 'exit_status=$?
3099 # Save into config.log some information that might help in debugging.
3101 echo
3103 $as_echo "## ---------------- ##
3104 ## Cache variables. ##
3105 ## ---------------- ##"
3106 echo
3107 # The following way of writing the cache mishandles newlines in values,
3109 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3110 eval ac_val=\$$ac_var
3111 case $ac_val in #(
3112 *${as_nl}*)
3113 case $ac_var in #(
3114 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3115 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3116 esac
3117 case $ac_var in #(
3118 _ | IFS | as_nl) ;; #(
3119 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3120 *) { eval $ac_var=; unset $ac_var;} ;;
3121 esac ;;
3122 esac
3123 done
3124 (set) 2>&1 |
3125 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3126 *${as_nl}ac_space=\ *)
3127 sed -n \
3128 "s/'\''/'\''\\\\'\'''\''/g;
3129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3130 ;; #(
3132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3134 esac |
3135 sort
3137 echo
3139 $as_echo "## ----------------- ##
3140 ## Output variables. ##
3141 ## ----------------- ##"
3142 echo
3143 for ac_var in $ac_subst_vars
3145 eval ac_val=\$$ac_var
3146 case $ac_val in
3147 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3148 esac
3149 $as_echo "$ac_var='\''$ac_val'\''"
3150 done | sort
3151 echo
3153 if test -n "$ac_subst_files"; then
3154 $as_echo "## ------------------- ##
3155 ## File substitutions. ##
3156 ## ------------------- ##"
3157 echo
3158 for ac_var in $ac_subst_files
3160 eval ac_val=\$$ac_var
3161 case $ac_val in
3162 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3163 esac
3164 $as_echo "$ac_var='\''$ac_val'\''"
3165 done | sort
3166 echo
3169 if test -s confdefs.h; then
3170 $as_echo "## ----------- ##
3171 ## confdefs.h. ##
3172 ## ----------- ##"
3173 echo
3174 cat confdefs.h
3175 echo
3177 test "$ac_signal" != 0 &&
3178 $as_echo "$as_me: caught signal $ac_signal"
3179 $as_echo "$as_me: exit $exit_status"
3180 } >&5
3181 rm -f core *.core core.conftest.* &&
3182 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3183 exit $exit_status
3185 for ac_signal in 1 2 13 15; do
3186 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3187 done
3188 ac_signal=0
3190 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3191 rm -f -r conftest* confdefs.h
3193 $as_echo "/* confdefs.h */" > confdefs.h
3195 # Predefined preprocessor variables.
3197 cat >>confdefs.h <<_ACEOF
3198 #define PACKAGE_NAME "$PACKAGE_NAME"
3199 _ACEOF
3201 cat >>confdefs.h <<_ACEOF
3202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3203 _ACEOF
3205 cat >>confdefs.h <<_ACEOF
3206 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3207 _ACEOF
3209 cat >>confdefs.h <<_ACEOF
3210 #define PACKAGE_STRING "$PACKAGE_STRING"
3211 _ACEOF
3213 cat >>confdefs.h <<_ACEOF
3214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3215 _ACEOF
3217 cat >>confdefs.h <<_ACEOF
3218 #define PACKAGE_URL "$PACKAGE_URL"
3219 _ACEOF
3222 # Let the site file select an alternate cache file if it wants to.
3223 # Prefer an explicitly selected file to automatically selected ones.
3224 ac_site_file1=NONE
3225 ac_site_file2=NONE
3226 if test -n "$CONFIG_SITE"; then
3227 # We do not want a PATH search for config.site.
3228 case $CONFIG_SITE in #((
3229 -*) ac_site_file1=./$CONFIG_SITE;;
3230 */*) ac_site_file1=$CONFIG_SITE;;
3231 *) ac_site_file1=./$CONFIG_SITE;;
3232 esac
3233 elif test "x$prefix" != xNONE; then
3234 ac_site_file1=$prefix/share/config.site
3235 ac_site_file2=$prefix/etc/config.site
3236 else
3237 ac_site_file1=$ac_default_prefix/share/config.site
3238 ac_site_file2=$ac_default_prefix/etc/config.site
3240 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3242 test "x$ac_site_file" = xNONE && continue
3243 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3245 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3246 sed 's/^/| /' "$ac_site_file" >&5
3247 . "$ac_site_file" \
3248 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $? "failed to load site script $ac_site_file
3251 See \`config.log' for more details" "$LINENO" 5; }
3253 done
3255 if test -r "$cache_file"; then
3256 # Some versions of bash will fail to source /dev/null (special files
3257 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3258 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3260 $as_echo "$as_me: loading cache $cache_file" >&6;}
3261 case $cache_file in
3262 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3263 *) . "./$cache_file";;
3264 esac
3266 else
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3268 $as_echo "$as_me: creating cache $cache_file" >&6;}
3269 >$cache_file
3272 # Check that the precious variables saved in the cache have kept the same
3273 # value.
3274 ac_cache_corrupted=false
3275 for ac_var in $ac_precious_vars; do
3276 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3277 eval ac_new_set=\$ac_env_${ac_var}_set
3278 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3279 eval ac_new_val=\$ac_env_${ac_var}_value
3280 case $ac_old_set,$ac_new_set in
3281 set,)
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3283 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3284 ac_cache_corrupted=: ;;
3285 ,set)
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3287 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3288 ac_cache_corrupted=: ;;
3289 ,);;
3291 if test "x$ac_old_val" != "x$ac_new_val"; then
3292 # differences in whitespace do not lead to failure.
3293 ac_old_val_w=`echo x $ac_old_val`
3294 ac_new_val_w=`echo x $ac_new_val`
3295 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3297 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3298 ac_cache_corrupted=:
3299 else
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3301 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3302 eval $ac_var=\$ac_old_val
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3305 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3307 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3308 fi;;
3309 esac
3310 # Pass precious variables to config.status.
3311 if test "$ac_new_set" = set; then
3312 case $ac_new_val in
3313 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3314 *) ac_arg=$ac_var=$ac_new_val ;;
3315 esac
3316 case " $ac_configure_args " in
3317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3318 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3319 esac
3321 done
3322 if $ac_cache_corrupted; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3326 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3327 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3329 ## -------------------- ##
3330 ## Main body of script. ##
3331 ## -------------------- ##
3333 ac_ext=c
3334 ac_cpp='$CPP $CPPFLAGS'
3335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3341 ac_config_headers="$ac_config_headers include/config.h"
3343 ac_aux_dir=
3344 for ac_dir in tools "$srcdir"/tools; do
3345 if test -f "$ac_dir/install-sh"; then
3346 ac_aux_dir=$ac_dir
3347 ac_install_sh="$ac_aux_dir/install-sh -c"
3348 break
3349 elif test -f "$ac_dir/install.sh"; then
3350 ac_aux_dir=$ac_dir
3351 ac_install_sh="$ac_aux_dir/install.sh -c"
3352 break
3353 elif test -f "$ac_dir/shtool"; then
3354 ac_aux_dir=$ac_dir
3355 ac_install_sh="$ac_aux_dir/shtool install -c"
3356 break
3358 done
3359 if test -z "$ac_aux_dir"; then
3360 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3363 # These three variables are undocumented and unsupported,
3364 # and are intended to be withdrawn in a future Autoconf release.
3365 # They can cause serious problems if a builder's source tree is in a directory
3366 # whose full name contains unusual characters.
3367 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3368 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3369 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3373 libwine_version="1.0"
3377 # Check whether --enable-win16 was given.
3378 if test "${enable_win16+set}" = set; then :
3379 enableval=$enable_win16;
3382 # Check whether --enable-win64 was given.
3383 if test "${enable_win64+set}" = set; then :
3384 enableval=$enable_win64;
3387 # Check whether --enable-tests was given.
3388 if test "${enable_tests+set}" = set; then :
3389 enableval=$enable_tests;
3392 # Check whether --enable-maintainer-mode was given.
3393 if test "${enable_maintainer_mode+set}" = set; then :
3394 enableval=$enable_maintainer_mode;
3399 # Check whether --with-alsa was given.
3400 if test "${with_alsa+set}" = set; then :
3401 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3405 # Check whether --with-capi was given.
3406 if test "${with_capi+set}" = set; then :
3407 withval=$with_capi;
3411 # Check whether --with-cms was given.
3412 if test "${with_cms+set}" = set; then :
3413 withval=$with_cms;
3417 # Check whether --with-coreaudio was given.
3418 if test "${with_coreaudio+set}" = set; then :
3419 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3423 # Check whether --with-cups was given.
3424 if test "${with_cups+set}" = set; then :
3425 withval=$with_cups;
3429 # Check whether --with-curses was given.
3430 if test "${with_curses+set}" = set; then :
3431 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3435 # Check whether --with-dbus was given.
3436 if test "${with_dbus+set}" = set; then :
3437 withval=$with_dbus;
3441 # Check whether --with-fontconfig was given.
3442 if test "${with_fontconfig+set}" = set; then :
3443 withval=$with_fontconfig;
3447 # Check whether --with-freetype was given.
3448 if test "${with_freetype+set}" = set; then :
3449 withval=$with_freetype;
3453 # Check whether --with-gettext was given.
3454 if test "${with_gettext+set}" = set; then :
3455 withval=$with_gettext;
3459 # Check whether --with-gettextpo was given.
3460 if test "${with_gettextpo+set}" = set; then :
3461 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3465 # Check whether --with-gphoto was given.
3466 if test "${with_gphoto+set}" = set; then :
3467 withval=$with_gphoto;
3471 # Check whether --with-glu was given.
3472 if test "${with_glu+set}" = set; then :
3473 withval=$with_glu;
3477 # Check whether --with-gnutls was given.
3478 if test "${with_gnutls+set}" = set; then :
3479 withval=$with_gnutls;
3483 # Check whether --with-gsm was given.
3484 if test "${with_gsm+set}" = set; then :
3485 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3489 # Check whether --with-gstreamer was given.
3490 if test "${with_gstreamer+set}" = set; then :
3491 withval=$with_gstreamer;
3495 # Check whether --with-hal was given.
3496 if test "${with_hal+set}" = set; then :
3497 withval=$with_hal;
3501 # Check whether --with-jpeg was given.
3502 if test "${with_jpeg+set}" = set; then :
3503 withval=$with_jpeg;
3507 # Check whether --with-ldap was given.
3508 if test "${with_ldap+set}" = set; then :
3509 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3513 # Check whether --with-mpg123 was given.
3514 if test "${with_mpg123+set}" = set; then :
3515 withval=$with_mpg123;
3519 # Check whether --with-netapi was given.
3520 if test "${with_netapi+set}" = set; then :
3521 withval=$with_netapi;
3525 # Check whether --with-openal was given.
3526 if test "${with_openal+set}" = set; then :
3527 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3531 # Check whether --with-opencl was given.
3532 if test "${with_opencl+set}" = set; then :
3533 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3537 # Check whether --with-opengl was given.
3538 if test "${with_opengl+set}" = set; then :
3539 withval=$with_opengl;
3543 # Check whether --with-osmesa was given.
3544 if test "${with_osmesa+set}" = set; then :
3545 withval=$with_osmesa;
3549 # Check whether --with-oss was given.
3550 if test "${with_oss+set}" = set; then :
3551 withval=$with_oss;
3555 # Check whether --with-pcap was given.
3556 if test "${with_pcap+set}" = set; then :
3557 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3561 # Check whether --with-png was given.
3562 if test "${with_png+set}" = set; then :
3563 withval=$with_png;
3567 # Check whether --with-pthread was given.
3568 if test "${with_pthread+set}" = set; then :
3569 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3573 # Check whether --with-pulse was given.
3574 if test "${with_pulse+set}" = set; then :
3575 withval=$with_pulse;
3579 # Check whether --with-sane was given.
3580 if test "${with_sane+set}" = set; then :
3581 withval=$with_sane;
3585 # Check whether --with-tiff was given.
3586 if test "${with_tiff+set}" = set; then :
3587 withval=$with_tiff;
3591 # Check whether --with-udev was given.
3592 if test "${with_udev+set}" = set; then :
3593 withval=$with_udev;
3597 # Check whether --with-v4l was given.
3598 if test "${with_v4l+set}" = set; then :
3599 withval=$with_v4l;
3603 # Check whether --with-xcomposite was given.
3604 if test "${with_xcomposite+set}" = set; then :
3605 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3609 # Check whether --with-xcursor was given.
3610 if test "${with_xcursor+set}" = set; then :
3611 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3615 # Check whether --with-xinerama was given.
3616 if test "${with_xinerama+set}" = set; then :
3617 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3621 # Check whether --with-xinput was given.
3622 if test "${with_xinput+set}" = set; then :
3623 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3627 # Check whether --with-xinput2 was given.
3628 if test "${with_xinput2+set}" = set; then :
3629 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3633 # Check whether --with-xml was given.
3634 if test "${with_xml+set}" = set; then :
3635 withval=$with_xml;
3639 # Check whether --with-xrandr was given.
3640 if test "${with_xrandr+set}" = set; then :
3641 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3645 # Check whether --with-xrender was given.
3646 if test "${with_xrender+set}" = set; then :
3647 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3651 # Check whether --with-xshape was given.
3652 if test "${with_xshape+set}" = set; then :
3653 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3657 # Check whether --with-xshm was given.
3658 if test "${with_xshm+set}" = set; then :
3659 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3663 # Check whether --with-xslt was given.
3664 if test "${with_xslt+set}" = set; then :
3665 withval=$with_xslt;
3669 # Check whether --with-xxf86vm was given.
3670 if test "${with_xxf86vm+set}" = set; then :
3671 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
3675 # Check whether --with-zlib was given.
3676 if test "${with_zlib+set}" = set; then :
3677 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3682 # Check whether --with-wine-tools was given.
3683 if test "${with_wine_tools+set}" = set; then :
3684 withval=$with_wine_tools;
3688 # Check whether --with-wine64 was given.
3689 if test "${with_wine64+set}" = set; then :
3690 withval=$with_wine64;
3694 # Make sure we can run config.sub.
3695 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3696 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3699 $as_echo_n "checking build system type... " >&6; }
3700 if ${ac_cv_build+:} false; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 ac_build_alias=$build_alias
3704 test "x$ac_build_alias" = x &&
3705 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3706 test "x$ac_build_alias" = x &&
3707 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3708 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3709 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3713 $as_echo "$ac_cv_build" >&6; }
3714 case $ac_cv_build in
3715 *-*-*) ;;
3716 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3717 esac
3718 build=$ac_cv_build
3719 ac_save_IFS=$IFS; IFS='-'
3720 set x $ac_cv_build
3721 shift
3722 build_cpu=$1
3723 build_vendor=$2
3724 shift; shift
3725 # Remember, the first character of IFS is used to create $*,
3726 # except with old shells:
3727 build_os=$*
3728 IFS=$ac_save_IFS
3729 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3733 $as_echo_n "checking host system type... " >&6; }
3734 if ${ac_cv_host+:} false; then :
3735 $as_echo_n "(cached) " >&6
3736 else
3737 if test "x$host_alias" = x; then
3738 ac_cv_host=$ac_cv_build
3739 else
3740 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3741 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3746 $as_echo "$ac_cv_host" >&6; }
3747 case $ac_cv_host in
3748 *-*-*) ;;
3749 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3750 esac
3751 host=$ac_cv_host
3752 ac_save_IFS=$IFS; IFS='-'
3753 set x $ac_cv_host
3754 shift
3755 host_cpu=$1
3756 host_vendor=$2
3757 shift; shift
3758 # Remember, the first character of IFS is used to create $*,
3759 # except with old shells:
3760 host_os=$*
3761 IFS=$ac_save_IFS
3762 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3766 case "$srcdir" in
3767 .) ;;
3768 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3769 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3770 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3771 fi ;;
3772 esac
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3776 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3777 set x ${MAKE-make}
3778 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3779 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 cat >conftest.make <<\_ACEOF
3783 SHELL = /bin/sh
3784 all:
3785 @echo '@@@%%%=$(MAKE)=@@@%%%'
3786 _ACEOF
3787 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3788 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3789 *@@@%%%=?*=@@@%%%*)
3790 eval ac_cv_prog_make_${ac_make}_set=yes;;
3792 eval ac_cv_prog_make_${ac_make}_set=no;;
3793 esac
3794 rm -f conftest.make
3796 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3798 $as_echo "yes" >&6; }
3799 SET_MAKE=
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3803 SET_MAKE="MAKE=${MAKE-make}"
3806 ac_ext=c
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 if test -n "$ac_tool_prefix"; then
3812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 break 2
3833 done
3834 done
3835 IFS=$as_save_IFS
3839 CC=$ac_cv_prog_CC
3840 if test -n "$CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3842 $as_echo "$CC" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3850 if test -z "$ac_cv_prog_CC"; then
3851 ac_ct_CC=$CC
3852 # Extract the first word of "gcc", so it can be a program name with args.
3853 set dummy gcc; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3857 $as_echo_n "(cached) " >&6
3858 else
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC="gcc"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3875 IFS=$as_save_IFS
3879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3883 else
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3888 if test "x$ac_ct_CC" = x; then
3889 CC=""
3890 else
3891 case $cross_compiling:$ac_tool_warned in
3892 yes:)
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned=yes ;;
3896 esac
3897 CC=$ac_ct_CC
3899 else
3900 CC="$ac_cv_prog_CC"
3903 if test -z "$CC"; then
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3906 set dummy ${ac_tool_prefix}cc; ac_word=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_CC+:} false; then :
3910 $as_echo_n "(cached) " >&6
3911 else
3912 if test -n "$CC"; then
3913 ac_cv_prog_CC="$CC" # Let the user override the test.
3914 else
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH
3918 IFS=$as_save_IFS
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_CC="${ac_tool_prefix}cc"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 break 2
3926 done
3927 done
3928 IFS=$as_save_IFS
3932 CC=$ac_cv_prog_CC
3933 if test -n "$CC"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3935 $as_echo "$CC" >&6; }
3936 else
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3944 if test -z "$CC"; then
3945 # Extract the first word of "cc", so it can be a program name with args.
3946 set dummy cc; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CC+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$CC"; then
3953 ac_cv_prog_CC="$CC" # Let the user override the test.
3954 else
3955 ac_prog_rejected=no
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 for as_dir in $PATH
3959 IFS=$as_save_IFS
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3964 ac_prog_rejected=yes
3965 continue
3967 ac_cv_prog_CC="cc"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 break 2
3971 done
3972 done
3973 IFS=$as_save_IFS
3975 if test $ac_prog_rejected = yes; then
3976 # We found a bogon in the path, so make sure we never use it.
3977 set dummy $ac_cv_prog_CC
3978 shift
3979 if test $# != 0; then
3980 # We chose a different compiler from the bogus one.
3981 # However, it has the same basename, so the bogon will be chosen
3982 # first if we set CC to just the basename; use the full file name.
3983 shift
3984 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3989 CC=$ac_cv_prog_CC
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3993 else
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$CC"; then
4001 if test -n "$ac_tool_prefix"; then
4002 for ac_prog in cl.exe
4004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_CC+:} false; then :
4009 $as_echo_n "(cached) " >&6
4010 else
4011 if test -n "$CC"; then
4012 ac_cv_prog_CC="$CC" # Let the user override the test.
4013 else
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4017 IFS=$as_save_IFS
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 break 2
4025 done
4026 done
4027 IFS=$as_save_IFS
4031 CC=$ac_cv_prog_CC
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4041 test -n "$CC" && break
4042 done
4044 if test -z "$CC"; then
4045 ac_ct_CC=$CC
4046 for ac_prog in cl.exe
4048 # Extract the first word of "$ac_prog", so it can be a program name with args.
4049 set dummy $ac_prog; ac_word=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4053 $as_echo_n "(cached) " >&6
4054 else
4055 if test -n "$ac_ct_CC"; then
4056 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4057 else
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_ac_ct_CC="$ac_prog"
4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 break 2
4069 done
4070 done
4071 IFS=$as_save_IFS
4075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4076 if test -n "$ac_ct_CC"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4078 $as_echo "$ac_ct_CC" >&6; }
4079 else
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4085 test -n "$ac_ct_CC" && break
4086 done
4088 if test "x$ac_ct_CC" = x; then
4089 CC=""
4090 else
4091 case $cross_compiling:$ac_tool_warned in
4092 yes:)
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4095 ac_tool_warned=yes ;;
4096 esac
4097 CC=$ac_ct_CC
4104 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $? "no acceptable C compiler found in \$PATH
4107 See \`config.log' for more details" "$LINENO" 5; }
4109 # Provide some information about the compiler.
4110 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4111 set X $ac_compile
4112 ac_compiler=$2
4113 for ac_option in --version -v -V -qversion; do
4114 { { ac_try="$ac_compiler $ac_option >&5"
4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4122 ac_status=$?
4123 if test -s conftest.err; then
4124 sed '10a\
4125 ... rest of stderr output deleted ...
4126 10q' conftest.err >conftest.er1
4127 cat conftest.er1 >&5
4129 rm -f conftest.er1 conftest.err
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }
4132 done
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 main ()
4142 return 0;
4144 _ACEOF
4145 ac_clean_files_save=$ac_clean_files
4146 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4147 # Try to create an executable without -o first, disregard a.out.
4148 # It will help us diagnose broken compilers, and finding out an intuition
4149 # of exeext.
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4151 $as_echo_n "checking whether the C compiler works... " >&6; }
4152 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4154 # The possible output files:
4155 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4157 ac_rmfiles=
4158 for ac_file in $ac_files
4160 case $ac_file in
4161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4162 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4163 esac
4164 done
4165 rm -f $ac_rmfiles
4167 if { { ac_try="$ac_link_default"
4168 case "(($ac_try" in
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4171 esac
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_link_default") 2>&5
4175 ac_status=$?
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4179 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4180 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4181 # so that the user can short-circuit this test for compilers unknown to
4182 # Autoconf.
4183 for ac_file in $ac_files ''
4185 test -f "$ac_file" || continue
4186 case $ac_file in
4187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4189 [ab].out )
4190 # We found the default executable, but exeext='' is most
4191 # certainly right.
4192 break;;
4193 *.* )
4194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4195 then :; else
4196 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4198 # We set ac_cv_exeext here because the later test for it is not
4199 # safe: cross compilers may not add the suffix if given an `-o'
4200 # argument, so we may need to know it at that point already.
4201 # Even if this section looks crufty: it has the advantage of
4202 # actually working.
4203 break;;
4205 break;;
4206 esac
4207 done
4208 test "$ac_cv_exeext" = no && ac_cv_exeext=
4210 else
4211 ac_file=''
4213 if test -z "$ac_file"; then :
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4216 $as_echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.$ac_ext >&5
4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4221 as_fn_error 77 "C compiler cannot create executables
4222 See \`config.log' for more details" "$LINENO" 5; }
4223 else
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4228 $as_echo_n "checking for C compiler default output file name... " >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4230 $as_echo "$ac_file" >&6; }
4231 ac_exeext=$ac_cv_exeext
4233 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4234 ac_clean_files=$ac_clean_files_save
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4236 $as_echo_n "checking for suffix of executables... " >&6; }
4237 if { { ac_try="$ac_link"
4238 case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then :
4248 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4249 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4250 # work properly (i.e., refer to `conftest.exe'), while it won't with
4251 # `rm'.
4252 for ac_file in conftest.exe conftest conftest.*; do
4253 test -f "$ac_file" || continue
4254 case $ac_file in
4255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4256 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4257 break;;
4258 * ) break;;
4259 esac
4260 done
4261 else
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4265 See \`config.log' for more details" "$LINENO" 5; }
4267 rm -f conftest conftest$ac_cv_exeext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4269 $as_echo "$ac_cv_exeext" >&6; }
4271 rm -f conftest.$ac_ext
4272 EXEEXT=$ac_cv_exeext
4273 ac_exeext=$EXEEXT
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4276 #include <stdio.h>
4278 main ()
4280 FILE *f = fopen ("conftest.out", "w");
4281 return ferror (f) || fclose (f) != 0;
4284 return 0;
4286 _ACEOF
4287 ac_clean_files="$ac_clean_files conftest.out"
4288 # Check that the compiler produces executables we can run. If not, either
4289 # the compiler is broken, or we cross compile.
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4291 $as_echo_n "checking whether we are cross compiling... " >&6; }
4292 if test "$cross_compiling" != yes; then
4293 { { ac_try="$ac_link"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_link") 2>&5
4301 ac_status=$?
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }
4304 if { ac_try='./conftest$ac_cv_exeext'
4305 { { case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4308 esac
4309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4310 $as_echo "$ac_try_echo"; } >&5
4311 (eval "$ac_try") 2>&5
4312 ac_status=$?
4313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314 test $ac_status = 0; }; }; then
4315 cross_compiling=no
4316 else
4317 if test "$cross_compiling" = maybe; then
4318 cross_compiling=yes
4319 else
4320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $? "cannot run C compiled programs.
4323 If you meant to cross compile, use \`--host'.
4324 See \`config.log' for more details" "$LINENO" 5; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4329 $as_echo "$cross_compiling" >&6; }
4331 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4332 ac_clean_files=$ac_clean_files_save
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4334 $as_echo_n "checking for suffix of object files... " >&6; }
4335 if ${ac_cv_objext+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4342 main ()
4346 return 0;
4348 _ACEOF
4349 rm -f conftest.o conftest.obj
4350 if { { ac_try="$ac_compile"
4351 case "(($ac_try" in
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4354 esac
4355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4356 $as_echo "$ac_try_echo"; } >&5
4357 (eval "$ac_compile") 2>&5
4358 ac_status=$?
4359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360 test $ac_status = 0; }; then :
4361 for ac_file in conftest.o conftest.obj conftest.*; do
4362 test -f "$ac_file" || continue;
4363 case $ac_file in
4364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4366 break;;
4367 esac
4368 done
4369 else
4370 $as_echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "cannot compute suffix of object files: cannot compile
4376 See \`config.log' for more details" "$LINENO" 5; }
4378 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4381 $as_echo "$ac_cv_objext" >&6; }
4382 OBJEXT=$ac_cv_objext
4383 ac_objext=$OBJEXT
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4385 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4386 if ${ac_cv_c_compiler_gnu+:} false; then :
4387 $as_echo_n "(cached) " >&6
4388 else
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4393 main ()
4395 #ifndef __GNUC__
4396 choke me
4397 #endif
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_compiler_gnu=yes
4405 else
4406 ac_compiler_gnu=no
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4413 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4414 if test $ac_compiler_gnu = yes; then
4415 GCC=yes
4416 else
4417 GCC=
4419 ac_test_CFLAGS=${CFLAGS+set}
4420 ac_save_CFLAGS=$CFLAGS
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4422 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4423 if ${ac_cv_prog_cc_g+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 ac_save_c_werror_flag=$ac_c_werror_flag
4427 ac_c_werror_flag=yes
4428 ac_cv_prog_cc_g=no
4429 CFLAGS="-g"
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 main ()
4438 return 0;
4440 _ACEOF
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_cv_prog_cc_g=yes
4443 else
4444 CFLAGS=""
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4449 main ()
4453 return 0;
4455 _ACEOF
4456 if ac_fn_c_try_compile "$LINENO"; then :
4458 else
4459 ac_c_werror_flag=$ac_save_c_werror_flag
4460 CFLAGS="-g"
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4465 main ()
4469 return 0;
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_g=yes
4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 ac_c_werror_flag=$ac_save_c_werror_flag
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4483 $as_echo "$ac_cv_prog_cc_g" >&6; }
4484 if test "$ac_test_CFLAGS" = set; then
4485 CFLAGS=$ac_save_CFLAGS
4486 elif test $ac_cv_prog_cc_g = yes; then
4487 if test "$GCC" = yes; then
4488 CFLAGS="-g -O2"
4489 else
4490 CFLAGS="-g"
4492 else
4493 if test "$GCC" = yes; then
4494 CFLAGS="-O2"
4495 else
4496 CFLAGS=
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4500 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4501 if ${ac_cv_prog_cc_c89+:} false; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 ac_cv_prog_cc_c89=no
4505 ac_save_CC=$CC
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508 #include <stdarg.h>
4509 #include <stdio.h>
4510 struct stat;
4511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4512 struct buf { int x; };
4513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4514 static char *e (p, i)
4515 char **p;
4516 int i;
4518 return p[i];
4520 static char *f (char * (*g) (char **, int), char **p, ...)
4522 char *s;
4523 va_list v;
4524 va_start (v,p);
4525 s = g (p, va_arg (v,int));
4526 va_end (v);
4527 return s;
4530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4531 function prototypes and stuff, but not '\xHH' hex character constants.
4532 These don't provoke an error unfortunately, instead are silently treated
4533 as 'x'. The following induces an error, until -std is added to get
4534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4535 array size at least. It's necessary to write '\x00'==0 to get something
4536 that's true only with -std. */
4537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4540 inside strings and character constants. */
4541 #define FOO(x) 'x'
4542 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4544 int test (int i, double x);
4545 struct s1 {int (*f) (int a);};
4546 struct s2 {int (*f) (double a);};
4547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4548 int argc;
4549 char **argv;
4551 main ()
4553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4555 return 0;
4557 _ACEOF
4558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4561 CC="$ac_save_CC $ac_arg"
4562 if ac_fn_c_try_compile "$LINENO"; then :
4563 ac_cv_prog_cc_c89=$ac_arg
4565 rm -f core conftest.err conftest.$ac_objext
4566 test "x$ac_cv_prog_cc_c89" != "xno" && break
4567 done
4568 rm -f conftest.$ac_ext
4569 CC=$ac_save_CC
4572 # AC_CACHE_VAL
4573 case "x$ac_cv_prog_cc_c89" in
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4576 $as_echo "none needed" >&6; } ;;
4577 xno)
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4579 $as_echo "unsupported" >&6; } ;;
4581 CC="$CC $ac_cv_prog_cc_c89"
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4583 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4584 esac
4585 if test "x$ac_cv_prog_cc_c89" != xno; then :
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 ac_ext=cpp
4596 ac_cpp='$CXXCPP $CPPFLAGS'
4597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4600 if test -z "$CXX"; then
4601 if test -n "$CCC"; then
4602 CXX=$CCC
4603 else
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_CXX+:} false; then :
4612 $as_echo_n "(cached) " >&6
4613 else
4614 if test -n "$CXX"; then
4615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4616 else
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4620 IFS=$as_save_IFS
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 break 2
4628 done
4629 done
4630 IFS=$as_save_IFS
4634 CXX=$ac_cv_prog_CXX
4635 if test -n "$CXX"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4637 $as_echo "$CXX" >&6; }
4638 else
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$CXX" && break
4645 done
4647 if test -z "$CXX"; then
4648 ac_ct_CXX=$CXX
4649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy $ac_prog; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 if test -n "$ac_ct_CXX"; then
4659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664 IFS=$as_save_IFS
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_CXX="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 break 2
4672 done
4673 done
4674 IFS=$as_save_IFS
4678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4679 if test -n "$ac_ct_CXX"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4681 $as_echo "$ac_ct_CXX" >&6; }
4682 else
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$ac_ct_CXX" && break
4689 done
4691 if test "x$ac_ct_CXX" = x; then
4692 CXX="g++"
4693 else
4694 case $cross_compiling:$ac_tool_warned in
4695 yes:)
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4699 esac
4700 CXX=$ac_ct_CXX
4706 # Provide some information about the compiler.
4707 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4708 set X $ac_compile
4709 ac_compiler=$2
4710 for ac_option in --version -v -V -qversion; do
4711 { { ac_try="$ac_compiler $ac_option >&5"
4712 case "(($ac_try" in
4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714 *) ac_try_echo=$ac_try;;
4715 esac
4716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4717 $as_echo "$ac_try_echo"; } >&5
4718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4719 ac_status=$?
4720 if test -s conftest.err; then
4721 sed '10a\
4722 ... rest of stderr output deleted ...
4723 10q' conftest.err >conftest.er1
4724 cat conftest.er1 >&5
4726 rm -f conftest.er1 conftest.err
4727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4728 test $ac_status = 0; }
4729 done
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4732 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4733 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4740 main ()
4742 #ifndef __GNUC__
4743 choke me
4744 #endif
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4751 ac_compiler_gnu=yes
4752 else
4753 ac_compiler_gnu=no
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4760 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4761 if test $ac_compiler_gnu = yes; then
4762 GXX=yes
4763 else
4764 GXX=
4766 ac_test_CXXFLAGS=${CXXFLAGS+set}
4767 ac_save_CXXFLAGS=$CXXFLAGS
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4769 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4770 if ${ac_cv_prog_cxx_g+:} false; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4774 ac_cxx_werror_flag=yes
4775 ac_cv_prog_cxx_g=no
4776 CXXFLAGS="-g"
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4781 main ()
4785 return 0;
4787 _ACEOF
4788 if ac_fn_cxx_try_compile "$LINENO"; then :
4789 ac_cv_prog_cxx_g=yes
4790 else
4791 CXXFLAGS=""
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4796 main ()
4800 return 0;
4802 _ACEOF
4803 if ac_fn_cxx_try_compile "$LINENO"; then :
4805 else
4806 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4807 CXXFLAGS="-g"
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4812 main ()
4816 return 0;
4818 _ACEOF
4819 if ac_fn_cxx_try_compile "$LINENO"; then :
4820 ac_cv_prog_cxx_g=yes
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4830 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4831 if test "$ac_test_CXXFLAGS" = set; then
4832 CXXFLAGS=$ac_save_CXXFLAGS
4833 elif test $ac_cv_prog_cxx_g = yes; then
4834 if test "$GXX" = yes; then
4835 CXXFLAGS="-g -O2"
4836 else
4837 CXXFLAGS="-g"
4839 else
4840 if test "$GXX" = yes; then
4841 CXXFLAGS="-O2"
4842 else
4843 CXXFLAGS=
4846 ac_ext=c
4847 ac_cpp='$CPP $CPPFLAGS'
4848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852 if test -n "$ac_tool_prefix"; then
4853 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4854 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_CPPBIN+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 if test -n "$CPPBIN"; then
4861 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4862 else
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4866 IFS=$as_save_IFS
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 break 2
4874 done
4875 done
4876 IFS=$as_save_IFS
4880 CPPBIN=$ac_cv_prog_CPPBIN
4881 if test -n "$CPPBIN"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4883 $as_echo "$CPPBIN" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4891 if test -z "$ac_cv_prog_CPPBIN"; then
4892 ac_ct_CPPBIN=$CPPBIN
4893 # Extract the first word of "cpp", so it can be a program name with args.
4894 set dummy cpp; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$ac_ct_CPPBIN"; then
4901 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_ac_ct_CPPBIN="cpp"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4921 if test -n "$ac_ct_CPPBIN"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4923 $as_echo "$ac_ct_CPPBIN" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4929 if test "x$ac_ct_CPPBIN" = x; then
4930 CPPBIN="cpp"
4931 else
4932 case $cross_compiling:$ac_tool_warned in
4933 yes:)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned=yes ;;
4937 esac
4938 CPPBIN=$ac_ct_CPPBIN
4940 else
4941 CPPBIN="$ac_cv_prog_CPPBIN"
4945 cat >>confdefs.h <<_ACEOF
4946 #define EXEEXT "$ac_exeext"
4947 _ACEOF
4949 if test -n "$ac_tool_prefix"; then
4950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4951 set dummy ${ac_tool_prefix}ld; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_LD+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 if test -n "$LD"; then
4958 ac_cv_prog_LD="$LD" # Let the user override the test.
4959 else
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 for as_dir in $PATH
4963 IFS=$as_save_IFS
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_LD="${ac_tool_prefix}ld"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 break 2
4971 done
4972 done
4973 IFS=$as_save_IFS
4977 LD=$ac_cv_prog_LD
4978 if test -n "$LD"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4980 $as_echo "$LD" >&6; }
4981 else
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4988 if test -z "$ac_cv_prog_LD"; then
4989 ac_ct_LD=$LD
4990 # Extract the first word of "ld", so it can be a program name with args.
4991 set dummy ld; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 if test -n "$ac_ct_LD"; then
4998 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_ac_ct_LD="ld"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 break 2
5011 done
5012 done
5013 IFS=$as_save_IFS
5017 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5018 if test -n "$ac_ct_LD"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5020 $as_echo "$ac_ct_LD" >&6; }
5021 else
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5026 if test "x$ac_ct_LD" = x; then
5027 LD=""
5028 else
5029 case $cross_compiling:$ac_tool_warned in
5030 yes:)
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5033 ac_tool_warned=yes ;;
5034 esac
5035 LD=$ac_ct_LD
5037 else
5038 LD="$ac_cv_prog_LD"
5042 case $host in
5043 *-darwin*)
5044 with_fontconfig=${with_fontconfig:-no}
5046 *-mingw32*|*-cygwin*)
5047 enable_win16=${enable_win16:-no}
5048 CFLAGS="$CFLAGS -D_WIN32"
5050 esac
5052 case $host in
5053 x86_64*|amd64*)
5054 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5055 then
5056 CC="$CC -m32"
5057 CXX="$CXX -m32"
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5059 $as_echo_n "checking whether $CC works... " >&6; }
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main ()
5069 return 0;
5071 _ACEOF
5072 if ac_fn_c_try_link "$LINENO"; then :
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5080 rm -f core conftest.err conftest.$ac_objext \
5081 conftest$ac_exeext conftest.$ac_ext
5082 host_cpu="i386"
5083 notice_platform="32-bit "
5084 TARGETFLAGS="-m32"
5086 enable_win16=${enable_win16:-yes}
5087 else
5088 if test "x${GCC}" = "xyes"
5089 then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5091 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5094 #include <stdarg.h>
5096 main ()
5098 void func(__builtin_ms_va_list *args);
5100 return 0;
5102 _ACEOF
5103 if ac_fn_c_try_compile "$LINENO"; then :
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5113 CC="$CC -m64"
5114 CXX="$CXX -m64"
5115 host_cpu="x86_64"
5116 notice_platform="64-bit "
5117 TARGETFLAGS="-m64"
5121 arm*)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5123 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5126 int ac_test(int i) { return i; }
5128 main ()
5130 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5132 return 0;
5134 _ACEOF
5135 if ac_fn_c_try_link "$LINENO"; then :
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5143 rm -f core conftest.err conftest.$ac_objext \
5144 conftest$ac_exeext conftest.$ac_ext
5145 CFLAGS="$CFLAGS -marm"
5146 TARGETFLAGS="-marm"
5149 i[3456789]86*)
5150 enable_win16=${enable_win16:-yes}
5152 esac
5154 enable_win16=${enable_win16:-no}
5155 enable_win64=${enable_win64:-no}
5157 enable_winetest=${enable_winetest:-$enable_tests}
5159 if test -n "$with_wine64"
5160 then
5161 if test "x$enable_win64" = "xyes"
5162 then
5163 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5164 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5166 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5167 You should create a separate build directory and run configure from there." "$LINENO" 5
5168 enable_fonts=${enable_fonts:-no}
5169 enable_server=${enable_server:-no}
5170 elif test "x$enable_win64" = "xyes"
5171 then
5172 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5176 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5177 if ${wine_cv_toolsdir+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 wine_cv_toolsdir="$with_wine_tools"
5181 if test -z "$with_wine_tools"; then
5182 if test "$cross_compiling" = "yes"; then
5183 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5184 elif test -n "$with_wine64"; then
5185 wine_cv_toolsdir="$with_wine64"
5188 if test -z "$wine_cv_toolsdir"; then
5189 wine_makedep=tools/makedep
5190 wine_cv_toolsdir="\$(top_builddir)"
5191 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5192 wine_makedep=$wine_cv_toolsdir/tools/makedep
5193 case "$wine_cv_toolsdir" in
5194 /*) ;;
5195 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5196 esac
5197 enable_tools=${enable_tools:-no}
5198 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5199 else
5200 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5204 $as_echo "$wine_cv_toolsdir" >&6; }
5205 TOOLSDIR=$wine_cv_toolsdir
5207 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5208 then
5209 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5213 for ac_prog in flex
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
5216 set dummy $ac_prog; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_FLEX+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 if test -n "$FLEX"; then
5223 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5224 else
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5228 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_FLEX="$ac_prog"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 break 2
5236 done
5237 done
5238 IFS=$as_save_IFS
5242 FLEX=$ac_cv_prog_FLEX
5243 if test -n "$FLEX"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5245 $as_echo "$FLEX" >&6; }
5246 else
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 test -n "$FLEX" && break
5253 done
5254 test -n "$FLEX" || FLEX="none"
5256 if test "$FLEX" = "none"
5257 then
5258 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5261 $as_echo_n "checking whether flex is recent enough... " >&6; }
5262 cat >conftest.l <<EOF
5263 %top{
5264 #include "prediluvian.h"
5268 if $FLEX -t conftest.l >/dev/null 2>&5
5269 then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5271 $as_echo "yes" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5278 for ac_prog in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_BISON+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_BISON="$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 BISON=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5310 $as_echo "$BISON" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$BISON" && break
5318 done
5319 test -n "$BISON" || BISON="none"
5321 if test "$BISON" = "none"
5322 then
5323 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5326 if test -n "$ac_tool_prefix"; then
5327 for ac_prog in ar gar
5329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_AR+:} false; then :
5334 $as_echo_n "(cached) " >&6
5335 else
5336 if test -n "$AR"; then
5337 ac_cv_prog_AR="$AR" # Let the user override the test.
5338 else
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 for as_dir in $PATH
5342 IFS=$as_save_IFS
5343 test -z "$as_dir" && as_dir=.
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 break 2
5350 done
5351 done
5352 IFS=$as_save_IFS
5356 AR=$ac_cv_prog_AR
5357 if test -n "$AR"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5359 $as_echo "$AR" >&6; }
5360 else
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5366 test -n "$AR" && break
5367 done
5369 if test -z "$AR"; then
5370 ac_ct_AR=$AR
5371 for ac_prog in ar gar
5373 # Extract the first word of "$ac_prog", so it can be a program name with args.
5374 set dummy $ac_prog; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 if test -n "$ac_ct_AR"; then
5381 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_ac_ct_AR="$ac_prog"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 break 2
5394 done
5395 done
5396 IFS=$as_save_IFS
5400 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5401 if test -n "$ac_ct_AR"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5403 $as_echo "$ac_ct_AR" >&6; }
5404 else
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5410 test -n "$ac_ct_AR" && break
5411 done
5413 if test "x$ac_ct_AR" = x; then
5414 AR="ar"
5415 else
5416 case $cross_compiling:$ac_tool_warned in
5417 yes:)
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned=yes ;;
5421 esac
5422 AR=$ac_ct_AR
5426 if test -n "$ac_tool_prefix"; then
5427 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5428 set dummy ${ac_tool_prefix}strip; ac_word=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if ${ac_cv_prog_STRIP+:} false; then :
5432 $as_echo_n "(cached) " >&6
5433 else
5434 if test -n "$STRIP"; then
5435 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5436 else
5437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 for as_dir in $PATH
5440 IFS=$as_save_IFS
5441 test -z "$as_dir" && as_dir=.
5442 for ac_exec_ext in '' $ac_executable_extensions; do
5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 break 2
5448 done
5449 done
5450 IFS=$as_save_IFS
5454 STRIP=$ac_cv_prog_STRIP
5455 if test -n "$STRIP"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5457 $as_echo "$STRIP" >&6; }
5458 else
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5465 if test -z "$ac_cv_prog_STRIP"; then
5466 ac_ct_STRIP=$STRIP
5467 # Extract the first word of "strip", so it can be a program name with args.
5468 set dummy strip; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if test -n "$ac_ct_STRIP"; then
5475 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_ac_ct_STRIP="strip"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5495 if test -n "$ac_ct_STRIP"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5497 $as_echo "$ac_ct_STRIP" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5503 if test "x$ac_ct_STRIP" = x; then
5504 STRIP="strip"
5505 else
5506 case $cross_compiling:$ac_tool_warned in
5507 yes:)
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5510 ac_tool_warned=yes ;;
5511 esac
5512 STRIP=$ac_ct_STRIP
5514 else
5515 STRIP="$ac_cv_prog_STRIP"
5518 ARFLAGS=rc
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_RANLIB+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$RANLIB"; then
5529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 RANLIB=$ac_cv_prog_RANLIB
5549 if test -n "$RANLIB"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5551 $as_echo "$RANLIB" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_RANLIB"; then
5560 ac_ct_RANLIB=$RANLIB
5561 # Extract the first word of "ranlib", so it can be a program name with args.
5562 set dummy ranlib; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$ac_ct_RANLIB"; then
5569 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_RANLIB="ranlib"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5589 if test -n "$ac_ct_RANLIB"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5591 $as_echo "$ac_ct_RANLIB" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_RANLIB" = x; then
5598 RANLIB=":"
5599 else
5600 case $cross_compiling:$ac_tool_warned in
5601 yes:)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5605 esac
5606 RANLIB=$ac_ct_RANLIB
5608 else
5609 RANLIB="$ac_cv_prog_RANLIB"
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5613 $as_echo_n "checking whether ln -s works... " >&6; }
5614 LN_S=$as_ln_s
5615 if test "$LN_S" = "ln -s"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5617 $as_echo "yes" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5620 $as_echo "no, using $LN_S" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5624 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5625 if ${ac_cv_path_GREP+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -z "$GREP"; then
5629 ac_path_GREP_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_prog in grep ggrep; do
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5639 as_fn_executable_p "$ac_path_GREP" || continue
5640 # Check for GNU ac_path_GREP and select it if it is found.
5641 # Check for GNU $ac_path_GREP
5642 case `"$ac_path_GREP" --version 2>&1` in
5643 *GNU*)
5644 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5646 ac_count=0
5647 $as_echo_n 0123456789 >"conftest.in"
5648 while :
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo 'GREP' >> "conftest.nl"
5654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656 as_fn_arith $ac_count + 1 && ac_count=$as_val
5657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_GREP="$ac_path_GREP"
5660 ac_path_GREP_max=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5664 done
5665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666 esac
5668 $ac_path_GREP_found && break 3
5669 done
5670 done
5671 done
5672 IFS=$as_save_IFS
5673 if test -z "$ac_cv_path_GREP"; then
5674 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5676 else
5677 ac_cv_path_GREP=$GREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5682 $as_echo "$ac_cv_path_GREP" >&6; }
5683 GREP="$ac_cv_path_GREP"
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5687 $as_echo_n "checking for egrep... " >&6; }
5688 if ${ac_cv_path_EGREP+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5692 then ac_cv_path_EGREP="$GREP -E"
5693 else
5694 if test -z "$EGREP"; then
5695 ac_path_EGREP_found=false
5696 # Loop through the user's path and test for each of PROGNAME-LIST
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_prog in egrep; do
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5705 as_fn_executable_p "$ac_path_EGREP" || continue
5706 # Check for GNU ac_path_EGREP and select it if it is found.
5707 # Check for GNU $ac_path_EGREP
5708 case `"$ac_path_EGREP" --version 2>&1` in
5709 *GNU*)
5710 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5712 ac_count=0
5713 $as_echo_n 0123456789 >"conftest.in"
5714 while :
5716 cat "conftest.in" "conftest.in" >"conftest.tmp"
5717 mv "conftest.tmp" "conftest.in"
5718 cp "conftest.in" "conftest.nl"
5719 $as_echo 'EGREP' >> "conftest.nl"
5720 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5722 as_fn_arith $ac_count + 1 && ac_count=$as_val
5723 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5724 # Best one so far, save it but keep looking for a better one
5725 ac_cv_path_EGREP="$ac_path_EGREP"
5726 ac_path_EGREP_max=$ac_count
5728 # 10*(2^10) chars as input seems more than enough
5729 test $ac_count -gt 10 && break
5730 done
5731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5732 esac
5734 $ac_path_EGREP_found && break 3
5735 done
5736 done
5737 done
5738 IFS=$as_save_IFS
5739 if test -z "$ac_cv_path_EGREP"; then
5740 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5742 else
5743 ac_cv_path_EGREP=$EGREP
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5749 $as_echo "$ac_cv_path_EGREP" >&6; }
5750 EGREP="$ac_cv_path_EGREP"
5753 # Extract the first word of "ldconfig", so it can be a program name with args.
5754 set dummy ldconfig; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_path_LDCONFIG+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 case $LDCONFIG in
5761 [\\/]* | ?:[\\/]*)
5762 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 for as_dir in /sbin /usr/sbin $PATH
5768 IFS=$as_save_IFS
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 break 2
5776 done
5777 done
5778 IFS=$as_save_IFS
5780 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5782 esac
5784 LDCONFIG=$ac_cv_path_LDCONFIG
5785 if test -n "$LDCONFIG"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5787 $as_echo "$LDCONFIG" >&6; }
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5794 for ac_prog in msgfmt
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_MSGFMT+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$MSGFMT"; then
5804 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_MSGFMT="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 MSGFMT=$ac_cv_prog_MSGFMT
5824 if test -n "$MSGFMT"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5826 $as_echo "$MSGFMT" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$MSGFMT" && break
5834 done
5835 test -n "$MSGFMT" || MSGFMT="false"
5837 if ${ac_tool_prefix+:} false; then :
5838 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5839 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5843 $as_echo_n "(cached) " >&6
5844 else
5845 if test -n "$PKG_CONFIG"; then
5846 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5847 else
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH
5851 IFS=$as_save_IFS
5852 test -z "$as_dir" && as_dir=.
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 break 2
5859 done
5860 done
5861 IFS=$as_save_IFS
5865 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5866 if test -n "$PKG_CONFIG"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5868 $as_echo "$PKG_CONFIG" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5876 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5877 if test "x$cross_compiling" = xyes; then :
5879 else
5880 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5881 # Extract the first word of "pkg-config", so it can be a program name with args.
5882 set dummy pkg-config; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -n "$PKG_CONFIG"; then
5889 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_PKG_CONFIG="pkg-config"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 break 2
5902 done
5903 done
5904 IFS=$as_save_IFS
5908 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5909 if test -n "$PKG_CONFIG"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5911 $as_echo "$PKG_CONFIG" >&6; }
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5919 else
5920 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5923 if test "x$enable_maintainer_mode" != "xyes"
5924 then
5925 FONTFORGE=""
5926 RSVG=""
5927 CONVERT=""
5928 ICOTOOL=""
5929 else
5930 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5931 for ac_prog in fontforge
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_FONTFORGE+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$FONTFORGE"; then
5941 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_FONTFORGE="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 FONTFORGE=$ac_cv_prog_FONTFORGE
5961 if test -n "$FONTFORGE"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5963 $as_echo "$FONTFORGE" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$FONTFORGE" && break
5971 done
5972 test -n "$FONTFORGE" || FONTFORGE="false"
5974 for ac_prog in rsvg-convert rsvg
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_RSVG+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$RSVG"; then
5984 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_RSVG="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 RSVG=$ac_cv_prog_RSVG
6004 if test -n "$RSVG"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6006 $as_echo "$RSVG" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$RSVG" && break
6014 done
6015 test -n "$RSVG" || RSVG="false"
6017 for ac_prog in convert
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_CONVERT+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$CONVERT"; then
6027 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_CONVERT="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 CONVERT=$ac_cv_prog_CONVERT
6047 if test -n "$CONVERT"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6049 $as_echo "$CONVERT" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$CONVERT" && break
6057 done
6058 test -n "$CONVERT" || CONVERT="false"
6060 for ac_prog in icotool
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_ICOTOOL+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$ICOTOOL"; then
6070 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ICOTOOL="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 ICOTOOL=$ac_cv_prog_ICOTOOL
6090 if test -n "$ICOTOOL"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6092 $as_echo "$ICOTOOL" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$ICOTOOL" && break
6100 done
6101 test -n "$ICOTOOL" || ICOTOOL="false"
6103 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6104 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6106 if test "$CONVERT" = false
6107 then
6108 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6109 else
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6111 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6112 convert_version=`convert --version | head -n1`
6113 if test "x$convert_version" != "x"
6114 then
6115 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6116 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6117 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6118 then
6119 CONVERT=false
6122 if test "$CONVERT" = false
6123 then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6125 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6126 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6129 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6133 if test "$ICOTOOL" = false
6134 then
6135 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6138 $as_echo_n "checking for recent enough icotool... " >&6; }
6139 icotool_version=`icotool --version | head -n1`
6140 if test "x$icotool_version" != "x"
6141 then
6142 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6143 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6144 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6145 then
6146 ICOTOOL=false
6147 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6150 if test "$ICOTOOL" = false
6151 then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6153 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6154 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6157 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6161 with_gettext=yes
6162 with_gettextpo=yes
6163 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6166 test "x$with_gettext" != xno || MSGFMT=false
6167 if test "$MSGFMT" != "false"
6168 then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6170 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6171 cat >conftest.po <<EOF
6172 # comment
6173 msgctxt "ctxt"
6174 msgid "id"
6175 msgstr "str"
6177 if $MSGFMT -o /dev/null conftest.po 2>&5
6178 then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6180 $as_echo "yes" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6184 MSGFMT=false
6187 if test "$MSGFMT" = false; then :
6188 case "x$with_gettext" in
6189 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6190 xno) ;;
6191 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6192 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6193 esac
6194 enable_po=${enable_po:-no}
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6199 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6200 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 ac_check_lib_save_LIBS=$LIBS
6204 LIBS="-li386 $LIBS"
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6208 /* Override any GCC internal prototype to avoid an error.
6209 Use char because int might match the return type of a GCC
6210 builtin and then its argument prototype would still apply. */
6211 #ifdef __cplusplus
6212 extern "C"
6213 #endif
6214 char i386_set_ldt ();
6216 main ()
6218 return i386_set_ldt ();
6220 return 0;
6222 _ACEOF
6223 if ac_fn_c_try_link "$LINENO"; then :
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 ac_cv_lib_i386_i386_set_ldt=no
6228 rm -f core conftest.err conftest.$ac_objext \
6229 conftest$ac_exeext conftest.$ac_ext
6230 LIBS=$ac_check_lib_save_LIBS
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6233 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6234 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6235 cat >>confdefs.h <<_ACEOF
6236 #define HAVE_LIBI386 1
6237 _ACEOF
6239 LIBS="-li386 $LIBS"
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6244 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6245 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 ac_check_lib_save_LIBS=$LIBS
6249 LIBS="-lossaudio $LIBS"
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6253 /* Override any GCC internal prototype to avoid an error.
6254 Use char because int might match the return type of a GCC
6255 builtin and then its argument prototype would still apply. */
6256 #ifdef __cplusplus
6257 extern "C"
6258 #endif
6259 char _oss_ioctl ();
6261 main ()
6263 return _oss_ioctl ();
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_link "$LINENO"; then :
6269 ac_cv_lib_ossaudio__oss_ioctl=yes
6270 else
6271 ac_cv_lib_ossaudio__oss_ioctl=no
6273 rm -f core conftest.err conftest.$ac_objext \
6274 conftest$ac_exeext conftest.$ac_ext
6275 LIBS=$ac_check_lib_save_LIBS
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6278 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6279 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6280 cat >>confdefs.h <<_ACEOF
6281 #define HAVE_LIBOSSAUDIO 1
6282 _ACEOF
6284 LIBS="-lossaudio $LIBS"
6289 OPENGL_LIBS=""
6293 # Check whether --enable-largefile was given.
6294 if test "${enable_largefile+set}" = set; then :
6295 enableval=$enable_largefile;
6298 if test "$enable_largefile" != no; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6301 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6302 if ${ac_cv_sys_largefile_CC+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 ac_cv_sys_largefile_CC=no
6306 if test "$GCC" != yes; then
6307 ac_save_CC=$CC
6308 while :; do
6309 # IRIX 6.2 and later do not support large files by default,
6310 # so use the C compiler's -n32 option if that helps.
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #include <sys/types.h>
6314 /* Check that off_t can represent 2**63 - 1 correctly.
6315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6316 since some C++ compilers masquerading as C compilers
6317 incorrectly reject 9223372036854775807. */
6318 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6319 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6320 && LARGE_OFF_T % 2147483647 == 1)
6321 ? 1 : -1];
6323 main ()
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 break
6333 rm -f core conftest.err conftest.$ac_objext
6334 CC="$CC -n32"
6335 if ac_fn_c_try_compile "$LINENO"; then :
6336 ac_cv_sys_largefile_CC=' -n32'; break
6338 rm -f core conftest.err conftest.$ac_objext
6339 break
6340 done
6341 CC=$ac_save_CC
6342 rm -f conftest.$ac_ext
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6346 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6347 if test "$ac_cv_sys_largefile_CC" != no; then
6348 CC=$CC$ac_cv_sys_largefile_CC
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6352 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6353 if ${ac_cv_sys_file_offset_bits+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 while :; do
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_file_offset_bits=no; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _FILE_OFFSET_BITS 64
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_file_offset_bits=64; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 ac_cv_sys_file_offset_bits=unknown
6405 break
6406 done
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6409 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6410 case $ac_cv_sys_file_offset_bits in #(
6411 no | unknown) ;;
6413 cat >>confdefs.h <<_ACEOF
6414 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6415 _ACEOF
6417 esac
6418 rm -rf conftest*
6419 if test $ac_cv_sys_file_offset_bits = unknown; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6421 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6422 if ${ac_cv_sys_large_files+:} false; then :
6423 $as_echo_n "(cached) " >&6
6424 else
6425 while :; do
6426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6436 ? 1 : -1];
6438 main ()
6442 return 0;
6444 _ACEOF
6445 if ac_fn_c_try_compile "$LINENO"; then :
6446 ac_cv_sys_large_files=no; break
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #define _LARGE_FILES 1
6452 #include <sys/types.h>
6453 /* Check that off_t can represent 2**63 - 1 correctly.
6454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6455 since some C++ compilers masquerading as C compilers
6456 incorrectly reject 9223372036854775807. */
6457 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6459 && LARGE_OFF_T % 2147483647 == 1)
6460 ? 1 : -1];
6462 main ()
6466 return 0;
6468 _ACEOF
6469 if ac_fn_c_try_compile "$LINENO"; then :
6470 ac_cv_sys_large_files=1; break
6472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473 ac_cv_sys_large_files=unknown
6474 break
6475 done
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6478 $as_echo "$ac_cv_sys_large_files" >&6; }
6479 case $ac_cv_sys_large_files in #(
6480 no | unknown) ;;
6482 cat >>confdefs.h <<_ACEOF
6483 #define _LARGE_FILES $ac_cv_sys_large_files
6484 _ACEOF
6486 esac
6487 rm -rf conftest*
6494 ac_ext=c
6495 ac_cpp='$CPP $CPPFLAGS'
6496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6500 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6501 # On Suns, sometimes $CPP names a directory.
6502 if test -n "$CPP" && test -d "$CPP"; then
6503 CPP=
6505 if test -z "$CPP"; then
6506 if ${ac_cv_prog_CPP+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 # Double quotes because CPP needs to be expanded
6510 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6512 ac_preproc_ok=false
6513 for ac_c_preproc_warn_flag in '' yes
6515 # Use a header file that comes with gcc, so configuring glibc
6516 # with a fresh cross-compiler works.
6517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6518 # <limits.h> exists even on freestanding compilers.
6519 # On the NeXT, cc -E runs the code through the compiler's parser,
6520 # not just through cpp. "Syntax error" is here to catch this case.
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #ifdef __STDC__
6524 # include <limits.h>
6525 #else
6526 # include <assert.h>
6527 #endif
6528 Syntax error
6529 _ACEOF
6530 if ac_fn_c_try_cpp "$LINENO"; then :
6532 else
6533 # Broken: fails on valid input.
6534 continue
6536 rm -f conftest.err conftest.i conftest.$ac_ext
6538 # OK, works on sane cases. Now check whether nonexistent headers
6539 # can be detected and how.
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 #include <ac_nonexistent.h>
6543 _ACEOF
6544 if ac_fn_c_try_cpp "$LINENO"; then :
6545 # Broken: success on invalid input.
6546 continue
6547 else
6548 # Passes both tests.
6549 ac_preproc_ok=:
6550 break
6552 rm -f conftest.err conftest.i conftest.$ac_ext
6554 done
6555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6556 rm -f conftest.i conftest.err conftest.$ac_ext
6557 if $ac_preproc_ok; then :
6558 break
6561 done
6562 ac_cv_prog_CPP=$CPP
6565 CPP=$ac_cv_prog_CPP
6566 else
6567 ac_cv_prog_CPP=$CPP
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6570 $as_echo "$CPP" >&6; }
6571 ac_preproc_ok=false
6572 for ac_c_preproc_warn_flag in '' yes
6574 # Use a header file that comes with gcc, so configuring glibc
6575 # with a fresh cross-compiler works.
6576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6577 # <limits.h> exists even on freestanding compilers.
6578 # On the NeXT, cc -E runs the code through the compiler's parser,
6579 # not just through cpp. "Syntax error" is here to catch this case.
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 #ifdef __STDC__
6583 # include <limits.h>
6584 #else
6585 # include <assert.h>
6586 #endif
6587 Syntax error
6588 _ACEOF
6589 if ac_fn_c_try_cpp "$LINENO"; then :
6591 else
6592 # Broken: fails on valid input.
6593 continue
6595 rm -f conftest.err conftest.i conftest.$ac_ext
6597 # OK, works on sane cases. Now check whether nonexistent headers
6598 # can be detected and how.
6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #include <ac_nonexistent.h>
6602 _ACEOF
6603 if ac_fn_c_try_cpp "$LINENO"; then :
6604 # Broken: success on invalid input.
6605 continue
6606 else
6607 # Passes both tests.
6608 ac_preproc_ok=:
6609 break
6611 rm -f conftest.err conftest.i conftest.$ac_ext
6613 done
6614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6615 rm -f conftest.i conftest.err conftest.$ac_ext
6616 if $ac_preproc_ok; then :
6618 else
6619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6621 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6622 See \`config.log' for more details" "$LINENO" 5; }
6625 ac_ext=c
6626 ac_cpp='$CPP $CPPFLAGS'
6627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6633 $as_echo_n "checking for ANSI C header files... " >&6; }
6634 if ${ac_cv_header_stdc+:} false; then :
6635 $as_echo_n "(cached) " >&6
6636 else
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #include <stdlib.h>
6640 #include <stdarg.h>
6641 #include <string.h>
6642 #include <float.h>
6645 main ()
6649 return 0;
6651 _ACEOF
6652 if ac_fn_c_try_compile "$LINENO"; then :
6653 ac_cv_header_stdc=yes
6654 else
6655 ac_cv_header_stdc=no
6657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6659 if test $ac_cv_header_stdc = yes; then
6660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <string.h>
6665 _ACEOF
6666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6667 $EGREP "memchr" >/dev/null 2>&1; then :
6669 else
6670 ac_cv_header_stdc=no
6672 rm -f conftest*
6676 if test $ac_cv_header_stdc = yes; then
6677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 #include <stdlib.h>
6682 _ACEOF
6683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684 $EGREP "free" >/dev/null 2>&1; then :
6686 else
6687 ac_cv_header_stdc=no
6689 rm -f conftest*
6693 if test $ac_cv_header_stdc = yes; then
6694 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6695 if test "$cross_compiling" = yes; then :
6697 else
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6700 #include <ctype.h>
6701 #include <stdlib.h>
6702 #if ((' ' & 0x0FF) == 0x020)
6703 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6704 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6705 #else
6706 # define ISLOWER(c) \
6707 (('a' <= (c) && (c) <= 'i') \
6708 || ('j' <= (c) && (c) <= 'r') \
6709 || ('s' <= (c) && (c) <= 'z'))
6710 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6711 #endif
6713 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6715 main ()
6717 int i;
6718 for (i = 0; i < 256; i++)
6719 if (XOR (islower (i), ISLOWER (i))
6720 || toupper (i) != TOUPPER (i))
6721 return 2;
6722 return 0;
6724 _ACEOF
6725 if ac_fn_c_try_run "$LINENO"; then :
6727 else
6728 ac_cv_header_stdc=no
6730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6731 conftest.$ac_objext conftest.beam conftest.$ac_ext
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6737 $as_echo "$ac_cv_header_stdc" >&6; }
6738 if test $ac_cv_header_stdc = yes; then
6740 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6744 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6745 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6746 inttypes.h stdint.h unistd.h
6747 do :
6748 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6749 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6752 cat >>confdefs.h <<_ACEOF
6753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6754 _ACEOF
6758 done
6761 for ac_header in \
6762 AL/al.h \
6763 ApplicationServices/ApplicationServices.h \
6764 AudioToolbox/AudioConverter.h \
6765 AudioUnit/AudioUnit.h \
6766 AudioUnit/AudioComponent.h \
6767 CL/cl.h \
6768 Carbon/Carbon.h \
6769 CommonCrypto/CommonDigest.h \
6770 CoreAudio/CoreAudio.h \
6771 CoreServices/CoreServices.h \
6772 DiskArbitration/DiskArbitration.h \
6773 IOKit/IOKitLib.h \
6774 IOKit/hid/IOHIDLib.h \
6775 OpenAL/al.h \
6776 OpenCL/opencl.h \
6777 QuickTime/ImageCompression.h \
6778 Security/Security.h \
6779 alias.h \
6780 alsa/asoundlib.h \
6781 arpa/inet.h \
6782 arpa/nameser.h \
6783 asm/types.h \
6784 asm/user.h \
6785 curses.h \
6786 direct.h \
6787 dirent.h \
6788 dlfcn.h \
6789 elf.h \
6790 float.h \
6791 fnmatch.h \
6792 getopt.h \
6793 gettext-po.h \
6794 grp.h \
6795 gsm.h \
6796 gsm/gsm.h \
6797 ieeefp.h \
6798 inet/mib2.h \
6799 io.h \
6800 kstat.h \
6801 lber.h \
6802 ldap.h \
6803 libproc.h \
6804 link.h \
6805 linux/cdrom.h \
6806 linux/compiler.h \
6807 linux/filter.h \
6808 linux/hdreg.h \
6809 linux/hidraw.h \
6810 linux/input.h \
6811 linux/ioctl.h \
6812 linux/joystick.h \
6813 linux/major.h \
6814 linux/param.h \
6815 linux/serial.h \
6816 linux/types.h \
6817 linux/ucdrom.h \
6818 lwp.h \
6819 mach-o/nlist.h \
6820 mach-o/loader.h \
6821 mach/mach.h \
6822 mach/machine.h \
6823 machine/cpu.h \
6824 machine/limits.h \
6825 machine/sysarch.h \
6826 mntent.h \
6827 ncurses.h \
6828 netdb.h \
6829 netinet/in.h \
6830 netinet/in_systm.h \
6831 netinet/tcp.h \
6832 netinet/tcp_fsm.h \
6833 pcap/pcap.h \
6834 poll.h \
6835 port.h \
6836 process.h \
6837 pthread.h \
6838 pwd.h \
6839 sched.h \
6840 scsi/scsi.h \
6841 scsi/scsi_ioctl.h \
6842 scsi/sg.h \
6843 stdbool.h \
6844 stdint.h \
6845 stropts.h \
6846 sys/asoundlib.h \
6847 sys/attr.h \
6848 sys/cdio.h \
6849 sys/elf32.h \
6850 sys/epoll.h \
6851 sys/event.h \
6852 sys/exec_elf.h \
6853 sys/filio.h \
6854 sys/inotify.h \
6855 sys/ioctl.h \
6856 sys/ipc.h \
6857 sys/limits.h \
6858 sys/link.h \
6859 sys/mman.h \
6860 sys/modem.h \
6861 sys/msg.h \
6862 sys/mtio.h \
6863 sys/param.h \
6864 sys/poll.h \
6865 sys/prctl.h \
6866 sys/protosw.h \
6867 sys/ptrace.h \
6868 sys/queue.h \
6869 sys/resource.h \
6870 sys/scsiio.h \
6871 sys/shm.h \
6872 sys/signal.h \
6873 sys/socket.h \
6874 sys/socketvar.h \
6875 sys/sockio.h \
6876 sys/statvfs.h \
6877 sys/strtio.h \
6878 sys/syscall.h \
6879 sys/sysinfo.h \
6880 sys/tihdr.h \
6881 sys/time.h \
6882 sys/timeout.h \
6883 sys/times.h \
6884 sys/uio.h \
6885 sys/user.h \
6886 sys/utsname.h \
6887 sys/vm86.h \
6888 sys/vnode.h \
6889 sys/wait.h \
6890 syscall.h \
6891 termios.h \
6892 unistd.h \
6893 utime.h \
6894 valgrind/memcheck.h \
6895 valgrind/valgrind.h \
6896 zlib.h
6898 do :
6899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6901 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6902 cat >>confdefs.h <<_ACEOF
6903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 _ACEOF
6908 done
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6911 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6912 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6919 main ()
6921 return makedev(0, 0);
6923 return 0;
6925 _ACEOF
6926 if ac_fn_c_try_link "$LINENO"; then :
6927 ac_cv_header_sys_types_h_makedev=yes
6928 else
6929 ac_cv_header_sys_types_h_makedev=no
6931 rm -f core conftest.err conftest.$ac_objext \
6932 conftest$ac_exeext conftest.$ac_ext
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6936 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6938 if test $ac_cv_header_sys_types_h_makedev = no; then
6939 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6940 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6942 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6948 if test $ac_cv_header_sys_mkdev_h = no; then
6949 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6950 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6952 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6961 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6962 if ${ac_cv_header_stat_broken+:} false; then :
6963 $as_echo_n "(cached) " >&6
6964 else
6965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6966 /* end confdefs.h. */
6967 #include <sys/types.h>
6968 #include <sys/stat.h>
6970 #if defined S_ISBLK && defined S_IFDIR
6971 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6972 #endif
6974 #if defined S_ISBLK && defined S_IFCHR
6975 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6976 #endif
6978 #if defined S_ISLNK && defined S_IFREG
6979 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6980 #endif
6982 #if defined S_ISSOCK && defined S_IFREG
6983 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6984 #endif
6986 _ACEOF
6987 if ac_fn_c_try_compile "$LINENO"; then :
6988 ac_cv_header_stat_broken=no
6989 else
6990 ac_cv_header_stat_broken=yes
6992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6995 $as_echo "$ac_cv_header_stat_broken" >&6; }
6996 if test $ac_cv_header_stat_broken = yes; then
6998 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7004 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_SYS_PARAM_H
7009 # include <sys/param.h>
7010 #endif
7012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7015 _ACEOF
7019 done
7022 for ac_header in \
7023 netinet/ip.h \
7024 net/if.h \
7025 net/if_arp.h \
7026 net/if_dl.h \
7027 net/if_types.h \
7028 net/route.h \
7029 netinet/if_ether.h \
7030 netinet/if_inarp.h \
7031 netinet/in_pcb.h \
7032 netinet/ip_icmp.h \
7033 netinet/ip_var.h \
7034 netinet/udp.h \
7035 netipx/ipx.h \
7036 sys/un.h \
7038 do :
7039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7040 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7041 #ifdef HAVE_SYS_SOCKET_H
7042 # include <sys/socket.h>
7043 #endif
7044 #ifdef HAVE_SYS_SOCKETVAR_H
7045 # include <sys/socketvar.h>
7046 #endif
7047 #ifdef HAVE_NET_ROUTE_H
7048 # include <net/route.h>
7049 #endif
7050 #ifdef HAVE_NETINET_IN_H
7051 # include <netinet/in.h>
7052 #endif
7053 #ifdef HAVE_NETINET_IN_SYSTM_H
7054 # include <netinet/in_systm.h>
7055 #endif
7056 #ifdef HAVE_NET_IF_H
7057 # include <net/if.h>
7058 #endif
7059 #ifdef HAVE_NETINET_IP_H
7060 # include <netinet/ip.h>
7061 #endif
7063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7064 cat >>confdefs.h <<_ACEOF
7065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7066 _ACEOF
7070 done
7073 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7074 do :
7075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7077 #ifdef HAVE_ALIAS_H
7078 # include <alias.h>
7079 #endif
7080 #ifdef HAVE_SYS_SOCKET_H
7081 # include <sys/socket.h>
7082 #endif
7083 #ifdef HAVE_SYS_SOCKETVAR_H
7084 # include <sys/socketvar.h>
7085 #endif
7086 #ifdef HAVE_SYS_TIMEOUT_H
7087 # include <sys/timeout.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IN_H
7090 # include <netinet/in.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IN_SYSTM_H
7093 # include <netinet/in_systm.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IP_H
7096 # include <netinet/ip.h>
7097 #endif
7098 #ifdef HAVE_NETINET_IP_VAR_H
7099 # include <netinet/ip_var.h>
7100 #endif
7101 #ifdef HAVE_NETINET_IP_ICMP_H
7102 # include <netinet/ip_icmp.h>
7103 #endif
7104 #ifdef HAVE_NETINET_UDP_H
7105 # include <netinet/udp.h>
7106 #endif
7107 #ifdef HAVE_NETINET_TCP_H
7108 # include <netinet/tcp.h>
7109 #endif
7110 #ifdef HAVE_NETINET_TCP_TIMER_H
7111 #include <netinet/tcp_timer.h>
7112 #endif
7114 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7115 cat >>confdefs.h <<_ACEOF
7116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7117 _ACEOF
7121 done
7124 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7125 do :
7126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7128 #ifdef HAVE_ASM_TYPES_H
7129 # include <asm/types.h>
7130 #endif
7131 #ifdef HAVE_SYS_SOCKET_H
7132 # include <sys/socket.h>
7133 #endif
7134 #ifdef HAVE_LINUX_TYPES_H
7135 # include <linux/types.h>
7136 #endif
7138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7139 cat >>confdefs.h <<_ACEOF
7140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7141 _ACEOF
7145 done
7148 for ac_header in mach-o/dyld_images.h
7149 do :
7150 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7151 # include <stdbool.h>
7152 #endif
7153 #ifdef HAVE_STDINT_H
7154 # include <stdint.h>
7155 #endif
7157 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7160 _ACEOF
7164 done
7167 for ac_header in resolv.h
7168 do :
7169 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7170 #ifdef HAVE_SYS_SOCKET_H
7171 # include <sys/socket.h>
7172 #endif
7173 #ifdef HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7175 #endif
7176 #ifdef HAVE_ARPA_NAMESER_H
7177 # include <arpa/nameser.h>
7178 #endif
7180 if test "x$ac_cv_header_resolv_h" = xyes; then :
7181 cat >>confdefs.h <<_ACEOF
7182 #define HAVE_RESOLV_H 1
7183 _ACEOF
7187 done
7190 for ac_header in ifaddrs.h
7191 do :
7192 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7194 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7195 cat >>confdefs.h <<_ACEOF
7196 #define HAVE_IFADDRS_H 1
7197 _ACEOF
7201 done
7204 for ac_header in sys/ucontext.h
7205 do :
7206 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7208 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define HAVE_SYS_UCONTEXT_H 1
7211 _ACEOF
7215 done
7218 for ac_header in sys/thr.h
7219 do :
7220 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7221 #ifdef HAVE_SYS_UCONTEXT_H
7222 #include <sys/ucontext.h>
7223 #endif
7225 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define HAVE_SYS_THR_H 1
7228 _ACEOF
7232 done
7235 for ac_header in pthread_np.h
7236 do :
7237 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7238 #include <pthread.h>
7239 #endif
7241 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define HAVE_PTHREAD_NP_H 1
7244 _ACEOF
7248 done
7251 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7252 do :
7253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7254 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7255 #include <sys/time.h>
7256 #endif
7257 #include <sys/types.h>
7258 #ifdef HAVE_ASM_TYPES_H
7259 #include <asm/types.h>
7260 #endif
7262 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7265 _ACEOF
7269 done
7272 for ac_header in libprocstat.h
7273 do :
7274 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7275 #include <sys/param.h>
7276 #endif
7277 #ifdef HAVE_SYS_QUEUE_H
7278 #include <sys/queue.h>
7279 #endif
7280 #ifdef HAVE_SYS_SOCKET_H
7281 #include <sys/socket.h>
7282 #endif
7284 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define HAVE_LIBPROCSTAT_H 1
7287 _ACEOF
7291 done
7295 dlldir="\${libdir}/wine"
7297 DLLFLAGS="-D_REENTRANT"
7299 LDRPATH_INSTALL=""
7301 LDRPATH_LOCAL=""
7303 LDEXECFLAGS=""
7305 LIBEXT="so"
7306 DLLEXT=".so"
7307 IMPLIBEXT="def"
7308 # Extract the first word of "ldd", so it can be a program name with args.
7309 set dummy ldd; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if ${ac_cv_path_LDD+:} false; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 case $LDD in
7316 [\\/]* | ?:[\\/]*)
7317 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321 as_dummy="/sbin:/usr/sbin:$PATH"
7322 for as_dir in $as_dummy
7324 IFS=$as_save_IFS
7325 test -z "$as_dir" && as_dir=.
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7328 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 break 2
7332 done
7333 done
7334 IFS=$as_save_IFS
7336 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7338 esac
7340 LDD=$ac_cv_path_LDD
7341 if test -n "$LDD"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7343 $as_echo "$LDD" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7350 if test -n "$ac_tool_prefix"; then
7351 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7352 set dummy ${ac_tool_prefix}otool; ac_word=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if ${ac_cv_prog_OTOOL+:} false; then :
7356 $as_echo_n "(cached) " >&6
7357 else
7358 if test -n "$OTOOL"; then
7359 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7360 else
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 for as_dir in $PATH
7364 IFS=$as_save_IFS
7365 test -z "$as_dir" && as_dir=.
7366 for ac_exec_ext in '' $ac_executable_extensions; do
7367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7368 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7370 break 2
7372 done
7373 done
7374 IFS=$as_save_IFS
7378 OTOOL=$ac_cv_prog_OTOOL
7379 if test -n "$OTOOL"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7381 $as_echo "$OTOOL" >&6; }
7382 else
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7389 if test -z "$ac_cv_prog_OTOOL"; then
7390 ac_ct_OTOOL=$OTOOL
7391 # Extract the first word of "otool", so it can be a program name with args.
7392 set dummy otool; ac_word=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394 $as_echo_n "checking for $ac_word... " >&6; }
7395 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7396 $as_echo_n "(cached) " >&6
7397 else
7398 if test -n "$ac_ct_OTOOL"; then
7399 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7400 else
7401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 for as_dir in $PATH
7404 IFS=$as_save_IFS
7405 test -z "$as_dir" && as_dir=.
7406 for ac_exec_ext in '' $ac_executable_extensions; do
7407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_ac_ct_OTOOL="otool"
7409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 break 2
7412 done
7413 done
7414 IFS=$as_save_IFS
7418 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7419 if test -n "$ac_ct_OTOOL"; then
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7421 $as_echo "$ac_ct_OTOOL" >&6; }
7422 else
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 $as_echo "no" >&6; }
7427 if test "x$ac_ct_OTOOL" = x; then
7428 OTOOL="otool"
7429 else
7430 case $cross_compiling:$ac_tool_warned in
7431 yes:)
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7434 ac_tool_warned=yes ;;
7435 esac
7436 OTOOL=$ac_ct_OTOOL
7438 else
7439 OTOOL="$ac_cv_prog_OTOOL"
7442 if test -n "$ac_tool_prefix"; then
7443 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7444 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446 $as_echo_n "checking for $ac_word... " >&6; }
7447 if ${ac_cv_prog_READELF+:} false; then :
7448 $as_echo_n "(cached) " >&6
7449 else
7450 if test -n "$READELF"; then
7451 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7452 else
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454 for as_dir in $PATH
7456 IFS=$as_save_IFS
7457 test -z "$as_dir" && as_dir=.
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7462 break 2
7464 done
7465 done
7466 IFS=$as_save_IFS
7470 READELF=$ac_cv_prog_READELF
7471 if test -n "$READELF"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7473 $as_echo "$READELF" >&6; }
7474 else
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 $as_echo "no" >&6; }
7481 if test -z "$ac_cv_prog_READELF"; then
7482 ac_ct_READELF=$READELF
7483 # Extract the first word of "readelf", so it can be a program name with args.
7484 set dummy readelf; ac_word=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7488 $as_echo_n "(cached) " >&6
7489 else
7490 if test -n "$ac_ct_READELF"; then
7491 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7492 else
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494 for as_dir in $PATH
7496 IFS=$as_save_IFS
7497 test -z "$as_dir" && as_dir=.
7498 for ac_exec_ext in '' $ac_executable_extensions; do
7499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7500 ac_cv_prog_ac_ct_READELF="readelf"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 break 2
7504 done
7505 done
7506 IFS=$as_save_IFS
7510 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7511 if test -n "$ac_ct_READELF"; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7513 $as_echo "$ac_ct_READELF" >&6; }
7514 else
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }
7519 if test "x$ac_ct_READELF" = x; then
7520 READELF="true"
7521 else
7522 case $cross_compiling:$ac_tool_warned in
7523 yes:)
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7526 ac_tool_warned=yes ;;
7527 esac
7528 READELF=$ac_ct_READELF
7530 else
7531 READELF="$ac_cv_prog_READELF"
7534 wine_rules_file=conf$$rules.make
7535 rm -f $wine_rules_file
7536 SUBDIRS=""
7538 DISABLED_SUBDIRS=""
7540 CONFIGURE_TARGETS=""
7542 ALL_TEST_RESOURCES=""
7545 wine_fn_append_file ()
7547 as_fn_append $1 " \\$as_nl $2"
7550 wine_fn_append_rule ()
7552 $as_echo "$1" >>$wine_rules_file
7555 wine_fn_has_flag ()
7557 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7560 wine_fn_all_rules ()
7562 wine_fn_append_file SUBDIRS $ac_dir
7563 wine_fn_append_rule \
7564 "all: $ac_dir
7565 .PHONY: $ac_dir
7566 $ac_dir: dummy
7567 @cd $ac_dir && \$(MAKE)"
7570 wine_fn_install_rules ()
7572 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7574 wine_fn_append_rule \
7575 ".PHONY: $ac_dir/install $ac_dir/uninstall
7576 $ac_dir/install:: $ac_dir
7577 @cd $ac_dir && \$(MAKE) install
7578 $ac_dir/uninstall::
7579 @cd $ac_dir && \$(MAKE) uninstall
7580 install:: $ac_dir/install
7581 __uninstall__: $ac_dir/uninstall"
7583 if wine_fn_has_flag install-lib
7584 then
7585 wine_fn_append_rule \
7586 ".PHONY: $ac_dir/install-lib
7587 $ac_dir/install-lib:: $ac_dir
7588 @cd $ac_dir && \$(MAKE) install-lib
7589 install-lib:: $ac_dir/install-lib"
7592 if wine_fn_has_flag install-dev
7593 then
7594 wine_fn_append_rule \
7595 ".PHONY: $ac_dir/install-dev
7596 $ac_dir/install-dev:: $ac_dir
7597 @cd $ac_dir && \$(MAKE) install-dev
7598 install-dev:: $ac_dir/install-dev"
7602 wine_fn_clean_rules ()
7604 ac_clean=$@
7606 if wine_fn_has_flag clean
7607 then
7608 wine_fn_append_rule \
7609 "$ac_dir/clean: dummy
7610 @cd $ac_dir && \$(MAKE) clean"
7611 else
7612 wine_fn_append_rule \
7613 "$ac_dir/clean: dummy
7614 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7616 wine_fn_append_rule \
7617 "__clean__: $ac_dir/clean
7618 .PHONY: $ac_dir/clean"
7621 wine_fn_disabled_rules ()
7623 ac_clean=$@
7625 wine_fn_append_file SUBDIRS $ac_dir
7626 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7627 wine_fn_append_rule \
7628 "__clean__: $ac_dir/clean
7629 .PHONY: $ac_dir/clean
7630 $ac_dir/clean: dummy
7631 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7634 wine_fn_config_makefile ()
7636 ac_dir=$1
7637 ac_enable=$2
7638 ac_flags=$3
7640 case $ac_dir in
7641 fonts|server) test -z "$with_wine64" || return ;;
7642 esac
7643 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7644 wine_fn_disabled_rules; return
7646 wine_fn_all_rules
7647 wine_fn_install_rules
7648 wine_fn_clean_rules
7651 wine_fn_config_lib ()
7653 ac_name=$1
7654 ac_flags=$2
7655 ac_dir=dlls/$ac_name
7656 ac_deps="include"
7658 if test "x$enable_tools" = xno; then :
7660 else
7661 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7663 wine_fn_all_rules
7664 wine_fn_clean_rules
7666 wine_fn_append_rule \
7667 ".PHONY: $ac_dir/install $ac_dir/uninstall
7668 $ac_dir/install:: $ac_dir
7669 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7670 $ac_dir/uninstall::
7671 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7672 install install-dev:: $ac_dir/install
7673 __uninstall__: $ac_dir/uninstall
7674 __builddeps__: $ac_dir
7675 $ac_dir: $ac_deps"
7678 wine_fn_config_dll ()
7680 ac_name=$1
7681 ac_dir=dlls/$ac_name
7682 ac_enable=$2
7683 ac_flags=$3
7684 ac_implib=${4:-$ac_name}
7685 ac_file=$ac_dir/lib$ac_implib
7686 ac_dll=$ac_name
7687 ac_deps="include"
7688 ac_implibflags=""
7690 if test "x$enable_tools" = xno; then :
7692 else
7693 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7695 case $ac_name in
7696 *16) ac_implibflags=" -m16" ;;
7697 *.*) ;;
7698 *) ac_dll=$ac_dll.dll ;;
7699 esac
7701 ac_clean=
7702 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7703 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7705 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7706 if test "$ac_enable" != enable_win16
7707 then
7708 wine_fn_clean_rules $ac_clean
7709 wine_fn_append_file SUBDIRS $ac_dir
7710 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7711 else
7712 wine_fn_disabled_rules $ac_clean
7713 return
7715 else
7716 wine_fn_all_rules
7717 wine_fn_clean_rules $ac_clean
7718 wine_fn_append_rule \
7719 "$ac_dir: __builddeps__
7720 manpages htmlpages sgmlpages xmlpages::
7721 @cd $ac_dir && \$(MAKE) \$@
7722 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7723 install install-lib:: $ac_dir/install-lib
7724 __uninstall__: $ac_dir/uninstall"
7725 if test -n "$DLLEXT"
7726 then
7727 wine_fn_append_rule \
7728 "$ac_dir/install-lib:: $ac_dir
7729 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7730 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7731 $ac_dir/uninstall::
7732 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7733 else
7734 wine_fn_append_rule \
7735 "$ac_dir/install-lib:: $ac_dir
7736 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7737 $ac_dir/uninstall::
7738 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7742 if wine_fn_has_flag staticimplib
7743 then
7744 wine_fn_append_rule \
7745 "__builddeps__: $ac_file.a
7746 $ac_file.a $ac_file.cross.a: $ac_deps
7747 $ac_file.a: dummy
7748 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7749 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7750 $ac_dir/install-dev:: $ac_file.a
7751 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7752 $ac_dir/uninstall::
7753 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7754 install install-dev:: $ac_dir/install-dev
7755 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7758 then
7759 wine_fn_append_rule \
7760 "__builddeps__: $ac_file.cross.a
7761 $ac_file.cross.a: dummy
7762 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7765 elif wine_fn_has_flag implib
7766 then
7767 wine_fn_append_rule \
7768 "__builddeps__: $ac_file.$IMPLIBEXT
7769 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7770 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7771 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7772 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7773 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7774 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7775 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7778 install install-dev:: $ac_dir/install-dev
7779 __uninstall__: $ac_dir/uninstall"
7780 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7781 then
7782 wine_fn_append_rule \
7783 "__builddeps__: $ac_file.cross.a
7784 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7785 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7790 wine_fn_config_program ()
7792 ac_name=$1
7793 ac_dir=programs/$ac_name
7794 ac_enable=$2
7795 ac_flags=$3
7796 ac_program=$ac_name
7798 case $ac_name in
7799 *.*) ;;
7800 *) ac_program=$ac_program.exe ;;
7801 esac
7803 ac_clean=
7804 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7805 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7807 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7808 wine_fn_disabled_rules $ac_clean; return
7811 wine_fn_all_rules
7812 wine_fn_clean_rules $ac_clean
7813 wine_fn_append_rule "$ac_dir: __builddeps__"
7815 wine_fn_has_flag install || return
7816 wine_fn_append_rule \
7817 ".PHONY: $ac_dir/install $ac_dir/uninstall
7818 install install-lib:: $ac_dir/install
7819 __uninstall__: $ac_dir/uninstall"
7821 if test -n "$DLLEXT"
7822 then
7823 wine_fn_append_rule \
7824 "$ac_dir/install:: $ac_dir
7825 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7826 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7827 $ac_dir/uninstall::
7828 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7830 if test -z "$with_wine64" && wine_fn_has_flag installbin
7831 then
7832 wine_fn_append_rule \
7833 "$ac_dir/install:: __tooldeps__
7834 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7835 $ac_dir/uninstall::
7836 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7838 else
7839 wine_fn_append_rule \
7840 "$ac_dir/install:: $ac_dir
7841 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7842 $ac_dir/uninstall::
7843 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7846 if test -z "$with_wine64" && wine_fn_has_flag manpage
7847 then
7848 wine_fn_append_rule \
7849 "$ac_dir/install:: $ac_dir
7850 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7851 $ac_dir/uninstall::
7852 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7856 wine_fn_config_test ()
7858 ac_dir=$1
7859 ac_name=$2
7860 ac_flags=$3
7862 ac_clean=
7863 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7864 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7866 if test "x$enable_tests" = xno; then :
7867 wine_fn_disabled_rules $ac_clean; return
7870 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7871 wine_fn_all_rules
7872 wine_fn_clean_rules $ac_clean
7874 wine_fn_append_rule \
7875 "$ac_dir: __builddeps__
7876 programs/winetest: $ac_dir
7877 check test: $ac_dir/test
7878 .PHONY: $ac_dir/test
7879 $ac_dir/test: dummy
7880 @cd $ac_dir && \$(MAKE) test
7881 testclean::
7882 \$(RM) $ac_dir/*.ok"
7884 if test -n "$CROSSTARGET"
7885 then
7886 wine_fn_append_rule \
7887 "crosstest: $ac_dir/crosstest
7888 .PHONY: $ac_dir/crosstest
7889 $ac_dir/crosstest: __builddeps__ dummy
7890 @cd $ac_dir && \$(MAKE) crosstest"
7894 wine_fn_config_tool ()
7896 ac_dir=$1
7897 ac_flags=$2
7898 if test "x$enable_tools" = xno; then :
7899 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7902 wine_fn_all_rules
7903 wine_fn_install_rules
7904 wine_fn_clean_rules
7906 wine_fn_append_rule "__tooldeps__: $ac_dir"
7907 wine_fn_append_rule "$ac_dir: libs/port"
7908 case $ac_dir in
7909 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7910 esac
7913 wine_fn_config_symlink ()
7915 ac_linkdir=
7916 if test "x$1" = "x-d"
7917 then
7918 ac_linkdir=$2
7919 shift; shift
7921 ac_links=$@
7922 wine_fn_append_rule \
7923 "$ac_links:
7924 @./config.status \$@"
7925 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7926 test -n "$ac_linkdir" || return
7927 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7930 wine_binary="wine"
7931 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7932 WINELOADER_PROGRAMS="$wine_binary"
7934 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7936 case $host_os in
7937 cygwin*|mingw32*)
7938 if test -n "$ac_tool_prefix"; then
7939 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7940 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_DLLTOOL+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 if test -n "$DLLTOOL"; then
7947 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7948 else
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 for as_dir in $PATH
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7966 DLLTOOL=$ac_cv_prog_DLLTOOL
7967 if test -n "$DLLTOOL"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7969 $as_echo "$DLLTOOL" >&6; }
7970 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7977 if test -z "$ac_cv_prog_DLLTOOL"; then
7978 ac_ct_DLLTOOL=$DLLTOOL
7979 # Extract the first word of "dlltool", so it can be a program name with args.
7980 set dummy dlltool; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 if test -n "$ac_ct_DLLTOOL"; then
7987 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7988 else
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 for as_dir in $PATH
7992 IFS=$as_save_IFS
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 break 2
8000 done
8001 done
8002 IFS=$as_save_IFS
8006 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8007 if test -n "$ac_ct_DLLTOOL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8009 $as_echo "$ac_ct_DLLTOOL" >&6; }
8010 else
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8015 if test "x$ac_ct_DLLTOOL" = x; then
8016 DLLTOOL="false"
8017 else
8018 case $cross_compiling:$ac_tool_warned in
8019 yes:)
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8022 ac_tool_warned=yes ;;
8023 esac
8024 DLLTOOL=$ac_ct_DLLTOOL
8026 else
8027 DLLTOOL="$ac_cv_prog_DLLTOOL"
8030 LIBEXT="dll"
8031 DLLEXT=""
8032 IMPLIBEXT="a"
8033 enable_iphlpapi=${enable_iphlpapi:-no}
8034 enable_kernel32=${enable_kernel32:-no}
8035 enable_msvcrt=${enable_msvcrt:-no}
8036 enable_ntdll=${enable_ntdll:-no}
8037 enable_ws2_32=${enable_ws2_32:-no}
8038 enable_loader=${enable_loader:-no}
8039 enable_server=${enable_server:-no}
8040 with_x=${with_x:-no}
8041 with_pthread=${with_pthread:-no}
8043 crtlibs=""
8044 case $host_os in
8045 mingw32*)
8046 crtlibs="-lmsvcrt"
8047 SOCKET_LIBS="-lws2_32"
8049 esac
8051 LIBWINE_SHAREDLIB="libwine.dll"
8053 LIBWINE_IMPORTLIB="libwine.a"
8055 LIBWINE_INSTALL_LIB="libwine.dll"
8057 LIBWINE_INSTALL_DEV="libwine.a"
8059 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8061 LIBWINE_DEPENDS="wine.def"
8065 darwin*|macosx*)
8066 for ac_header in libunwind.h
8067 do :
8068 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define HAVE_LIBUNWIND_H 1
8072 _ACEOF
8076 done
8078 LIBEXT="dylib"
8079 DLLFLAGS="$DLLFLAGS -fPIC"
8080 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8081 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8082 COREFOUNDATION_LIBS="-framework CoreFoundation"
8084 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8086 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8088 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8090 CORESERVICES_LIBS="-framework CoreServices"
8092 APPKIT_LIBS="-framework AppKit"
8094 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8096 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8097 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 ac_wine_try_cflags_saved=$CFLAGS
8101 CFLAGS="$CFLAGS -Wl,-no_pie"
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 int main(int argc, char **argv) { return 0; }
8105 _ACEOF
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 ac_cv_cflags__Wl__no_pie=yes
8108 else
8109 ac_cv_cflags__Wl__no_pie=no
8111 rm -f core conftest.err conftest.$ac_objext \
8112 conftest$ac_exeext conftest.$ac_ext
8113 CFLAGS=$ac_wine_try_cflags_saved
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8116 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8117 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8118 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8120 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8121 then
8122 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8125 if test "$ac_cv_header_Security_Security_h" = "yes"
8126 then
8127 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8129 ac_save_LIBS="$LIBS"
8130 LIBS="$LIBS $SECURITY_LIBS"
8131 for ac_func in SSLCopyPeerCertificates
8132 do :
8133 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8134 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8135 cat >>confdefs.h <<_ACEOF
8136 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8137 _ACEOF
8140 done
8142 LIBS="$ac_save_LIBS"
8143 with_gnutls=${with_gnutls:-no}
8145 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8146 then
8147 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8148 then
8149 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8151 else
8152 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8155 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8156 ac_save_LIBS="$LIBS"
8157 LIBS="$LIBS $COREAUDIO_LIBS"
8158 for ac_func in AUGraphAddNode
8159 do :
8160 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8161 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8162 cat >>confdefs.h <<_ACEOF
8163 #define HAVE_AUGRAPHADDNODE 1
8164 _ACEOF
8167 done
8169 LIBS="$ac_save_LIBS"
8171 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8172 then
8173 OPENAL_LIBS="-framework OpenAL"
8176 cat >>confdefs.h <<_ACEOF
8177 #define HAVE_OPENAL 1
8178 _ACEOF
8180 ac_cv_lib_openal=yes
8182 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8183 then
8184 OPENCL_LIBS="-framework OpenCL"
8186 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8188 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8189 then
8190 ac_save_LIBS="$LIBS"
8191 LIBS="$LIBS $IOKIT_LIBS"
8192 for ac_func in IOHIDManagerCreate
8193 do :
8194 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8195 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8196 cat >>confdefs.h <<_ACEOF
8197 #define HAVE_IOHIDMANAGERCREATE 1
8198 _ACEOF
8201 done
8203 LIBS="$ac_save_LIBS"
8205 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8206 then
8207 ac_save_LIBS="$LIBS"
8208 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8210 $as_echo_n "checking for the QuickTime framework... " >&6; }
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8213 #include <QuickTime/ImageCompression.h>
8215 main ()
8217 CodecManagerVersion(NULL);
8219 return 0;
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8224 $as_echo "yes" >&6; }
8225 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8227 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8228 else
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8231 ac_cv_header_QuickTime_ImageCompression_h=no
8233 rm -f core conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 LIBS="$ac_save_LIBS"
8237 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8238 then
8239 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8241 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8242 then
8243 CARBON_LIBS="-framework Carbon"
8247 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8248 then
8249 ac_save_LIBS="$LIBS"
8250 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8251 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8252 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8253 enable_winemac_drv=${enable_winemac_drv:-yes}
8256 LIBS="$ac_save_LIBS"
8259 if test "x$enable_win16" = "xyes"
8260 then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8262 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8263 if test "$cross_compiling" = yes; then :
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8265 $as_echo "cross-compiling, assuming yes" >&6; }
8266 else
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 asm(".text\n"
8270 "bad:\tnop;nop\n"
8271 "good:\tnop;nop\n\t"
8272 ".globl _testfunc\n"
8273 "_testfunc:\tcallw good");
8274 extern void testfunc();
8276 main ()
8278 unsigned short *p = (unsigned short *)testfunc;
8279 return p[0] != 0xe866 || p[1] != 0xfffa
8281 return 0;
8283 _ACEOF
8284 if ac_fn_c_try_run "$LINENO"; then :
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8286 $as_echo "yes" >&6; }
8287 else
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8290 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
8292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8293 conftest.$ac_objext conftest.beam conftest.$ac_ext
8298 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8300 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8302 LIBWINE_INSTALL_DEV="libwine.dylib"
8304 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8306 WINELOADER_DEPENDS="wine_info.plist"
8310 linux-android*)
8311 DLLFLAGS="$DLLFLAGS -fPIC"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8313 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8314 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8325 else
8326 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8333 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8334 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8335 LDEXECFLAGS="-Wl,--export-dynamic"
8337 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8339 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8340 if eval \${$as_ac_var+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 eval "$as_ac_var=yes"
8351 else
8352 eval "$as_ac_var=no"
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 CFLAGS=$ac_wine_try_cflags_saved
8358 eval ac_res=\$$as_ac_var
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8360 $as_echo "$ac_res" >&6; }
8361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8362 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8363 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8364 else
8365 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8367 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8368 if eval \${$as_ac_var+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 eval "$as_ac_var=yes"
8379 else
8380 eval "$as_ac_var=no"
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 CFLAGS=$ac_wine_try_cflags_saved
8386 eval ac_res=\$$as_ac_var
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8388 $as_echo "$ac_res" >&6; }
8389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8390 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8391 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8396 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8397 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_cflags__Wl___enable_new_dtags=yes
8408 else
8409 ac_cv_cflags__Wl___enable_new_dtags=no
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8416 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8417 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8418 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8421 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8422 if ${ac_cv_cflags__Wl__pie+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -Wl,-pie"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_cflags__Wl__pie=yes
8433 else
8434 ac_cv_cflags__Wl__pie=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8441 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8442 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8443 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8446 LIBWINE_SHAREDLIB="libwine.so"
8448 LIBWINE_INSTALL_LIB="libwine.so"
8450 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8455 DLLFLAGS="$DLLFLAGS -fPIC"
8456 LDEXECFLAGS=""
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8458 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8459 if ${ac_cv_c_dll_gnuelf+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 void myfunc() {}
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 ac_cv_c_dll_gnuelf="yes"
8470 else
8471 ac_cv_c_dll_gnuelf="no"
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8478 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8479 if test "$ac_cv_c_dll_gnuelf" = "yes"
8480 then
8481 LIBWINE_LDFLAGS="-shared"
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8495 else
8496 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8505 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8506 else
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8508 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8509 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 ac_wine_try_cflags_saved=$CFLAGS
8513 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 int main(int argc, char **argv) { return 0; }
8517 _ACEOF
8518 if ac_fn_c_try_link "$LINENO"; then :
8519 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8520 else
8521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8523 rm -f core conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8525 CFLAGS=$ac_wine_try_cflags_saved
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8528 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8529 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8530 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8534 echo '{ global: *; };' >conftest.map
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8536 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8537 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 ac_wine_try_cflags_saved=$CFLAGS
8541 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8544 int main(int argc, char **argv) { return 0; }
8545 _ACEOF
8546 if ac_fn_c_try_link "$LINENO"; then :
8547 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8548 else
8549 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8551 rm -f core conftest.err conftest.$ac_objext \
8552 conftest$ac_exeext conftest.$ac_ext
8553 CFLAGS=$ac_wine_try_cflags_saved
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8556 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8557 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8558 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8560 rm -f conftest.map
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8563 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8564 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8565 $as_echo_n "(cached) " >&6
8566 else
8567 ac_wine_try_cflags_saved=$CFLAGS
8568 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8571 int main(int argc, char **argv) { return 0; }
8572 _ACEOF
8573 if ac_fn_c_try_link "$LINENO"; then :
8574 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8575 else
8576 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8578 rm -f core conftest.err conftest.$ac_objext \
8579 conftest$ac_exeext conftest.$ac_ext
8580 CFLAGS=$ac_wine_try_cflags_saved
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8583 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8584 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8585 LDEXECFLAGS="-Wl,--export-dynamic"
8588 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8590 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8591 if eval \${$as_ac_var+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 eval "$as_ac_var=yes"
8602 else
8603 eval "$as_ac_var=no"
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 CFLAGS=$ac_wine_try_cflags_saved
8609 eval ac_res=\$$as_ac_var
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8611 $as_echo "$ac_res" >&6; }
8612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8613 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8614 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8615 else
8616 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8618 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8619 if eval \${$as_ac_var+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 eval "$as_ac_var=yes"
8630 else
8631 eval "$as_ac_var=no"
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 eval ac_res=\$$as_ac_var
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8639 $as_echo "$ac_res" >&6; }
8640 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8641 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8642 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8648 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_cflags__Wl___enable_new_dtags=yes
8659 else
8660 ac_cv_cflags__Wl___enable_new_dtags=no
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8667 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8668 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8669 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8672 case $host_cpu in
8673 *i[3456789]86* | x86_64)
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8675 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8676 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8677 $as_echo_n "(cached) " >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 int main(int argc, char **argv) { return 0; }
8684 _ACEOF
8685 if ac_fn_c_try_link "$LINENO"; then :
8686 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8687 else
8688 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8690 rm -f core conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 CFLAGS=$ac_wine_try_cflags_saved
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8695 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8696 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8697 case $host_os in
8698 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8699 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8700 esac
8701 else
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8703 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8704 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8715 else
8716 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8723 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8724 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8725 case $host_os in
8726 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8727 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8728 esac
8730 # Extract the first word of "prelink", so it can be a program name with args.
8731 set dummy prelink; ac_word=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if ${ac_cv_path_PRELINK+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 case $PRELINK in
8738 [\\/]* | ?:[\\/]*)
8739 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8743 for as_dir in /sbin /usr/sbin $PATH
8745 IFS=$as_save_IFS
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8749 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 break 2
8753 done
8754 done
8755 IFS=$as_save_IFS
8757 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8759 esac
8761 PRELINK=$ac_cv_path_PRELINK
8762 if test -n "$PRELINK"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8764 $as_echo "$PRELINK" >&6; }
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8771 if test "x$PRELINK" = xfalse
8772 then
8773 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8777 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8778 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8789 else
8790 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8797 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8798 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8799 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8802 esac
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8806 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8807 if ${ac_cv_c_dll_unixware+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 void myfunc() {}
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_c_dll_unixware="yes"
8818 else
8819 ac_cv_c_dll_unixware="no"
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8826 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8827 if test "$ac_cv_c_dll_unixware" = "yes"
8828 then
8829 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8832 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8834 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8836 LIBWINE_INSTALL_DEV="libwine.so"
8838 LIBWINE_DEPENDS="wine.map"
8841 esac
8843 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8844 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8845 enable_winemac_drv=${enable_winemac_drv:-no}
8846 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8848 CROSSTARGET=""
8850 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8851 then
8852 case "$host_cpu" in
8853 arm*)
8854 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8855 i[3456789]86*)
8856 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
8857 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8858 mingw32-gcc" ;;
8859 x86_64)
8860 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
8861 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8863 ac_prefix_list="" ;;
8864 esac
8865 for ac_prog in $ac_prefix_list
8867 # Extract the first word of "$ac_prog", so it can be a program name with args.
8868 set dummy $ac_prog; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if ${ac_cv_prog_CROSSCC+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 if test -n "$CROSSCC"; then
8875 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8876 else
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 for as_dir in $PATH
8880 IFS=$as_save_IFS
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_CROSSCC="$ac_prog"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8886 break 2
8888 done
8889 done
8890 IFS=$as_save_IFS
8894 CROSSCC=$ac_cv_prog_CROSSCC
8895 if test -n "$CROSSCC"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8897 $as_echo "$CROSSCC" >&6; }
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8904 test -n "$CROSSCC" && break
8905 done
8906 test -n "$CROSSCC" || CROSSCC="false"
8908 if test "$CROSSCC" != "false"
8909 then
8910 ac_save_CC="$CC"
8911 CC="$CROSSCC"
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8913 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8918 main ()
8922 return 0;
8924 _ACEOF
8925 if ac_fn_c_try_compile "$LINENO"; then :
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8927 $as_echo "yes" >&6; }
8928 set x $CROSSCC
8929 shift
8930 while test $# -ge 1
8932 case "$1" in
8933 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8934 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8935 esac
8936 shift
8937 done
8938 else
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8940 $as_echo "no" >&6; }
8942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8943 CC="$ac_save_CC"
8948 if test "$ac_cv_header_pthread_h" = "yes"
8949 then
8950 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8951 if test "x$ac_cv_func_pthread_create" = xyes; then :
8953 else
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8955 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8956 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 ac_check_lib_save_LIBS=$LIBS
8960 LIBS="-lpthread $LIBS"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8967 #ifdef __cplusplus
8968 extern "C"
8969 #endif
8970 char pthread_create ();
8972 main ()
8974 return pthread_create ();
8976 return 0;
8978 _ACEOF
8979 if ac_fn_c_try_link "$LINENO"; then :
8980 ac_cv_lib_pthread_pthread_create=yes
8981 else
8982 ac_cv_lib_pthread_pthread_create=no
8984 rm -f core conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 LIBS=$ac_check_lib_save_LIBS
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8989 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8990 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8991 PTHREAD_LIBS="-lpthread"
8998 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8999 case "x$with_pthread" in
9000 xno) ;;
9001 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9002 Wine cannot support threads without libpthread.
9003 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9004 esac
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9010 $as_echo_n "checking for X... " >&6; }
9013 # Check whether --with-x was given.
9014 if test "${with_x+set}" = set; then :
9015 withval=$with_x;
9018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9019 if test "x$with_x" = xno; then
9020 # The user explicitly disabled X.
9021 have_x=disabled
9022 else
9023 case $x_includes,$x_libraries in #(
9024 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9025 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 # One or both of the vars are not set, and there is no cached value.
9029 ac_x_includes=no ac_x_libraries=no
9030 rm -f -r conftest.dir
9031 if mkdir conftest.dir; then
9032 cd conftest.dir
9033 cat >Imakefile <<'_ACEOF'
9034 incroot:
9035 @echo incroot='${INCROOT}'
9036 usrlibdir:
9037 @echo usrlibdir='${USRLIBDIR}'
9038 libdir:
9039 @echo libdir='${LIBDIR}'
9040 _ACEOF
9041 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9042 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9043 for ac_var in incroot usrlibdir libdir; do
9044 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9045 done
9046 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9047 for ac_extension in a so sl dylib la dll; do
9048 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9049 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9050 ac_im_usrlibdir=$ac_im_libdir; break
9052 done
9053 # Screen out bogus values from the imake configuration. They are
9054 # bogus both because they are the default anyway, and because
9055 # using them would break gcc on systems where it needs fixed includes.
9056 case $ac_im_incroot in
9057 /usr/include) ac_x_includes= ;;
9058 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9059 esac
9060 case $ac_im_usrlibdir in
9061 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9062 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9063 esac
9065 cd ..
9066 rm -f -r conftest.dir
9069 # Standard set of common directories for X headers.
9070 # Check X11 before X11Rn because it is often a symlink to the current release.
9071 ac_x_header_dirs='
9072 /usr/X11/include
9073 /usr/X11R7/include
9074 /usr/X11R6/include
9075 /usr/X11R5/include
9076 /usr/X11R4/include
9078 /usr/include/X11
9079 /usr/include/X11R7
9080 /usr/include/X11R6
9081 /usr/include/X11R5
9082 /usr/include/X11R4
9084 /usr/local/X11/include
9085 /usr/local/X11R7/include
9086 /usr/local/X11R6/include
9087 /usr/local/X11R5/include
9088 /usr/local/X11R4/include
9090 /usr/local/include/X11
9091 /usr/local/include/X11R7
9092 /usr/local/include/X11R6
9093 /usr/local/include/X11R5
9094 /usr/local/include/X11R4
9096 /usr/X386/include
9097 /usr/x386/include
9098 /usr/XFree86/include/X11
9100 /usr/include
9101 /usr/local/include
9102 /usr/unsupported/include
9103 /usr/athena/include
9104 /usr/local/x11r5/include
9105 /usr/lpp/Xamples/include
9107 /usr/openwin/include
9108 /usr/openwin/share/include'
9110 if test "$ac_x_includes" = no; then
9111 # Guess where to find include files, by looking for Xlib.h.
9112 # First, try using that file with no special directory specified.
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 #include <X11/Xlib.h>
9116 _ACEOF
9117 if ac_fn_c_try_cpp "$LINENO"; then :
9118 # We can compile using X headers with no special include directory.
9119 ac_x_includes=
9120 else
9121 for ac_dir in $ac_x_header_dirs; do
9122 if test -r "$ac_dir/X11/Xlib.h"; then
9123 ac_x_includes=$ac_dir
9124 break
9126 done
9128 rm -f conftest.err conftest.i conftest.$ac_ext
9129 fi # $ac_x_includes = no
9131 if test "$ac_x_libraries" = no; then
9132 # Check for the libraries.
9133 # See if we find them without any special options.
9134 # Don't add to $LIBS permanently.
9135 ac_save_LIBS=$LIBS
9136 LIBS="-lX11 $LIBS"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <X11/Xlib.h>
9141 main ()
9143 XrmInitialize ()
9145 return 0;
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 LIBS=$ac_save_LIBS
9150 # We can link X programs with no special library path.
9151 ac_x_libraries=
9152 else
9153 LIBS=$ac_save_LIBS
9154 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9156 # Don't even attempt the hair of trying to link an X program!
9157 for ac_extension in a so sl dylib la dll; do
9158 if test -r "$ac_dir/libX11.$ac_extension"; then
9159 ac_x_libraries=$ac_dir
9160 break 2
9162 done
9163 done
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 fi # $ac_x_libraries = no
9169 case $ac_x_includes,$ac_x_libraries in #(
9170 no,* | *,no | *\'*)
9171 # Didn't find X, or a directory has "'" in its name.
9172 ac_cv_have_x="have_x=no";; #(
9174 # Record where we found X for the cache.
9175 ac_cv_have_x="have_x=yes\
9176 ac_x_includes='$ac_x_includes'\
9177 ac_x_libraries='$ac_x_libraries'"
9178 esac
9180 ;; #(
9181 *) have_x=yes;;
9182 esac
9183 eval "$ac_cv_have_x"
9184 fi # $with_x != no
9186 if test "$have_x" != yes; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9188 $as_echo "$have_x" >&6; }
9189 no_x=yes
9190 else
9191 # If each of the values was on the command line, it overrides each guess.
9192 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9193 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9194 # Update the cache value to reflect the command line values.
9195 ac_cv_have_x="have_x=yes\
9196 ac_x_includes='$x_includes'\
9197 ac_x_libraries='$x_libraries'"
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9199 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9202 if test "$no_x" = yes; then
9203 # Not all programs may use this symbol, but it does not hurt to define it.
9205 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9207 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9208 else
9209 if test -n "$x_includes"; then
9210 X_CFLAGS="$X_CFLAGS -I$x_includes"
9213 # It would also be nice to do this for all -L options, not just this one.
9214 if test -n "$x_libraries"; then
9215 X_LIBS="$X_LIBS -L$x_libraries"
9216 # For Solaris; some versions of Sun CC require a space after -R and
9217 # others require no space. Words are not sufficient . . . .
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9219 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9220 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9221 ac_xsave_c_werror_flag=$ac_c_werror_flag
9222 ac_c_werror_flag=yes
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9227 main ()
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 $as_echo "no" >&6; }
9237 X_LIBS="$X_LIBS -R$x_libraries"
9238 else
9239 LIBS="$ac_xsave_LIBS -R $x_libraries"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9244 main ()
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9253 $as_echo "yes" >&6; }
9254 X_LIBS="$X_LIBS -R $x_libraries"
9255 else
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9257 $as_echo "neither works" >&6; }
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 ac_c_werror_flag=$ac_xsave_c_werror_flag
9265 LIBS=$ac_xsave_LIBS
9268 # Check for system-dependent libraries X programs must link with.
9269 # Do this before checking for the system-independent R6 libraries
9270 # (-lICE), since we may need -lsocket or whatever for X linking.
9272 if test "$ISC" = yes; then
9273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9274 else
9275 # Martyn Johnson says this is needed for Ultrix, if the X
9276 # libraries were built with DECnet support. And Karl Berry says
9277 # the Alpha needs dnet_stub (dnet does not exist).
9278 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9285 #ifdef __cplusplus
9286 extern "C"
9287 #endif
9288 char XOpenDisplay ();
9290 main ()
9292 return XOpenDisplay ();
9294 return 0;
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9299 else
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9301 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9302 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_check_lib_save_LIBS=$LIBS
9306 LIBS="-ldnet $LIBS"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9310 /* Override any GCC internal prototype to avoid an error.
9311 Use char because int might match the return type of a GCC
9312 builtin and then its argument prototype would still apply. */
9313 #ifdef __cplusplus
9314 extern "C"
9315 #endif
9316 char dnet_ntoa ();
9318 main ()
9320 return dnet_ntoa ();
9322 return 0;
9324 _ACEOF
9325 if ac_fn_c_try_link "$LINENO"; then :
9326 ac_cv_lib_dnet_dnet_ntoa=yes
9327 else
9328 ac_cv_lib_dnet_dnet_ntoa=no
9330 rm -f core conftest.err conftest.$ac_objext \
9331 conftest$ac_exeext conftest.$ac_ext
9332 LIBS=$ac_check_lib_save_LIBS
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9335 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9336 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9337 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9340 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9342 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9343 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_check_lib_save_LIBS=$LIBS
9347 LIBS="-ldnet_stub $LIBS"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9354 #ifdef __cplusplus
9355 extern "C"
9356 #endif
9357 char dnet_ntoa ();
9359 main ()
9361 return dnet_ntoa ();
9363 return 0;
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9368 else
9369 ac_cv_lib_dnet_stub_dnet_ntoa=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 LIBS=$ac_check_lib_save_LIBS
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9376 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9377 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9378 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS="$ac_xsave_LIBS"
9387 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9388 # to get the SysV transport functions.
9389 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9390 # needs -lnsl.
9391 # The nsl library prevents programs from opening the X display
9392 # on Irix 5.2, according to T.E. Dickey.
9393 # The functions gethostbyname, getservbyname, and inet_addr are
9394 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9395 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9396 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9400 if test $ac_cv_func_gethostbyname = no; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9402 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9403 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_check_lib_save_LIBS=$LIBS
9407 LIBS="-lnsl $LIBS"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9414 #ifdef __cplusplus
9415 extern "C"
9416 #endif
9417 char gethostbyname ();
9419 main ()
9421 return gethostbyname ();
9423 return 0;
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 ac_cv_lib_nsl_gethostbyname=yes
9428 else
9429 ac_cv_lib_nsl_gethostbyname=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS=$ac_check_lib_save_LIBS
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9436 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9437 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9441 if test $ac_cv_lib_nsl_gethostbyname = no; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9443 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9444 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-lbsd $LIBS"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char gethostbyname ();
9460 main ()
9462 return gethostbyname ();
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 ac_cv_lib_bsd_gethostbyname=yes
9469 else
9470 ac_cv_lib_bsd_gethostbyname=no
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9477 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9478 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9485 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9486 # socket/setsockopt and other routines are undefined under SCO ODT
9487 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9488 # on later versions), says Simon Leinen: it contains gethostby*
9489 # variants that don't use the name server (or something). -lsocket
9490 # must be given before -lnsl if both are needed. We assume that
9491 # if connect needs -lnsl, so does gethostbyname.
9492 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9493 if test "x$ac_cv_func_connect" = xyes; then :
9497 if test $ac_cv_func_connect = no; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9499 $as_echo_n "checking for connect in -lsocket... " >&6; }
9500 if ${ac_cv_lib_socket_connect+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char connect ();
9516 main ()
9518 return connect ();
9520 return 0;
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524 ac_cv_lib_socket_connect=yes
9525 else
9526 ac_cv_lib_socket_connect=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 LIBS=$ac_check_lib_save_LIBS
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9533 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9534 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9535 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9540 # Guillermo Gomez says -lposix is necessary on A/UX.
9541 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9542 if test "x$ac_cv_func_remove" = xyes; then :
9546 if test $ac_cv_func_remove = no; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9548 $as_echo_n "checking for remove in -lposix... " >&6; }
9549 if ${ac_cv_lib_posix_remove+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_check_lib_save_LIBS=$LIBS
9553 LIBS="-lposix $LIBS"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9560 #ifdef __cplusplus
9561 extern "C"
9562 #endif
9563 char remove ();
9565 main ()
9567 return remove ();
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_lib_posix_remove=yes
9574 else
9575 ac_cv_lib_posix_remove=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 LIBS=$ac_check_lib_save_LIBS
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9582 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9583 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9584 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9589 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9590 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9591 if test "x$ac_cv_func_shmat" = xyes; then :
9595 if test $ac_cv_func_shmat = no; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9597 $as_echo_n "checking for shmat in -lipc... " >&6; }
9598 if ${ac_cv_lib_ipc_shmat+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_check_lib_save_LIBS=$LIBS
9602 LIBS="-lipc $LIBS"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9609 #ifdef __cplusplus
9610 extern "C"
9611 #endif
9612 char shmat ();
9614 main ()
9616 return shmat ();
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_lib_ipc_shmat=yes
9623 else
9624 ac_cv_lib_ipc_shmat=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9631 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9632 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9633 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9639 # Check for libraries that X11R6 Xt/Xaw programs need.
9640 ac_save_LDFLAGS=$LDFLAGS
9641 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9642 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9643 # check for ICE first), but we must link in the order -lSM -lICE or
9644 # we get undefined symbols. So assume we have SM if we have ICE.
9645 # These have to be linked with before -lX11, unlike the other
9646 # libraries we check for below, so use a different variable.
9647 # John Interrante, Karl Berry
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9649 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9650 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_check_lib_save_LIBS=$LIBS
9654 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char IceConnectionNumber ();
9666 main ()
9668 return IceConnectionNumber ();
9670 return 0;
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 ac_cv_lib_ICE_IceConnectionNumber=yes
9675 else
9676 ac_cv_lib_ICE_IceConnectionNumber=no
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9683 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9684 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9685 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9688 LDFLAGS=$ac_save_LDFLAGS
9693 if test "$have_x" = "yes"
9694 then
9695 ac_save_CPPFLAGS="$CPPFLAGS"
9696 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9699 $as_echo_n "checking for -lX11... " >&6; }
9700 if ${ac_cv_lib_soname_X11+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 ac_check_soname_save_LIBS=$LIBS
9704 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9711 #ifdef __cplusplus
9712 extern "C"
9713 #endif
9714 char XCreateWindow ();
9716 main ()
9718 return XCreateWindow ();
9720 return 0;
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724 case "$LIBEXT" in
9725 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if ${ac_cv_lib_soname_X11:+false} :; then :
9729 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9730 fi ;;
9731 esac
9733 rm -f core conftest.err conftest.$ac_objext \
9734 conftest$ac_exeext conftest.$ac_ext
9735 LIBS=$ac_check_soname_save_LIBS
9737 if ${ac_cv_lib_soname_X11:+false} :; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9741 else
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9743 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9745 cat >>confdefs.h <<_ACEOF
9746 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9747 _ACEOF
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9752 $as_echo_n "checking for -lXext... " >&6; }
9753 if ${ac_cv_lib_soname_Xext+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_check_soname_save_LIBS=$LIBS
9757 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9764 #ifdef __cplusplus
9765 extern "C"
9766 #endif
9767 char XextCreateExtension ();
9769 main ()
9771 return XextCreateExtension ();
9773 return 0;
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 case "$LIBEXT" in
9778 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9779 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'` ;;
9780 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9781 if ${ac_cv_lib_soname_Xext:+false} :; then :
9782 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9783 fi ;;
9784 esac
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_soname_save_LIBS
9790 if ${ac_cv_lib_soname_Xext:+false} :; then :
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9792 $as_echo "not found" >&6; }
9794 else
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9796 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9798 cat >>confdefs.h <<_ACEOF
9799 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9800 _ACEOF
9802 X_LIBS="$X_LIBS -lXext"
9804 X_LIBS="$X_LIBS -lX11"
9806 for ac_header in X11/Xlib.h \
9807 X11/XKBlib.h \
9808 X11/Xutil.h \
9809 X11/Xcursor/Xcursor.h \
9810 X11/extensions/shape.h \
9811 X11/extensions/XInput.h \
9812 X11/extensions/XInput2.h \
9813 X11/extensions/XShm.h \
9814 X11/extensions/Xcomposite.h \
9815 X11/extensions/Xinerama.h \
9816 X11/extensions/Xrandr.h \
9817 X11/extensions/Xrender.h \
9818 X11/extensions/xf86vmode.h \
9819 X11/extensions/xf86vmproto.h
9820 do :
9821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9823 # include <X11/Xlib.h>
9824 #endif
9825 #ifdef HAVE_X11_XUTIL_H
9826 # include <X11/Xutil.h>
9827 #endif
9829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9830 cat >>confdefs.h <<_ACEOF
9831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9832 _ACEOF
9836 done
9839 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9840 then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9842 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9843 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_check_lib_save_LIBS=$LIBS
9847 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9854 #ifdef __cplusplus
9855 extern "C"
9856 #endif
9857 char XkbQueryExtension ();
9859 main ()
9861 return XkbQueryExtension ();
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_lib_X11_XkbQueryExtension=yes
9868 else
9869 ac_cv_lib_X11_XkbQueryExtension=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9876 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9877 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9879 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9885 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9886 then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9888 $as_echo_n "checking for -lXcursor... " >&6; }
9889 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_soname_save_LIBS=$LIBS
9893 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XcursorImageLoadCursor ();
9905 main ()
9907 return XcursorImageLoadCursor ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 case "$LIBEXT" in
9914 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9915 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'` ;;
9916 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9917 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9918 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9919 fi ;;
9920 esac
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_soname_save_LIBS
9926 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9928 $as_echo "not found" >&6; }
9930 else
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9932 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9934 cat >>confdefs.h <<_ACEOF
9935 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9936 _ACEOF
9941 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9942 case "x$with_xcursor" in
9943 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9944 xno) ;;
9945 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9946 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9947 esac
9951 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9952 then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9954 $as_echo_n "checking for -lXi... " >&6; }
9955 if ${ac_cv_lib_soname_Xi+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_soname_save_LIBS=$LIBS
9959 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9966 #ifdef __cplusplus
9967 extern "C"
9968 #endif
9969 char XOpenDevice ();
9971 main ()
9973 return XOpenDevice ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 case "$LIBEXT" in
9980 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if ${ac_cv_lib_soname_Xi:+false} :; then :
9984 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 fi ;;
9986 esac
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_soname_save_LIBS
9992 if ${ac_cv_lib_soname_Xi:+false} :; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9996 else
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9998 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10000 cat >>confdefs.h <<_ACEOF
10001 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10002 _ACEOF
10007 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10008 case "x$with_xinput" in
10009 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10010 xno) ;;
10011 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10012 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10013 esac
10017 if test "x$ac_cv_lib_soname_Xi" != x
10018 then
10019 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10020 case "x$with_xinput2" in
10021 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10022 xno) ;;
10023 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10024 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10025 esac
10030 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10031 then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10033 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10034 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_check_lib_save_LIBS=$LIBS
10038 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10045 #ifdef __cplusplus
10046 extern "C"
10047 #endif
10048 char XShmQueryExtension ();
10050 main ()
10052 return XShmQueryExtension ();
10054 return 0;
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 ac_cv_lib_Xext_XShmQueryExtension=yes
10059 else
10060 ac_cv_lib_Xext_XShmQueryExtension=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_lib_save_LIBS
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10067 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10068 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10070 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10075 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10076 case "x$with_xshm" in
10077 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10080 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10081 esac
10085 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10086 then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10088 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10089 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_check_lib_save_LIBS=$LIBS
10093 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 char XShapeQueryExtension ();
10105 main ()
10107 return XShapeQueryExtension ();
10109 return 0;
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_lib_Xext_XShapeQueryExtension=yes
10114 else
10115 ac_cv_lib_Xext_XShapeQueryExtension=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_lib_save_LIBS
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10122 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10123 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10125 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10130 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10131 case "x$with_xshape" in
10132 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10133 xno) ;;
10134 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10135 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10136 esac
10140 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10141 then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10143 $as_echo_n "checking for -lXxf86vm... " >&6; }
10144 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_check_soname_save_LIBS=$LIBS
10148 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char XF86VidModeQueryExtension ();
10160 main ()
10162 return XF86VidModeQueryExtension ();
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 case "$LIBEXT" in
10169 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10173 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 fi ;;
10175 esac
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10185 else
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10187 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10191 _ACEOF
10196 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10197 case "x$with_xxf86vm" in
10198 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10199 xno) ;;
10200 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10201 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10202 esac
10206 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10207 then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10209 $as_echo_n "checking for -lXrender... " >&6; }
10210 if ${ac_cv_lib_soname_Xrender+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_check_soname_save_LIBS=$LIBS
10214 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221 #ifdef __cplusplus
10222 extern "C"
10223 #endif
10224 char XRenderQueryExtension ();
10226 main ()
10228 return XRenderQueryExtension ();
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 case "$LIBEXT" in
10235 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10236 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'` ;;
10237 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10238 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10239 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10240 fi ;;
10241 esac
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_soname_save_LIBS
10247 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10249 $as_echo "not found" >&6; }
10251 else
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10253 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10257 _ACEOF
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10260 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10261 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 char XRenderSetPictureTransform ();
10277 main ()
10279 return XRenderSetPictureTransform ();
10281 return 0;
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10286 else
10287 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10294 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10295 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10297 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10302 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRenderCreateLinearGradient ();
10319 main ()
10321 return XRenderCreateLinearGradient ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10328 else
10329 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10339 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10346 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10347 case "x$with_xrender" in
10348 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10349 xno) ;;
10350 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10351 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10352 esac
10356 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10357 then
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 #include <X11/Xlib.h>
10361 #include <X11/extensions/Xrandr.h>
10363 main ()
10365 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_compile "$LINENO"; then :
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10372 $as_echo_n "checking for -lXrandr... " >&6; }
10373 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_check_soname_save_LIBS=$LIBS
10377 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char XRRQueryExtension ();
10389 main ()
10391 return XRRQueryExtension ();
10393 return 0;
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 case "$LIBEXT" in
10398 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10401 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10402 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10403 fi ;;
10404 esac
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_soname_save_LIBS
10410 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10412 $as_echo "not found" >&6; }
10414 else
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10416 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10418 cat >>confdefs.h <<_ACEOF
10419 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10420 _ACEOF
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xrandr.h>
10427 main ()
10429 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_compile "$LINENO"; then :
10436 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10445 case "x$with_xrandr" in
10446 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10447 xno) ;;
10448 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10449 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10450 esac
10454 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10455 then
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 #include <X11/Xlib.h>
10459 #include <X11/extensions/Xinerama.h>
10461 main ()
10463 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_compile "$LINENO"; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10470 $as_echo_n "checking for -lXinerama... " >&6; }
10471 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XineramaQueryScreens ();
10487 main ()
10489 return XineramaQueryScreens ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10500 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10514 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10518 _ACEOF
10523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10525 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10526 case "x$with_xinerama" in
10527 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10528 xno) ;;
10529 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10530 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10531 esac
10535 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10536 then
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10538 $as_echo_n "checking for -lXcomposite... " >&6; }
10539 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10540 $as_echo_n "(cached) " >&6
10541 else
10542 ac_check_soname_save_LIBS=$LIBS
10543 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10547 /* Override any GCC internal prototype to avoid an error.
10548 Use char because int might match the return type of a GCC
10549 builtin and then its argument prototype would still apply. */
10550 #ifdef __cplusplus
10551 extern "C"
10552 #endif
10553 char XCompositeRedirectWindow ();
10555 main ()
10557 return XCompositeRedirectWindow ();
10559 return 0;
10561 _ACEOF
10562 if ac_fn_c_try_link "$LINENO"; then :
10563 case "$LIBEXT" in
10564 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10565 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'` ;;
10566 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10567 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10568 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10569 fi ;;
10570 esac
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_soname_save_LIBS
10576 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10578 $as_echo "not found" >&6; }
10580 else
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10582 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10584 cat >>confdefs.h <<_ACEOF
10585 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10586 _ACEOF
10591 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10592 case "x$with_xcomposite" in
10593 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10594 xno) ;;
10595 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10596 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10597 esac
10601 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10602 #include <X11/Xlib.h>
10603 #endif
10605 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10607 cat >>confdefs.h <<_ACEOF
10608 #define HAVE_XICCALLBACK_CALLBACK 1
10609 _ACEOF
10613 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10614 #include <X11/Xlib.h>
10615 #endif
10617 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10619 cat >>confdefs.h <<_ACEOF
10620 #define HAVE_XEVENT_XCOOKIE 1
10621 _ACEOF
10628 opengl_msg=""
10629 if test "x$with_opengl" != "xno"
10630 then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10632 $as_echo_n "checking for -lGL... " >&6; }
10633 if ${ac_cv_lib_soname_GL+:} false; then :
10634 $as_echo_n "(cached) " >&6
10635 else
10636 ac_check_soname_save_LIBS=$LIBS
10637 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10641 /* Override any GCC internal prototype to avoid an error.
10642 Use char because int might match the return type of a GCC
10643 builtin and then its argument prototype would still apply. */
10644 #ifdef __cplusplus
10645 extern "C"
10646 #endif
10647 char glXCreateContext ();
10649 main ()
10651 return glXCreateContext ();
10653 return 0;
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657 case "$LIBEXT" in
10658 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10659 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'` ;;
10660 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10661 if ${ac_cv_lib_soname_GL:+false} :; then :
10662 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10663 fi ;;
10664 esac
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 LIBS=$ac_check_soname_save_LIBS
10670 if ${ac_cv_lib_soname_GL:+false} :; then :
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10672 $as_echo "not found" >&6; }
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_soname_save_LIBS=$LIBS
10679 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"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char glXCreateContext ();
10691 main ()
10693 return glXCreateContext ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 case "$LIBEXT" in
10700 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 fi ;;
10706 esac
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 if test -f /usr/X11R6/lib/libGL.a
10716 then
10717 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10718 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10719 else
10720 opengl_msg="No OpenGL library found on this system."
10722 else
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10724 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10726 cat >>confdefs.h <<_ACEOF
10727 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10728 _ACEOF
10730 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"
10732 else
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10734 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10736 cat >>confdefs.h <<_ACEOF
10737 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10738 _ACEOF
10740 OPENGL_LIBS="-lGL"
10742 if test "x$with_glu" != "xno"
10743 then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10745 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10746 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char gluLookAt ();
10762 main ()
10764 return gluLookAt ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_GLU_gluLookAt=yes
10771 else
10772 ac_cv_lib_GLU_gluLookAt=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10779 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10780 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10784 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10785 case "x$with_glu" in
10786 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10789 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10790 esac
10795 if test "x$with_osmesa" != "xno"
10796 then
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10798 $as_echo_n "checking for -lOSMesa... " >&6; }
10799 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_soname_save_LIBS=$LIBS
10803 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char glAccum ();
10815 main ()
10817 return glAccum ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 case "$LIBEXT" in
10824 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10825 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'` ;;
10826 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10827 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10828 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10829 fi ;;
10830 esac
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_soname_save_LIBS
10836 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10838 $as_echo "not found" >&6; }
10840 else
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10842 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10844 cat >>confdefs.h <<_ACEOF
10845 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10846 _ACEOF
10850 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10851 case "x$with_osmesa" in
10852 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10853 xno) ;;
10854 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10855 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10856 esac
10861 if test -n "$opengl_msg"; then :
10862 case "x$with_opengl" in
10863 x) as_fn_append wine_warnings "|$opengl_msg
10864 OpenGL and Direct3D won't be supported." ;;
10865 xno) ;;
10866 *) as_fn_error $? "$opengl_msg
10867 OpenGL and Direct3D won't be supported.
10868 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10869 esac
10873 CPPFLAGS="$ac_save_CPPFLAGS"
10874 else
10875 X_CFLAGS=""
10876 X_LIBS=""
10878 if test "x$X_LIBS" = "x"; then :
10879 case "x$with_x" in
10880 xno) ;;
10881 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10882 without X support, which probably isn't what you want. You will need
10883 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10884 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10885 esac
10886 enable_winex11_drv=${enable_winex11_drv:-no}
10889 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10891 if test "$ac_cv_header_CL_cl_h" = "yes"
10892 then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10894 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10895 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10896 $as_echo_n "(cached) " >&6
10897 else
10898 ac_check_lib_save_LIBS=$LIBS
10899 LIBS="-lOpenCL $LIBS"
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10906 #ifdef __cplusplus
10907 extern "C"
10908 #endif
10909 char clGetPlatformInfo ();
10911 main ()
10913 return clGetPlatformInfo ();
10915 return 0;
10917 _ACEOF
10918 if ac_fn_c_try_link "$LINENO"; then :
10919 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10920 else
10921 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10923 rm -f core conftest.err conftest.$ac_objext \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10928 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10929 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10930 OPENCL_LIBS="-lOpenCL"
10935 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10936 case "x$with_opencl" in
10937 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10938 xno) ;;
10939 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10940 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10941 esac
10942 enable_opencl=${enable_opencl:-no}
10945 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10946 then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10948 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10949 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10950 $as_echo_n "(cached) " >&6
10951 else
10952 ac_check_lib_save_LIBS=$LIBS
10953 LIBS="-lpcap $LIBS"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10960 #ifdef __cplusplus
10961 extern "C"
10962 #endif
10963 char pcap_create ();
10965 main ()
10967 return pcap_create ();
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 ac_cv_lib_pcap_pcap_create=yes
10974 else
10975 ac_cv_lib_pcap_pcap_create=no
10977 rm -f core conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10979 LIBS=$ac_check_lib_save_LIBS
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10982 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10983 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10984 PCAP_LIBS="-lpcap"
10989 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10990 case "x$with_pcap" in
10991 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10992 xno) ;;
10993 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10994 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10995 esac
10996 enable_wpcap=${enable_wpcap:-no}
11000 if test "x$with_xml" != "xno"
11001 then
11002 if ${XML2_CFLAGS:+false} :; then :
11003 if ${PKG_CONFIG+:} false; then :
11004 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11007 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11008 if ${XML2_LIBS:+false} :; then :
11009 if ${PKG_CONFIG+:} false; then :
11010 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11013 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11014 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11015 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11016 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11017 ac_save_CPPFLAGS=$CPPFLAGS
11018 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11019 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11020 do :
11021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11022 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11023 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11024 cat >>confdefs.h <<_ACEOF
11025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11026 _ACEOF
11030 done
11032 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"
11033 then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11035 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11036 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-lxml2 $XML2_LIBS $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char xmlParseMemory ();
11052 main ()
11054 return xmlParseMemory ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 ac_cv_lib_xml2_xmlParseMemory=yes
11061 else
11062 ac_cv_lib_xml2_xmlParseMemory=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11069 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11070 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11072 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11074 else
11075 XML2_LIBS=""
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11079 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11080 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11081 $as_echo_n "(cached) " >&6
11082 else
11083 ac_check_lib_save_LIBS=$LIBS
11084 LIBS="-lxml2 $XML2_LIBS $LIBS"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 /* Override any GCC internal prototype to avoid an error.
11089 Use char because int might match the return type of a GCC
11090 builtin and then its argument prototype would still apply. */
11091 #ifdef __cplusplus
11092 extern "C"
11093 #endif
11094 char xmlReadMemory ();
11096 main ()
11098 return xmlReadMemory ();
11100 return 0;
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"; then :
11104 ac_cv_lib_xml2_xmlReadMemory=yes
11105 else
11106 ac_cv_lib_xml2_xmlReadMemory=no
11108 rm -f core conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11110 LIBS=$ac_check_lib_save_LIBS
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11113 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11114 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11116 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11121 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11122 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lxml2 $XML2_LIBS $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char xmlNewDocPI ();
11138 main ()
11140 return xmlNewDocPI ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_xml2_xmlNewDocPI=yes
11147 else
11148 ac_cv_lib_xml2_xmlNewDocPI=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11155 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11156 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11158 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11163 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11164 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $XML2_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char xmlSchemaSetParserStructuredErrors ();
11180 main ()
11182 return xmlSchemaSetParserStructuredErrors ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11189 else
11190 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11197 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11198 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11200 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11205 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11206 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lxml2 $XML2_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char xmlSchemaSetValidStructuredErrors ();
11222 main ()
11224 return xmlSchemaSetValidStructuredErrors ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11231 else
11232 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11239 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11240 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11242 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11247 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11248 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lxml2 $XML2_LIBS $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char xmlFirstElementChild ();
11264 main ()
11266 return xmlFirstElementChild ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_xml2_xmlFirstElementChild=yes
11273 else
11274 ac_cv_lib_xml2_xmlFirstElementChild=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11281 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11282 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11284 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11288 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11290 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11292 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11296 else
11297 XML2_CFLAGS=""
11298 XML2_LIBS=""
11300 CPPFLAGS=$ac_save_CPPFLAGS
11301 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11302 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11305 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11306 case "x$with_xml" in
11307 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11308 xno) ;;
11309 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11310 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11311 esac
11315 if test "x$with_xslt" != "xno"
11316 then
11317 if ${XSLT_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11322 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11323 if ${XSLT_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false; then :
11325 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11328 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11329 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11332 ac_save_CPPFLAGS=$CPPFLAGS
11333 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11334 for ac_header in libxslt/pattern.h libxslt/transform.h
11335 do :
11336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11337 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11338 # include <libxslt/pattern.h>
11339 #endif
11341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11342 cat >>confdefs.h <<_ACEOF
11343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11344 _ACEOF
11348 done
11350 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11351 then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11353 $as_echo_n "checking for -lxslt... " >&6; }
11354 if ${ac_cv_lib_soname_xslt+:} false; then :
11355 $as_echo_n "(cached) " >&6
11356 else
11357 ac_check_soname_save_LIBS=$LIBS
11358 LIBS="-lxslt $XSLT_LIBS $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char xsltCompilePattern ();
11370 main ()
11372 return xsltCompilePattern ();
11374 return 0;
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 case "$LIBEXT" in
11379 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11380 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'` ;;
11381 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11382 if ${ac_cv_lib_soname_xslt:+false} :; then :
11383 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11384 fi ;;
11385 esac
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_soname_save_LIBS
11391 if ${ac_cv_lib_soname_xslt:+false} :; then :
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11393 $as_echo "not found" >&6; }
11395 else
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11397 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11399 cat >>confdefs.h <<_ACEOF
11400 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11401 _ACEOF
11405 else
11406 XSLT_CFLAGS=""
11408 CPPFLAGS=$ac_save_CPPFLAGS
11409 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11410 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11413 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11414 case "x$with_xslt" in
11415 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11416 xno) ;;
11417 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11418 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11419 esac
11423 if test "x$with_dbus" != "xno"
11424 then
11425 if ${DBUS_CFLAGS:+false} :; then :
11426 if ${PKG_CONFIG+:} false; then :
11427 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11431 if ${DBUS_LIBS:+false} :; then :
11432 if ${PKG_CONFIG+:} false; then :
11433 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11438 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11439 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11440 ac_save_CPPFLAGS=$CPPFLAGS
11441 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11442 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11443 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11445 $as_echo_n "checking for -ldbus-1... " >&6; }
11446 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11447 $as_echo_n "(cached) " >&6
11448 else
11449 ac_check_soname_save_LIBS=$LIBS
11450 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char dbus_connection_close ();
11462 main ()
11464 return dbus_connection_close ();
11466 return 0;
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 case "$LIBEXT" in
11471 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11472 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'` ;;
11473 *) 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'`
11474 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11475 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11476 fi ;;
11477 esac
11479 rm -f core conftest.err conftest.$ac_objext \
11480 conftest$ac_exeext conftest.$ac_ext
11481 LIBS=$ac_check_soname_save_LIBS
11483 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11485 $as_echo "not found" >&6; }
11486 DBUS_CFLAGS=""
11487 else
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11489 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11491 cat >>confdefs.h <<_ACEOF
11492 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11493 _ACEOF
11497 else
11498 DBUS_CFLAGS=""
11502 CPPFLAGS=$ac_save_CPPFLAGS
11503 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11504 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11507 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11508 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11509 case "x$with_dbus" in
11510 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11511 xno) ;;
11512 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11513 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11514 esac
11518 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11519 then
11520 if ${HAL_CFLAGS:+false} :; then :
11521 if ${PKG_CONFIG+:} false; then :
11522 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11526 if ${HAL_LIBS:+false} :; then :
11527 if ${PKG_CONFIG+:} false; then :
11528 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11532 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11533 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11535 ac_save_CPPFLAGS=$CPPFLAGS
11536 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11537 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11538 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11540 $as_echo_n "checking for -lhal... " >&6; }
11541 if ${ac_cv_lib_soname_hal+:} false; then :
11542 $as_echo_n "(cached) " >&6
11543 else
11544 ac_check_soname_save_LIBS=$LIBS
11545 LIBS="-lhal $HAL_LIBS $LIBS"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11552 #ifdef __cplusplus
11553 extern "C"
11554 #endif
11555 char libhal_ctx_new ();
11557 main ()
11559 return libhal_ctx_new ();
11561 return 0;
11563 _ACEOF
11564 if ac_fn_c_try_link "$LINENO"; then :
11565 case "$LIBEXT" in
11566 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11567 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'` ;;
11568 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11569 if ${ac_cv_lib_soname_hal:+false} :; then :
11570 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11571 fi ;;
11572 esac
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_hal:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11581 HAL_CFLAGS=""
11582 else
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11584 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11586 cat >>confdefs.h <<_ACEOF
11587 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11588 _ACEOF
11592 else
11593 HAL_CFLAGS=""
11597 CPPFLAGS=$ac_save_CPPFLAGS
11598 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11599 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11601 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11603 case "x$with_hal" in
11604 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11605 xno) ;;
11606 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11607 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11608 esac
11613 if test "x$with_gnutls" != "xno"
11614 then
11615 if ${GNUTLS_CFLAGS:+false} :; then :
11616 if ${PKG_CONFIG+:} false; then :
11617 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11621 if ${GNUTLS_LIBS:+false} :; then :
11622 if ${PKG_CONFIG+:} false; then :
11623 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11628 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11629 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11630 ac_save_CPPFLAGS=$CPPFLAGS
11631 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11632 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11633 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636 #include <gnutls/gnutls.h>
11637 #include <gnutls/crypto.h>
11639 main ()
11641 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11643 return 0;
11645 _ACEOF
11646 if ac_fn_c_try_compile "$LINENO"; then :
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11648 $as_echo_n "checking for -lgnutls... " >&6; }
11649 if ${ac_cv_lib_soname_gnutls+:} false; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 ac_check_soname_save_LIBS=$LIBS
11653 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11660 #ifdef __cplusplus
11661 extern "C"
11662 #endif
11663 char gnutls_global_init ();
11665 main ()
11667 return gnutls_global_init ();
11669 return 0;
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"; then :
11673 case "$LIBEXT" in
11674 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11675 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'` ;;
11676 *) 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'`
11677 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11678 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'`
11679 fi ;;
11680 esac
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_soname_save_LIBS
11686 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11688 $as_echo "not found" >&6; }
11689 GNUTLS_CFLAGS=""
11690 else
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11692 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11694 cat >>confdefs.h <<_ACEOF
11695 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11696 _ACEOF
11700 ac_wine_check_funcs_save_LIBS="$LIBS"
11701 LIBS="$LIBS $GNUTLS_LIBS"
11702 for ac_func in gnutls_hash
11703 do :
11704 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11705 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11706 cat >>confdefs.h <<_ACEOF
11707 #define HAVE_GNUTLS_HASH 1
11708 _ACEOF
11710 else
11711 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11713 done
11715 LIBS="$ac_wine_check_funcs_save_LIBS"
11717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11718 else
11719 GNUTLS_CFLAGS=""
11723 CPPFLAGS=$ac_save_CPPFLAGS
11724 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11725 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11728 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11729 case "x$with_gnutls" in
11730 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11731 xno) ;;
11732 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11733 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11734 esac
11738 CURSES_LIBS=""
11739 if test "$ac_cv_header_ncurses_h" = "yes"
11740 then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11742 $as_echo_n "checking for -lncurses... " >&6; }
11743 if ${ac_cv_lib_soname_ncurses+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_soname_save_LIBS=$LIBS
11747 LIBS="-lncurses $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char waddch ();
11759 main ()
11761 return waddch ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 case "$LIBEXT" in
11768 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) 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'`
11771 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11772 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 fi ;;
11774 esac
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11778 LIBS=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11784 else
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11786 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11788 cat >>confdefs.h <<_ACEOF
11789 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11790 _ACEOF
11792 CURSES_LIBS="-lncurses"
11794 elif test "$ac_cv_header_curses_h" = "yes"
11795 then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11797 $as_echo_n "checking for -lcurses... " >&6; }
11798 if ${ac_cv_lib_soname_curses+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_soname_save_LIBS=$LIBS
11802 LIBS="-lcurses $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char waddch ();
11814 main ()
11816 return waddch ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 case "$LIBEXT" in
11823 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11824 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'` ;;
11825 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11826 if ${ac_cv_lib_soname_curses:+false} :; then :
11827 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11828 fi ;;
11829 esac
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if ${ac_cv_lib_soname_curses:+false} :; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11837 $as_echo "not found" >&6; }
11839 else
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11841 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11845 _ACEOF
11847 CURSES_LIBS="-lcurses"
11850 ac_save_LIBS="$LIBS"
11851 LIBS="$LIBS $CURSES_LIBS"
11852 for ac_func in mousemask
11853 do :
11854 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11855 if test "x$ac_cv_func_mousemask" = xyes; then :
11856 cat >>confdefs.h <<_ACEOF
11857 #define HAVE_MOUSEMASK 1
11858 _ACEOF
11861 done
11863 LIBS="$ac_save_LIBS"
11864 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11865 case "x$with_curses" in
11866 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11867 xno) ;;
11868 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11869 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11870 esac
11874 if test "x$with_sane" != "xno"
11875 then
11876 if ${SANE_CFLAGS:+false} :; then :
11877 if ${PKG_CONFIG+:} false; then :
11878 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11881 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11882 if ${SANE_LIBS:+false} :; then :
11883 if ${PKG_CONFIG+:} false; then :
11884 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11887 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11889 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11890 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11891 ac_save_CPPFLAGS=$CPPFLAGS
11892 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11893 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11894 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11896 $as_echo_n "checking for -lsane... " >&6; }
11897 if ${ac_cv_lib_soname_sane+:} false; then :
11898 $as_echo_n "(cached) " >&6
11899 else
11900 ac_check_soname_save_LIBS=$LIBS
11901 LIBS="-lsane $SANE_LIBS $LIBS"
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11908 #ifdef __cplusplus
11909 extern "C"
11910 #endif
11911 char sane_init ();
11913 main ()
11915 return sane_init ();
11917 return 0;
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"; then :
11921 case "$LIBEXT" in
11922 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11923 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'` ;;
11924 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11925 if ${ac_cv_lib_soname_sane:+false} :; then :
11926 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11927 fi ;;
11928 esac
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 LIBS=$ac_check_soname_save_LIBS
11934 if ${ac_cv_lib_soname_sane:+false} :; then :
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11936 $as_echo "not found" >&6; }
11937 SANE_CFLAGS=""
11938 else
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11940 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11942 cat >>confdefs.h <<_ACEOF
11943 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11944 _ACEOF
11948 else
11949 SANE_CFLAGS=""
11953 CPPFLAGS=$ac_save_CPPFLAGS
11954 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11955 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11958 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11959 case "x$with_sane" in
11960 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11961 xno) ;;
11962 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11963 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11964 esac
11968 if test "x$with_v4l" != "xno"
11969 then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11971 $as_echo_n "checking for -lv4l1... " >&6; }
11972 if ${ac_cv_lib_soname_v4l1+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_check_soname_save_LIBS=$LIBS
11976 LIBS="-lv4l1 $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char v4l1_open ();
11988 main ()
11990 return v4l1_open ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 case "$LIBEXT" in
11997 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11998 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'` ;;
11999 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12000 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12001 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12002 fi ;;
12003 esac
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_soname_save_LIBS
12009 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12013 else
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12015 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12017 cat >>confdefs.h <<_ACEOF
12018 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12019 _ACEOF
12024 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12025 case "x$with_v4l" in
12026 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12027 xno) ;;
12028 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12029 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12030 esac
12034 if test "x$with_gphoto" != "xno"
12035 then
12036 if ${GPHOTO2_CFLAGS:+false} :; then :
12037 if ${PKG_CONFIG+:} false; then :
12038 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12041 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12042 if ${GPHOTO2_LIBS:+false} :; then :
12043 if ${PKG_CONFIG+:} false; then :
12044 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12047 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12048 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12051 ac_save_CPPFLAGS=$CPPFLAGS
12052 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12053 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12054 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12056 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12057 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char gp_camera_new ();
12073 main ()
12075 return gp_camera_new ();
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_link "$LINENO"; then :
12081 ac_cv_lib_gphoto2_gp_camera_new=yes
12082 else
12083 ac_cv_lib_gphoto2_gp_camera_new=no
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_lib_save_LIBS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12090 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12091 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12093 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12095 else
12096 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12099 else
12100 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12104 CPPFLAGS=$ac_save_CPPFLAGS
12105 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12106 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12108 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12113 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12114 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12115 if ${PKG_CONFIG+:} false; then :
12116 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12119 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12120 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12121 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12123 ac_save_CPPFLAGS=$CPPFLAGS
12124 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12125 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12126 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12128 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12129 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 ac_check_lib_save_LIBS=$LIBS
12133 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char gp_port_info_list_new ();
12145 main ()
12147 return gp_port_info_list_new ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12154 else
12155 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 LIBS=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12162 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12163 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12165 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12167 else
12168 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12171 else
12172 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12176 CPPFLAGS=$ac_save_CPPFLAGS
12177 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12178 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12181 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12182 case "x$with_gphoto" in
12183 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12184 xno) ;;
12185 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12186 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12187 esac
12190 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12191 case "x$with_gphoto" in
12192 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12193 xno) ;;
12194 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12195 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12196 esac
12201 if test "$ac_cv_header_resolv_h" = "yes"
12202 then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12204 $as_echo_n "checking for resolver library... " >&6; }
12205 if ${ac_cv_have_resolv+:} false; then :
12206 $as_echo_n "(cached) " >&6
12207 else
12208 ac_save_LIBS="$LIBS"
12209 for lib in '' -lresolv
12211 LIBS="$lib $ac_save_LIBS"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 #ifdef HAVE_NETINET_IN_H
12215 #include <netinet/in.h>
12216 #endif
12217 #include <resolv.h>
12219 main ()
12221 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"; then :
12227 ac_cv_have_resolv=${lib:-"none required"}
12228 else
12229 ac_cv_have_resolv="not found"
12231 rm -f core conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 test "x$ac_cv_have_resolv" = "xnot found" || break
12234 done
12235 LIBS="$ac_save_LIBS"
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12238 $as_echo "$ac_cv_have_resolv" >&6; }
12240 case "$ac_cv_have_resolv" in
12241 "not found") ;;
12242 "none required")
12244 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12247 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12249 RESOLV_LIBS=$ac_cv_have_resolv
12251 esac
12254 if test "x$with_cms" != "xno"
12255 then
12256 if ${LCMS2_CFLAGS:+false} :; then :
12257 if ${PKG_CONFIG+:} false; then :
12258 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12262 if ${LCMS2_LIBS:+false} :; then :
12263 if ${PKG_CONFIG+:} false; then :
12264 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12268 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12269 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12271 ac_save_CPPFLAGS=$CPPFLAGS
12272 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12273 for ac_header in lcms2.h
12274 do :
12275 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12276 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12277 cat >>confdefs.h <<_ACEOF
12278 #define HAVE_LCMS2_H 1
12279 _ACEOF
12283 done
12285 if test "$ac_cv_header_lcms2_h" = "yes"
12286 then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12288 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12289 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12290 $as_echo_n "(cached) " >&6
12291 else
12292 ac_check_lib_save_LIBS=$LIBS
12293 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12300 #ifdef __cplusplus
12301 extern "C"
12302 #endif
12303 char cmsOpenProfileFromFile ();
12305 main ()
12307 return cmsOpenProfileFromFile ();
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_link "$LINENO"; then :
12313 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12314 else
12315 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12317 rm -f core conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_lib_save_LIBS
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12322 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12323 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12325 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12327 else
12328 LCMS2_LIBS=""
12331 else
12332 LCMS2_CFLAGS=""
12333 LCMS2_LIBS=""
12335 CPPFLAGS=$ac_save_CPPFLAGS
12336 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12337 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12340 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12341 case "x$with_cms" in
12342 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12343 xno) ;;
12344 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12345 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12346 esac
12350 if test "x$with_freetype" != "xno"
12351 then
12352 if ${FREETYPE_CFLAGS:+false} :; then :
12353 if ${PKG_CONFIG+:} false; then :
12354 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12357 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12358 if ${FREETYPE_LIBS:+false} :; then :
12359 if ${PKG_CONFIG+:} false; then :
12360 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12363 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12364 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12365 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12366 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12367 ac_save_CPPFLAGS=$CPPFLAGS
12368 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12369 for ac_header in ft2build.h
12370 do :
12371 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12372 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_FT2BUILD_H 1
12375 _ACEOF
12379 done
12381 if test "$ac_cv_header_ft2build_h" = "yes"
12382 then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12384 $as_echo_n "checking for -lfreetype... " >&6; }
12385 if ${ac_cv_lib_soname_freetype+:} false; then :
12386 $as_echo_n "(cached) " >&6
12387 else
12388 ac_check_soname_save_LIBS=$LIBS
12389 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12396 #ifdef __cplusplus
12397 extern "C"
12398 #endif
12399 char FT_Init_FreeType ();
12401 main ()
12403 return FT_Init_FreeType ();
12405 return 0;
12407 _ACEOF
12408 if ac_fn_c_try_link "$LINENO"; then :
12409 case "$LIBEXT" in
12410 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12411 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'` ;;
12412 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12413 if ${ac_cv_lib_soname_freetype:+false} :; then :
12414 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12415 fi ;;
12416 esac
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_soname_save_LIBS
12422 if ${ac_cv_lib_soname_freetype:+false} :; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12424 $as_echo "not found" >&6; }
12425 FREETYPE_LIBS=""
12426 else
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12428 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12430 cat >>confdefs.h <<_ACEOF
12431 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12432 _ACEOF
12435 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12437 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12438 #include FT_MODULE_H
12440 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12442 cat >>confdefs.h <<_ACEOF
12443 #define HAVE_FT_TRUETYPEENGINETYPE 1
12444 _ACEOF
12450 else
12451 FREETYPE_CFLAGS=""
12452 FREETYPE_LIBS=""
12454 CPPFLAGS=$ac_save_CPPFLAGS
12455 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12456 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12459 if test "x$ac_cv_lib_soname_freetype" = x; then :
12460 case "x$with_freetype" in
12461 xno) ;;
12462 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12463 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12464 esac
12465 enable_fonts=${enable_fonts:-no}
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12469 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12470 if ${ac_cv_c_ppdev+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12475 #ifdef HAVE_SYS_IOCTL_H
12476 # include <sys/ioctl.h>
12477 #endif
12478 #include <linux/ppdev.h>
12480 main ()
12482 ioctl (1,PPCLAIM,0)
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_compile "$LINENO"; then :
12488 ac_cv_c_ppdev="yes"
12489 else
12490 ac_cv_c_ppdev="no"
12492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12495 $as_echo "$ac_cv_c_ppdev" >&6; }
12496 if test "$ac_cv_c_ppdev" = "yes"
12497 then
12499 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12503 ac_wine_check_funcs_save_LIBS="$LIBS"
12504 LIBS="$LIBS $PTHREAD_LIBS"
12505 for ac_func in \
12506 pthread_attr_get_np \
12507 pthread_getattr_np \
12508 pthread_getthreadid_np \
12509 pthread_get_stackaddr_np \
12510 pthread_get_stacksize_np
12511 do :
12512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12515 cat >>confdefs.h <<_ACEOF
12516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12517 _ACEOF
12520 done
12522 LIBS="$ac_wine_check_funcs_save_LIBS"
12524 if test "$ac_cv_header_zlib_h" = "yes"
12525 then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12527 $as_echo_n "checking for inflate in -lz... " >&6; }
12528 if ${ac_cv_lib_z_inflate+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_lib_save_LIBS=$LIBS
12532 LIBS="-lz $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char inflate ();
12544 main ()
12546 return inflate ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 ac_cv_lib_z_inflate=yes
12553 else
12554 ac_cv_lib_z_inflate=no
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_lib_save_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12561 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12562 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12564 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12566 Z_LIBS="-lz"
12571 if test "x$Z_LIBS" = "x"; then :
12572 case "x$with_zlib" in
12573 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12574 xno) ;;
12575 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12576 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12577 esac
12581 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12582 then
12583 if test "$ac_cv_header_gettext_po_h" = "yes"
12584 then
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12586 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12587 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12588 $as_echo_n "(cached) " >&6
12589 else
12590 ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-lgettextpo $LIBS"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12598 #ifdef __cplusplus
12599 extern "C"
12600 #endif
12601 char po_message_msgctxt ();
12603 main ()
12605 return po_message_msgctxt ();
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"; then :
12611 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12612 else
12613 ac_cv_lib_gettextpo_po_message_msgctxt=no
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12620 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12621 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12623 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12625 GETTEXTPO_LIBS="-lgettextpo"
12630 if test "x$GETTEXTPO_LIBS" = "x"; then :
12631 case "x$with_gettextpo" in
12632 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12633 xno) ;;
12634 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12635 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12636 esac
12639 if test "$srcdir" != .; then :
12640 case "x$with_gettextpo" in
12641 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12642 xno) ;;
12643 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12644 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12645 esac
12650 if test "x$with_pulse" != "xno";
12651 then
12652 if ${PULSE_CFLAGS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12658 if ${PULSE_LIBS:+false} :; then :
12659 if ${PKG_CONFIG+:} false; then :
12660 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12665 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12667 ac_save_CPPFLAGS=$CPPFLAGS
12668 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12669 for ac_header in pulse/pulseaudio.h
12670 do :
12671 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define HAVE_PULSE_PULSEAUDIO_H 1
12675 _ACEOF
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12677 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12678 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 ac_check_lib_save_LIBS=$LIBS
12682 LIBS="-lpulse $PULSE_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char pa_stream_is_corked ();
12694 main ()
12696 return pa_stream_is_corked ();
12698 return 0;
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702 ac_cv_lib_pulse_pa_stream_is_corked=yes
12703 else
12704 ac_cv_lib_pulse_pa_stream_is_corked=no
12706 rm -f core conftest.err conftest.$ac_objext \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_lib_save_LIBS
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12711 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12712 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12714 else
12715 PULSE_LIBS=""
12718 else
12719 PULSE_LIBS=""
12722 done
12724 CPPFLAGS=$ac_save_CPPFLAGS
12725 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12726 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12729 if test -z "$PULSE_LIBS"; then :
12730 case "x$with_pulse" in
12731 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12732 xno) ;;
12733 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12734 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12735 esac
12736 enable_winepulse_drv=${enable_winepulse_drv:-no}
12739 if test "x$with_gstreamer" != "xno"
12740 then
12741 if ${GSTREAMER_CFLAGS:+false} :; then :
12742 if ${PKG_CONFIG+:} false; then :
12743 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12747 if ${GSTREAMER_LIBS:+false} :; then :
12748 if ${PKG_CONFIG+:} false; then :
12749 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12754 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12755 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12756 ac_save_CPPFLAGS=$CPPFLAGS
12757 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12758 ac_gst_incl=""
12759 for i in $GSTREAMER_CFLAGS
12761 case "$i" in
12762 -I*) ac_gst_incl="$ac_gst_incl $i";;
12763 esac
12764 done
12765 GSTREAMER_CFLAGS=$ac_gst_incl
12766 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12767 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12768 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12770 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #include <gst/gst.h>
12775 main ()
12777 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_compile "$LINENO"; then :
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12784 $as_echo "yes" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12786 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12787 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char gst_pad_new ();
12803 main ()
12805 return gst_pad_new ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12812 else
12813 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_lib_save_LIBS
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12820 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12821 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12828 ac_glib2_broken=yes
12829 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12835 CPPFLAGS=$ac_save_CPPFLAGS
12836 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12837 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12840 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 :
12841 case "x$with_gstreamer" in
12842 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12843 xno) ;;
12844 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12845 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12846 esac
12849 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12851 ALSA_LIBS=""
12853 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12854 then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12856 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12857 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lasound $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char snd_pcm_hw_params_get_access_mask ();
12873 main ()
12875 return snd_pcm_hw_params_get_access_mask ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12882 else
12883 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12890 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12891 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12894 #ifdef HAVE_ALSA_ASOUNDLIB_H
12895 #include <alsa/asoundlib.h>
12896 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12897 #include <sys/asoundlib.h>
12898 #endif
12900 main ()
12902 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_compile "$LINENO"; then :
12908 ALSA_LIBS="-lasound"
12910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12914 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12916 if test "x$with_oss" != xno
12917 then
12918 ac_save_CPPFLAGS="$CPPFLAGS"
12919 if test -f /etc/oss.conf
12920 then
12921 . /etc/oss.conf
12923 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12924 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12925 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12926 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12927 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12929 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12931 cat >>confdefs.h <<_ACEOF
12932 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12933 _ACEOF
12935 OSS4_CFLAGS="$ac_oss_incl"
12942 CPPFLAGS="$ac_save_CPPFLAGS"
12944 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12945 case "x$with_oss" in
12946 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12947 xno) ;;
12948 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12949 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12950 esac
12951 enable_wineoss_drv=${enable_wineoss_drv:-no}
12954 if test "x$with_udev" != "xno"
12955 then
12956 if ${UDEV_CFLAGS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12962 if ${UDEV_LIBS:+false} :; then :
12963 if ${PKG_CONFIG+:} false; then :
12964 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12970 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12971 ac_save_CPPFLAGS=$CPPFLAGS
12972 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12973 for ac_header in libudev.h
12974 do :
12975 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12976 if test "x$ac_cv_header_libudev_h" = xyes; then :
12977 cat >>confdefs.h <<_ACEOF
12978 #define HAVE_LIBUDEV_H 1
12979 _ACEOF
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12981 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12982 if ${ac_cv_lib_udev_udev_new+:} false; then :
12983 $as_echo_n "(cached) " >&6
12984 else
12985 ac_check_lib_save_LIBS=$LIBS
12986 LIBS="-ludev $UDEV_LIBS $LIBS"
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
12993 #ifdef __cplusplus
12994 extern "C"
12995 #endif
12996 char udev_new ();
12998 main ()
13000 return udev_new ();
13002 return 0;
13004 _ACEOF
13005 if ac_fn_c_try_link "$LINENO"; then :
13006 ac_cv_lib_udev_udev_new=yes
13007 else
13008 ac_cv_lib_udev_udev_new=no
13010 rm -f core conftest.err conftest.$ac_objext \
13011 conftest$ac_exeext conftest.$ac_ext
13012 LIBS=$ac_check_lib_save_LIBS
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13015 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13016 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13018 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13020 else
13021 UDEV_LIBS=""
13024 else
13025 UDEV_LIBS=""
13028 done
13030 CPPFLAGS=$ac_save_CPPFLAGS
13031 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$UDEV_LIBS" = "x"; then :
13036 case "x$with_udev" in
13037 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13038 xno) ;;
13039 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13040 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13041 esac
13045 if test "x$with_capi" != "xno"
13046 then
13047 if ${CAPI20_CFLAGS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13053 if ${CAPI20_LIBS:+false} :; then :
13054 if ${PKG_CONFIG+:} false; then :
13055 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13060 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13062 ac_save_CPPFLAGS=$CPPFLAGS
13063 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13064 for ac_header in capi20.h linux/capi.h
13065 do :
13066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13070 cat >>confdefs.h <<_ACEOF
13071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13072 _ACEOF
13076 done
13078 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13079 then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13081 $as_echo_n "checking for -lcapi20... " >&6; }
13082 if ${ac_cv_lib_soname_capi20+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_check_soname_save_LIBS=$LIBS
13086 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13093 #ifdef __cplusplus
13094 extern "C"
13095 #endif
13096 char capi20_register ();
13098 main ()
13100 return capi20_register ();
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 case "$LIBEXT" in
13107 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13108 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'` ;;
13109 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13110 if ${ac_cv_lib_soname_capi20:+false} :; then :
13111 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 fi ;;
13113 esac
13115 rm -f core conftest.err conftest.$ac_objext \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_soname_save_LIBS
13119 if ${ac_cv_lib_soname_capi20:+false} :; then :
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13121 $as_echo "not found" >&6; }
13123 else
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13125 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13127 cat >>confdefs.h <<_ACEOF
13128 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13129 _ACEOF
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13140 case "x$with_capi" in
13141 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13144 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13145 esac
13149 CUPS_CFLAGS=""
13151 if test "x$with_cups" != "xno"
13152 then
13153 ac_save_CPPFLAGS="$CPPFLAGS"
13154 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13155 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13156 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13157 for ac_header in cups/cups.h
13158 do :
13159 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13160 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define HAVE_CUPS_CUPS_H 1
13163 _ACEOF
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13165 $as_echo_n "checking for -lcups... " >&6; }
13166 if ${ac_cv_lib_soname_cups+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_soname_save_LIBS=$LIBS
13170 LIBS="-lcups $ac_cups_libs $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char cupsGetDefault ();
13182 main ()
13184 return cupsGetDefault ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 case "$LIBEXT" in
13191 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13192 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'` ;;
13193 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13194 if ${ac_cv_lib_soname_cups:+false} :; then :
13195 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13196 fi ;;
13197 esac
13199 rm -f core conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_check_soname_save_LIBS
13203 if ${ac_cv_lib_soname_cups:+false} :; then :
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13205 $as_echo "not found" >&6; }
13207 else
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13209 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13211 cat >>confdefs.h <<_ACEOF
13212 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13213 _ACEOF
13215 CUPS_CFLAGS="$ac_cups_cflags"
13217 for ac_header in cups/ppd.h
13218 do :
13219 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13220 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_CUPS_PPD_H 1
13223 _ACEOF
13227 done
13231 done
13233 CPPFLAGS="$ac_save_CPPFLAGS"
13235 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13236 case "x$with_cups" in
13237 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13238 xno) ;;
13239 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13240 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13241 esac
13245 if test "x$with_fontconfig" != "xno"
13246 then
13247 if ${FONTCONFIG_CFLAGS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13252 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13253 if ${FONTCONFIG_LIBS:+false} :; then :
13254 if ${PKG_CONFIG+:} false; then :
13255 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13258 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13260 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13262 ac_save_CPPFLAGS=$CPPFLAGS
13263 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13264 for ac_header in fontconfig/fontconfig.h
13265 do :
13266 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13268 cat >>confdefs.h <<_ACEOF
13269 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13270 _ACEOF
13274 done
13276 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13277 then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13279 $as_echo_n "checking for -lfontconfig... " >&6; }
13280 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13281 $as_echo_n "(cached) " >&6
13282 else
13283 ac_check_soname_save_LIBS=$LIBS
13284 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 #ifdef __cplusplus
13292 extern "C"
13293 #endif
13294 char FcInit ();
13296 main ()
13298 return FcInit ();
13300 return 0;
13302 _ACEOF
13303 if ac_fn_c_try_link "$LINENO"; then :
13304 case "$LIBEXT" in
13305 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13306 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'` ;;
13307 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13308 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13309 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13310 fi ;;
13311 esac
13313 rm -f core conftest.err conftest.$ac_objext \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_soname_save_LIBS
13317 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13319 $as_echo "not found" >&6; }
13320 FONTCONFIG_CFLAGS=""
13321 else
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13323 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13325 cat >>confdefs.h <<_ACEOF
13326 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13327 _ACEOF
13331 else
13332 FONTCONFIG_CFLAGS=""
13334 CPPFLAGS=$ac_save_CPPFLAGS
13335 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13336 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13339 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13340 case "x$with_fontconfig" in
13341 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13342 xno) ;;
13343 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13344 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13345 esac
13349 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13350 then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13352 $as_echo_n "checking for -lgsm... " >&6; }
13353 if ${ac_cv_lib_soname_gsm+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_soname_save_LIBS=$LIBS
13357 LIBS="-lgsm $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char gsm_create ();
13369 main ()
13371 return gsm_create ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 case "$LIBEXT" in
13378 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_gsm:+false} :; then :
13382 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 fi ;;
13384 esac
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_gsm:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13394 else
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13396 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13400 _ACEOF
13405 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13406 case "x$with_gsm" in
13407 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13410 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13411 esac
13415 if test "x$with_jpeg" != "xno"
13416 then
13417 if ${JPEG_CFLAGS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13423 if ${JPEG_LIBS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13430 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13432 ac_save_CPPFLAGS=$CPPFLAGS
13433 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13434 for ac_header in jpeglib.h
13435 do :
13436 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13437 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13438 cat >>confdefs.h <<_ACEOF
13439 #define HAVE_JPEGLIB_H 1
13440 _ACEOF
13444 done
13446 if test "$ac_cv_header_jpeglib_h" = "yes"
13447 then
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13449 $as_echo_n "checking for -ljpeg... " >&6; }
13450 if ${ac_cv_lib_soname_jpeg+:} false; then :
13451 $as_echo_n "(cached) " >&6
13452 else
13453 ac_check_soname_save_LIBS=$LIBS
13454 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 #ifdef __cplusplus
13462 extern "C"
13463 #endif
13464 char jpeg_start_decompress ();
13466 main ()
13468 return jpeg_start_decompress ();
13470 return 0;
13472 _ACEOF
13473 if ac_fn_c_try_link "$LINENO"; then :
13474 case "$LIBEXT" in
13475 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13476 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'` ;;
13477 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13478 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13479 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13480 fi ;;
13481 esac
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13490 JPEG_CFLAGS=""
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13493 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13497 _ACEOF
13501 else
13502 JPEG_CFLAGS=""
13504 CPPFLAGS=$ac_save_CPPFLAGS
13505 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13506 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13509 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13510 case "x$with_jpeg" in
13511 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13512 xno) ;;
13513 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13514 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13515 esac
13519 if test "x$with_png" != "xno"
13520 then
13521 if ${PNG_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13526 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13527 if ${PNG_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false; then :
13529 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13532 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13534 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13536 ac_save_CPPFLAGS=$CPPFLAGS
13537 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13538 for ac_header in png.h
13539 do :
13540 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_png_h" = xyes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_PNG_H 1
13544 _ACEOF
13548 done
13550 if test "$ac_cv_header_png_h" = "yes"
13551 then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13553 $as_echo_n "checking for -lpng... " >&6; }
13554 if ${ac_cv_lib_soname_png+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_check_soname_save_LIBS=$LIBS
13558 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char png_create_read_struct ();
13570 main ()
13572 return png_create_read_struct ();
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 case "$LIBEXT" in
13579 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 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'` ;;
13581 *) 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'`
13582 if ${ac_cv_lib_soname_png:+false} :; then :
13583 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13584 fi ;;
13585 esac
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_soname_save_LIBS
13591 if ${ac_cv_lib_soname_png:+false} :; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13593 $as_echo "not found" >&6; }
13594 PNG_CFLAGS=""
13595 else
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13597 $as_echo "$ac_cv_lib_soname_png" >&6; }
13599 cat >>confdefs.h <<_ACEOF
13600 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13601 _ACEOF
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 #include <png.h>
13607 main ()
13609 typeof(png_set_expand_gray_1_2_4_to_8) *p
13611 return 0;
13613 _ACEOF
13614 if ac_fn_c_try_compile "$LINENO"; then :
13616 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13621 else
13622 PNG_CFLAGS=""
13624 CPPFLAGS=$ac_save_CPPFLAGS
13625 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13626 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13629 if test "x$ac_cv_lib_soname_png" = "x"; then :
13630 case "x$with_png" in
13631 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13632 xno) ;;
13633 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13634 This is an error since --with-png was requested." "$LINENO" 5 ;;
13635 esac
13639 if test "x$with_tiff" != "xno"
13640 then
13641 if ${TIFF_CFLAGS:+false} :; then :
13642 if ${PKG_CONFIG+:} false; then :
13643 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13647 if ${TIFF_LIBS:+false} :; then :
13648 if ${PKG_CONFIG+:} false; then :
13649 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13654 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13655 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13656 ac_save_CPPFLAGS=$CPPFLAGS
13657 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13658 for ac_header in tiffio.h
13659 do :
13660 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13661 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13662 cat >>confdefs.h <<_ACEOF
13663 #define HAVE_TIFFIO_H 1
13664 _ACEOF
13668 done
13670 if test "$ac_cv_header_tiffio_h" = "yes"
13671 then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13673 $as_echo_n "checking for -ltiff... " >&6; }
13674 if ${ac_cv_lib_soname_tiff+:} false; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 ac_check_soname_save_LIBS=$LIBS
13678 LIBS="-ltiff $TIFF_LIBS $LIBS"
13679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13682 /* Override any GCC internal prototype to avoid an error.
13683 Use char because int might match the return type of a GCC
13684 builtin and then its argument prototype would still apply. */
13685 #ifdef __cplusplus
13686 extern "C"
13687 #endif
13688 char TIFFClientOpen ();
13690 main ()
13692 return TIFFClientOpen ();
13694 return 0;
13696 _ACEOF
13697 if ac_fn_c_try_link "$LINENO"; then :
13698 case "$LIBEXT" in
13699 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13700 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'` ;;
13701 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13702 if ${ac_cv_lib_soname_tiff:+false} :; then :
13703 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13704 fi ;;
13705 esac
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13709 LIBS=$ac_check_soname_save_LIBS
13711 if ${ac_cv_lib_soname_tiff:+false} :; then :
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13713 $as_echo "not found" >&6; }
13715 else
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13717 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13719 cat >>confdefs.h <<_ACEOF
13720 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13721 _ACEOF
13726 CPPFLAGS=$ac_save_CPPFLAGS
13727 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13728 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13731 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13732 case "x$with_tiff" in
13733 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13734 xno) ;;
13735 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13736 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13737 esac
13741 if test "x$with_mpg123" != "xno"
13742 then
13743 if ${MPG123_CFLAGS:+false} :; then :
13744 if ${PKG_CONFIG+:} false; then :
13745 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13749 if ${MPG123_LIBS:+false} :; then :
13750 if ${PKG_CONFIG+:} false; then :
13751 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13755 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13756 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13758 ac_save_CPPFLAGS=$CPPFLAGS
13759 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13760 for ac_header in mpg123.h
13761 do :
13762 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13763 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13764 cat >>confdefs.h <<_ACEOF
13765 #define HAVE_MPG123_H 1
13766 _ACEOF
13770 done
13772 if test "$ac_cv_header_mpg123_h" = "yes"
13773 then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13775 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13776 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_check_lib_save_LIBS=$LIBS
13780 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 #ifdef __cplusplus
13788 extern "C"
13789 #endif
13790 char mpg123_feed ();
13792 main ()
13794 return mpg123_feed ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_lib_mpg123_mpg123_feed=yes
13801 else
13802 ac_cv_lib_mpg123_mpg123_feed=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_check_lib_save_LIBS
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13809 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13810 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13812 else
13813 MPG123_LIBS=""
13816 else
13817 MPG123_CFLAGS=""
13818 MPG123_LIBS=""
13820 CPPFLAGS=$ac_save_CPPFLAGS
13821 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13822 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13825 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13826 case "x$with_mpg123" in
13827 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13828 xno) ;;
13829 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13830 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13831 esac
13832 enable_winemp3_acm=${enable_winemp3_acm:-no}
13835 if test "$ac_cv_header_AL_al_h" = "yes"
13836 then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13838 $as_echo_n "checking for -lopenal... " >&6; }
13839 if ${ac_cv_lib_soname_openal+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-lopenal $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char alGetSource3i ();
13855 main ()
13857 return alGetSource3i ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_openal:+false} :; then :
13868 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_openal:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13880 else
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13882 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13884 cat >>confdefs.h <<_ACEOF
13885 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13886 _ACEOF
13888 OPENAL_LIBS="-lopenal"
13890 ac_cv_lib_openal=yes
13892 cat >>confdefs.h <<_ACEOF
13893 #define HAVE_OPENAL 1
13894 _ACEOF
13898 if test "x$ac_cv_lib_openal" != xyes; then :
13899 case "x$with_openal" in
13900 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13901 xno) ;;
13902 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13903 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13904 esac
13905 enable_openal32=${enable_openal32:-no}
13908 if test "x$ac_cv_lib_openal" = xyes
13909 then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13911 $as_echo_n "checking for openal-soft... " >&6; }
13912 if ${ac_cv_have_openalsoft+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <AL/al.h>
13918 #include <AL/alc.h>
13919 #include <AL/alext.h>
13920 LPALCRENDERSAMPLESSOFT x;
13922 main ()
13926 return 0;
13928 _ACEOF
13929 if ac_fn_c_try_compile "$LINENO"; then :
13930 ac_cv_have_openalsoft=yes
13931 else
13932 ac_cv_have_openalsoft=no
13934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13937 $as_echo "$ac_cv_have_openalsoft" >&6; }
13939 if test "x$ac_cv_have_openalsoft" != xyes
13940 then
13941 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13942 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13943 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13944 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13945 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13946 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13947 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13948 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13949 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13950 enable_xapofx1_1=${enable_xapofx1_1:-no}
13951 enable_xapofx1_2=${enable_xapofx1_2:-no}
13952 enable_xapofx1_3=${enable_xapofx1_3:-no}
13953 enable_xapofx1_4=${enable_xapofx1_4:-no}
13954 enable_xapofx1_5=${enable_xapofx1_5:-no}
13955 enable_xaudio2_0=${enable_xaudio2_0:-no}
13956 enable_xaudio2_1=${enable_xaudio2_1:-no}
13957 enable_xaudio2_2=${enable_xaudio2_2:-no}
13958 enable_xaudio2_3=${enable_xaudio2_3:-no}
13959 enable_xaudio2_4=${enable_xaudio2_4:-no}
13960 enable_xaudio2_5=${enable_xaudio2_5:-no}
13961 enable_xaudio2_6=${enable_xaudio2_6:-no}
13962 enable_xaudio2_7=${enable_xaudio2_7:-no}
13963 enable_xaudio2_8=${enable_xaudio2_8:-no}
13964 enable_xaudio2_9=${enable_xaudio2_9:-no}
13967 if test "$ac_cv_header_kstat_h" = "yes"
13968 then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13970 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13971 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13972 $as_echo_n "(cached) " >&6
13973 else
13974 ac_check_lib_save_LIBS=$LIBS
13975 LIBS="-lkstat $LIBS"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13982 #ifdef __cplusplus
13983 extern "C"
13984 #endif
13985 char kstat_open ();
13987 main ()
13989 return kstat_open ();
13991 return 0;
13993 _ACEOF
13994 if ac_fn_c_try_link "$LINENO"; then :
13995 ac_cv_lib_kstat_kstat_open=yes
13996 else
13997 ac_cv_lib_kstat_kstat_open=no
13999 rm -f core conftest.err conftest.$ac_objext \
14000 conftest$ac_exeext conftest.$ac_ext
14001 LIBS=$ac_check_lib_save_LIBS
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14004 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14005 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14007 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14009 KSTAT_LIBS="-lkstat"
14015 if test "$ac_cv_header_libprocstat_h" = "yes"
14016 then
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14018 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14019 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_check_lib_save_LIBS=$LIBS
14023 LIBS="-lprocstat $LIBS"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14030 #ifdef __cplusplus
14031 extern "C"
14032 #endif
14033 char procstat_open_sysctl ();
14035 main ()
14037 return procstat_open_sysctl ();
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 ac_cv_lib_procstat_procstat_open_sysctl=yes
14044 else
14045 ac_cv_lib_procstat_procstat_open_sysctl=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 LIBS=$ac_check_lib_save_LIBS
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14052 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14053 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14055 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14057 PROCSTAT_LIBS="-lprocstat"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14064 $as_echo_n "checking for -lodbc... " >&6; }
14065 if ${ac_cv_lib_soname_odbc+:} false; then :
14066 $as_echo_n "(cached) " >&6
14067 else
14068 ac_check_soname_save_LIBS=$LIBS
14069 LIBS="-lodbc $LIBS"
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14073 /* Override any GCC internal prototype to avoid an error.
14074 Use char because int might match the return type of a GCC
14075 builtin and then its argument prototype would still apply. */
14076 #ifdef __cplusplus
14077 extern "C"
14078 #endif
14079 char SQLConnect ();
14081 main ()
14083 return SQLConnect ();
14085 return 0;
14087 _ACEOF
14088 if ac_fn_c_try_link "$LINENO"; then :
14089 case "$LIBEXT" in
14090 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14091 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'` ;;
14092 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14093 if ${ac_cv_lib_soname_odbc:+false} :; then :
14094 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14095 fi ;;
14096 esac
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_soname_save_LIBS
14102 if ${ac_cv_lib_soname_odbc:+false} :; then :
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14104 $as_echo "not found" >&6; }
14105 cat >>confdefs.h <<_ACEOF
14106 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14107 _ACEOF
14109 else
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14111 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14113 cat >>confdefs.h <<_ACEOF
14114 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14115 _ACEOF
14120 if test "x$with_netapi" != "xno"
14121 then
14122 if ${NETAPI_CFLAGS:+false} :; then :
14123 if ${PKG_CONFIG+:} false; then :
14124 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14128 if ${NETAPI_LIBS:+false} :; then :
14129 if ${PKG_CONFIG+:} false; then :
14130 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14135 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14136 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14137 ac_save_CPPFLAGS=$CPPFLAGS
14138 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14140 $as_echo_n "checking for -lnetapi... " >&6; }
14141 if ${ac_cv_lib_soname_netapi+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_check_soname_save_LIBS=$LIBS
14145 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 #ifdef __cplusplus
14153 extern "C"
14154 #endif
14155 char libnetapi_init ();
14157 main ()
14159 return libnetapi_init ();
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 case "$LIBEXT" in
14166 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14167 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'` ;;
14168 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14169 if ${ac_cv_lib_soname_netapi:+false} :; then :
14170 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14171 fi ;;
14172 esac
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_soname_save_LIBS
14178 if ${ac_cv_lib_soname_netapi:+false} :; then :
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14180 $as_echo "not found" >&6; }
14181 cat >>confdefs.h <<_ACEOF
14182 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14183 _ACEOF
14185 else
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14187 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14189 cat >>confdefs.h <<_ACEOF
14190 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14191 _ACEOF
14195 CPPFLAGS=$ac_save_CPPFLAGS
14196 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14197 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14201 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14202 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14203 then
14204 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14208 EXTRACFLAGS=""
14210 if test "x${GCC}" = "xyes"
14211 then
14212 EXTRACFLAGS="-Wall -pipe"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14215 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14216 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14217 $as_echo_n "(cached) " >&6
14218 else
14219 if test "$cross_compiling" = yes; then :
14220 ac_cv_c_gcc_strength_bug="no"
14221 else
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int L[4] = {0,1,2,3};
14226 main ()
14228 static int Array[3];
14229 unsigned int B = 3;
14230 int i;
14231 for(i=0; i<B; i++) Array[i] = i - 3;
14232 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14233 L[i] = 4;
14234 return (Array[1] != -2 || L[2] != 3)
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_run "$LINENO"; then :
14240 ac_cv_c_gcc_strength_bug="no"
14241 else
14242 ac_cv_c_gcc_strength_bug="yes"
14244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14245 conftest.$ac_objext conftest.beam conftest.$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14250 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14251 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14252 then
14253 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14257 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14258 if ${ac_cv_cflags__fno_builtin+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 ac_wine_try_cflags_saved=$CFLAGS
14262 CFLAGS="$CFLAGS -fno-builtin"
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int main(int argc, char **argv) { return 0; }
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_cflags__fno_builtin=yes
14269 else
14270 ac_cv_cflags__fno_builtin=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 CFLAGS=$ac_wine_try_cflags_saved
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14277 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14278 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14279 BUILTINFLAG="-fno-builtin"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14283 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14284 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_wine_try_cflags_saved=$CFLAGS
14288 CFLAGS="$CFLAGS -fno-strict-aliasing"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 int main(int argc, char **argv) { return 0; }
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_cflags__fno_strict_aliasing=yes
14295 else
14296 ac_cv_cflags__fno_strict_aliasing=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 CFLAGS=$ac_wine_try_cflags_saved
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14303 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14304 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14305 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14308 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14309 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14310 $as_echo_n "(cached) " >&6
14311 else
14312 ac_wine_try_cflags_saved=$CFLAGS
14313 CFLAGS="$CFLAGS -fexcess-precision=standard"
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 int main(int argc, char **argv) { return 0; }
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"; then :
14319 ac_cv_cflags__fexcess_precision_standard=yes
14320 else
14321 ac_cv_cflags__fexcess_precision_standard=no
14323 rm -f core conftest.err conftest.$ac_objext \
14324 conftest$ac_exeext conftest.$ac_ext
14325 CFLAGS=$ac_wine_try_cflags_saved
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14328 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14329 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14330 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14333 saved_CFLAGS=$CFLAGS
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14335 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14336 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_wine_try_cflags_saved=$CFLAGS
14340 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 int main(int argc, char **argv) { return 0; }
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_cflags__Werror_unknown_warning_option=yes
14347 else
14348 ac_cv_cflags__Werror_unknown_warning_option=no
14350 rm -f core conftest.err conftest.$ac_objext \
14351 conftest$ac_exeext conftest.$ac_ext
14352 CFLAGS=$ac_wine_try_cflags_saved
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14355 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14356 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14357 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14360 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14361 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_wine_try_cflags_saved=$CFLAGS
14365 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14368 int main(int argc, char **argv) { return 0; }
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 ac_cv_cflags__Wdeclaration_after_statement=yes
14372 else
14373 ac_cv_cflags__Wdeclaration_after_statement=no
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 CFLAGS=$ac_wine_try_cflags_saved
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14380 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14381 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14382 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14385 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14386 if ${ac_cv_cflags__Wempty_body+:} false; then :
14387 $as_echo_n "(cached) " >&6
14388 else
14389 ac_wine_try_cflags_saved=$CFLAGS
14390 CFLAGS="$CFLAGS -Wempty-body"
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 int main(int argc, char **argv) { return 0; }
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_cflags__Wempty_body=yes
14397 else
14398 ac_cv_cflags__Wempty_body=no
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 CFLAGS=$ac_wine_try_cflags_saved
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14405 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14406 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14407 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14410 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14411 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 ac_wine_try_cflags_saved=$CFLAGS
14415 CFLAGS="$CFLAGS -Wignored-qualifiers"
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 int main(int argc, char **argv) { return 0; }
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_cflags__Wignored_qualifiers=yes
14422 else
14423 ac_cv_cflags__Wignored_qualifiers=no
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 CFLAGS=$ac_wine_try_cflags_saved
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14430 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14431 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14432 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14435 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14436 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_wine_try_cflags_saved=$CFLAGS
14440 CFLAGS="$CFLAGS -Wshift-overflow=2"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 int main(int argc, char **argv) { return 0; }
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 ac_cv_cflags__Wshift_overflow_2=yes
14447 else
14448 ac_cv_cflags__Wshift_overflow_2=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14455 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14456 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14457 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14460 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14461 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 ac_wine_try_cflags_saved=$CFLAGS
14465 CFLAGS="$CFLAGS -Wstrict-prototypes"
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 int main(int argc, char **argv) { return 0; }
14469 _ACEOF
14470 if ac_fn_c_try_link "$LINENO"; then :
14471 ac_cv_cflags__Wstrict_prototypes=yes
14472 else
14473 ac_cv_cflags__Wstrict_prototypes=no
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 CFLAGS=$ac_wine_try_cflags_saved
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14480 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14481 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14482 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14485 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14486 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_wine_try_cflags_saved=$CFLAGS
14490 CFLAGS="$CFLAGS -Wtype-limits"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_cflags__Wtype_limits=yes
14497 else
14498 ac_cv_cflags__Wtype_limits=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 CFLAGS=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14505 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14506 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14507 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14510 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14511 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 ac_wine_try_cflags_saved=$CFLAGS
14515 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 int main(int argc, char **argv) { return 0; }
14519 _ACEOF
14520 if ac_fn_c_try_link "$LINENO"; then :
14521 ac_cv_cflags__Wunused_but_set_parameter=yes
14522 else
14523 ac_cv_cflags__Wunused_but_set_parameter=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 CFLAGS=$ac_wine_try_cflags_saved
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14530 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14531 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14532 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14535 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14536 if ${ac_cv_cflags__Wvla+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wvla"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 int main(int argc, char **argv) { return 0; }
14544 _ACEOF
14545 if ac_fn_c_try_link "$LINENO"; then :
14546 ac_cv_cflags__Wvla=yes
14547 else
14548 ac_cv_cflags__Wvla=no
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 CFLAGS=$ac_wine_try_cflags_saved
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14555 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14556 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14557 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14560 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14561 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_wine_try_cflags_saved=$CFLAGS
14565 CFLAGS="$CFLAGS -Wwrite-strings"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_cflags__Wwrite_strings=yes
14572 else
14573 ac_cv_cflags__Wwrite_strings=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14577 CFLAGS=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14580 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14581 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14582 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14586 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14587 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_wine_try_cflags_saved=$CFLAGS
14591 CFLAGS="$CFLAGS -Wpointer-arith"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int main(int argc, char **argv) { return 0; }
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_cflags__Wpointer_arith=yes
14598 else
14599 ac_cv_cflags__Wpointer_arith=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 CFLAGS=$ac_wine_try_cflags_saved
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14606 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14607 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14608 saved_string_h_CFLAGS=$CFLAGS
14609 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14611 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14612 if ${ac_cv_c_string_h_warnings+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 #include <string.h>
14619 main ()
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_compile "$LINENO"; then :
14627 ac_cv_c_string_h_warnings=no
14628 else
14629 ac_cv_c_string_h_warnings=yes
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14634 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14635 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14636 CFLAGS=$saved_string_h_CFLAGS
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14640 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14641 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_wine_try_cflags_saved=$CFLAGS
14645 CFLAGS="$CFLAGS -Wlogical-op"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 int main(int argc, char **argv) { return 0; }
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_cflags__Wlogical_op=yes
14652 else
14653 ac_cv_cflags__Wlogical_op=no
14655 rm -f core conftest.err conftest.$ac_objext \
14656 conftest$ac_exeext conftest.$ac_ext
14657 CFLAGS=$ac_wine_try_cflags_saved
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14660 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14661 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14662 saved_string_h_CFLAGS=$CFLAGS
14663 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14665 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14666 if ${ac_cv_c_logicalop_noisy+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 #include <string.h>
14672 char*f(const char *h,char n) {return strchr(h,n);}
14674 main ()
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_compile "$LINENO"; then :
14682 ac_cv_c_logicalop_noisy=no
14683 else
14684 ac_cv_c_logicalop_noisy=yes
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14689 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14690 CFLAGS=$saved_string_h_CFLAGS
14691 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14694 CFLAGS=$saved_CFLAGS
14696 for ac_flag in $CFLAGS; do
14697 case $ac_flag in
14698 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14699 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14700 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_wine_try_cflags_saved=$CFLAGS
14704 CFLAGS="$CFLAGS -gdwarf-2"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 int main(int argc, char **argv) { return 0; }
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"; then :
14710 ac_cv_cflags__gdwarf_2=yes
14711 else
14712 ac_cv_cflags__gdwarf_2=no
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14716 CFLAGS=$ac_wine_try_cflags_saved
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14719 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14720 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14721 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14724 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14725 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 ac_wine_try_cflags_saved=$CFLAGS
14729 CFLAGS="$CFLAGS -gstrict-dwarf"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_cflags__gstrict_dwarf=yes
14736 else
14737 ac_cv_cflags__gstrict_dwarf=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 CFLAGS=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14744 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14745 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14746 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14747 fi ;;
14748 esac
14749 done
14751 case $host_cpu in
14752 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14753 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14754 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_wine_try_cflags_saved=$CFLAGS
14758 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 int main(int argc, char **argv) { return 0; }
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_cflags__fno_omit_frame_pointer=yes
14765 else
14766 ac_cv_cflags__fno_omit_frame_pointer=no
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 CFLAGS=$ac_wine_try_cflags_saved
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14773 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14774 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14775 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14776 fi ;;
14777 esac
14779 case $host in
14780 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14781 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14782 if ${ac_cv_cflags__Wno_format+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -Wno-format"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__Wno_format=yes
14793 else
14794 ac_cv_cflags__Wno_format=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14801 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14802 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14803 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14804 fi ;;
14805 esac
14807 if test "x$enable_maintainer_mode" = "xyes"
14808 then
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14810 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14811 if ${ac_cv_cflags__Werror+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_wine_try_cflags_saved=$CFLAGS
14815 CFLAGS="$CFLAGS -Werror"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14818 int main(int argc, char **argv) { return 0; }
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_cflags__Werror=yes
14822 else
14823 ac_cv_cflags__Werror=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 CFLAGS=$ac_wine_try_cflags_saved
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14830 $as_echo "$ac_cv_cflags__Werror" >&6; }
14831 if test "x$ac_cv_cflags__Werror" = xyes; then :
14832 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14836 saved_CFLAGS="$CFLAGS"
14837 CFLAGS="$CFLAGS -Werror"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14839 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14840 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14847 main ()
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_compile "$LINENO"; then :
14855 ac_cv_have_ms_hook_prologue="yes"
14856 else
14857 ac_cv_have_ms_hook_prologue="no"
14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14862 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14863 CFLAGS="$saved_CFLAGS"
14864 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14865 then
14867 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14869 else
14870 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14877 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14878 if ${ac_cv_c_fortify_enabled+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 #include <string.h>
14885 main ()
14887 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14888 #error Fortify enabled
14889 #endif
14891 return 0;
14893 _ACEOF
14894 if ac_fn_c_try_compile "$LINENO"; then :
14895 ac_cv_c_fortify_enabled=no
14896 else
14897 ac_cv_c_fortify_enabled=yes
14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14902 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14903 if test "$ac_cv_c_fortify_enabled" = yes
14904 then
14905 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14910 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14911 if ${ac_cv_c_extern_prefix+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 extern int ac_test;
14918 main ()
14920 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 ac_cv_c_extern_prefix="yes"
14927 else
14928 ac_cv_c_extern_prefix="no"
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14934 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14936 case $host_cpu in
14937 *i[3456789]86*)
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14939 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14940 if ${ac_cv_c_stdcall_suffix+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 #ifndef _MSC_VER
14946 #define __stdcall __attribute__((__stdcall__))
14947 #endif
14948 int __stdcall ac_test(int i) { return i; }
14950 main ()
14952 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14954 return 0;
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_c_stdcall_suffix="yes"
14959 else
14960 ac_cv_c_stdcall_suffix="no"
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14966 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14967 *) ac_cv_c_stdcall_suffix="no" ;;
14968 esac
14971 if test "$ac_cv_c_extern_prefix" = "yes"
14972 then
14973 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14975 asm_name_prefix="_"
14976 else
14977 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14979 asm_name_prefix=""
14983 if test "$ac_cv_c_stdcall_suffix" = "yes"
14984 then
14985 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14987 else
14988 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14994 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14995 if ${ac_cv_asm_func_def+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15002 main ()
15004 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 ac_cv_asm_func_def=".def"
15011 else
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15016 main ()
15018 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15020 return 0;
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"; then :
15024 ac_cv_asm_func_def=".type @function"
15025 else
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15030 main ()
15032 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_asm_func_def=".type 2"
15039 else
15040 ac_cv_asm_func_def="unknown"
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15052 $as_echo "$ac_cv_asm_func_def" >&6; }
15055 case "$ac_cv_asm_func_def" in
15056 ".def")
15057 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15059 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15060 ".type @function")
15061 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15063 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15064 ".type 2")
15065 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15067 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15069 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15071 asm_func_header="" ;;
15072 esac
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15075 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15076 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 asm(".text\n\t.long 0");
15083 main ()
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_compile "$LINENO"; then :
15091 ac_cv_c_asm_outside_funcs="yes"
15092 else
15093 ac_cv_c_asm_outside_funcs="no"
15095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15098 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15101 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15102 if ${ac_cv_c_dot_previous+:} false; then :
15103 $as_echo_n "(cached) " >&6
15104 else
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15109 main ()
15111 asm(".text\nac_test:\t.long 0\n\t.previous");
15113 return 0;
15115 _ACEOF
15116 if ac_fn_c_try_link "$LINENO"; then :
15117 ac_cv_c_dot_previous="yes"
15118 else
15119 ac_cv_c_dot_previous="no"
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext conftest.$ac_ext
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15125 $as_echo "$ac_cv_c_dot_previous" >&6; }
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15128 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15129 if ${ac_cv_c_cfi_support+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15136 main ()
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_compile "$LINENO"; then :
15144 ac_cv_c_cfi_support="yes"
15145 else
15146 ac_cv_c_cfi_support="no"
15148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15151 $as_echo "$ac_cv_c_cfi_support" >&6; }
15153 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15154 asm_func_trailer=""
15155 if test "$ac_cv_c_dot_previous" = "yes"
15156 then
15157 asm_func_trailer="\\n\\t.previous"
15159 if test "$ac_cv_c_cfi_support" = "yes"
15160 then
15161 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15162 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15164 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15166 UNWINDFLAGS=-fasynchronous-unwind-tables
15168 else
15169 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15171 if test "x$enable_win64" = "xyes"
15172 then
15173 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15177 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15180 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15181 then
15182 cat >>confdefs.h <<_ACEOF
15183 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15184 _ACEOF
15186 else
15187 cat >>confdefs.h <<_ACEOF
15188 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15189 _ACEOF
15193 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15196 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15200 case $build_os in
15201 cygwin*|mingw32*) TOOLSEXT=".exe"
15203 esac
15205 case $host_os in
15206 linux-android*) ;;
15207 linux*)
15208 case $host_cpu in
15209 *i[3456789]86*|x86_64*)
15210 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15211 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15213 esac
15215 esac
15218 ac_save_CFLAGS="$CFLAGS"
15219 CFLAGS="$CFLAGS $BUILTINFLAG"
15220 for ac_func in \
15221 __res_get_state \
15222 __res_getservers \
15223 _finite \
15224 _isnan \
15225 _pclose \
15226 _popen \
15227 _snprintf \
15228 _spawnvp \
15229 _strdup \
15230 _stricmp \
15231 _strnicmp \
15232 _strtoi64 \
15233 _strtoui64 \
15234 _vsnprintf \
15235 asctime_r \
15236 chsize \
15237 dlopen \
15238 epoll_create \
15239 ffs \
15240 finitef \
15241 fnmatch \
15242 fork \
15243 fpclass \
15244 fstatfs \
15245 fstatvfs \
15246 ftruncate \
15247 futimens \
15248 futimes \
15249 futimesat \
15250 getattrlist \
15251 getopt_long_only \
15252 getpwuid \
15253 gettimeofday \
15254 getuid \
15255 if_nameindex \
15256 isnanf \
15257 kqueue \
15258 lstat \
15259 memmove \
15260 mmap \
15261 pclose \
15262 pipe2 \
15263 poll \
15264 popen \
15265 port_create \
15266 prctl \
15267 pread \
15268 proc_pidinfo \
15269 pwrite \
15270 readdir \
15271 readlink \
15272 sched_yield \
15273 select \
15274 setproctitle \
15275 setprogname \
15276 setrlimit \
15277 settimeofday \
15278 sigaltstack \
15279 sigprocmask \
15280 snprintf \
15281 statfs \
15282 statvfs \
15283 strcasecmp \
15284 strdup \
15285 strerror \
15286 strncasecmp \
15287 strtold \
15288 strtoll \
15289 strtoull \
15290 symlink \
15291 sysinfo \
15292 tcdrain \
15293 thr_kill2 \
15294 timegm \
15295 usleep \
15296 vsnprintf
15298 do :
15299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15302 cat >>confdefs.h <<_ACEOF
15303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15304 _ACEOF
15307 done
15309 CFLAGS="$ac_save_CFLAGS"
15311 if test "$ac_cv_func_dlopen" = no
15312 then
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15314 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15315 if ${ac_cv_lib_dl_dlopen+:} false; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15318 ac_check_lib_save_LIBS=$LIBS
15319 LIBS="-ldl $LIBS"
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15323 /* Override any GCC internal prototype to avoid an error.
15324 Use char because int might match the return type of a GCC
15325 builtin and then its argument prototype would still apply. */
15326 #ifdef __cplusplus
15327 extern "C"
15328 #endif
15329 char dlopen ();
15331 main ()
15333 return dlopen ();
15335 return 0;
15337 _ACEOF
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 ac_cv_lib_dl_dlopen=yes
15340 else
15341 ac_cv_lib_dl_dlopen=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15345 LIBS=$ac_check_lib_save_LIBS
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15348 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15349 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15350 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15351 DL_LIBS="-ldl"
15356 ac_wine_check_funcs_save_LIBS="$LIBS"
15357 LIBS="$LIBS $DL_LIBS"
15358 for ac_func in dladdr
15359 do :
15360 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15361 if test "x$ac_cv_func_dladdr" = xyes; then :
15362 cat >>confdefs.h <<_ACEOF
15363 #define HAVE_DLADDR 1
15364 _ACEOF
15367 done
15369 LIBS="$ac_wine_check_funcs_save_LIBS"
15371 if test "$ac_cv_func_poll" = no
15372 then
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15374 $as_echo_n "checking for poll in -lpoll... " >&6; }
15375 if ${ac_cv_lib_poll_poll+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 ac_check_lib_save_LIBS=$LIBS
15379 LIBS="-lpoll $LIBS"
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15386 #ifdef __cplusplus
15387 extern "C"
15388 #endif
15389 char poll ();
15391 main ()
15393 return poll ();
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_link "$LINENO"; then :
15399 ac_cv_lib_poll_poll=yes
15400 else
15401 ac_cv_lib_poll_poll=no
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext conftest.$ac_ext
15405 LIBS=$ac_check_lib_save_LIBS
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15408 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15409 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15410 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15411 POLL_LIBS="-lpoll"
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15418 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15419 if ${ac_cv_search_gethostbyname+:} false; then :
15420 $as_echo_n "(cached) " >&6
15421 else
15422 ac_func_search_save_LIBS=$LIBS
15423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15424 /* end confdefs.h. */
15426 /* Override any GCC internal prototype to avoid an error.
15427 Use char because int might match the return type of a GCC
15428 builtin and then its argument prototype would still apply. */
15429 #ifdef __cplusplus
15430 extern "C"
15431 #endif
15432 char gethostbyname ();
15434 main ()
15436 return gethostbyname ();
15438 return 0;
15440 _ACEOF
15441 for ac_lib in '' nsl; do
15442 if test -z "$ac_lib"; then
15443 ac_res="none required"
15444 else
15445 ac_res=-l$ac_lib
15446 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 ac_cv_search_gethostbyname=$ac_res
15451 rm -f core conftest.err conftest.$ac_objext \
15452 conftest$ac_exeext
15453 if ${ac_cv_search_gethostbyname+:} false; then :
15454 break
15456 done
15457 if ${ac_cv_search_gethostbyname+:} false; then :
15459 else
15460 ac_cv_search_gethostbyname=no
15462 rm conftest.$ac_ext
15463 LIBS=$ac_func_search_save_LIBS
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15466 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15467 ac_res=$ac_cv_search_gethostbyname
15468 if test "$ac_res" != no; then :
15469 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15475 $as_echo_n "checking for library containing connect... " >&6; }
15476 if ${ac_cv_search_connect+:} false; then :
15477 $as_echo_n "(cached) " >&6
15478 else
15479 ac_func_search_save_LIBS=$LIBS
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 #ifdef __cplusplus
15487 extern "C"
15488 #endif
15489 char connect ();
15491 main ()
15493 return connect ();
15495 return 0;
15497 _ACEOF
15498 for ac_lib in '' socket; do
15499 if test -z "$ac_lib"; then
15500 ac_res="none required"
15501 else
15502 ac_res=-l$ac_lib
15503 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15505 if ac_fn_c_try_link "$LINENO"; then :
15506 ac_cv_search_connect=$ac_res
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext
15510 if ${ac_cv_search_connect+:} false; then :
15511 break
15513 done
15514 if ${ac_cv_search_connect+:} false; then :
15516 else
15517 ac_cv_search_connect=no
15519 rm conftest.$ac_ext
15520 LIBS=$ac_func_search_save_LIBS
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15523 $as_echo "$ac_cv_search_connect" >&6; }
15524 ac_res=$ac_cv_search_connect
15525 if test "$ac_res" != no; then :
15526 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15532 $as_echo_n "checking for library containing inet_aton... " >&6; }
15533 if ${ac_cv_search_inet_aton+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 ac_func_search_save_LIBS=$LIBS
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15543 #ifdef __cplusplus
15544 extern "C"
15545 #endif
15546 char inet_aton ();
15548 main ()
15550 return inet_aton ();
15552 return 0;
15554 _ACEOF
15555 for ac_lib in '' resolv; do
15556 if test -z "$ac_lib"; then
15557 ac_res="none required"
15558 else
15559 ac_res=-l$ac_lib
15560 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 ac_cv_search_inet_aton=$ac_res
15565 rm -f core conftest.err conftest.$ac_objext \
15566 conftest$ac_exeext
15567 if ${ac_cv_search_inet_aton+:} false; then :
15568 break
15570 done
15571 if ${ac_cv_search_inet_aton+:} false; then :
15573 else
15574 ac_cv_search_inet_aton=no
15576 rm conftest.$ac_ext
15577 LIBS=$ac_func_search_save_LIBS
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15580 $as_echo "$ac_cv_search_inet_aton" >&6; }
15581 ac_res=$ac_cv_search_inet_aton
15582 if test "$ac_res" != no; then :
15583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15588 for ac_func in \
15589 getaddrinfo \
15590 getnameinfo \
15591 getnetbyname \
15592 getprotobyname \
15593 getprotobynumber \
15594 getservbyport \
15595 inet_addr \
15596 inet_network \
15597 inet_ntop \
15598 inet_pton \
15599 sendmsg \
15600 socketpair \
15602 do :
15603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15608 _ACEOF
15611 done
15614 ac_save_LIBS=$LIBS
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15616 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15617 if ${ac_cv_search_clock_gettime+:} false; then :
15618 $as_echo_n "(cached) " >&6
15619 else
15620 ac_func_search_save_LIBS=$LIBS
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15624 /* Override any GCC internal prototype to avoid an error.
15625 Use char because int might match the return type of a GCC
15626 builtin and then its argument prototype would still apply. */
15627 #ifdef __cplusplus
15628 extern "C"
15629 #endif
15630 char clock_gettime ();
15632 main ()
15634 return clock_gettime ();
15636 return 0;
15638 _ACEOF
15639 for ac_lib in '' rt; do
15640 if test -z "$ac_lib"; then
15641 ac_res="none required"
15642 else
15643 ac_res=-l$ac_lib
15644 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 ac_cv_search_clock_gettime=$ac_res
15649 rm -f core conftest.err conftest.$ac_objext \
15650 conftest$ac_exeext
15651 if ${ac_cv_search_clock_gettime+:} false; then :
15652 break
15654 done
15655 if ${ac_cv_search_clock_gettime+:} false; then :
15657 else
15658 ac_cv_search_clock_gettime=no
15660 rm conftest.$ac_ext
15661 LIBS=$ac_func_search_save_LIBS
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15664 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15665 ac_res=$ac_cv_search_clock_gettime
15666 if test "$ac_res" != no; then :
15667 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15669 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15671 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15675 LIBS=$ac_save_LIBS
15677 LDAP_LIBS=""
15679 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15680 then
15681 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15683 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15685 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15686 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 ac_check_lib_save_LIBS=$LIBS
15690 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15697 #ifdef __cplusplus
15698 extern "C"
15699 #endif
15700 char ldap_initialize ();
15702 main ()
15704 return ldap_initialize ();
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_link "$LINENO"; then :
15710 ac_cv_lib_ldap_r_ldap_initialize=yes
15711 else
15712 ac_cv_lib_ldap_r_ldap_initialize=no
15714 rm -f core conftest.err conftest.$ac_objext \
15715 conftest$ac_exeext conftest.$ac_ext
15716 LIBS=$ac_check_lib_save_LIBS
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15719 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15720 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15722 $as_echo_n "checking for ber_init in -llber... " >&6; }
15723 if ${ac_cv_lib_lber_ber_init+:} false; then :
15724 $as_echo_n "(cached) " >&6
15725 else
15726 ac_check_lib_save_LIBS=$LIBS
15727 LIBS="-llber $PTHREAD_LIBS $LIBS"
15728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15729 /* end confdefs.h. */
15731 /* Override any GCC internal prototype to avoid an error.
15732 Use char because int might match the return type of a GCC
15733 builtin and then its argument prototype would still apply. */
15734 #ifdef __cplusplus
15735 extern "C"
15736 #endif
15737 char ber_init ();
15739 main ()
15741 return ber_init ();
15743 return 0;
15745 _ACEOF
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_lib_lber_ber_init=yes
15748 else
15749 ac_cv_lib_lber_ber_init=no
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15753 LIBS=$ac_check_lib_save_LIBS
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15756 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15757 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15759 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15761 LDAP_LIBS="-lldap_r -llber"
15768 ac_wine_check_funcs_save_LIBS="$LIBS"
15769 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15770 for ac_func in \
15771 ldap_count_references \
15772 ldap_first_reference \
15773 ldap_next_reference \
15774 ldap_parse_reference \
15775 ldap_parse_sort_control \
15776 ldap_parse_sortresponse_control \
15777 ldap_parse_vlv_control \
15778 ldap_parse_vlvresponse_control
15779 do :
15780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15782 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15785 _ACEOF
15788 done
15790 LIBS="$ac_wine_check_funcs_save_LIBS"
15792 if test "x$LDAP_LIBS" = "x"; then :
15793 case "x$with_ldap" in
15794 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15795 xno) ;;
15796 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15797 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15798 esac
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15803 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15804 if ${wine_cv_one_arg_mkdir+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #include <sys/stat.h>
15811 main ()
15813 mkdir("foo");
15815 return 0;
15817 _ACEOF
15818 if ac_fn_c_try_compile "$LINENO"; then :
15819 wine_cv_one_arg_mkdir=yes
15820 else
15821 wine_cv_one_arg_mkdir=no
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15826 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15827 if test "$wine_cv_one_arg_mkdir" = "yes"
15828 then
15830 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15835 $as_echo_n "checking for sched_setaffinity... " >&6; }
15836 if ${wine_cv_have_sched_setaffinity+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #define _GNU_SOURCE
15842 #include <sched.h>
15844 main ()
15846 sched_setaffinity(0, 0, 0);
15848 return 0;
15850 _ACEOF
15851 if ac_fn_c_try_link "$LINENO"; then :
15852 wine_cv_have_sched_setaffinity=yes
15853 else
15854 wine_cv_have_sched_setaffinity=no
15856 rm -f core conftest.err conftest.$ac_objext \
15857 conftest$ac_exeext conftest.$ac_ext
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15860 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15861 if test "$wine_cv_have_sched_setaffinity" = "yes"
15862 then
15864 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15869 $as_echo_n "checking for fallocate... " >&6; }
15870 if ${wine_cv_have_fallocate+:} false; then :
15871 $as_echo_n "(cached) " >&6
15872 else
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15875 #define _GNU_SOURCE
15876 #include <fcntl.h>
15878 main ()
15880 fallocate(-1, 0, 0, 0);
15882 return 0;
15884 _ACEOF
15885 if ac_fn_c_try_link "$LINENO"; then :
15886 wine_cv_have_fallocate=yes
15887 else
15888 wine_cv_have_fallocate=no
15890 rm -f core conftest.err conftest.$ac_objext \
15891 conftest$ac_exeext conftest.$ac_ext
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15894 $as_echo "$wine_cv_have_fallocate" >&6; }
15895 if test "$wine_cv_have_fallocate" = "yes"
15896 then
15898 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15904 $as_echo_n "checking for inline... " >&6; }
15905 if ${ac_cv_c_inline+:} false; then :
15906 $as_echo_n "(cached) " >&6
15907 else
15908 ac_cv_c_inline=no
15909 for ac_kw in inline __inline__ __inline; do
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15912 #ifndef __cplusplus
15913 typedef int foo_t;
15914 static $ac_kw foo_t static_foo () {return 0; }
15915 $ac_kw foo_t foo () {return 0; }
15916 #endif
15918 _ACEOF
15919 if ac_fn_c_try_compile "$LINENO"; then :
15920 ac_cv_c_inline=$ac_kw
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 test "$ac_cv_c_inline" != no && break
15924 done
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15928 $as_echo "$ac_cv_c_inline" >&6; }
15930 case $ac_cv_c_inline in
15931 inline | yes) ;;
15933 case $ac_cv_c_inline in
15934 no) ac_val=;;
15935 *) ac_val=$ac_cv_c_inline;;
15936 esac
15937 cat >>confdefs.h <<_ACEOF
15938 #ifndef __cplusplus
15939 #define inline $ac_val
15940 #endif
15941 _ACEOF
15943 esac
15945 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15946 if test "x$ac_cv_type_mode_t" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_MODE_T 1
15950 _ACEOF
15954 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_off_t" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_OFF_T 1
15959 _ACEOF
15963 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15964 if test "x$ac_cv_type_pid_t" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_PID_T 1
15968 _ACEOF
15972 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15973 if test "x$ac_cv_type_size_t" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_SIZE_T 1
15977 _ACEOF
15981 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15982 if test "x$ac_cv_type_ssize_t" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_SSIZE_T 1
15986 _ACEOF
15990 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15991 if test "x$ac_cv_type_long_long" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_LONG_LONG 1
15995 _ACEOF
15999 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16000 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_FSBLKCNT_T 1
16004 _ACEOF
16008 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16009 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_FSFILCNT_T 1
16013 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16019 #include <signal.h>
16021 if test "x$ac_cv_type_sigset_t" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_SIGSET_T 1
16025 _ACEOF
16030 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16032 if test "x$ac_cv_type_request_sense" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_REQUEST_SENSE 1
16036 _ACEOF
16042 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16043 #ifdef HAVE_SYS_SOCKET_H
16044 #include <sys/socket.h>
16045 #endif
16046 #ifdef HAVE_SYS_SOCKETVAR_H
16047 #include <sys/socketvar.h>
16048 #endif
16049 #ifdef HAVE_NET_ROUTE_H
16050 #include <net/route.h>
16051 #endif
16052 #ifdef HAVE_NETINET_IN_H
16053 #include <netinet/in.h>
16054 #endif
16055 #ifdef HAVE_NETINET_IN_SYSTM_H
16056 #include <netinet/in_systm.h>
16057 #endif
16058 #ifdef HAVE_NETINET_IP_H
16059 #include <netinet/ip.h>
16060 #endif
16061 #ifdef HAVE_NETINET_IN_PCB_H
16062 #include <netinet/in_pcb.h>
16063 #endif
16065 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_XINPGEN 1
16069 _ACEOF
16075 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16076 #include <link.h>
16077 #endif
16078 #ifdef HAVE_SYS_LINK_H
16079 #include <sys/link.h>
16080 #endif
16082 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_R_DEBUG 1
16086 _ACEOF
16090 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16091 #include <link.h>
16092 #endif
16093 #ifdef HAVE_SYS_LINK_H
16094 #include <sys/link.h>
16095 #endif
16097 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_LINK_MAP 1
16101 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16108 #include <linux/input.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16115 _ACEOF
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16122 $as_echo_n "checking for sigaddset... " >&6; }
16123 if ${wine_cv_have_sigaddset+:} false; then :
16124 $as_echo_n "(cached) " >&6
16125 else
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 #include <signal.h>
16130 main ()
16132 sigset_t set; sigaddset(&set,SIGTERM);
16134 return 0;
16136 _ACEOF
16137 if ac_fn_c_try_link "$LINENO"; then :
16138 wine_cv_have_sigaddset=yes
16139 else
16140 wine_cv_have_sigaddset=no
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext conftest.$ac_ext
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16146 $as_echo "$wine_cv_have_sigaddset" >&6; }
16147 if test "$wine_cv_have_sigaddset" = "yes"
16148 then
16150 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16156 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16157 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16162 #include <netdb.h>
16164 main ()
16167 char *name=0;
16168 struct hostent he;
16169 struct hostent *result;
16170 char *buf=0;
16171 int bufsize=0;
16172 int errnr;
16173 char *addr=0;
16174 int addrlen=0;
16175 int addrtype=0;
16176 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16177 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16180 return 0;
16182 _ACEOF
16183 if ac_fn_c_try_link "$LINENO"; then :
16184 wine_cv_linux_gethostbyname_r_6=yes
16185 else
16186 wine_cv_linux_gethostbyname_r_6=no
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext conftest.$ac_ext
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16194 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16195 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16196 then
16198 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16202 if test "$ac_cv_header_linux_joystick_h" = "yes"
16203 then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16205 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16206 if ${wine_cv_linux_joystick_22_api+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 #include <sys/ioctl.h>
16213 #include <sys/types.h>
16214 #include <linux/joystick.h>
16216 struct js_event blub;
16217 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16218 #error "no 2.2 header"
16219 #endif
16222 main ()
16224 /*empty*/
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_compile "$LINENO"; then :
16230 wine_cv_linux_joystick_22_api=yes
16231 else
16232 wine_cv_linux_joystick_22_api=no
16234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16238 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16239 if test "$wine_cv_linux_joystick_22_api" = "yes"
16240 then
16242 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16248 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16249 #ifdef HAVE_SYS_PARAM_H
16250 # include <sys/param.h>
16251 #endif
16252 #ifdef HAVE_SYS_MOUNT_H
16253 # include <sys/mount.h>
16254 #endif
16255 #ifdef HAVE_SYS_VFS_H
16256 # include <sys/vfs.h>
16257 #endif
16258 #ifdef HAVE_SYS_STATFS_H
16259 # include <sys/statfs.h>
16260 #endif
16262 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_STRUCT_STATFS_F_BFREE 1
16266 _ACEOF
16270 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_PARAM_H
16272 # include <sys/param.h>
16273 #endif
16274 #ifdef HAVE_SYS_MOUNT_H
16275 # include <sys/mount.h>
16276 #endif
16277 #ifdef HAVE_SYS_VFS_H
16278 # include <sys/vfs.h>
16279 #endif
16280 #ifdef HAVE_SYS_STATFS_H
16281 # include <sys/statfs.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16288 _ACEOF
16292 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16293 #ifdef HAVE_SYS_PARAM_H
16294 # include <sys/param.h>
16295 #endif
16296 #ifdef HAVE_SYS_MOUNT_H
16297 # include <sys/mount.h>
16298 #endif
16299 #ifdef HAVE_SYS_VFS_H
16300 # include <sys/vfs.h>
16301 #endif
16302 #ifdef HAVE_SYS_STATFS_H
16303 # include <sys/statfs.h>
16304 #endif
16306 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16310 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16315 #ifdef HAVE_SYS_PARAM_H
16316 # include <sys/param.h>
16317 #endif
16318 #ifdef HAVE_SYS_MOUNT_H
16319 # include <sys/mount.h>
16320 #endif
16321 #ifdef HAVE_SYS_VFS_H
16322 # include <sys/vfs.h>
16323 #endif
16324 #ifdef HAVE_SYS_STATFS_H
16325 # include <sys/statfs.h>
16326 #endif
16328 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_STATFS_F_FFREE 1
16332 _ACEOF
16336 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16337 #ifdef HAVE_SYS_PARAM_H
16338 # include <sys/param.h>
16339 #endif
16340 #ifdef HAVE_SYS_MOUNT_H
16341 # include <sys/mount.h>
16342 #endif
16343 #ifdef HAVE_SYS_VFS_H
16344 # include <sys/vfs.h>
16345 #endif
16346 #ifdef HAVE_SYS_STATFS_H
16347 # include <sys/statfs.h>
16348 #endif
16350 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16354 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_PARAM_H
16360 # include <sys/param.h>
16361 #endif
16362 #ifdef HAVE_SYS_MOUNT_H
16363 # include <sys/mount.h>
16364 #endif
16365 #ifdef HAVE_SYS_VFS_H
16366 # include <sys/vfs.h>
16367 #endif
16368 #ifdef HAVE_SYS_STATFS_H
16369 # include <sys/statfs.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16376 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16383 #include <sys/statvfs.h>
16384 #endif
16386 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16390 _ACEOF
16396 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16397 #include <dirent.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16404 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16411 #ifdef HAVE_SYS_SOCKET_H
16412 # include <sys/socket.h>
16413 #endif
16414 #ifdef HAVE_SYS_UN_H
16415 # include <sys/un.h>
16416 #endif
16418 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16422 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16427 #ifdef HAVE_SYS_SOCKET_H
16428 # include <sys/socket.h>
16429 #endif
16430 #ifdef HAVE_SYS_UN_H
16431 # include <sys/un.h>
16432 #endif
16434 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16438 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_SOCKET_H
16444 # include <sys/socket.h>
16445 #endif
16446 #ifdef HAVE_SYS_UN_H
16447 # include <sys/un.h>
16448 #endif
16450 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16454 _ACEOF
16460 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16461 #ifdef HAVE_SCSI_SG_H
16462 #include <scsi/sg.h>
16463 #endif
16465 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_SCSIREQ_T_CMD 1
16469 _ACEOF
16473 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>
16474 #ifdef HAVE_SCSI_SG_H
16475 #include <scsi/sg.h>
16476 #endif
16478 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16482 _ACEOF
16488 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16490 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_SIGINFO_T_SI_FD 1
16494 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16501 #ifdef HAVE_SYS_MTIO_H
16502 #include <sys/mtio.h>
16503 #endif
16505 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16509 _ACEOF
16513 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16514 #ifdef HAVE_SYS_MTIO_H
16515 #include <sys/mtio.h>
16516 #endif
16518 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16522 _ACEOF
16526 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16527 #ifdef HAVE_SYS_MTIO_H
16528 #include <sys/mtio.h>
16529 #endif
16531 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16535 _ACEOF
16541 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16542 #include <getopt.h>
16543 #endif
16545 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_STRUCT_OPTION_NAME 1
16549 _ACEOF
16555 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16556 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16560 _ACEOF
16564 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16565 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_STRUCT_STAT_ST_MTIM 1
16569 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16574 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16578 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16583 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_STRUCT_STAT_ST_CTIM 1
16587 _ACEOF
16591 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16592 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16596 _ACEOF
16600 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16601 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_STAT_ST_ATIM 1
16605 _ACEOF
16609 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16623 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16641 _ACEOF
16645 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16646 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16650 _ACEOF
16654 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16655 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16659 _ACEOF
16665 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
16666 #include <sys/types.h>
16667 #endif
16668 #ifdef HAVE_NETINET_IN_H
16669 #include <netinet/in.h>
16670 #endif
16672 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16676 _ACEOF
16682 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16683 #include <resolv.h>
16684 #endif
16686 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_STRUCT___RES_STATE 1
16690 _ACEOF
16696 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
16697 #include <resolv.h>
16698 #endif
16700 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16704 _ACEOF
16710 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16711 #include <sys/types.h>
16712 #endif
16713 #ifdef HAVE_NETINET_IN_H
16714 # include <netinet/in.h>
16715 #endif
16716 #ifdef HAVE_ARPA_NAMESER_H
16717 # include <arpa/nameser.h>
16718 #endif
16720 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_NS_MSG__MSG_PTR 1
16724 _ACEOF
16730 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16731 #include <sys/types.h>
16732 #endif
16733 #ifdef HAVE_NETINET_IP_H
16734 #include <netinet/ip.h>
16735 #endif
16736 #ifdef HAVE_NETINET_IP_ICMP_H
16737 #include <netinet/ip_icmp.h>
16738 #endif
16739 #ifdef HAVE_NETINET_ICMP_VAR_H
16740 #include <netinet/icmp_var.h>
16741 #endif
16743 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16747 _ACEOF
16753 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16754 #include <sys/types.h>
16755 #endif
16756 #ifdef HAVE_ALIAS_H
16757 #include <alias.h>
16758 #endif
16759 #ifdef HAVE_SYS_SOCKET_H
16760 #include <sys/socket.h>
16761 #endif
16762 #ifdef HAVE_SYS_SOCKETVAR_H
16763 #include <sys/socketvar.h>
16764 #endif
16765 #ifdef HAVE_SYS_TIMEOUT_H
16766 #include <sys/timeout.h>
16767 #endif
16768 #ifdef HAVE_NETINET_IN_H
16769 #include <netinet/in.h>
16770 #endif
16771 #ifdef HAVE_NETINET_IN_SYSTM_H
16772 #include <netinet/in_systm.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IP_H
16775 #include <netinet/ip.h>
16776 #endif
16777 #ifdef HAVE_NETINET_IP_VAR_H
16778 #include <netinet/ip_var.h>
16779 #endif
16780 #ifdef HAVE_NETINET_IP_ICMP_H
16781 #include <netinet/ip_icmp.h>
16782 #endif
16783 #ifdef HAVE_NETINET_ICMP_VAR_H
16784 #include <netinet/icmp_var.h>
16785 #endif
16787 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16789 cat >>confdefs.h <<_ACEOF
16790 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16791 _ACEOF
16797 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16798 #include <sys/types.h>
16799 #endif
16800 #ifdef HAVE_SYS_SOCKETVAR_H
16801 #include <sys/socketvar.h>
16802 #endif
16803 #ifdef HAVE_NETINET_IN_H
16804 #include <netinet/in.h>
16805 #endif
16806 #ifdef HAVE_NETINET_IP_VAR_H
16807 #include <netinet/ip_var.h>
16808 #endif
16810 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16812 cat >>confdefs.h <<_ACEOF
16813 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16814 _ACEOF
16820 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
16821 #include <netinet/ip_var.h>
16822 #endif
16824 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16826 cat >>confdefs.h <<_ACEOF
16827 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16828 _ACEOF
16834 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16835 #include <sys/types.h>
16836 #endif
16837 #ifdef HAVE_SYS_SOCKETVAR_H
16838 #include <sys/socketvar.h>
16839 #endif
16840 #ifdef HAVE_NETINET_IN_H
16841 #include <netinet/in.h>
16842 #endif
16843 #ifdef HAVE_NETINET_TCP_H
16844 #include <netinet/tcp.h>
16845 #endif
16846 #ifdef HAVE_NETINET_TCP_VAR_H
16847 #include <netinet/tcp_var.h>
16848 #endif
16850 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16854 _ACEOF
16860 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
16861 #include <netinet/tcp_var.h>
16862 #endif
16864 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16866 cat >>confdefs.h <<_ACEOF
16867 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16868 _ACEOF
16874 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16875 #include <sys/types.h>
16876 #endif
16877 #ifdef HAVE_NETINET_IN_H
16878 #include <netinet/in.h>
16879 #endif
16880 #ifdef HAVE_NETINET_IP_VAR_H
16881 #include <netinet/ip_var.h>
16882 #endif
16883 #ifdef HAVE_NETINET_UDP_H
16884 #include <netinet/udp.h>
16885 #endif
16886 #ifdef HAVE_NETINET_UDP_VAR_H
16887 #include <netinet/udp_var.h>
16888 #endif
16890 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16892 cat >>confdefs.h <<_ACEOF
16893 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16894 _ACEOF
16900 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16901 #include <sys/types.h>
16902 #endif
16903 #ifdef HAVE_NET_IF_H
16904 # include <net/if.h>
16905 #endif
16907 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16909 cat >>confdefs.h <<_ACEOF
16910 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16911 _ACEOF
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16918 $as_echo_n "checking for timezone variable... " >&6; }
16919 if ${ac_cv_have_timezone+:} false; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <time.h>
16926 main ()
16928 timezone = 1
16930 return 0;
16932 _ACEOF
16933 if ac_fn_c_try_link "$LINENO"; then :
16934 ac_cv_have_timezone="yes"
16935 else
16936 ac_cv_have_timezone="no"
16938 rm -f core conftest.err conftest.$ac_objext \
16939 conftest$ac_exeext conftest.$ac_ext
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16942 $as_echo "$ac_cv_have_timezone" >&6; }
16943 if test "$ac_cv_have_timezone" = "yes"
16944 then
16946 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16950 $as_echo_n "checking for daylight variable... " >&6; }
16951 if ${ac_cv_have_daylight+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 #include <time.h>
16958 main ()
16960 daylight = 1
16962 return 0;
16964 _ACEOF
16965 if ac_fn_c_try_link "$LINENO"; then :
16966 ac_cv_have_daylight="yes"
16967 else
16968 ac_cv_have_daylight="no"
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16974 $as_echo "$ac_cv_have_daylight" >&6; }
16975 if test "$ac_cv_have_daylight" = "yes"
16976 then
16978 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16982 ac_save_LIBS="$LIBS"
16983 LIBS="$LIBS -lm"
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16985 $as_echo_n "checking for isfinite... " >&6; }
16986 if ${ac_cv_have_isfinite+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #define _GNU_SOURCE
16992 #include <math.h>
16994 main ()
16996 float f = 0.0; return isfinite(f)
16998 return 0;
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_have_isfinite="yes"
17003 else
17004 ac_cv_have_isfinite="no"
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17010 $as_echo "$ac_cv_have_isfinite" >&6; }
17011 if test "$ac_cv_have_isfinite" = "yes"
17012 then
17014 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17019 $as_echo_n "checking for isinf... " >&6; }
17020 if ${ac_cv_have_isinf+:} false; then :
17021 $as_echo_n "(cached) " >&6
17022 else
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 #include <math.h>
17027 main ()
17029 float f = 0.0; return isinf(f)
17031 return 0;
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035 ac_cv_have_isinf="yes"
17036 else
17037 ac_cv_have_isinf="no"
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17043 $as_echo "$ac_cv_have_isinf" >&6; }
17044 if test "$ac_cv_have_isinf" = "yes"
17045 then
17047 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17052 $as_echo_n "checking for isnan... " >&6; }
17053 if ${ac_cv_have_isnan+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #include <math.h>
17060 main ()
17062 float f = 0.0; return isnan(f)
17064 return 0;
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_have_isnan="yes"
17069 else
17070 ac_cv_have_isnan="no"
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17076 $as_echo "$ac_cv_have_isnan" >&6; }
17077 if test "$ac_cv_have_isnan" = "yes"
17078 then
17080 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17084 for ac_func in \
17085 asinh \
17086 asinhf \
17087 cbrt \
17088 cbrtf \
17089 erf \
17090 erff \
17091 exp2 \
17092 exp2f \
17093 lgamma \
17094 lgammaf \
17095 llrint \
17096 llrintf \
17097 llround \
17098 llroundf \
17099 log2 \
17100 log2f \
17101 lrint \
17102 lrintf \
17103 lround \
17104 lroundf \
17105 powl \
17106 remainder \
17107 remainderf \
17108 rint \
17109 rintf \
17110 round \
17111 roundf \
17112 trunc \
17113 truncf
17115 do :
17116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17119 cat >>confdefs.h <<_ACEOF
17120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17121 _ACEOF
17124 done
17126 LIBS="$ac_save_LIBS"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17129 $as_echo_n "checking for __builtin_clz... " >&6; }
17130 if ${ac_cv_have___builtin_clz+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17137 main ()
17139 return __builtin_clz(1)
17141 return 0;
17143 _ACEOF
17144 if ac_fn_c_try_link "$LINENO"; then :
17145 ac_cv_have___builtin_clz="yes"
17146 else
17147 ac_cv_have___builtin_clz="no"
17149 rm -f core conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17153 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17154 if test "$ac_cv_have___builtin_clz" = "yes"
17155 then
17157 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17162 $as_echo_n "checking for __builtin_popcount... " >&6; }
17163 if ${ac_cv_have___builtin_popcount+:} false; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17170 main ()
17172 return __builtin_popcount(1)
17174 return 0;
17176 _ACEOF
17177 if ac_fn_c_try_link "$LINENO"; then :
17178 ac_cv_have___builtin_popcount="yes"
17179 else
17180 ac_cv_have___builtin_popcount="no"
17182 rm -f core conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17186 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17187 if test "$ac_cv_have___builtin_popcount" = "yes"
17188 then
17190 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17195 case $host_cpu in
17196 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17197 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17198 if ${ac_cv_cpp_def___i386__+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 #ifndef __i386__
17205 #endif
17206 _ACEOF
17207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17208 $EGREP "yes" >/dev/null 2>&1; then :
17209 ac_cv_cpp_def___i386__=yes
17210 else
17211 ac_cv_cpp_def___i386__=no
17213 rm -f conftest*
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17217 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17218 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17219 CFLAGS="$CFLAGS -D__i386__"
17220 LINTFLAGS="$LINTFLAGS -D__i386__"
17221 fi ;;
17222 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17223 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17224 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #ifndef __x86_64__
17231 #endif
17232 _ACEOF
17233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17234 $EGREP "yes" >/dev/null 2>&1; then :
17235 ac_cv_cpp_def___x86_64__=yes
17236 else
17237 ac_cv_cpp_def___x86_64__=no
17239 rm -f conftest*
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17243 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17244 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17245 CFLAGS="$CFLAGS -D__x86_64__"
17246 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17247 fi ;;
17248 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17249 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17250 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #ifndef __sparc64__
17257 #endif
17258 _ACEOF
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev/null 2>&1; then :
17261 ac_cv_cpp_def___sparc64__=yes
17262 else
17263 ac_cv_cpp_def___sparc64__=no
17265 rm -f conftest*
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17269 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17270 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17271 CFLAGS="$CFLAGS -D__sparc64__"
17272 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17273 fi ;;
17274 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17275 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17276 if ${ac_cv_cpp_def___sparc__+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #ifndef __sparc__
17283 #endif
17284 _ACEOF
17285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17286 $EGREP "yes" >/dev/null 2>&1; then :
17287 ac_cv_cpp_def___sparc__=yes
17288 else
17289 ac_cv_cpp_def___sparc__=no
17291 rm -f conftest*
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17295 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17296 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17297 CFLAGS="$CFLAGS -D__sparc__"
17298 LINTFLAGS="$LINTFLAGS -D__sparc__"
17299 fi ;;
17300 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17301 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17302 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #ifndef __powerpc64__
17309 #endif
17310 _ACEOF
17311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17312 $EGREP "yes" >/dev/null 2>&1; then :
17313 ac_cv_cpp_def___powerpc64__=yes
17314 else
17315 ac_cv_cpp_def___powerpc64__=no
17317 rm -f conftest*
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17321 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17322 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17323 CFLAGS="$CFLAGS -D__powerpc64__"
17324 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17325 fi ;;
17326 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17327 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17328 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #ifndef __powerpc__
17335 #endif
17336 _ACEOF
17337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17338 $EGREP "yes" >/dev/null 2>&1; then :
17339 ac_cv_cpp_def___powerpc__=yes
17340 else
17341 ac_cv_cpp_def___powerpc__=no
17343 rm -f conftest*
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17347 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17348 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17349 CFLAGS="$CFLAGS -D__powerpc__"
17350 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17351 fi ;;
17352 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17353 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17354 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #ifndef __aarch64__
17361 #endif
17362 _ACEOF
17363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17364 $EGREP "yes" >/dev/null 2>&1; then :
17365 ac_cv_cpp_def___aarch64__=yes
17366 else
17367 ac_cv_cpp_def___aarch64__=no
17369 rm -f conftest*
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17373 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17374 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17375 CFLAGS="$CFLAGS -D__aarch64__"
17376 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17377 fi ;;
17378 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17379 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17380 if ${ac_cv_cpp_def___arm__+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #ifndef __arm__
17387 #endif
17388 _ACEOF
17389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17390 $EGREP "yes" >/dev/null 2>&1; then :
17391 ac_cv_cpp_def___arm__=yes
17392 else
17393 ac_cv_cpp_def___arm__=no
17395 rm -f conftest*
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17399 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17400 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17401 CFLAGS="$CFLAGS -D__arm__"
17402 LINTFLAGS="$LINTFLAGS -D__arm__"
17403 fi ;;
17404 esac
17406 case $host_vendor in
17407 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17408 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17409 if ${ac_cv_cpp_def___sun__+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #ifndef __sun__
17416 #endif
17417 _ACEOF
17418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17419 $EGREP "yes" >/dev/null 2>&1; then :
17420 ac_cv_cpp_def___sun__=yes
17421 else
17422 ac_cv_cpp_def___sun__=no
17424 rm -f conftest*
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17428 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17429 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17430 CFLAGS="$CFLAGS -D__sun__"
17431 LINTFLAGS="$LINTFLAGS -D__sun__"
17432 fi ;;
17433 esac
17439 ac_config_commands="$ac_config_commands include/stamp-h"
17441 $as_echo_n "creating Makefile rules..." >&6
17443 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17444 SOCKET_LIBS = $SOCKET_LIBS
17445 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17446 IOKIT_LIBS = $IOKIT_LIBS
17447 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17448 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17449 CORESERVICES_LIBS = $CORESERVICES_LIBS
17450 APPKIT_LIBS = $APPKIT_LIBS
17451 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17452 SECURITY_LIBS = $SECURITY_LIBS
17453 COREAUDIO_LIBS = $COREAUDIO_LIBS
17454 OPENAL_LIBS = $OPENAL_LIBS
17455 OPENCL_LIBS = $OPENCL_LIBS
17456 QUICKTIME_LIBS = $QUICKTIME_LIBS
17457 CARBON_LIBS = $CARBON_LIBS
17458 PTHREAD_LIBS = $PTHREAD_LIBS
17459 X_CFLAGS = $X_CFLAGS
17460 X_PRE_LIBS = $X_PRE_LIBS
17461 X_LIBS = $X_LIBS
17462 X_EXTRA_LIBS = $X_EXTRA_LIBS
17463 PCAP_LIBS = $PCAP_LIBS
17464 XML2_CFLAGS = $XML2_CFLAGS
17465 XML2_LIBS = $XML2_LIBS
17466 XSLT_CFLAGS = $XSLT_CFLAGS
17467 XSLT_LIBS = $XSLT_LIBS
17468 DBUS_CFLAGS = $DBUS_CFLAGS
17469 DBUS_LIBS = $DBUS_LIBS
17470 HAL_CFLAGS = $HAL_CFLAGS
17471 HAL_LIBS = $HAL_LIBS
17472 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17473 GNUTLS_LIBS = $GNUTLS_LIBS
17474 SANE_CFLAGS = $SANE_CFLAGS
17475 SANE_LIBS = $SANE_LIBS
17476 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17477 GPHOTO2_LIBS = $GPHOTO2_LIBS
17478 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17479 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17480 RESOLV_LIBS = $RESOLV_LIBS
17481 LCMS2_CFLAGS = $LCMS2_CFLAGS
17482 LCMS2_LIBS = $LCMS2_LIBS
17483 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17484 FREETYPE_LIBS = $FREETYPE_LIBS
17485 Z_LIBS = $Z_LIBS
17486 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17487 PULSE_CFLAGS = $PULSE_CFLAGS
17488 PULSE_LIBS = $PULSE_LIBS
17489 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17490 GSTREAMER_LIBS = $GSTREAMER_LIBS
17491 ALSA_LIBS = $ALSA_LIBS
17492 OSS4_CFLAGS = $OSS4_CFLAGS
17493 UDEV_CFLAGS = $UDEV_CFLAGS
17494 UDEV_LIBS = $UDEV_LIBS
17495 CAPI20_CFLAGS = $CAPI20_CFLAGS
17496 CAPI20_LIBS = $CAPI20_LIBS
17497 CUPS_CFLAGS = $CUPS_CFLAGS
17498 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17499 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17500 JPEG_CFLAGS = $JPEG_CFLAGS
17501 JPEG_LIBS = $JPEG_LIBS
17502 PNG_CFLAGS = $PNG_CFLAGS
17503 PNG_LIBS = $PNG_LIBS
17504 TIFF_CFLAGS = $TIFF_CFLAGS
17505 TIFF_LIBS = $TIFF_LIBS
17506 MPG123_CFLAGS = $MPG123_CFLAGS
17507 MPG123_LIBS = $MPG123_LIBS
17508 KSTAT_LIBS = $KSTAT_LIBS
17509 PROCSTAT_LIBS = $PROCSTAT_LIBS
17510 NETAPI_CFLAGS = $NETAPI_CFLAGS
17511 NETAPI_LIBS = $NETAPI_LIBS
17512 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17513 DL_LIBS = $DL_LIBS
17514 POLL_LIBS = $POLL_LIBS
17515 RT_LIBS = $RT_LIBS
17516 LDAP_LIBS = $LDAP_LIBS
17521 wine_fn_append_rule "
17522 # Rules automatically generated by configure
17524 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17526 .INIT: Makefile
17527 .MAKEFILEDEPS:
17528 all: Makefile
17529 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17530 @./config.status Make.tmp Makefile
17531 depend: \$(MAKEDEP) dummy
17532 \$(MAKEDEP)"
17534 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17535 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17537 if test "x$enable_fonts" != xno; then
17538 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17539 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17540 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17541 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17542 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17543 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17545 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17546 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17547 ac_config_links="$ac_config_links wine:tools/winewrapper"
17548 wine_fn_config_symlink wine
17549 if test "x$enable_win64" != xno; then
17550 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17551 wine_fn_config_symlink wine64
17554 wine_fn_config_dll acledit enable_acledit
17555 wine_fn_config_dll aclui enable_aclui implib
17556 wine_fn_config_dll activeds enable_activeds implib
17557 wine_fn_config_dll actxprxy enable_actxprxy clean
17558 wine_fn_config_lib adsiid
17559 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17560 wine_fn_config_test dlls/advapi32/tests advapi32_test
17561 wine_fn_config_dll advpack enable_advpack implib
17562 wine_fn_config_test dlls/advpack/tests advpack_test
17563 wine_fn_config_dll amstream enable_amstream clean
17564 wine_fn_config_test dlls/amstream/tests amstream_test
17565 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17574 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17582 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17583 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17588 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17589 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17590 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17600 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17607 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17609 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17610 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17611 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17618 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17621 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17630 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17642 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17649 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17669 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17691 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17692 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17695 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17696 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17697 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17698 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17699 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17700 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17701 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17702 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17704 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17705 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17706 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17707 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17708 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17710 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17711 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17712 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17713 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17714 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17715 wine_fn_config_dll apphelp enable_apphelp
17716 wine_fn_config_test dlls/apphelp/tests apphelp_test
17717 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17718 wine_fn_config_dll atl enable_atl clean,implib
17719 wine_fn_config_test dlls/atl/tests atl_test
17720 wine_fn_config_dll atl100 enable_atl100 clean,implib
17721 wine_fn_config_test dlls/atl100/tests atl100_test
17722 wine_fn_config_dll atl110 enable_atl110 clean
17723 wine_fn_config_dll atl80 enable_atl80 clean,implib
17724 wine_fn_config_test dlls/atl80/tests atl80_test
17725 wine_fn_config_dll atl90 enable_atl90 clean
17726 wine_fn_config_dll authz enable_authz
17727 wine_fn_config_dll avicap32 enable_avicap32 implib
17728 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17729 wine_fn_config_test dlls/avifil32/tests avifil32_test
17730 wine_fn_config_dll avifile.dll16 enable_win16
17731 wine_fn_config_dll avrt enable_avrt implib
17732 wine_fn_config_dll bcrypt enable_bcrypt implib
17733 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17734 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17735 wine_fn_config_dll browseui enable_browseui clean
17736 wine_fn_config_test dlls/browseui/tests browseui_test
17737 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17738 wine_fn_config_dll cabinet enable_cabinet implib
17739 wine_fn_config_test dlls/cabinet/tests cabinet_test
17740 wine_fn_config_dll capi2032 enable_capi2032 implib
17741 wine_fn_config_dll cards enable_cards implib
17742 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17743 wine_fn_config_dll clusapi enable_clusapi implib
17744 wine_fn_config_dll combase enable_combase
17745 wine_fn_config_test dlls/combase/tests combase_test
17746 wine_fn_config_dll comcat enable_comcat
17747 wine_fn_config_test dlls/comcat/tests comcat_test
17748 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17749 wine_fn_config_test dlls/comctl32/tests comctl32_test
17750 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17751 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17752 wine_fn_config_dll comm.drv16 enable_win16
17753 wine_fn_config_dll commdlg.dll16 enable_win16
17754 wine_fn_config_dll compobj.dll16 enable_win16
17755 wine_fn_config_dll compstui enable_compstui implib
17756 wine_fn_config_dll comsvcs enable_comsvcs implib
17757 wine_fn_config_dll concrt140 enable_concrt140
17758 wine_fn_config_dll connect enable_connect
17759 wine_fn_config_dll credui enable_credui clean,implib
17760 wine_fn_config_test dlls/credui/tests credui_test
17761 wine_fn_config_dll crtdll enable_crtdll
17762 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17763 wine_fn_config_test dlls/crypt32/tests crypt32_test
17764 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17765 wine_fn_config_dll cryptdll enable_cryptdll implib
17766 wine_fn_config_dll cryptext enable_cryptext
17767 wine_fn_config_dll cryptnet enable_cryptnet implib
17768 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17769 wine_fn_config_dll cryptui enable_cryptui clean,implib
17770 wine_fn_config_test dlls/cryptui/tests cryptui_test
17771 wine_fn_config_dll ctapi32 enable_ctapi32
17772 wine_fn_config_dll ctl3d.dll16 enable_win16
17773 wine_fn_config_dll ctl3d32 enable_ctl3d32
17774 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17775 wine_fn_config_dll d2d1 enable_d2d1 implib
17776 wine_fn_config_test dlls/d2d1/tests d2d1_test
17777 wine_fn_config_dll d3d10 enable_d3d10 implib
17778 wine_fn_config_test dlls/d3d10/tests d3d10_test
17779 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17780 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17781 wine_fn_config_dll d3d10core enable_d3d10core implib
17782 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17783 wine_fn_config_dll d3d11 enable_d3d11 implib
17784 wine_fn_config_test dlls/d3d11/tests d3d11_test
17785 wine_fn_config_dll d3d8 enable_d3d8 implib
17786 wine_fn_config_test dlls/d3d8/tests d3d8_test
17787 wine_fn_config_dll d3d9 enable_d3d9 implib
17788 wine_fn_config_test dlls/d3d9/tests d3d9_test
17789 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17790 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17791 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17792 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17793 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17794 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17795 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17796 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17797 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17798 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17799 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17800 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17801 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17802 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17803 wine_fn_config_dll d3dim enable_d3dim
17804 wine_fn_config_dll d3drm enable_d3drm implib
17805 wine_fn_config_test dlls/d3drm/tests d3drm_test
17806 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17807 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17808 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17809 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17810 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17811 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17812 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17813 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17814 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17815 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17816 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17817 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17818 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17819 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17820 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17821 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17822 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17823 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17824 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17825 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17826 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17827 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17828 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17829 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17830 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17831 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17832 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17833 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17834 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17835 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17836 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17837 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17838 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17839 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17840 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17841 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17842 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17843 wine_fn_config_dll davclnt enable_davclnt
17844 wine_fn_config_dll dbgeng enable_dbgeng implib
17845 wine_fn_config_dll dbghelp enable_dbghelp implib
17846 wine_fn_config_dll dciman32 enable_dciman32 implib
17847 wine_fn_config_dll ddeml.dll16 enable_win16
17848 wine_fn_config_dll ddraw enable_ddraw clean,implib
17849 wine_fn_config_test dlls/ddraw/tests ddraw_test
17850 wine_fn_config_dll ddrawex enable_ddrawex clean
17851 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17852 wine_fn_config_dll devenum enable_devenum clean
17853 wine_fn_config_test dlls/devenum/tests devenum_test
17854 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17855 wine_fn_config_dll difxapi enable_difxapi
17856 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17857 wine_fn_config_test dlls/dinput/tests dinput_test
17858 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17859 wine_fn_config_test dlls/dinput8/tests dinput8_test
17860 wine_fn_config_dll dispdib.dll16 enable_win16
17861 wine_fn_config_dll dispex enable_dispex clean
17862 wine_fn_config_test dlls/dispex/tests dispex_test
17863 wine_fn_config_dll display.drv16 enable_win16
17864 wine_fn_config_dll dmband enable_dmband clean
17865 wine_fn_config_test dlls/dmband/tests dmband_test
17866 wine_fn_config_dll dmcompos enable_dmcompos clean
17867 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17868 wine_fn_config_dll dmime enable_dmime clean
17869 wine_fn_config_test dlls/dmime/tests dmime_test
17870 wine_fn_config_dll dmloader enable_dmloader clean
17871 wine_fn_config_test dlls/dmloader/tests dmloader_test
17872 wine_fn_config_dll dmscript enable_dmscript clean
17873 wine_fn_config_test dlls/dmscript/tests dmscript_test
17874 wine_fn_config_dll dmstyle enable_dmstyle clean
17875 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17876 wine_fn_config_dll dmsynth enable_dmsynth clean
17877 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17878 wine_fn_config_dll dmusic enable_dmusic clean
17879 wine_fn_config_test dlls/dmusic/tests dmusic_test
17880 wine_fn_config_dll dmusic32 enable_dmusic32
17881 wine_fn_config_dll dnsapi enable_dnsapi implib
17882 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17883 wine_fn_config_dll dplay enable_dplay
17884 wine_fn_config_dll dplayx enable_dplayx clean,implib
17885 wine_fn_config_test dlls/dplayx/tests dplayx_test
17886 wine_fn_config_dll dpnaddr enable_dpnaddr
17887 wine_fn_config_dll dpnet enable_dpnet clean,implib
17888 wine_fn_config_test dlls/dpnet/tests dpnet_test
17889 wine_fn_config_dll dpnhpast enable_dpnhpast
17890 wine_fn_config_dll dpnlobby enable_dpnlobby
17891 wine_fn_config_dll dpvoice enable_dpvoice clean
17892 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17893 wine_fn_config_dll dpwsockx enable_dpwsockx
17894 wine_fn_config_dll drmclien enable_drmclien
17895 wine_fn_config_dll dsound enable_dsound clean,implib
17896 wine_fn_config_test dlls/dsound/tests dsound_test
17897 wine_fn_config_dll dssenh enable_dssenh
17898 wine_fn_config_test dlls/dssenh/tests dssenh_test
17899 wine_fn_config_dll dswave enable_dswave clean
17900 wine_fn_config_test dlls/dswave/tests dswave_test
17901 wine_fn_config_dll dwmapi enable_dwmapi implib
17902 wine_fn_config_dll dwrite enable_dwrite implib
17903 wine_fn_config_test dlls/dwrite/tests dwrite_test
17904 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17905 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17906 wine_fn_config_lib dxerr8
17907 wine_fn_config_lib dxerr9
17908 wine_fn_config_dll dxgi enable_dxgi implib
17909 wine_fn_config_test dlls/dxgi/tests dxgi_test
17910 wine_fn_config_lib dxguid
17911 wine_fn_config_dll dxva2 enable_dxva2
17912 wine_fn_config_dll esent enable_esent
17913 wine_fn_config_dll evr enable_evr
17914 wine_fn_config_dll explorerframe enable_explorerframe clean
17915 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17916 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17917 wine_fn_config_dll faultrep enable_faultrep implib
17918 wine_fn_config_test dlls/faultrep/tests faultrep_test
17919 wine_fn_config_dll fltlib enable_fltlib
17920 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17921 wine_fn_config_dll fntcache enable_fntcache
17922 wine_fn_config_dll fontsub enable_fontsub
17923 wine_fn_config_dll fusion enable_fusion
17924 wine_fn_config_test dlls/fusion/tests fusion_test
17925 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17926 wine_fn_config_dll gameux enable_gameux clean
17927 wine_fn_config_test dlls/gameux/tests gameux_test
17928 wine_fn_config_dll gdi.exe16 enable_win16
17929 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17930 wine_fn_config_test dlls/gdi32/tests gdi32_test
17931 wine_fn_config_dll gdiplus enable_gdiplus implib
17932 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17933 wine_fn_config_dll glu32 enable_glu32 implib
17934 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17935 wine_fn_config_dll gpkcsp enable_gpkcsp
17936 wine_fn_config_dll hal enable_hal
17937 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17938 wine_fn_config_dll hid enable_hid implib
17939 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17940 wine_fn_config_dll hlink enable_hlink clean,implib
17941 wine_fn_config_test dlls/hlink/tests hlink_test
17942 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17943 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17944 wine_fn_config_dll httpapi enable_httpapi
17945 wine_fn_config_dll iccvid enable_iccvid clean
17946 wine_fn_config_dll icmp enable_icmp
17947 wine_fn_config_dll ieframe enable_ieframe clean,implib
17948 wine_fn_config_test dlls/ieframe/tests ieframe_test
17949 wine_fn_config_dll ifsmgr.vxd enable_win16
17950 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17951 wine_fn_config_dll imagehlp enable_imagehlp implib
17952 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17953 wine_fn_config_dll imm.dll16 enable_win16
17954 wine_fn_config_dll imm32 enable_imm32 implib
17955 wine_fn_config_test dlls/imm32/tests imm32_test
17956 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17957 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17958 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17959 wine_fn_config_dll inetmib1 enable_inetmib1
17960 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17961 wine_fn_config_dll infosoft enable_infosoft clean
17962 wine_fn_config_test dlls/infosoft/tests infosoft_test
17963 wine_fn_config_dll initpki enable_initpki
17964 wine_fn_config_dll inkobj enable_inkobj
17965 wine_fn_config_dll inseng enable_inseng clean
17966 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17967 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17968 wine_fn_config_dll iprop enable_iprop
17969 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17970 wine_fn_config_dll itircl enable_itircl
17971 wine_fn_config_dll itss enable_itss clean
17972 wine_fn_config_test dlls/itss/tests itss_test
17973 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17974 wine_fn_config_dll jscript enable_jscript clean
17975 wine_fn_config_test dlls/jscript/tests jscript_test
17976 wine_fn_config_dll jsproxy enable_jsproxy implib
17977 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17978 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17979 wine_fn_config_test dlls/kernel32/tests kernel32_test
17980 wine_fn_config_dll kernelbase enable_kernelbase
17981 wine_fn_config_dll keyboard.drv16 enable_win16
17982 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17983 wine_fn_config_dll ksuser enable_ksuser
17984 wine_fn_config_dll ktmw32 enable_ktmw32
17985 wine_fn_config_dll loadperf enable_loadperf implib
17986 wine_fn_config_dll localspl enable_localspl clean
17987 wine_fn_config_test dlls/localspl/tests localspl_test
17988 wine_fn_config_dll localui enable_localui clean
17989 wine_fn_config_test dlls/localui/tests localui_test
17990 wine_fn_config_dll lz32 enable_lz32 implib
17991 wine_fn_config_test dlls/lz32/tests lz32_test
17992 wine_fn_config_dll lzexpand.dll16 enable_win16
17993 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17994 wine_fn_config_test dlls/mapi32/tests mapi32_test
17995 wine_fn_config_dll mapistub enable_mapistub
17996 wine_fn_config_dll mciavi32 enable_mciavi32
17997 wine_fn_config_dll mcicda enable_mcicda
17998 wine_fn_config_dll mciqtz32 enable_mciqtz32
17999 wine_fn_config_dll mciseq enable_mciseq
18000 wine_fn_config_dll mciwave enable_mciwave
18001 wine_fn_config_dll mf enable_mf
18002 wine_fn_config_dll mfplat enable_mfplat
18003 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18004 wine_fn_config_dll mgmtapi enable_mgmtapi
18005 wine_fn_config_dll midimap enable_midimap
18006 wine_fn_config_dll mlang enable_mlang clean,implib
18007 wine_fn_config_test dlls/mlang/tests mlang_test
18008 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18009 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18010 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18011 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18012 wine_fn_config_dll mmdevldr.vxd enable_win16
18013 wine_fn_config_dll mmsystem.dll16 enable_win16
18014 wine_fn_config_dll monodebg.vxd enable_win16
18015 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18016 wine_fn_config_dll mouse.drv16 enable_win16
18017 wine_fn_config_dll mpr enable_mpr clean,implib
18018 wine_fn_config_test dlls/mpr/tests mpr_test
18019 wine_fn_config_dll mprapi enable_mprapi implib
18020 wine_fn_config_dll msacm.dll16 enable_win16
18021 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18022 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18023 wine_fn_config_test dlls/msacm32/tests msacm32_test
18024 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18025 wine_fn_config_dll msasn1 enable_msasn1 implib
18026 wine_fn_config_dll mscat32 enable_mscat32
18027 wine_fn_config_dll mscms enable_mscms implib
18028 wine_fn_config_test dlls/mscms/tests mscms_test
18029 wine_fn_config_dll mscoree enable_mscoree clean
18030 wine_fn_config_test dlls/mscoree/tests mscoree_test
18031 wine_fn_config_dll msctf enable_msctf clean
18032 wine_fn_config_test dlls/msctf/tests msctf_test
18033 wine_fn_config_dll msctfp enable_msctfp clean
18034 wine_fn_config_dll msdaps enable_msdaps clean
18035 wine_fn_config_dll msdelta enable_msdelta
18036 wine_fn_config_dll msdmo enable_msdmo implib
18037 wine_fn_config_test dlls/msdmo/tests msdmo_test
18038 wine_fn_config_dll msdrm enable_msdrm
18039 wine_fn_config_dll msftedit enable_msftedit
18040 wine_fn_config_dll msg711.acm enable_msg711_acm
18041 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18042 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18043 wine_fn_config_dll mshtml enable_mshtml clean,implib
18044 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18045 wine_fn_config_dll msi enable_msi clean,implib
18046 wine_fn_config_test dlls/msi/tests msi_test
18047 wine_fn_config_dll msident enable_msident clean
18048 wine_fn_config_dll msimg32 enable_msimg32 implib
18049 wine_fn_config_dll msimsg enable_msimsg
18050 wine_fn_config_dll msimtf enable_msimtf clean
18051 wine_fn_config_dll msisip enable_msisip
18052 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18053 wine_fn_config_dll msls31 enable_msls31
18054 wine_fn_config_dll msnet32 enable_msnet32
18055 wine_fn_config_dll mspatcha enable_mspatcha implib
18056 wine_fn_config_dll msports enable_msports
18057 wine_fn_config_dll msrle32 enable_msrle32 clean
18058 wine_fn_config_test dlls/msrle32/tests msrle32_test
18059 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18060 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18061 wine_fn_config_dll mssign32 enable_mssign32
18062 wine_fn_config_dll mssip32 enable_mssip32
18063 wine_fn_config_dll mstask enable_mstask clean
18064 wine_fn_config_test dlls/mstask/tests mstask_test
18065 wine_fn_config_dll msvcirt enable_msvcirt
18066 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18067 wine_fn_config_dll msvcm80 enable_msvcm80
18068 wine_fn_config_dll msvcm90 enable_msvcm90
18069 wine_fn_config_dll msvcp100 enable_msvcp100
18070 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18071 wine_fn_config_dll msvcp110 enable_msvcp110
18072 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18073 wine_fn_config_dll msvcp120 enable_msvcp120
18074 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18075 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18076 wine_fn_config_dll msvcp140 enable_msvcp140
18077 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18078 wine_fn_config_dll msvcp60 enable_msvcp60
18079 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18080 wine_fn_config_dll msvcp70 enable_msvcp70
18081 wine_fn_config_dll msvcp71 enable_msvcp71
18082 wine_fn_config_dll msvcp80 enable_msvcp80
18083 wine_fn_config_dll msvcp90 enable_msvcp90
18084 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18085 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18086 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18087 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18088 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18089 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18090 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18091 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18092 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18093 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18094 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18095 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18096 wine_fn_config_dll msvcrt enable_msvcrt implib
18097 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18098 wine_fn_config_dll msvcrt20 enable_msvcrt20
18099 wine_fn_config_dll msvcrt40 enable_msvcrt40
18100 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18101 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18102 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18103 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18104 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18105 wine_fn_config_dll msvideo.dll16 enable_win16
18106 wine_fn_config_dll mswsock enable_mswsock implib
18107 wine_fn_config_dll msxml enable_msxml clean
18108 wine_fn_config_dll msxml2 enable_msxml2 clean
18109 wine_fn_config_dll msxml3 enable_msxml3 clean
18110 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18111 wine_fn_config_dll msxml4 enable_msxml4 clean
18112 wine_fn_config_dll msxml6 enable_msxml6 clean
18113 wine_fn_config_dll ncrypt enable_ncrypt
18114 wine_fn_config_dll nddeapi enable_nddeapi implib
18115 wine_fn_config_dll ndis.sys enable_ndis_sys
18116 wine_fn_config_dll netapi32 enable_netapi32 implib
18117 wine_fn_config_test dlls/netapi32/tests netapi32_test
18118 wine_fn_config_dll netcfgx enable_netcfgx clean
18119 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18120 wine_fn_config_dll netprofm enable_netprofm clean
18121 wine_fn_config_test dlls/netprofm/tests netprofm_test
18122 wine_fn_config_dll newdev enable_newdev implib
18123 wine_fn_config_dll normaliz enable_normaliz implib
18124 wine_fn_config_dll npmshtml enable_npmshtml
18125 wine_fn_config_dll npptools enable_npptools
18126 wine_fn_config_dll ntdll enable_ntdll implib
18127 wine_fn_config_test dlls/ntdll/tests ntdll_test
18128 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18129 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18130 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18131 wine_fn_config_dll ntprint enable_ntprint
18132 wine_fn_config_test dlls/ntprint/tests ntprint_test
18133 wine_fn_config_dll objsel enable_objsel clean
18134 wine_fn_config_dll odbc32 enable_odbc32 implib
18135 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18136 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18137 wine_fn_config_dll odbccu32 enable_odbccu32
18138 wine_fn_config_dll ole2.dll16 enable_win16
18139 wine_fn_config_dll ole2conv.dll16 enable_win16
18140 wine_fn_config_dll ole2disp.dll16 enable_win16
18141 wine_fn_config_dll ole2nls.dll16 enable_win16
18142 wine_fn_config_dll ole2prox.dll16 enable_win16
18143 wine_fn_config_dll ole2thk.dll16 enable_win16
18144 wine_fn_config_dll ole32 enable_ole32 clean,implib
18145 wine_fn_config_test dlls/ole32/tests ole32_test
18146 wine_fn_config_dll oleacc enable_oleacc clean,implib
18147 wine_fn_config_test dlls/oleacc/tests oleacc_test
18148 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18149 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18150 wine_fn_config_dll olecli.dll16 enable_win16
18151 wine_fn_config_dll olecli32 enable_olecli32 implib
18152 wine_fn_config_dll oledb32 enable_oledb32 clean
18153 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18154 wine_fn_config_dll oledlg enable_oledlg clean,implib
18155 wine_fn_config_test dlls/oledlg/tests oledlg_test
18156 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18157 wine_fn_config_dll olesvr.dll16 enable_win16
18158 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18159 wine_fn_config_dll olethk32 enable_olethk32
18160 wine_fn_config_dll openal32 enable_openal32
18161 wine_fn_config_dll opencl enable_opencl
18162 wine_fn_config_dll opengl32 enable_opengl32 implib
18163 wine_fn_config_test dlls/opengl32/tests opengl32_test
18164 wine_fn_config_dll packager enable_packager clean
18165 wine_fn_config_test dlls/packager/tests packager_test
18166 wine_fn_config_dll pdh enable_pdh implib
18167 wine_fn_config_test dlls/pdh/tests pdh_test
18168 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18169 wine_fn_config_dll pidgen enable_pidgen
18170 wine_fn_config_dll powrprof enable_powrprof implib
18171 wine_fn_config_dll printui enable_printui
18172 wine_fn_config_dll prntvpt enable_prntvpt
18173 wine_fn_config_dll propsys enable_propsys clean,implib
18174 wine_fn_config_test dlls/propsys/tests propsys_test
18175 wine_fn_config_dll psapi enable_psapi implib
18176 wine_fn_config_test dlls/psapi/tests psapi_test
18177 wine_fn_config_dll pstorec enable_pstorec clean
18178 wine_fn_config_dll qcap enable_qcap
18179 wine_fn_config_test dlls/qcap/tests qcap_test
18180 wine_fn_config_dll qedit enable_qedit clean
18181 wine_fn_config_test dlls/qedit/tests qedit_test
18182 wine_fn_config_dll qmgr enable_qmgr clean
18183 wine_fn_config_test dlls/qmgr/tests qmgr_test
18184 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18185 wine_fn_config_dll quartz enable_quartz clean,implib
18186 wine_fn_config_test dlls/quartz/tests quartz_test clean
18187 wine_fn_config_dll query enable_query
18188 wine_fn_config_dll rasapi16.dll16 enable_win16
18189 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18190 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18191 wine_fn_config_dll rasdlg enable_rasdlg implib
18192 wine_fn_config_dll regapi enable_regapi
18193 wine_fn_config_dll resutils enable_resutils implib
18194 wine_fn_config_dll riched20 enable_riched20 clean,implib
18195 wine_fn_config_test dlls/riched20/tests riched20_test
18196 wine_fn_config_dll riched32 enable_riched32
18197 wine_fn_config_test dlls/riched32/tests riched32_test
18198 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18199 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18200 wine_fn_config_dll rsabase enable_rsabase
18201 wine_fn_config_dll rsaenh enable_rsaenh implib
18202 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18203 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18204 wine_fn_config_dll rtutils enable_rtutils implib
18205 wine_fn_config_dll samlib enable_samlib
18206 wine_fn_config_dll sane.ds enable_sane_ds clean
18207 wine_fn_config_dll scarddlg enable_scarddlg
18208 wine_fn_config_dll sccbase enable_sccbase
18209 wine_fn_config_dll schannel enable_schannel
18210 wine_fn_config_test dlls/schannel/tests schannel_test
18211 wine_fn_config_dll schedsvc enable_schedsvc clean
18212 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18213 wine_fn_config_dll scrrun enable_scrrun clean
18214 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18215 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18216 wine_fn_config_dll secur32 enable_secur32 implib
18217 wine_fn_config_test dlls/secur32/tests secur32_test
18218 wine_fn_config_dll security enable_security
18219 wine_fn_config_dll sensapi enable_sensapi implib
18220 wine_fn_config_dll serialui enable_serialui clean
18221 wine_fn_config_test dlls/serialui/tests serialui_test
18222 wine_fn_config_dll setupapi enable_setupapi clean,implib
18223 wine_fn_config_test dlls/setupapi/tests setupapi_test
18224 wine_fn_config_dll setupx.dll16 enable_win16
18225 wine_fn_config_dll sfc enable_sfc implib
18226 wine_fn_config_dll sfc_os enable_sfc_os implib
18227 wine_fn_config_dll shdoclc enable_shdoclc clean
18228 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18229 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18230 wine_fn_config_dll shell.dll16 enable_win16
18231 wine_fn_config_dll shell32 enable_shell32 clean,implib
18232 wine_fn_config_test dlls/shell32/tests shell32_test
18233 wine_fn_config_dll shfolder enable_shfolder implib
18234 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18235 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18236 wine_fn_config_dll slbcsp enable_slbcsp
18237 wine_fn_config_dll slc enable_slc implib
18238 wine_fn_config_test dlls/slc/tests slc_test
18239 wine_fn_config_dll snmpapi enable_snmpapi implib
18240 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18241 wine_fn_config_dll softpub enable_softpub
18242 wine_fn_config_dll sound.drv16 enable_win16
18243 wine_fn_config_dll spoolss enable_spoolss implib
18244 wine_fn_config_test dlls/spoolss/tests spoolss_test
18245 wine_fn_config_dll sspicli enable_sspicli
18246 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18247 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18248 wine_fn_config_dll sti enable_sti clean,implib
18249 wine_fn_config_test dlls/sti/tests sti_test
18250 wine_fn_config_dll storage.dll16 enable_win16
18251 wine_fn_config_dll stress.dll16 enable_win16
18252 wine_fn_config_lib strmbase
18253 wine_fn_config_lib strmiids
18254 wine_fn_config_dll svrapi enable_svrapi
18255 wine_fn_config_dll sxs enable_sxs implib
18256 wine_fn_config_test dlls/sxs/tests sxs_test
18257 wine_fn_config_dll system.drv16 enable_win16
18258 wine_fn_config_dll t2embed enable_t2embed implib
18259 wine_fn_config_test dlls/t2embed/tests t2embed_test
18260 wine_fn_config_dll tapi32 enable_tapi32 implib
18261 wine_fn_config_dll taskschd enable_taskschd clean
18262 wine_fn_config_test dlls/taskschd/tests taskschd_test
18263 wine_fn_config_dll tdi.sys enable_tdi_sys
18264 wine_fn_config_dll toolhelp.dll16 enable_win16
18265 wine_fn_config_dll traffic enable_traffic
18266 wine_fn_config_dll twain.dll16 enable_win16
18267 wine_fn_config_dll twain_32 enable_twain_32
18268 wine_fn_config_test dlls/twain_32/tests twain_32_test
18269 wine_fn_config_dll typelib.dll16 enable_win16
18270 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18271 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18272 wine_fn_config_dll unicows enable_unicows implib
18273 wine_fn_config_dll updspapi enable_updspapi
18274 wine_fn_config_dll url enable_url implib
18275 wine_fn_config_dll urlmon enable_urlmon clean,implib
18276 wine_fn_config_test dlls/urlmon/tests urlmon_test
18277 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18278 wine_fn_config_dll user.exe16 enable_win16
18279 wine_fn_config_dll user32 enable_user32 clean,implib
18280 wine_fn_config_test dlls/user32/tests user32_test
18281 wine_fn_config_dll userenv enable_userenv implib
18282 wine_fn_config_test dlls/userenv/tests userenv_test
18283 wine_fn_config_dll usp10 enable_usp10 implib
18284 wine_fn_config_test dlls/usp10/tests usp10_test
18285 wine_fn_config_lib uuid
18286 wine_fn_config_dll uxtheme enable_uxtheme implib
18287 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18288 wine_fn_config_dll vbscript enable_vbscript clean
18289 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18290 wine_fn_config_dll vcomp enable_vcomp
18291 wine_fn_config_test dlls/vcomp/tests vcomp_test
18292 wine_fn_config_dll vcomp100 enable_vcomp100
18293 wine_fn_config_dll vcomp110 enable_vcomp110
18294 wine_fn_config_dll vcomp120 enable_vcomp120
18295 wine_fn_config_dll vcomp140 enable_vcomp140
18296 wine_fn_config_dll vcomp90 enable_vcomp90
18297 wine_fn_config_dll vcruntime140 enable_vcruntime140
18298 wine_fn_config_dll vdhcp.vxd enable_win16
18299 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18300 wine_fn_config_dll ver.dll16 enable_win16
18301 wine_fn_config_dll version enable_version implib
18302 wine_fn_config_test dlls/version/tests version_test
18303 wine_fn_config_dll vmm.vxd enable_win16
18304 wine_fn_config_dll vnbt.vxd enable_win16
18305 wine_fn_config_dll vnetbios.vxd enable_win16
18306 wine_fn_config_dll vssapi enable_vssapi
18307 wine_fn_config_dll vtdapi.vxd enable_win16
18308 wine_fn_config_dll vwin32.vxd enable_win16
18309 wine_fn_config_dll w32skrnl enable_win16
18310 wine_fn_config_dll w32sys.dll16 enable_win16
18311 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18312 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18313 wine_fn_config_dll wbemprox enable_wbemprox clean
18314 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18315 wine_fn_config_dll webservices enable_webservices implib
18316 wine_fn_config_test dlls/webservices/tests webservices_test
18317 wine_fn_config_dll wer enable_wer implib
18318 wine_fn_config_test dlls/wer/tests wer_test
18319 wine_fn_config_dll wevtapi enable_wevtapi
18320 wine_fn_config_dll wiaservc enable_wiaservc clean
18321 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18322 wine_fn_config_dll wimgapi enable_wimgapi
18323 wine_fn_config_dll win32s16.dll16 enable_win16
18324 wine_fn_config_dll win87em.dll16 enable_win16
18325 wine_fn_config_dll winaspi.dll16 enable_win16
18326 wine_fn_config_dll windebug.dll16 enable_win16
18327 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18328 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18329 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18330 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18331 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18332 wine_fn_config_dll winebus.sys enable_winebus_sys
18333 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18334 wine_fn_config_lib winecrt0
18335 wine_fn_config_dll wined3d enable_wined3d implib
18336 wine_fn_config_dll winegstreamer enable_winegstreamer
18337 wine_fn_config_dll winehid.sys enable_winehid_sys
18338 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18339 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18340 wine_fn_config_dll winemapi enable_winemapi
18341 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18342 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18343 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18344 wine_fn_config_dll wineps16.drv16 enable_win16
18345 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18346 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18347 wine_fn_config_dll winex11.drv enable_winex11_drv
18348 wine_fn_config_dll wing.dll16 enable_win16
18349 wine_fn_config_dll wing32 enable_wing32
18350 wine_fn_config_dll winhttp enable_winhttp clean,implib
18351 wine_fn_config_test dlls/winhttp/tests winhttp_test
18352 wine_fn_config_dll wininet enable_wininet clean,implib
18353 wine_fn_config_test dlls/wininet/tests wininet_test
18354 wine_fn_config_dll winmm enable_winmm clean,implib
18355 wine_fn_config_test dlls/winmm/tests winmm_test
18356 wine_fn_config_dll winnls.dll16 enable_win16
18357 wine_fn_config_dll winnls32 enable_winnls32 implib
18358 wine_fn_config_dll winscard enable_winscard implib
18359 wine_fn_config_dll winsock.dll16 enable_win16
18360 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18361 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18362 wine_fn_config_dll winsta enable_winsta
18363 wine_fn_config_dll wintab.dll16 enable_win16
18364 wine_fn_config_dll wintab32 enable_wintab32 implib
18365 wine_fn_config_test dlls/wintab32/tests wintab32_test
18366 wine_fn_config_dll wintrust enable_wintrust implib
18367 wine_fn_config_test dlls/wintrust/tests wintrust_test
18368 wine_fn_config_dll wlanapi enable_wlanapi
18369 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18370 wine_fn_config_test dlls/wldap32/tests wldap32_test
18371 wine_fn_config_dll wmasf enable_wmasf
18372 wine_fn_config_dll wmi enable_wmi
18373 wine_fn_config_dll wmiutils enable_wmiutils clean
18374 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18375 wine_fn_config_dll wmp enable_wmp clean
18376 wine_fn_config_test dlls/wmp/tests wmp_test
18377 wine_fn_config_dll wmvcore enable_wmvcore
18378 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18379 wine_fn_config_dll wow32 enable_win16 implib
18380 wine_fn_config_dll wpc enable_wpc clean
18381 wine_fn_config_test dlls/wpc/tests wpc_test
18382 wine_fn_config_dll wpcap enable_wpcap
18383 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18384 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18385 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18386 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18387 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18388 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18389 wine_fn_config_dll wsock32 enable_wsock32 implib
18390 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18391 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18392 wine_fn_config_dll wuapi enable_wuapi clean
18393 wine_fn_config_dll wuaueng enable_wuaueng
18394 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18395 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18396 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18397 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18398 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18399 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18400 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18401 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18402 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18403 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18404 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18405 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18406 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18407 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18408 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18409 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18410 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18411 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18412 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18413 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18414 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18415 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18416 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18417 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18418 wine_fn_config_dll xinput1_1 enable_xinput1_1
18419 wine_fn_config_dll xinput1_2 enable_xinput1_2
18420 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18421 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18422 wine_fn_config_dll xinput1_4 enable_xinput1_4
18423 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18424 wine_fn_config_dll xmllite enable_xmllite implib
18425 wine_fn_config_test dlls/xmllite/tests xmllite_test
18426 wine_fn_config_dll xolehlp enable_xolehlp
18427 wine_fn_config_dll xpsprint enable_xpsprint
18428 wine_fn_config_dll xpssvcs enable_xpssvcs
18429 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18430 wine_fn_config_makefile include enable_include clean,install-dev
18431 wine_fn_config_makefile libs/port enable_libs_port
18432 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18433 wine_fn_config_makefile libs/wpp enable_libs_wpp
18434 wine_fn_config_makefile loader enable_loader clean,install-lib
18435 wine_fn_config_makefile po enable_po clean
18436 wine_fn_config_program arp enable_arp install
18437 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18438 wine_fn_config_program attrib enable_attrib clean,install
18439 wine_fn_config_program cabarc enable_cabarc install
18440 wine_fn_config_program cacls enable_cacls install
18441 wine_fn_config_program clock enable_clock clean,install
18442 wine_fn_config_program cmd enable_cmd clean,install
18443 wine_fn_config_test programs/cmd/tests cmd.exe_test
18444 wine_fn_config_program conhost enable_conhost install
18445 wine_fn_config_program control enable_control install
18446 wine_fn_config_program cscript enable_cscript clean,install
18447 wine_fn_config_program dpnsvr enable_dpnsvr install
18448 wine_fn_config_program dxdiag enable_dxdiag clean,install
18449 wine_fn_config_program eject enable_eject install
18450 wine_fn_config_program expand enable_expand install
18451 wine_fn_config_program explorer enable_explorer clean,install
18452 wine_fn_config_program extrac32 enable_extrac32 install
18453 wine_fn_config_program findstr enable_findstr install
18454 wine_fn_config_program fsutil enable_fsutil install
18455 wine_fn_config_program hh enable_hh install
18456 wine_fn_config_program hostname enable_hostname clean,install
18457 wine_fn_config_program icacls enable_icacls install
18458 wine_fn_config_program icinfo enable_icinfo install
18459 wine_fn_config_program iexplore enable_iexplore install
18460 wine_fn_config_program ipconfig enable_ipconfig clean,install
18461 wine_fn_config_program lodctr enable_lodctr install
18462 wine_fn_config_program mofcomp enable_mofcomp install
18463 wine_fn_config_program mshta enable_mshta install
18464 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18465 wine_fn_config_program msinfo32 enable_msinfo32 install
18466 wine_fn_config_program net enable_net clean,install
18467 wine_fn_config_program netsh enable_netsh install
18468 wine_fn_config_program netstat enable_netstat clean,install
18469 wine_fn_config_program ngen enable_ngen install
18470 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18471 wine_fn_config_program oleview enable_oleview clean,install
18472 wine_fn_config_program ping enable_ping install
18473 wine_fn_config_program plugplay enable_plugplay install
18474 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18475 wine_fn_config_program progman enable_progman clean,install
18476 wine_fn_config_program reg enable_reg clean,install
18477 wine_fn_config_test programs/reg/tests reg.exe_test
18478 wine_fn_config_program regasm enable_regasm install
18479 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18480 wine_fn_config_test programs/regedit/tests regedit.exe_test
18481 wine_fn_config_program regsvcs enable_regsvcs install
18482 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18483 wine_fn_config_program rpcss enable_rpcss clean,install
18484 wine_fn_config_program rundll.exe16 enable_win16 install
18485 wine_fn_config_program rundll32 enable_rundll32 install
18486 wine_fn_config_program sc enable_sc install
18487 wine_fn_config_program schtasks enable_schtasks install
18488 wine_fn_config_program sdbinst enable_sdbinst install
18489 wine_fn_config_program secedit enable_secedit install
18490 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18491 wine_fn_config_program services enable_services clean,install
18492 wine_fn_config_test programs/services/tests services.exe_test
18493 wine_fn_config_program shutdown enable_shutdown install
18494 wine_fn_config_program spoolsv enable_spoolsv install
18495 wine_fn_config_program start enable_start clean,install
18496 wine_fn_config_program subst enable_subst install
18497 wine_fn_config_program svchost enable_svchost install
18498 wine_fn_config_program systeminfo enable_systeminfo install
18499 wine_fn_config_program taskkill enable_taskkill clean,install
18500 wine_fn_config_program tasklist enable_tasklist install
18501 wine_fn_config_program taskmgr enable_taskmgr clean,install
18502 wine_fn_config_program termsv enable_termsv install
18503 wine_fn_config_program uninstaller enable_uninstaller clean,install
18504 wine_fn_config_program unlodctr enable_unlodctr install
18505 wine_fn_config_program view enable_view clean,install
18506 wine_fn_config_program wevtutil enable_wevtutil install
18507 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18508 wine_fn_config_program winebrowser enable_winebrowser install
18509 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18510 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18511 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18512 wine_fn_config_program winedevice enable_winedevice install
18513 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18514 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18515 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18516 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18517 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18518 wine_fn_config_program winetest enable_winetest clean
18519 wine_fn_config_program winevdm enable_win16 install
18520 wine_fn_config_program winhelp.exe16 enable_win16 install
18521 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18522 wine_fn_config_program winoldap.mod16 enable_win16 install
18523 wine_fn_config_program winver enable_winver install
18524 wine_fn_config_program wmic enable_wmic clean,install
18525 wine_fn_config_program wmplayer enable_wmplayer install
18526 wine_fn_config_program wordpad enable_wordpad clean,install
18527 wine_fn_config_program write enable_write clean,install
18528 wine_fn_config_program wscript enable_wscript clean,install
18529 wine_fn_config_test programs/wscript/tests wscript.exe_test
18530 wine_fn_config_program wusa enable_wusa install
18531 wine_fn_config_program xcopy enable_xcopy clean,install
18532 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18533 wine_fn_config_makefile server enable_server clean,install-lib
18534 wine_fn_config_tool tools clean
18535 wine_fn_config_tool tools/sfnt2fon clean
18536 wine_fn_config_tool tools/widl clean,install-dev
18537 wine_fn_config_tool tools/winebuild clean,install-dev
18538 wine_fn_config_tool tools/winedump clean,install-dev
18539 wine_fn_config_tool tools/winegcc clean,install-dev
18540 wine_fn_config_tool tools/winemaker clean,install-dev
18541 wine_fn_config_tool tools/wmc clean,install-dev
18542 wine_fn_config_tool tools/wrc clean,install-dev
18545 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18546 wine_fn_append_file CONFIGURE_TARGETS "tags"
18547 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18548 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18549 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18550 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18551 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18552 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18554 if test "x$enable_tools" != xno
18555 then
18556 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18557 ac_config_commands="$ac_config_commands tools/makedep"
18561 ac_config_commands="$ac_config_commands Makefile"
18564 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18568 if test "x$enable_maintainer_mode" = xyes
18569 then
18570 wine_fn_append_rule "configure: configure.ac aclocal.m4
18571 autoconf --warnings=all
18572 include/config.h.in: include/stamp-h.in
18573 include/stamp-h.in: configure.ac aclocal.m4
18574 autoheader --warnings=all
18575 @echo timestamp > \$@"
18578 if test "x$enable_tools" != xno
18579 then
18580 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18581 @./config.status tools/makedep
18582 Makefile: tools/makedep$ac_exeext"
18583 else
18584 wine_fn_append_rule "\$(MAKEDEP):
18585 @echo \"You need to run make in $TOOLSDIR first\" && false"
18588 if test -n "$with_wine64"
18589 then
18590 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18591 fonts server:
18592 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18593 $with_wine64/loader/wine:
18594 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18595 $with_wine64/loader/wine-preloader:
18596 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18597 clean::
18598 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18599 else
18600 WINELOADER_INSTALL="wine.inf"
18602 wine_fn_append_rule "install install-lib::
18603 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18604 uninstall::
18605 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18606 case $host_os in
18607 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18608 *) wine_fn_append_rule "install install-lib::
18609 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18610 uninstall::
18611 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18612 esac
18615 $as_echo " done" >&6
18616 cat >confcache <<\_ACEOF
18617 # This file is a shell script that caches the results of configure
18618 # tests run on this system so they can be shared between configure
18619 # scripts and configure runs, see configure's option --config-cache.
18620 # It is not useful on other systems. If it contains results you don't
18621 # want to keep, you may remove or edit it.
18623 # config.status only pays attention to the cache file if you give it
18624 # the --recheck option to rerun configure.
18626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18628 # following values.
18630 _ACEOF
18632 # The following way of writing the cache mishandles newlines in values,
18633 # but we know of no workaround that is simple, portable, and efficient.
18634 # So, we kill variables containing newlines.
18635 # Ultrix sh set writes to stderr and can't be redirected directly,
18636 # and sets the high bit in the cache file unless we assign to the vars.
18638 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18639 eval ac_val=\$$ac_var
18640 case $ac_val in #(
18641 *${as_nl}*)
18642 case $ac_var in #(
18643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18645 esac
18646 case $ac_var in #(
18647 _ | IFS | as_nl) ;; #(
18648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18649 *) { eval $ac_var=; unset $ac_var;} ;;
18650 esac ;;
18651 esac
18652 done
18654 (set) 2>&1 |
18655 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18656 *${as_nl}ac_space=\ *)
18657 # `set' does not quote correctly, so add quotes: double-quote
18658 # substitution turns \\\\ into \\, and sed turns \\ into \.
18659 sed -n \
18660 "s/'/'\\\\''/g;
18661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18662 ;; #(
18664 # `set' quotes correctly as required by POSIX, so do not add quotes.
18665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18667 esac |
18668 sort
18670 sed '
18671 /^ac_cv_env_/b end
18672 t clear
18673 :clear
18674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18675 t end
18676 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18677 :end' >>confcache
18678 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18679 if test -w "$cache_file"; then
18680 if test "x$cache_file" != "x/dev/null"; then
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18682 $as_echo "$as_me: updating cache $cache_file" >&6;}
18683 if test ! -f "$cache_file" || test -h "$cache_file"; then
18684 cat confcache >"$cache_file"
18685 else
18686 case $cache_file in #(
18687 */* | ?:*)
18688 mv -f confcache "$cache_file"$$ &&
18689 mv -f "$cache_file"$$ "$cache_file" ;; #(
18691 mv -f confcache "$cache_file" ;;
18692 esac
18695 else
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18697 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18700 rm -f confcache
18702 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18703 # Let make expand exec_prefix.
18704 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18706 DEFS=-DHAVE_CONFIG_H
18708 ac_libobjs=
18709 ac_ltlibobjs=
18711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18712 # 1. Remove the extension, and $U if already installed.
18713 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18714 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18716 # will be set to the directory where LIBOBJS objects are built.
18717 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18718 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18719 done
18720 LIBOBJS=$ac_libobjs
18722 LTLIBOBJS=$ac_ltlibobjs
18726 : "${CONFIG_STATUS=./config.status}"
18727 ac_write_fail=0
18728 ac_clean_files_save=$ac_clean_files
18729 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18731 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18732 as_write_fail=0
18733 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18734 #! $SHELL
18735 # Generated by $as_me.
18736 # Run this file to recreate the current configuration.
18737 # Compiler output produced by configure, useful for debugging
18738 # configure, is in config.log if it exists.
18740 debug=false
18741 ac_cs_recheck=false
18742 ac_cs_silent=false
18744 SHELL=\${CONFIG_SHELL-$SHELL}
18745 export SHELL
18746 _ASEOF
18747 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18748 ## -------------------- ##
18749 ## M4sh Initialization. ##
18750 ## -------------------- ##
18752 # Be more Bourne compatible
18753 DUALCASE=1; export DUALCASE # for MKS sh
18754 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18755 emulate sh
18756 NULLCMD=:
18757 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18758 # is contrary to our usage. Disable this feature.
18759 alias -g '${1+"$@"}'='"$@"'
18760 setopt NO_GLOB_SUBST
18761 else
18762 case `(set -o) 2>/dev/null` in #(
18763 *posix*) :
18764 set -o posix ;; #(
18765 *) :
18767 esac
18771 as_nl='
18773 export as_nl
18774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18775 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18778 # Prefer a ksh shell builtin over an external printf program on Solaris,
18779 # but without wasting forks for bash or zsh.
18780 if test -z "$BASH_VERSION$ZSH_VERSION" \
18781 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18782 as_echo='print -r --'
18783 as_echo_n='print -rn --'
18784 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18785 as_echo='printf %s\n'
18786 as_echo_n='printf %s'
18787 else
18788 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18789 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18790 as_echo_n='/usr/ucb/echo -n'
18791 else
18792 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18793 as_echo_n_body='eval
18794 arg=$1;
18795 case $arg in #(
18796 *"$as_nl"*)
18797 expr "X$arg" : "X\\(.*\\)$as_nl";
18798 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18799 esac;
18800 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18802 export as_echo_n_body
18803 as_echo_n='sh -c $as_echo_n_body as_echo'
18805 export as_echo_body
18806 as_echo='sh -c $as_echo_body as_echo'
18809 # The user is always right.
18810 if test "${PATH_SEPARATOR+set}" != set; then
18811 PATH_SEPARATOR=:
18812 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18813 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18814 PATH_SEPARATOR=';'
18819 # IFS
18820 # We need space, tab and new line, in precisely that order. Quoting is
18821 # there to prevent editors from complaining about space-tab.
18822 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18823 # splitting by setting IFS to empty value.)
18824 IFS=" "" $as_nl"
18826 # Find who we are. Look in the path if we contain no directory separator.
18827 as_myself=
18828 case $0 in #((
18829 *[\\/]* ) as_myself=$0 ;;
18830 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18831 for as_dir in $PATH
18833 IFS=$as_save_IFS
18834 test -z "$as_dir" && as_dir=.
18835 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18836 done
18837 IFS=$as_save_IFS
18840 esac
18841 # We did not find ourselves, most probably we were run as `sh COMMAND'
18842 # in which case we are not to be found in the path.
18843 if test "x$as_myself" = x; then
18844 as_myself=$0
18846 if test ! -f "$as_myself"; then
18847 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18848 exit 1
18851 # Unset variables that we do not need and which cause bugs (e.g. in
18852 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18853 # suppresses any "Segmentation fault" message there. '((' could
18854 # trigger a bug in pdksh 5.2.14.
18855 for as_var in BASH_ENV ENV MAIL MAILPATH
18856 do eval test x\${$as_var+set} = xset \
18857 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18858 done
18859 PS1='$ '
18860 PS2='> '
18861 PS4='+ '
18863 # NLS nuisances.
18864 LC_ALL=C
18865 export LC_ALL
18866 LANGUAGE=C
18867 export LANGUAGE
18869 # CDPATH.
18870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18873 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18874 # ----------------------------------------
18875 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18876 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18877 # script with STATUS, using 1 if that was 0.
18878 as_fn_error ()
18880 as_status=$1; test $as_status -eq 0 && as_status=1
18881 if test "$4"; then
18882 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18883 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18885 $as_echo "$as_me: error: $2" >&2
18886 as_fn_exit $as_status
18887 } # as_fn_error
18890 # as_fn_set_status STATUS
18891 # -----------------------
18892 # Set $? to STATUS, without forking.
18893 as_fn_set_status ()
18895 return $1
18896 } # as_fn_set_status
18898 # as_fn_exit STATUS
18899 # -----------------
18900 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18901 as_fn_exit ()
18903 set +e
18904 as_fn_set_status $1
18905 exit $1
18906 } # as_fn_exit
18908 # as_fn_unset VAR
18909 # ---------------
18910 # Portably unset VAR.
18911 as_fn_unset ()
18913 { eval $1=; unset $1;}
18915 as_unset=as_fn_unset
18916 # as_fn_append VAR VALUE
18917 # ----------------------
18918 # Append the text in VALUE to the end of the definition contained in VAR. Take
18919 # advantage of any shell optimizations that allow amortized linear growth over
18920 # repeated appends, instead of the typical quadratic growth present in naive
18921 # implementations.
18922 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18923 eval 'as_fn_append ()
18925 eval $1+=\$2
18927 else
18928 as_fn_append ()
18930 eval $1=\$$1\$2
18932 fi # as_fn_append
18934 # as_fn_arith ARG...
18935 # ------------------
18936 # Perform arithmetic evaluation on the ARGs, and store the result in the
18937 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18938 # must be portable across $(()) and expr.
18939 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18940 eval 'as_fn_arith ()
18942 as_val=$(( $* ))
18944 else
18945 as_fn_arith ()
18947 as_val=`expr "$@" || test $? -eq 1`
18949 fi # as_fn_arith
18952 if expr a : '\(a\)' >/dev/null 2>&1 &&
18953 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18954 as_expr=expr
18955 else
18956 as_expr=false
18959 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18960 as_basename=basename
18961 else
18962 as_basename=false
18965 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18966 as_dirname=dirname
18967 else
18968 as_dirname=false
18971 as_me=`$as_basename -- "$0" ||
18972 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18973 X"$0" : 'X\(//\)$' \| \
18974 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18975 $as_echo X/"$0" |
18976 sed '/^.*\/\([^/][^/]*\)\/*$/{
18977 s//\1/
18980 /^X\/\(\/\/\)$/{
18981 s//\1/
18984 /^X\/\(\/\).*/{
18985 s//\1/
18988 s/.*/./; q'`
18990 # Avoid depending upon Character Ranges.
18991 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18992 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18993 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18994 as_cr_digits='0123456789'
18995 as_cr_alnum=$as_cr_Letters$as_cr_digits
18997 ECHO_C= ECHO_N= ECHO_T=
18998 case `echo -n x` in #(((((
18999 -n*)
19000 case `echo 'xy\c'` in
19001 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19002 xy) ECHO_C='\c';;
19003 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19004 ECHO_T=' ';;
19005 esac;;
19007 ECHO_N='-n';;
19008 esac
19010 rm -f conf$$ conf$$.exe conf$$.file
19011 if test -d conf$$.dir; then
19012 rm -f conf$$.dir/conf$$.file
19013 else
19014 rm -f conf$$.dir
19015 mkdir conf$$.dir 2>/dev/null
19017 if (echo >conf$$.file) 2>/dev/null; then
19018 if ln -s conf$$.file conf$$ 2>/dev/null; then
19019 as_ln_s='ln -s'
19020 # ... but there are two gotchas:
19021 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19022 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19023 # In both cases, we have to default to `cp -pR'.
19024 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19025 as_ln_s='cp -pR'
19026 elif ln conf$$.file conf$$ 2>/dev/null; then
19027 as_ln_s=ln
19028 else
19029 as_ln_s='cp -pR'
19031 else
19032 as_ln_s='cp -pR'
19034 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19035 rmdir conf$$.dir 2>/dev/null
19038 # as_fn_mkdir_p
19039 # -------------
19040 # Create "$as_dir" as a directory, including parents if necessary.
19041 as_fn_mkdir_p ()
19044 case $as_dir in #(
19045 -*) as_dir=./$as_dir;;
19046 esac
19047 test -d "$as_dir" || eval $as_mkdir_p || {
19048 as_dirs=
19049 while :; do
19050 case $as_dir in #(
19051 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19052 *) as_qdir=$as_dir;;
19053 esac
19054 as_dirs="'$as_qdir' $as_dirs"
19055 as_dir=`$as_dirname -- "$as_dir" ||
19056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19057 X"$as_dir" : 'X\(//\)[^/]' \| \
19058 X"$as_dir" : 'X\(//\)$' \| \
19059 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19060 $as_echo X"$as_dir" |
19061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19062 s//\1/
19065 /^X\(\/\/\)[^/].*/{
19066 s//\1/
19069 /^X\(\/\/\)$/{
19070 s//\1/
19073 /^X\(\/\).*/{
19074 s//\1/
19077 s/.*/./; q'`
19078 test -d "$as_dir" && break
19079 done
19080 test -z "$as_dirs" || eval "mkdir $as_dirs"
19081 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19084 } # as_fn_mkdir_p
19085 if mkdir -p . 2>/dev/null; then
19086 as_mkdir_p='mkdir -p "$as_dir"'
19087 else
19088 test -d ./-p && rmdir ./-p
19089 as_mkdir_p=false
19093 # as_fn_executable_p FILE
19094 # -----------------------
19095 # Test if FILE is an executable regular file.
19096 as_fn_executable_p ()
19098 test -f "$1" && test -x "$1"
19099 } # as_fn_executable_p
19100 as_test_x='test -x'
19101 as_executable_p=as_fn_executable_p
19103 # Sed expression to map a string onto a valid CPP name.
19104 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19106 # Sed expression to map a string onto a valid variable name.
19107 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19110 exec 6>&1
19111 ## ----------------------------------- ##
19112 ## Main body of $CONFIG_STATUS script. ##
19113 ## ----------------------------------- ##
19114 _ASEOF
19115 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19118 # Save the log message, to keep $0 and so on meaningful, and to
19119 # report actual input values of CONFIG_FILES etc. instead of their
19120 # values after options handling.
19121 ac_log="
19122 This file was extended by Wine $as_me 1.9.20, which was
19123 generated by GNU Autoconf 2.69. Invocation command line was
19125 CONFIG_FILES = $CONFIG_FILES
19126 CONFIG_HEADERS = $CONFIG_HEADERS
19127 CONFIG_LINKS = $CONFIG_LINKS
19128 CONFIG_COMMANDS = $CONFIG_COMMANDS
19129 $ $0 $@
19131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19134 _ACEOF
19136 case $ac_config_files in *"
19137 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19138 esac
19140 case $ac_config_headers in *"
19141 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19142 esac
19145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19146 # Files that config.status was made for.
19147 config_files="$ac_config_files"
19148 config_headers="$ac_config_headers"
19149 config_links="$ac_config_links"
19150 config_commands="$ac_config_commands"
19152 _ACEOF
19154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19155 ac_cs_usage="\
19156 \`$as_me' instantiates files and other configuration actions
19157 from templates according to the current configuration. Unless the files
19158 and actions are specified as TAGs, all are instantiated by default.
19160 Usage: $0 [OPTION]... [TAG]...
19162 -h, --help print this help, then exit
19163 -V, --version print version number and configuration settings, then exit
19164 --config print configuration, then exit
19165 -q, --quiet, --silent
19166 do not print progress messages
19167 -d, --debug don't remove temporary files
19168 --recheck update $as_me by reconfiguring in the same conditions
19169 --file=FILE[:TEMPLATE]
19170 instantiate the configuration file FILE
19171 --header=FILE[:TEMPLATE]
19172 instantiate the configuration header FILE
19174 Configuration files:
19175 $config_files
19177 Configuration headers:
19178 $config_headers
19180 Configuration links:
19181 $config_links
19183 Configuration commands:
19184 $config_commands
19186 Report bugs to <wine-devel@winehq.org>.
19187 Wine home page: <http://www.winehq.org>."
19189 _ACEOF
19190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19192 ac_cs_version="\\
19193 Wine config.status 1.9.20
19194 configured by $0, generated by GNU Autoconf 2.69,
19195 with options \\"\$ac_cs_config\\"
19197 Copyright (C) 2012 Free Software Foundation, Inc.
19198 This config.status script is free software; the Free Software Foundation
19199 gives unlimited permission to copy, distribute and modify it."
19201 ac_pwd='$ac_pwd'
19202 srcdir='$srcdir'
19203 test -n "\$AWK" || AWK=awk
19204 _ACEOF
19206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19207 # The default lists apply if the user does not specify any file.
19208 ac_need_defaults=:
19209 while test $# != 0
19211 case $1 in
19212 --*=?*)
19213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19214 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19215 ac_shift=:
19217 --*=)
19218 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19219 ac_optarg=
19220 ac_shift=:
19223 ac_option=$1
19224 ac_optarg=$2
19225 ac_shift=shift
19227 esac
19229 case $ac_option in
19230 # Handling of the options.
19231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19232 ac_cs_recheck=: ;;
19233 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19234 $as_echo "$ac_cs_version"; exit ;;
19235 --config | --confi | --conf | --con | --co | --c )
19236 $as_echo "$ac_cs_config"; exit ;;
19237 --debug | --debu | --deb | --de | --d | -d )
19238 debug=: ;;
19239 --file | --fil | --fi | --f )
19240 $ac_shift
19241 case $ac_optarg in
19242 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19243 '') as_fn_error $? "missing file argument" ;;
19244 esac
19245 as_fn_append CONFIG_FILES " '$ac_optarg'"
19246 ac_need_defaults=false;;
19247 --header | --heade | --head | --hea )
19248 $ac_shift
19249 case $ac_optarg in
19250 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19251 esac
19252 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19253 ac_need_defaults=false;;
19254 --he | --h)
19255 # Conflict between --help and --header
19256 as_fn_error $? "ambiguous option: \`$1'
19257 Try \`$0 --help' for more information.";;
19258 --help | --hel | -h )
19259 $as_echo "$ac_cs_usage"; exit ;;
19260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19261 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19262 ac_cs_silent=: ;;
19264 # This is an error.
19265 -*) as_fn_error $? "unrecognized option: \`$1'
19266 Try \`$0 --help' for more information." ;;
19268 *) as_fn_append ac_config_targets " $1"
19269 ac_need_defaults=false ;;
19271 esac
19272 shift
19273 done
19275 ac_configure_extra_args=
19277 if $ac_cs_silent; then
19278 exec 6>/dev/null
19279 ac_configure_extra_args="$ac_configure_extra_args --silent"
19282 _ACEOF
19283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19284 if \$ac_cs_recheck; then
19285 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19286 shift
19287 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19288 CONFIG_SHELL='$SHELL'
19289 export CONFIG_SHELL
19290 exec "\$@"
19293 _ACEOF
19294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19295 exec 5>>config.log
19297 echo
19298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19299 ## Running $as_me. ##
19300 _ASBOX
19301 $as_echo "$ac_log"
19302 } >&5
19304 _ACEOF
19305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19307 # INIT-COMMANDS
19309 wine_fn_output_makedep ()
19311 as_dir=tools; as_fn_mkdir_p
19312 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19314 wine_fn_output_makefile ()
19316 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19317 `cat $wine_rules_file`
19318 _WINE_EOF
19319 as_fn_error $? "could not create Makefile" "$LINENO" 5
19322 _ACEOF
19324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19326 # Handling of arguments.
19327 for ac_config_target in $ac_config_targets
19329 case $ac_config_target in
19330 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19331 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19332 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19333 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19334 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19335 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19336 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19337 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19338 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19339 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19340 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19341 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19342 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19344 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19345 esac
19346 done
19349 # If the user did not use the arguments to specify the items to instantiate,
19350 # then the envvar interface is used. Set only those that are not.
19351 # We use the long form for the default assignment because of an extremely
19352 # bizarre bug on SunOS 4.1.3.
19353 if $ac_need_defaults; then
19354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19356 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19360 # Have a temporary directory for convenience. Make it in the build tree
19361 # simply because there is no reason against having it here, and in addition,
19362 # creating and moving files from /tmp can sometimes cause problems.
19363 # Hook for its removal unless debugging.
19364 # Note that there is a small window in which the directory will not be cleaned:
19365 # after its creation but before its name has been assigned to `$tmp'.
19366 $debug ||
19368 tmp= ac_tmp=
19369 trap 'exit_status=$?
19370 : "${ac_tmp:=$tmp}"
19371 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19373 trap 'as_fn_exit 1' 1 2 13 15
19375 # Create a (secure) tmp directory for tmp files.
19378 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19379 test -d "$tmp"
19380 } ||
19382 tmp=./conf$$-$RANDOM
19383 (umask 077 && mkdir "$tmp")
19384 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19385 ac_tmp=$tmp
19387 # Set up the scripts for CONFIG_FILES section.
19388 # No need to generate them if there are no CONFIG_FILES.
19389 # This happens for instance with `./config.status config.h'.
19390 if test -n "$CONFIG_FILES"; then
19393 ac_cr=`echo X | tr X '\015'`
19394 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19395 # But we know of no other shell where ac_cr would be empty at this
19396 # point, so we can use a bashism as a fallback.
19397 if test "x$ac_cr" = x; then
19398 eval ac_cr=\$\'\\r\'
19400 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19401 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19402 ac_cs_awk_cr='\\r'
19403 else
19404 ac_cs_awk_cr=$ac_cr
19407 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19408 _ACEOF
19412 echo "cat >conf$$subs.awk <<_ACEOF" &&
19413 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19414 echo "_ACEOF"
19415 } >conf$$subs.sh ||
19416 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19417 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19418 ac_delim='%!_!# '
19419 for ac_last_try in false false false false false :; do
19420 . ./conf$$subs.sh ||
19421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19423 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19424 if test $ac_delim_n = $ac_delim_num; then
19425 break
19426 elif $ac_last_try; then
19427 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19428 else
19429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19431 done
19432 rm -f conf$$subs.sh
19434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19435 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19436 _ACEOF
19437 sed -n '
19439 s/^/S["/; s/!.*/"]=/
19442 s/^[^!]*!//
19443 :repl
19444 t repl
19445 s/'"$ac_delim"'$//
19446 t delim
19449 s/\(.\{148\}\)..*/\1/
19450 t more1
19451 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19454 b repl
19455 :more1
19456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19459 s/.\{148\}//
19460 t nl
19461 :delim
19463 s/\(.\{148\}\)..*/\1/
19464 t more2
19465 s/["\\]/\\&/g; s/^/"/; s/$/"/
19468 :more2
19469 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19472 s/.\{148\}//
19473 t delim
19474 ' <conf$$subs.awk | sed '
19475 /^[^""]/{
19477 s/\n//
19479 ' >>$CONFIG_STATUS || ac_write_fail=1
19480 rm -f conf$$subs.awk
19481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19482 _ACAWK
19483 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19484 for (key in S) S_is_set[key] = 1
19485 FS = "\a"
19489 line = $ 0
19490 nfields = split(line, field, "@")
19491 substed = 0
19492 len = length(field[1])
19493 for (i = 2; i < nfields; i++) {
19494 key = field[i]
19495 keylen = length(key)
19496 if (S_is_set[key]) {
19497 value = S[key]
19498 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19499 len += length(value) + length(field[++i])
19500 substed = 1
19501 } else
19502 len += 1 + keylen
19505 print line
19508 _ACAWK
19509 _ACEOF
19510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19511 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19512 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19513 else
19515 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19516 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19517 _ACEOF
19519 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19520 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19521 # trailing colons and then remove the whole line if VPATH becomes empty
19522 # (actually we leave an empty line to preserve line numbers).
19523 if test "x$srcdir" = x.; then
19524 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19526 s///
19527 s/^/:/
19528 s/[ ]*$/:/
19529 s/:\$(srcdir):/:/g
19530 s/:\${srcdir}:/:/g
19531 s/:@srcdir@:/:/g
19532 s/^:*//
19533 s/:*$//
19535 s/\(=[ ]*\).*/\1/
19537 s/\n//
19538 s/^[^=]*=[ ]*$//
19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19543 fi # test -n "$CONFIG_FILES"
19545 # Set up the scripts for CONFIG_HEADERS section.
19546 # No need to generate them if there are no CONFIG_HEADERS.
19547 # This happens for instance with `./config.status Makefile'.
19548 if test -n "$CONFIG_HEADERS"; then
19549 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19550 BEGIN {
19551 _ACEOF
19553 # Transform confdefs.h into an awk script `defines.awk', embedded as
19554 # here-document in config.status, that substitutes the proper values into
19555 # config.h.in to produce config.h.
19557 # Create a delimiter string that does not exist in confdefs.h, to ease
19558 # handling of long lines.
19559 ac_delim='%!_!# '
19560 for ac_last_try in false false :; do
19561 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19562 if test -z "$ac_tt"; then
19563 break
19564 elif $ac_last_try; then
19565 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19566 else
19567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19569 done
19571 # For the awk script, D is an array of macro values keyed by name,
19572 # likewise P contains macro parameters if any. Preserve backslash
19573 # newline sequences.
19575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19576 sed -n '
19577 s/.\{148\}/&'"$ac_delim"'/g
19578 t rset
19579 :rset
19580 s/^[ ]*#[ ]*define[ ][ ]*/ /
19581 t def
19583 :def
19584 s/\\$//
19585 t bsnl
19586 s/["\\]/\\&/g
19587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19588 D["\1"]=" \3"/p
19589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19591 :bsnl
19592 s/["\\]/\\&/g
19593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19594 D["\1"]=" \3\\\\\\n"\\/p
19595 t cont
19596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19597 t cont
19599 :cont
19601 s/.\{148\}/&'"$ac_delim"'/g
19602 t clear
19603 :clear
19604 s/\\$//
19605 t bsnlc
19606 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19608 :bsnlc
19609 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19610 b cont
19611 ' <confdefs.h | sed '
19612 s/'"$ac_delim"'/"\\\
19613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19616 for (key in D) D_is_set[key] = 1
19617 FS = "\a"
19619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19620 line = \$ 0
19621 split(line, arg, " ")
19622 if (arg[1] == "#") {
19623 defundef = arg[2]
19624 mac1 = arg[3]
19625 } else {
19626 defundef = substr(arg[1], 2)
19627 mac1 = arg[2]
19629 split(mac1, mac2, "(") #)
19630 macro = mac2[1]
19631 prefix = substr(line, 1, index(line, defundef) - 1)
19632 if (D_is_set[macro]) {
19633 # Preserve the white space surrounding the "#".
19634 print prefix "define", macro P[macro] D[macro]
19635 next
19636 } else {
19637 # Replace #undef with comments. This is necessary, for example,
19638 # in the case of _POSIX_SOURCE, which is predefined and required
19639 # on some systems where configure will not decide to define it.
19640 if (defundef == "undef") {
19641 print "/*", prefix defundef, macro, "*/"
19642 next
19646 { print }
19647 _ACAWK
19648 _ACEOF
19649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19650 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19651 fi # test -n "$CONFIG_HEADERS"
19654 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19655 shift
19656 for ac_tag
19658 case $ac_tag in
19659 :[FHLC]) ac_mode=$ac_tag; continue;;
19660 esac
19661 case $ac_mode$ac_tag in
19662 :[FHL]*:*);;
19663 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19664 :[FH]-) ac_tag=-:-;;
19665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19666 esac
19667 ac_save_IFS=$IFS
19668 IFS=:
19669 set x $ac_tag
19670 IFS=$ac_save_IFS
19671 shift
19672 ac_file=$1
19673 shift
19675 case $ac_mode in
19676 :L) ac_source=$1;;
19677 :[FH])
19678 ac_file_inputs=
19679 for ac_f
19681 case $ac_f in
19682 -) ac_f="$ac_tmp/stdin";;
19683 *) # Look for the file first in the build tree, then in the source tree
19684 # (if the path is not absolute). The absolute path cannot be DOS-style,
19685 # because $ac_f cannot contain `:'.
19686 test -f "$ac_f" ||
19687 case $ac_f in
19688 [\\/$]*) false;;
19689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19690 esac ||
19691 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19692 esac
19693 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19694 as_fn_append ac_file_inputs " '$ac_f'"
19695 done
19697 # Let's still pretend it is `configure' which instantiates (i.e., don't
19698 # use $as_me), people would be surprised to read:
19699 # /* config.h. Generated by config.status. */
19700 configure_input='Generated from '`
19701 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19702 `' by configure.'
19703 if test x"$ac_file" != x-; then
19704 configure_input="$ac_file. $configure_input"
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19706 $as_echo "$as_me: creating $ac_file" >&6;}
19708 # Neutralize special characters interpreted by sed in replacement strings.
19709 case $configure_input in #(
19710 *\&* | *\|* | *\\* )
19711 ac_sed_conf_input=`$as_echo "$configure_input" |
19712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19713 *) ac_sed_conf_input=$configure_input;;
19714 esac
19716 case $ac_tag in
19717 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19719 esac
19721 esac
19723 ac_dir=`$as_dirname -- "$ac_file" ||
19724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725 X"$ac_file" : 'X\(//\)[^/]' \| \
19726 X"$ac_file" : 'X\(//\)$' \| \
19727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19728 $as_echo X"$ac_file" |
19729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19730 s//\1/
19733 /^X\(\/\/\)[^/].*/{
19734 s//\1/
19737 /^X\(\/\/\)$/{
19738 s//\1/
19741 /^X\(\/\).*/{
19742 s//\1/
19745 s/.*/./; q'`
19746 as_dir="$ac_dir"; as_fn_mkdir_p
19747 ac_builddir=.
19749 case "$ac_dir" in
19750 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19752 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19753 # A ".." for each directory in $ac_dir_suffix.
19754 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19755 case $ac_top_builddir_sub in
19756 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19757 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19758 esac ;;
19759 esac
19760 ac_abs_top_builddir=$ac_pwd
19761 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19762 # for backward compatibility:
19763 ac_top_builddir=$ac_top_build_prefix
19765 case $srcdir in
19766 .) # We are building in place.
19767 ac_srcdir=.
19768 ac_top_srcdir=$ac_top_builddir_sub
19769 ac_abs_top_srcdir=$ac_pwd ;;
19770 [\\/]* | ?:[\\/]* ) # Absolute name.
19771 ac_srcdir=$srcdir$ac_dir_suffix;
19772 ac_top_srcdir=$srcdir
19773 ac_abs_top_srcdir=$srcdir ;;
19774 *) # Relative name.
19775 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19776 ac_top_srcdir=$ac_top_build_prefix$srcdir
19777 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19778 esac
19779 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19782 case $ac_mode in
19785 # CONFIG_FILE
19788 _ACEOF
19790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19791 # If the template does not know about datarootdir, expand it.
19792 # FIXME: This hack should be removed a few years after 2.60.
19793 ac_datarootdir_hack=; ac_datarootdir_seen=
19794 ac_sed_dataroot='
19795 /datarootdir/ {
19799 /@datadir@/p
19800 /@docdir@/p
19801 /@infodir@/p
19802 /@localedir@/p
19803 /@mandir@/p'
19804 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19805 *datarootdir*) ac_datarootdir_seen=yes;;
19806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19808 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19809 _ACEOF
19810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19811 ac_datarootdir_hack='
19812 s&@datadir@&$datadir&g
19813 s&@docdir@&$docdir&g
19814 s&@infodir@&$infodir&g
19815 s&@localedir@&$localedir&g
19816 s&@mandir@&$mandir&g
19817 s&\\\${datarootdir}&$datarootdir&g' ;;
19818 esac
19819 _ACEOF
19821 # Neutralize VPATH when `$srcdir' = `.'.
19822 # Shell code in configure.ac might set extrasub.
19823 # FIXME: do we really want to maintain this feature?
19824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19825 ac_sed_extra="$ac_vpsub
19826 $extrasub
19827 _ACEOF
19828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19831 s|@configure_input@|$ac_sed_conf_input|;t t
19832 s&@top_builddir@&$ac_top_builddir_sub&;t t
19833 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19834 s&@srcdir@&$ac_srcdir&;t t
19835 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19836 s&@top_srcdir@&$ac_top_srcdir&;t t
19837 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19838 s&@builddir@&$ac_builddir&;t t
19839 s&@abs_builddir@&$ac_abs_builddir&;t t
19840 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19841 $ac_datarootdir_hack
19843 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19844 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19846 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19847 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19848 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19849 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19851 which seems to be undefined. Please make sure it is defined" >&5
19852 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19853 which seems to be undefined. Please make sure it is defined" >&2;}
19855 rm -f "$ac_tmp/stdin"
19856 case $ac_file in
19857 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19858 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19859 esac \
19860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19864 # CONFIG_HEADER
19866 if test x"$ac_file" != x-; then
19868 $as_echo "/* $configure_input */" \
19869 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19870 } >"$ac_tmp/config.h" \
19871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19872 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19874 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19875 else
19876 rm -f "$ac_file"
19877 mv "$ac_tmp/config.h" "$ac_file" \
19878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19880 else
19881 $as_echo "/* $configure_input */" \
19882 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19883 || as_fn_error $? "could not create -" "$LINENO" 5
19888 # CONFIG_LINK
19891 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19893 else
19894 # Prefer the file from the source tree if names are identical.
19895 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19896 ac_source=$srcdir/$ac_source
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19900 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19902 if test ! -r "$ac_source"; then
19903 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19905 rm -f "$ac_file"
19907 # Try a relative symlink, then a hard link, then a copy.
19908 case $ac_source in
19909 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19910 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19911 esac
19912 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19913 ln "$ac_source" "$ac_file" 2>/dev/null ||
19914 cp -p "$ac_source" "$ac_file" ||
19915 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19918 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19919 $as_echo "$as_me: executing $ac_file commands" >&6;}
19921 esac
19924 case $ac_file$ac_mode in
19925 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19926 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19927 "Makefile":C) wine_fn_output_makefile Makefile ;;
19929 esac
19930 done # for ac_tag
19933 as_fn_exit 0
19934 _ACEOF
19935 ac_clean_files=$ac_clean_files_save
19937 test $ac_write_fail = 0 ||
19938 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19941 # configure is writing to config.log, and then calls config.status.
19942 # config.status does its own redirection, appending to config.log.
19943 # Unfortunately, on DOS this fails, as config.log is still kept open
19944 # by configure, so config.status won't be able to write to it; its
19945 # output is simply discarded. So we exec the FD to /dev/null,
19946 # effectively closing config.log, so it can be properly (re)opened and
19947 # appended to by config.status. When coming back to configure, we
19948 # need to make the FD available again.
19949 if test "$no_create" != yes; then
19950 ac_cs_success=:
19951 ac_config_status_args=
19952 test "$silent" = yes &&
19953 ac_config_status_args="$ac_config_status_args --quiet"
19954 exec 5>/dev/null
19955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19956 exec 5>>config.log
19957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19958 # would make configure fail if this is the last instruction.
19959 $ac_cs_success || as_fn_exit 1
19961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19967 if test "$no_create" = "yes"
19968 then
19969 exit 0
19972 ac_save_IFS="$IFS"
19973 if test "x$wine_notices" != x; then
19974 echo >&6
19975 IFS="|"
19976 for msg in $wine_notices; do
19977 IFS="$ac_save_IFS"
19978 if ${msg:+false} :; then :
19980 else
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19982 $as_echo "$as_me: $msg" >&6;}
19984 done
19986 IFS="|"
19987 for msg in $wine_warnings; do
19988 IFS="$ac_save_IFS"
19989 if ${msg:+false} :; then :
19991 else
19992 echo >&2
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19994 $as_echo "$as_me: WARNING: $msg" >&2;}
19996 done
19997 IFS="$ac_save_IFS"
19999 $as_echo "
20000 $as_me: Finished. Do '${ac_make}' to compile Wine.
20001 " >&6