ext-ms-win-rtcore-gdi-object-l1-1-0: Add dll.
[wine.git] / configure
blobea52feb75d39fb556c1d1f5fc6172f2bd4522b03
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.22.
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.22'
584 PACKAGE_STRING='Wine 1.9.22'
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_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_psapi_obsolete_l1_1_0
946 enable_api_ms_win_core_realtime_l1_1_0
947 enable_api_ms_win_core_registry_l1_1_0
948 enable_api_ms_win_core_registryuserspecific_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_2_0
951 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
952 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
953 enable_api_ms_win_core_sidebyside_l1_1_0
954 enable_api_ms_win_core_string_l1_1_0
955 enable_api_ms_win_core_string_l2_1_0
956 enable_api_ms_win_core_string_obsolete_l1_1_0
957 enable_api_ms_win_core_stringansi_l1_1_0
958 enable_api_ms_win_core_synch_l1_1_0
959 enable_api_ms_win_core_synch_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_1_0
961 enable_api_ms_win_core_sysinfo_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_2_1
963 enable_api_ms_win_core_threadpool_l1_1_0
964 enable_api_ms_win_core_threadpool_l1_2_0
965 enable_api_ms_win_core_threadpool_legacy_l1_1_0
966 enable_api_ms_win_core_timezone_l1_1_0
967 enable_api_ms_win_core_toolhelp_l1_1_0
968 enable_api_ms_win_core_url_l1_1_0
969 enable_api_ms_win_core_util_l1_1_0
970 enable_api_ms_win_core_version_l1_1_0
971 enable_api_ms_win_core_version_private_l1_1_0
972 enable_api_ms_win_core_versionansi_l1_1_0
973 enable_api_ms_win_core_windowserrorreporting_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_1
976 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
977 enable_api_ms_win_core_winrt_l1_1_0
978 enable_api_ms_win_core_winrt_registration_l1_1_0
979 enable_api_ms_win_core_winrt_string_l1_1_0
980 enable_api_ms_win_core_wow64_l1_1_0
981 enable_api_ms_win_core_xstate_l1_1_0
982 enable_api_ms_win_core_xstate_l2_1_0
983 enable_api_ms_win_crt_conio_l1_1_0
984 enable_api_ms_win_crt_convert_l1_1_0
985 enable_api_ms_win_crt_environment_l1_1_0
986 enable_api_ms_win_crt_filesystem_l1_1_0
987 enable_api_ms_win_crt_heap_l1_1_0
988 enable_api_ms_win_crt_locale_l1_1_0
989 enable_api_ms_win_crt_math_l1_1_0
990 enable_api_ms_win_crt_multibyte_l1_1_0
991 enable_api_ms_win_crt_private_l1_1_0
992 enable_api_ms_win_crt_process_l1_1_0
993 enable_api_ms_win_crt_runtime_l1_1_0
994 enable_api_ms_win_crt_stdio_l1_1_0
995 enable_api_ms_win_crt_string_l1_1_0
996 enable_api_ms_win_crt_time_l1_1_0
997 enable_api_ms_win_crt_utility_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l2_1_0
1000 enable_api_ms_win_downlevel_normaliz_l1_1_0
1001 enable_api_ms_win_downlevel_ole32_l1_1_0
1002 enable_api_ms_win_downlevel_shell32_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1005 enable_api_ms_win_downlevel_user32_l1_1_0
1006 enable_api_ms_win_downlevel_version_l1_1_0
1007 enable_api_ms_win_eventing_classicprovider_l1_1_0
1008 enable_api_ms_win_eventing_consumer_l1_1_0
1009 enable_api_ms_win_eventing_controller_l1_1_0
1010 enable_api_ms_win_eventing_provider_l1_1_0
1011 enable_api_ms_win_eventlog_legacy_l1_1_0
1012 enable_api_ms_win_ntuser_dc_access_l1_1_0
1013 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1014 enable_api_ms_win_security_audit_l1_1_1
1015 enable_api_ms_win_security_base_l1_1_0
1016 enable_api_ms_win_security_base_l1_2_0
1017 enable_api_ms_win_security_base_private_l1_1_1
1018 enable_api_ms_win_security_lsalookup_l1_1_0
1019 enable_api_ms_win_security_lsalookup_l1_1_1
1020 enable_api_ms_win_security_sddl_l1_1_0
1021 enable_api_ms_win_service_core_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_1
1023 enable_api_ms_win_service_management_l1_1_0
1024 enable_api_ms_win_service_management_l2_1_0
1025 enable_api_ms_win_service_private_l1_1_1
1026 enable_api_ms_win_service_winsvc_l1_1_0
1027 enable_api_ms_win_service_winsvc_l1_2_0
1028 enable_api_ms_win_shell_shellcom_l1_1_0
1029 enable_api_ms_win_shell_shellfolders_l1_1_0
1030 enable_apphelp
1031 enable_appwiz_cpl
1032 enable_atl
1033 enable_atl100
1034 enable_atl110
1035 enable_atl80
1036 enable_atl90
1037 enable_authz
1038 enable_avicap32
1039 enable_avifil32
1040 enable_avrt
1041 enable_bcrypt
1042 enable_bluetoothapis
1043 enable_browseui
1044 enable_bthprops_cpl
1045 enable_cabinet
1046 enable_capi2032
1047 enable_cards
1048 enable_cfgmgr32
1049 enable_clusapi
1050 enable_combase
1051 enable_comcat
1052 enable_comctl32
1053 enable_comdlg32
1054 enable_compstui
1055 enable_comsvcs
1056 enable_concrt140
1057 enable_connect
1058 enable_credui
1059 enable_crtdll
1060 enable_crypt32
1061 enable_cryptdlg
1062 enable_cryptdll
1063 enable_cryptext
1064 enable_cryptnet
1065 enable_cryptui
1066 enable_ctapi32
1067 enable_ctl3d32
1068 enable_d2d1
1069 enable_d3d10
1070 enable_d3d10_1
1071 enable_d3d10core
1072 enable_d3d11
1073 enable_d3d8
1074 enable_d3d9
1075 enable_d3dcompiler_33
1076 enable_d3dcompiler_34
1077 enable_d3dcompiler_35
1078 enable_d3dcompiler_36
1079 enable_d3dcompiler_37
1080 enable_d3dcompiler_38
1081 enable_d3dcompiler_39
1082 enable_d3dcompiler_40
1083 enable_d3dcompiler_41
1084 enable_d3dcompiler_42
1085 enable_d3dcompiler_43
1086 enable_d3dcompiler_46
1087 enable_d3dcompiler_47
1088 enable_d3dim
1089 enable_d3drm
1090 enable_d3dx10_33
1091 enable_d3dx10_34
1092 enable_d3dx10_35
1093 enable_d3dx10_36
1094 enable_d3dx10_37
1095 enable_d3dx10_38
1096 enable_d3dx10_39
1097 enable_d3dx10_40
1098 enable_d3dx10_41
1099 enable_d3dx10_42
1100 enable_d3dx10_43
1101 enable_d3dx11_42
1102 enable_d3dx11_43
1103 enable_d3dx9_24
1104 enable_d3dx9_25
1105 enable_d3dx9_26
1106 enable_d3dx9_27
1107 enable_d3dx9_28
1108 enable_d3dx9_29
1109 enable_d3dx9_30
1110 enable_d3dx9_31
1111 enable_d3dx9_32
1112 enable_d3dx9_33
1113 enable_d3dx9_34
1114 enable_d3dx9_35
1115 enable_d3dx9_36
1116 enable_d3dx9_37
1117 enable_d3dx9_38
1118 enable_d3dx9_39
1119 enable_d3dx9_40
1120 enable_d3dx9_41
1121 enable_d3dx9_42
1122 enable_d3dx9_43
1123 enable_d3dxof
1124 enable_davclnt
1125 enable_dbgeng
1126 enable_dbghelp
1127 enable_dciman32
1128 enable_ddraw
1129 enable_ddrawex
1130 enable_devenum
1131 enable_dhcpcsvc
1132 enable_difxapi
1133 enable_dinput
1134 enable_dinput8
1135 enable_dispex
1136 enable_dmband
1137 enable_dmcompos
1138 enable_dmime
1139 enable_dmloader
1140 enable_dmscript
1141 enable_dmstyle
1142 enable_dmsynth
1143 enable_dmusic
1144 enable_dmusic32
1145 enable_dnsapi
1146 enable_dplay
1147 enable_dplayx
1148 enable_dpnaddr
1149 enable_dpnet
1150 enable_dpnhpast
1151 enable_dpnlobby
1152 enable_dpvoice
1153 enable_dpwsockx
1154 enable_drmclien
1155 enable_dsound
1156 enable_dssenh
1157 enable_dswave
1158 enable_dwmapi
1159 enable_dwrite
1160 enable_dxdiagn
1161 enable_dxgi
1162 enable_dxva2
1163 enable_esent
1164 enable_evr
1165 enable_explorerframe
1166 enable_ext_ms_win_gdi_dc_create_l1_1_1
1167 enable_ext_ms_win_gdi_dc_l1_2_0
1168 enable_ext_ms_win_gdi_devcaps_l1_1_0
1169 enable_ext_ms_win_gdi_draw_l1_1_1
1170 enable_ext_ms_win_gdi_render_l1_1_0
1171 enable_ext_ms_win_kernel32_package_current_l1_1_0
1172 enable_ext_ms_win_ntuser_message_l1_1_1
1173 enable_ext_ms_win_ntuser_private_l1_1_1
1174 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1175 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1176 enable_ext_ms_win_ntuser_window_l1_1_1
1177 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1178 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1179 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1180 enable_faultrep
1181 enable_fltlib
1182 enable_fltmgr_sys
1183 enable_fntcache
1184 enable_fontsub
1185 enable_fusion
1186 enable_fwpuclnt
1187 enable_gameux
1188 enable_gdi32
1189 enable_gdiplus
1190 enable_glu32
1191 enable_gphoto2_ds
1192 enable_gpkcsp
1193 enable_hal
1194 enable_hhctrl_ocx
1195 enable_hid
1196 enable_hidclass_sys
1197 enable_hlink
1198 enable_hnetcfg
1199 enable_httpapi
1200 enable_iccvid
1201 enable_icmp
1202 enable_ieframe
1203 enable_imaadp32_acm
1204 enable_imagehlp
1205 enable_imm32
1206 enable_inetcomm
1207 enable_inetcpl_cpl
1208 enable_inetmib1
1209 enable_infosoft
1210 enable_initpki
1211 enable_inkobj
1212 enable_inseng
1213 enable_iphlpapi
1214 enable_iprop
1215 enable_irprops_cpl
1216 enable_itircl
1217 enable_itss
1218 enable_joy_cpl
1219 enable_jscript
1220 enable_jsproxy
1221 enable_kernel32
1222 enable_kernelbase
1223 enable_ksuser
1224 enable_ktmw32
1225 enable_loadperf
1226 enable_localspl
1227 enable_localui
1228 enable_lz32
1229 enable_mapi32
1230 enable_mapistub
1231 enable_mciavi32
1232 enable_mcicda
1233 enable_mciqtz32
1234 enable_mciseq
1235 enable_mciwave
1236 enable_mf
1237 enable_mfplat
1238 enable_mfreadwrite
1239 enable_mgmtapi
1240 enable_midimap
1241 enable_mlang
1242 enable_mmcndmgr
1243 enable_mmdevapi
1244 enable_mountmgr_sys
1245 enable_mpr
1246 enable_mprapi
1247 enable_msacm32_drv
1248 enable_msacm32
1249 enable_msadp32_acm
1250 enable_msasn1
1251 enable_mscat32
1252 enable_mscms
1253 enable_mscoree
1254 enable_msctf
1255 enable_msctfp
1256 enable_msdaps
1257 enable_msdelta
1258 enable_msdmo
1259 enable_msdrm
1260 enable_msftedit
1261 enable_msg711_acm
1262 enable_msgsm32_acm
1263 enable_mshtml_tlb
1264 enable_mshtml
1265 enable_msi
1266 enable_msident
1267 enable_msimg32
1268 enable_msimsg
1269 enable_msimtf
1270 enable_msisip
1271 enable_msisys_ocx
1272 enable_msls31
1273 enable_msnet32
1274 enable_mspatcha
1275 enable_msports
1276 enable_msrle32
1277 enable_msscript_ocx
1278 enable_mssign32
1279 enable_mssip32
1280 enable_mstask
1281 enable_msvcirt
1282 enable_msvcm80
1283 enable_msvcm90
1284 enable_msvcp100
1285 enable_msvcp110
1286 enable_msvcp120
1287 enable_msvcp120_app
1288 enable_msvcp140
1289 enable_msvcp60
1290 enable_msvcp70
1291 enable_msvcp71
1292 enable_msvcp80
1293 enable_msvcp90
1294 enable_msvcr100
1295 enable_msvcr110
1296 enable_msvcr120
1297 enable_msvcr120_app
1298 enable_msvcr70
1299 enable_msvcr71
1300 enable_msvcr80
1301 enable_msvcr90
1302 enable_msvcrt
1303 enable_msvcrt20
1304 enable_msvcrt40
1305 enable_msvcrtd
1306 enable_msvfw32
1307 enable_msvidc32
1308 enable_mswsock
1309 enable_msxml
1310 enable_msxml2
1311 enable_msxml3
1312 enable_msxml4
1313 enable_msxml6
1314 enable_ncrypt
1315 enable_nddeapi
1316 enable_ndis_sys
1317 enable_netapi32
1318 enable_netcfgx
1319 enable_netprofm
1320 enable_newdev
1321 enable_normaliz
1322 enable_npmshtml
1323 enable_npptools
1324 enable_ntdll
1325 enable_ntdsapi
1326 enable_ntoskrnl_exe
1327 enable_ntprint
1328 enable_objsel
1329 enable_odbc32
1330 enable_odbccp32
1331 enable_odbccu32
1332 enable_ole32
1333 enable_oleacc
1334 enable_oleaut32
1335 enable_olecli32
1336 enable_oledb32
1337 enable_oledlg
1338 enable_olepro32
1339 enable_olesvr32
1340 enable_olethk32
1341 enable_openal32
1342 enable_opencl
1343 enable_opengl32
1344 enable_packager
1345 enable_pdh
1346 enable_photometadatahandler
1347 enable_pidgen
1348 enable_powrprof
1349 enable_printui
1350 enable_prntvpt
1351 enable_propsys
1352 enable_psapi
1353 enable_pstorec
1354 enable_qcap
1355 enable_qedit
1356 enable_qmgr
1357 enable_qmgrprxy
1358 enable_quartz
1359 enable_query
1360 enable_rasapi32
1361 enable_rasdlg
1362 enable_regapi
1363 enable_resutils
1364 enable_riched20
1365 enable_riched32
1366 enable_rpcrt4
1367 enable_rsabase
1368 enable_rsaenh
1369 enable_rstrtmgr
1370 enable_rtutils
1371 enable_samlib
1372 enable_sane_ds
1373 enable_scarddlg
1374 enable_sccbase
1375 enable_schannel
1376 enable_schedsvc
1377 enable_scrrun
1378 enable_scsiport_sys
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shdoclc
1387 enable_shdocvw
1388 enable_shell32
1389 enable_shfolder
1390 enable_shlwapi
1391 enable_slbcsp
1392 enable_slc
1393 enable_snmpapi
1394 enable_softpub
1395 enable_spoolss
1396 enable_sspicli
1397 enable_stdole2_tlb
1398 enable_stdole32_tlb
1399 enable_sti
1400 enable_svrapi
1401 enable_sxs
1402 enable_t2embed
1403 enable_tapi32
1404 enable_taskschd
1405 enable_tdi_sys
1406 enable_traffic
1407 enable_twain_32
1408 enable_ucrtbase
1409 enable_unicows
1410 enable_updspapi
1411 enable_url
1412 enable_urlmon
1413 enable_usbd_sys
1414 enable_user32
1415 enable_userenv
1416 enable_usp10
1417 enable_uxtheme
1418 enable_vbscript
1419 enable_vcomp
1420 enable_vcomp100
1421 enable_vcomp110
1422 enable_vcomp120
1423 enable_vcomp140
1424 enable_vcomp90
1425 enable_vcruntime140
1426 enable_vdmdbg
1427 enable_version
1428 enable_vssapi
1429 enable_wbemdisp
1430 enable_wbemprox
1431 enable_webservices
1432 enable_wer
1433 enable_wevtapi
1434 enable_wiaservc
1435 enable_wimgapi
1436 enable_windowscodecs
1437 enable_windowscodecsext
1438 enable_winealsa_drv
1439 enable_winebus_sys
1440 enable_winecoreaudio_drv
1441 enable_wined3d
1442 enable_winegstreamer
1443 enable_winehid_sys
1444 enable_winejoystick_drv
1445 enable_winemac_drv
1446 enable_winemapi
1447 enable_winemp3_acm
1448 enable_wineoss_drv
1449 enable_wineps_drv
1450 enable_winepulse_drv
1451 enable_wineqtdecoder
1452 enable_winex11_drv
1453 enable_wing32
1454 enable_winhttp
1455 enable_wininet
1456 enable_winmm
1457 enable_winnls32
1458 enable_winscard
1459 enable_winspool_drv
1460 enable_winsta
1461 enable_wintab32
1462 enable_wintrust
1463 enable_wlanapi
1464 enable_wldap32
1465 enable_wmasf
1466 enable_wmi
1467 enable_wmiutils
1468 enable_wmp
1469 enable_wmvcore
1470 enable_wnaspi32
1471 enable_wpc
1472 enable_wpcap
1473 enable_ws2_32
1474 enable_wshom_ocx
1475 enable_wsnmp32
1476 enable_wsock32
1477 enable_wtsapi32
1478 enable_wuapi
1479 enable_wuaueng
1480 enable_x3daudio1_0
1481 enable_x3daudio1_1
1482 enable_x3daudio1_2
1483 enable_x3daudio1_3
1484 enable_x3daudio1_4
1485 enable_x3daudio1_5
1486 enable_x3daudio1_6
1487 enable_x3daudio1_7
1488 enable_xapofx1_1
1489 enable_xapofx1_2
1490 enable_xapofx1_3
1491 enable_xapofx1_4
1492 enable_xapofx1_5
1493 enable_xaudio2_0
1494 enable_xaudio2_1
1495 enable_xaudio2_2
1496 enable_xaudio2_3
1497 enable_xaudio2_4
1498 enable_xaudio2_5
1499 enable_xaudio2_6
1500 enable_xaudio2_7
1501 enable_xaudio2_8
1502 enable_xaudio2_9
1503 enable_xinput1_1
1504 enable_xinput1_2
1505 enable_xinput1_3
1506 enable_xinput1_4
1507 enable_xinput9_1_0
1508 enable_xmllite
1509 enable_xolehlp
1510 enable_xpsprint
1511 enable_xpssvcs
1512 enable_fonts
1513 enable_include
1514 enable_libs_port
1515 enable_libs_wine
1516 enable_libs_wpp
1517 enable_loader
1518 enable_po
1519 enable_arp
1520 enable_aspnet_regiis
1521 enable_attrib
1522 enable_cabarc
1523 enable_cacls
1524 enable_clock
1525 enable_cmd
1526 enable_conhost
1527 enable_control
1528 enable_cscript
1529 enable_dpnsvr
1530 enable_dxdiag
1531 enable_eject
1532 enable_expand
1533 enable_explorer
1534 enable_extrac32
1535 enable_findstr
1536 enable_fsutil
1537 enable_hh
1538 enable_hostname
1539 enable_icacls
1540 enable_icinfo
1541 enable_iexplore
1542 enable_ipconfig
1543 enable_lodctr
1544 enable_mofcomp
1545 enable_mshta
1546 enable_msiexec
1547 enable_msinfo32
1548 enable_net
1549 enable_netsh
1550 enable_netstat
1551 enable_ngen
1552 enable_notepad
1553 enable_oleview
1554 enable_ping
1555 enable_plugplay
1556 enable_presentationfontcache
1557 enable_progman
1558 enable_reg
1559 enable_regasm
1560 enable_regedit
1561 enable_regsvcs
1562 enable_regsvr32
1563 enable_rpcss
1564 enable_rundll32
1565 enable_sc
1566 enable_schtasks
1567 enable_sdbinst
1568 enable_secedit
1569 enable_servicemodelreg
1570 enable_services
1571 enable_shutdown
1572 enable_spoolsv
1573 enable_start
1574 enable_subst
1575 enable_svchost
1576 enable_systeminfo
1577 enable_taskkill
1578 enable_tasklist
1579 enable_taskmgr
1580 enable_termsv
1581 enable_uninstaller
1582 enable_unlodctr
1583 enable_view
1584 enable_wevtutil
1585 enable_wineboot
1586 enable_winebrowser
1587 enable_winecfg
1588 enable_wineconsole
1589 enable_winedbg
1590 enable_winedevice
1591 enable_winefile
1592 enable_winemenubuilder
1593 enable_winemine
1594 enable_winemsibuilder
1595 enable_winepath
1596 enable_winetest
1597 enable_winhlp32
1598 enable_winver
1599 enable_wmic
1600 enable_wmplayer
1601 enable_wordpad
1602 enable_write
1603 enable_wscript
1604 enable_wusa
1605 enable_xcopy
1606 enable_server
1607 enable_tools
1609 ac_precious_vars='build_alias
1610 host_alias
1611 target_alias
1613 CFLAGS
1614 LDFLAGS
1615 LIBS
1616 CPPFLAGS
1618 CXXFLAGS
1621 XMKMF
1622 XML2_CFLAGS
1623 XML2_LIBS
1624 XSLT_CFLAGS
1625 XSLT_LIBS
1626 DBUS_CFLAGS
1627 DBUS_LIBS
1628 HAL_CFLAGS
1629 HAL_LIBS
1630 GNUTLS_CFLAGS
1631 GNUTLS_LIBS
1632 SANE_CFLAGS
1633 SANE_LIBS
1634 GPHOTO2_CFLAGS
1635 GPHOTO2_LIBS
1636 GPHOTO2_PORT_CFLAGS
1637 GPHOTO2_PORT_LIBS
1638 LCMS2_CFLAGS
1639 LCMS2_LIBS
1640 FREETYPE_CFLAGS
1641 FREETYPE_LIBS
1642 PULSE_CFLAGS
1643 PULSE_LIBS
1644 GSTREAMER_CFLAGS
1645 GSTREAMER_LIBS
1646 UDEV_CFLAGS
1647 UDEV_LIBS
1648 CAPI20_CFLAGS
1649 CAPI20_LIBS
1650 FONTCONFIG_CFLAGS
1651 FONTCONFIG_LIBS
1652 JPEG_CFLAGS
1653 JPEG_LIBS
1654 PNG_CFLAGS
1655 PNG_LIBS
1656 TIFF_CFLAGS
1657 TIFF_LIBS
1658 MPG123_CFLAGS
1659 MPG123_LIBS
1660 NETAPI_CFLAGS
1661 NETAPI_LIBS'
1664 # Initialize some variables set by options.
1665 ac_init_help=
1666 ac_init_version=false
1667 ac_unrecognized_opts=
1668 ac_unrecognized_sep=
1669 # The variables have the same names as the options, with
1670 # dashes changed to underlines.
1671 cache_file=/dev/null
1672 exec_prefix=NONE
1673 no_create=
1674 no_recursion=
1675 prefix=NONE
1676 program_prefix=NONE
1677 program_suffix=NONE
1678 program_transform_name=s,x,x,
1679 silent=
1680 site=
1681 srcdir=
1682 verbose=
1683 x_includes=NONE
1684 x_libraries=NONE
1686 # Installation directory options.
1687 # These are left unexpanded so users can "make install exec_prefix=/foo"
1688 # and all the variables that are supposed to be based on exec_prefix
1689 # by default will actually change.
1690 # Use braces instead of parens because sh, perl, etc. also accept them.
1691 # (The list follows the same order as the GNU Coding Standards.)
1692 bindir='${exec_prefix}/bin'
1693 sbindir='${exec_prefix}/sbin'
1694 libexecdir='${exec_prefix}/libexec'
1695 datarootdir='${prefix}/share'
1696 datadir='${datarootdir}'
1697 sysconfdir='${prefix}/etc'
1698 sharedstatedir='${prefix}/com'
1699 localstatedir='${prefix}/var'
1700 runstatedir='${localstatedir}/run'
1701 includedir='${prefix}/include'
1702 oldincludedir='/usr/include'
1703 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1704 infodir='${datarootdir}/info'
1705 htmldir='${docdir}'
1706 dvidir='${docdir}'
1707 pdfdir='${docdir}'
1708 psdir='${docdir}'
1709 libdir='${exec_prefix}/lib'
1710 localedir='${datarootdir}/locale'
1711 mandir='${datarootdir}/man'
1713 ac_prev=
1714 ac_dashdash=
1715 for ac_option
1717 # If the previous option needs an argument, assign it.
1718 if test -n "$ac_prev"; then
1719 eval $ac_prev=\$ac_option
1720 ac_prev=
1721 continue
1724 case $ac_option in
1725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1726 *=) ac_optarg= ;;
1727 *) ac_optarg=yes ;;
1728 esac
1730 # Accept the important Cygnus configure options, so we can diagnose typos.
1732 case $ac_dashdash$ac_option in
1734 ac_dashdash=yes ;;
1736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1737 ac_prev=bindir ;;
1738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1739 bindir=$ac_optarg ;;
1741 -build | --build | --buil | --bui | --bu)
1742 ac_prev=build_alias ;;
1743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1744 build_alias=$ac_optarg ;;
1746 -cache-file | --cache-file | --cache-fil | --cache-fi \
1747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1748 ac_prev=cache_file ;;
1749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1751 cache_file=$ac_optarg ;;
1753 --config-cache | -C)
1754 cache_file=config.cache ;;
1756 -datadir | --datadir | --datadi | --datad)
1757 ac_prev=datadir ;;
1758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1759 datadir=$ac_optarg ;;
1761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1762 | --dataroo | --dataro | --datar)
1763 ac_prev=datarootdir ;;
1764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1766 datarootdir=$ac_optarg ;;
1768 -disable-* | --disable-*)
1769 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1772 as_fn_error $? "invalid feature name: $ac_useropt"
1773 ac_useropt_orig=$ac_useropt
1774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1777 "enable_$ac_useropt"
1778 "*) ;;
1779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1780 ac_unrecognized_sep=', ';;
1781 esac
1782 eval enable_$ac_useropt=no ;;
1784 -docdir | --docdir | --docdi | --doc | --do)
1785 ac_prev=docdir ;;
1786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1787 docdir=$ac_optarg ;;
1789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1790 ac_prev=dvidir ;;
1791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1792 dvidir=$ac_optarg ;;
1794 -enable-* | --enable-*)
1795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798 as_fn_error $? "invalid feature name: $ac_useropt"
1799 ac_useropt_orig=$ac_useropt
1800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1803 "enable_$ac_useropt"
1804 "*) ;;
1805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1806 ac_unrecognized_sep=', ';;
1807 esac
1808 eval enable_$ac_useropt=\$ac_optarg ;;
1810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1811 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1812 | --exec | --exe | --ex)
1813 ac_prev=exec_prefix ;;
1814 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1815 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1816 | --exec=* | --exe=* | --ex=*)
1817 exec_prefix=$ac_optarg ;;
1819 -gas | --gas | --ga | --g)
1820 # Obsolete; use --with-gas.
1821 with_gas=yes ;;
1823 -help | --help | --hel | --he | -h)
1824 ac_init_help=long ;;
1825 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1826 ac_init_help=recursive ;;
1827 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1828 ac_init_help=short ;;
1830 -host | --host | --hos | --ho)
1831 ac_prev=host_alias ;;
1832 -host=* | --host=* | --hos=* | --ho=*)
1833 host_alias=$ac_optarg ;;
1835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1836 ac_prev=htmldir ;;
1837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1838 | --ht=*)
1839 htmldir=$ac_optarg ;;
1841 -includedir | --includedir | --includedi | --included | --include \
1842 | --includ | --inclu | --incl | --inc)
1843 ac_prev=includedir ;;
1844 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1845 | --includ=* | --inclu=* | --incl=* | --inc=*)
1846 includedir=$ac_optarg ;;
1848 -infodir | --infodir | --infodi | --infod | --info | --inf)
1849 ac_prev=infodir ;;
1850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1851 infodir=$ac_optarg ;;
1853 -libdir | --libdir | --libdi | --libd)
1854 ac_prev=libdir ;;
1855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1856 libdir=$ac_optarg ;;
1858 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1859 | --libexe | --libex | --libe)
1860 ac_prev=libexecdir ;;
1861 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1862 | --libexe=* | --libex=* | --libe=*)
1863 libexecdir=$ac_optarg ;;
1865 -localedir | --localedir | --localedi | --localed | --locale)
1866 ac_prev=localedir ;;
1867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1868 localedir=$ac_optarg ;;
1870 -localstatedir | --localstatedir | --localstatedi | --localstated \
1871 | --localstate | --localstat | --localsta | --localst | --locals)
1872 ac_prev=localstatedir ;;
1873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1875 localstatedir=$ac_optarg ;;
1877 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1878 ac_prev=mandir ;;
1879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1880 mandir=$ac_optarg ;;
1882 -nfp | --nfp | --nf)
1883 # Obsolete; use --without-fp.
1884 with_fp=no ;;
1886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1887 | --no-cr | --no-c | -n)
1888 no_create=yes ;;
1890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1892 no_recursion=yes ;;
1894 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1895 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1896 | --oldin | --oldi | --old | --ol | --o)
1897 ac_prev=oldincludedir ;;
1898 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1899 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1900 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1901 oldincludedir=$ac_optarg ;;
1903 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1904 ac_prev=prefix ;;
1905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1906 prefix=$ac_optarg ;;
1908 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1909 | --program-pre | --program-pr | --program-p)
1910 ac_prev=program_prefix ;;
1911 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1912 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1913 program_prefix=$ac_optarg ;;
1915 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1916 | --program-suf | --program-su | --program-s)
1917 ac_prev=program_suffix ;;
1918 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1919 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1920 program_suffix=$ac_optarg ;;
1922 -program-transform-name | --program-transform-name \
1923 | --program-transform-nam | --program-transform-na \
1924 | --program-transform-n | --program-transform- \
1925 | --program-transform | --program-transfor \
1926 | --program-transfo | --program-transf \
1927 | --program-trans | --program-tran \
1928 | --progr-tra | --program-tr | --program-t)
1929 ac_prev=program_transform_name ;;
1930 -program-transform-name=* | --program-transform-name=* \
1931 | --program-transform-nam=* | --program-transform-na=* \
1932 | --program-transform-n=* | --program-transform-=* \
1933 | --program-transform=* | --program-transfor=* \
1934 | --program-transfo=* | --program-transf=* \
1935 | --program-trans=* | --program-tran=* \
1936 | --progr-tra=* | --program-tr=* | --program-t=*)
1937 program_transform_name=$ac_optarg ;;
1939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1940 ac_prev=pdfdir ;;
1941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1942 pdfdir=$ac_optarg ;;
1944 -psdir | --psdir | --psdi | --psd | --ps)
1945 ac_prev=psdir ;;
1946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1947 psdir=$ac_optarg ;;
1949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1950 | -silent | --silent | --silen | --sile | --sil)
1951 silent=yes ;;
1953 -runstatedir | --runstatedir | --runstatedi | --runstated \
1954 | --runstate | --runstat | --runsta | --runst | --runs \
1955 | --run | --ru | --r)
1956 ac_prev=runstatedir ;;
1957 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1958 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1959 | --run=* | --ru=* | --r=*)
1960 runstatedir=$ac_optarg ;;
1962 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1963 ac_prev=sbindir ;;
1964 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1965 | --sbi=* | --sb=*)
1966 sbindir=$ac_optarg ;;
1968 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1969 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1970 | --sharedst | --shareds | --shared | --share | --shar \
1971 | --sha | --sh)
1972 ac_prev=sharedstatedir ;;
1973 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1974 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1975 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1976 | --sha=* | --sh=*)
1977 sharedstatedir=$ac_optarg ;;
1979 -site | --site | --sit)
1980 ac_prev=site ;;
1981 -site=* | --site=* | --sit=*)
1982 site=$ac_optarg ;;
1984 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1985 ac_prev=srcdir ;;
1986 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1987 srcdir=$ac_optarg ;;
1989 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1990 | --syscon | --sysco | --sysc | --sys | --sy)
1991 ac_prev=sysconfdir ;;
1992 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1993 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1994 sysconfdir=$ac_optarg ;;
1996 -target | --target | --targe | --targ | --tar | --ta | --t)
1997 ac_prev=target_alias ;;
1998 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1999 target_alias=$ac_optarg ;;
2001 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2002 verbose=yes ;;
2004 -version | --version | --versio | --versi | --vers | -V)
2005 ac_init_version=: ;;
2007 -with-* | --with-*)
2008 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
2019 ac_unrecognized_sep=', ';;
2020 esac
2021 eval with_$ac_useropt=\$ac_optarg ;;
2023 -without-* | --without-*)
2024 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2025 # Reject names that are not valid shell variable names.
2026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2027 as_fn_error $? "invalid package name: $ac_useropt"
2028 ac_useropt_orig=$ac_useropt
2029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2030 case $ac_user_opts in
2032 "with_$ac_useropt"
2033 "*) ;;
2034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2035 ac_unrecognized_sep=', ';;
2036 esac
2037 eval with_$ac_useropt=no ;;
2039 --x)
2040 # Obsolete; use --with-x.
2041 with_x=yes ;;
2043 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2044 | --x-incl | --x-inc | --x-in | --x-i)
2045 ac_prev=x_includes ;;
2046 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2047 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2048 x_includes=$ac_optarg ;;
2050 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2051 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2052 ac_prev=x_libraries ;;
2053 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2054 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2055 x_libraries=$ac_optarg ;;
2057 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2058 Try \`$0 --help' for more information"
2061 *=*)
2062 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2063 # Reject names that are not valid shell variable names.
2064 case $ac_envvar in #(
2065 '' | [0-9]* | *[!_$as_cr_alnum]* )
2066 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2067 esac
2068 eval $ac_envvar=\$ac_optarg
2069 export $ac_envvar ;;
2072 # FIXME: should be removed in autoconf 3.0.
2073 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2074 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2075 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2076 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2079 esac
2080 done
2082 if test -n "$ac_prev"; then
2083 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2084 as_fn_error $? "missing argument to $ac_option"
2087 if test -n "$ac_unrecognized_opts"; then
2088 case $enable_option_checking in
2089 no) ;;
2090 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2091 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2092 esac
2095 # Check all directory arguments for consistency.
2096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2097 datadir sysconfdir sharedstatedir localstatedir includedir \
2098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2099 libdir localedir mandir runstatedir
2101 eval ac_val=\$$ac_var
2102 # Remove trailing slashes.
2103 case $ac_val in
2104 */ )
2105 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2106 eval $ac_var=\$ac_val;;
2107 esac
2108 # Be sure to have absolute directory names.
2109 case $ac_val in
2110 [\\/$]* | ?:[\\/]* ) continue;;
2111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2112 esac
2113 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2114 done
2116 # There might be people who depend on the old broken behavior: `$host'
2117 # used to hold the argument of --host etc.
2118 # FIXME: To remove some day.
2119 build=$build_alias
2120 host=$host_alias
2121 target=$target_alias
2123 # FIXME: To remove some day.
2124 if test "x$host_alias" != x; then
2125 if test "x$build_alias" = x; then
2126 cross_compiling=maybe
2127 elif test "x$build_alias" != "x$host_alias"; then
2128 cross_compiling=yes
2132 ac_tool_prefix=
2133 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2135 test "$silent" = yes && exec 6>/dev/null
2138 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2139 ac_ls_di=`ls -di .` &&
2140 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2141 as_fn_error $? "working directory cannot be determined"
2142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2143 as_fn_error $? "pwd does not report name of working directory"
2146 # Find the source files, if location was not specified.
2147 if test -z "$srcdir"; then
2148 ac_srcdir_defaulted=yes
2149 # Try the directory containing this script, then the parent directory.
2150 ac_confdir=`$as_dirname -- "$as_myself" ||
2151 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2152 X"$as_myself" : 'X\(//\)[^/]' \| \
2153 X"$as_myself" : 'X\(//\)$' \| \
2154 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2155 $as_echo X"$as_myself" |
2156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2157 s//\1/
2160 /^X\(\/\/\)[^/].*/{
2161 s//\1/
2164 /^X\(\/\/\)$/{
2165 s//\1/
2168 /^X\(\/\).*/{
2169 s//\1/
2172 s/.*/./; q'`
2173 srcdir=$ac_confdir
2174 if test ! -r "$srcdir/$ac_unique_file"; then
2175 srcdir=..
2177 else
2178 ac_srcdir_defaulted=no
2180 if test ! -r "$srcdir/$ac_unique_file"; then
2181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2182 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2185 ac_abs_confdir=`(
2186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2187 pwd)`
2188 # When building in place, set srcdir=.
2189 if test "$ac_abs_confdir" = "$ac_pwd"; then
2190 srcdir=.
2192 # Remove unnecessary trailing slashes from srcdir.
2193 # Double slashes in file names in object file debugging info
2194 # mess up M-x gdb in Emacs.
2195 case $srcdir in
2196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2197 esac
2198 for ac_var in $ac_precious_vars; do
2199 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2200 eval ac_env_${ac_var}_value=\$${ac_var}
2201 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2202 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2203 done
2206 # Report the --help message.
2208 if test "$ac_init_help" = "long"; then
2209 # Omit some internal or obsolete options to make the list less imposing.
2210 # This message is too long to be a string in the A/UX 3.1 sh.
2211 cat <<_ACEOF
2212 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2214 Usage: $0 [OPTION]... [VAR=VALUE]...
2216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2217 VAR=VALUE. See below for descriptions of some of the useful variables.
2219 Defaults for the options are specified in brackets.
2221 Configuration:
2222 -h, --help display this help and exit
2223 --help=short display options specific to this package
2224 --help=recursive display the short help of all the included packages
2225 -V, --version display version information and exit
2226 -q, --quiet, --silent do not print \`checking ...' messages
2227 --cache-file=FILE cache test results in FILE [disabled]
2228 -C, --config-cache alias for \`--cache-file=config.cache'
2229 -n, --no-create do not create output files
2230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2232 Installation directories:
2233 --prefix=PREFIX install architecture-independent files in PREFIX
2234 [$ac_default_prefix]
2235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2236 [PREFIX]
2238 By default, \`make install' will install all the files in
2239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2241 for instance \`--prefix=\$HOME'.
2243 For better control, use the options below.
2245 Fine tuning of the installation directories:
2246 --bindir=DIR user executables [EPREFIX/bin]
2247 --sbindir=DIR system admin executables [EPREFIX/sbin]
2248 --libexecdir=DIR program executables [EPREFIX/libexec]
2249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2252 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2253 --libdir=DIR object code libraries [EPREFIX/lib]
2254 --includedir=DIR C header files [PREFIX/include]
2255 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2256 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2257 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2258 --infodir=DIR info documentation [DATAROOTDIR/info]
2259 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2260 --mandir=DIR man documentation [DATAROOTDIR/man]
2261 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2262 --htmldir=DIR html documentation [DOCDIR]
2263 --dvidir=DIR dvi documentation [DOCDIR]
2264 --pdfdir=DIR pdf documentation [DOCDIR]
2265 --psdir=DIR ps documentation [DOCDIR]
2266 _ACEOF
2268 cat <<\_ACEOF
2270 X features:
2271 --x-includes=DIR X include files are in DIR
2272 --x-libraries=DIR X library files are in DIR
2274 System types:
2275 --build=BUILD configure for building on BUILD [guessed]
2276 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2277 _ACEOF
2280 if test -n "$ac_init_help"; then
2281 case $ac_init_help in
2282 short | recursive ) echo "Configuration of Wine 1.9.22:";;
2283 esac
2284 cat <<\_ACEOF
2286 Optional Features:
2287 --disable-option-checking ignore unrecognized --enable/--with options
2288 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2289 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2290 --disable-win16 do not include Win16 support
2291 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2292 binaries)
2293 --disable-tests do not build the regression tests
2294 --enable-maintainer-mode
2295 enable maintainer-specific build rules
2296 --disable-largefile omit support for large files
2298 Optional Packages:
2299 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2300 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2301 --without-alsa do not use the Alsa sound support
2302 --without-capi do not use CAPI (ISDN support)
2303 --without-cms do not use CMS (color management support)
2304 --without-coreaudio do not use the CoreAudio sound support
2305 --without-cups do not use CUPS
2306 --without-curses do not use (n)curses
2307 --without-dbus do not use DBus (dynamic device support)
2308 --without-fontconfig do not use fontconfig
2309 --without-freetype do not use the FreeType library
2310 --without-gettext do not use gettext
2311 --with-gettextpo use the GetTextPO library to rebuild po files
2312 --without-gphoto do not use gphoto (Digital Camera support)
2313 --without-glu do not use the GLU library
2314 --without-gnutls do not use GnuTLS (schannel support)
2315 --without-gsm do not use libgsm (GSM 06.10 codec support)
2316 --without-gstreamer do not use GStreamer (codecs support)
2317 --without-hal do not use HAL (dynamic device support)
2318 --without-jpeg do not use JPEG
2319 --without-ldap do not use LDAP
2320 --without-mpg123 do not use the mpg123 library
2321 --without-netapi do not use the Samba NetAPI library
2322 --without-openal do not use OpenAL
2323 --without-opencl do not use OpenCL
2324 --without-opengl do not use OpenGL
2325 --without-osmesa do not use the OSMesa library
2326 --without-oss do not use the OSS sound support
2327 --without-pcap do not use the Packet Capture library
2328 --without-png do not use PNG
2329 --without-pthread do not use the pthread library
2330 --without-pulse do not use PulseAudio sound support
2331 --without-sane do not use SANE (scanner support)
2332 --without-tiff do not use TIFF
2333 --without-udev do not use udev (plug and play support)
2334 --without-v4l do not use v4l1 (v4l support)
2335 --without-xcomposite do not use the Xcomposite extension
2336 --without-xcursor do not use the Xcursor extension
2337 --without-xinerama do not use Xinerama (multi-monitor support)
2338 --without-xinput do not use the Xinput extension
2339 --without-xinput2 do not use the Xinput 2 extension
2340 --without-xml do not use XML
2341 --without-xrandr do not use Xrandr (resolution changes)
2342 --without-xrender do not use the Xrender extension
2343 --without-xshape do not use the Xshape extension
2344 --without-xshm do not use XShm (shared memory extension)
2345 --without-xslt do not use XSLT
2346 --without-xxf86vm do not use XFree video mode extension
2347 --without-zlib do not use Zlib (data compression)
2348 --with-wine-tools=DIR use Wine tools from directory DIR
2349 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2350 --with-x use the X Window System
2352 Some influential environment variables:
2353 CC C compiler command
2354 CFLAGS C compiler flags
2355 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2356 nonstandard directory <lib dir>
2357 LIBS libraries to pass to the linker, e.g. -l<library>
2358 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2359 you have headers in a nonstandard directory <include dir>
2360 CXX C++ compiler command
2361 CXXFLAGS C++ compiler flags
2362 CPP C preprocessor
2363 XMKMF Path to xmkmf, Makefile generator for X Window System
2364 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2365 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2366 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2367 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2368 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2369 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2370 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2371 HAL_LIBS Linker flags for hal, overriding pkg-config
2372 GNUTLS_CFLAGS
2373 C compiler flags for gnutls, overriding pkg-config
2374 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2375 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2376 SANE_LIBS Linker flags for libsane, overriding pkg-config
2377 GPHOTO2_CFLAGS
2378 C compiler flags for libgphoto2, overriding pkg-config
2379 GPHOTO2_LIBS
2380 Linker flags for libgphoto2, overriding pkg-config
2381 GPHOTO2_PORT_CFLAGS
2382 C compiler flags for libgphoto2_port, overriding pkg-config
2383 GPHOTO2_PORT_LIBS
2384 Linker flags for libgphoto2_port, overriding pkg-config
2385 LCMS2_CFLAGS
2386 C compiler flags for lcms2, overriding pkg-config
2387 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2388 FREETYPE_CFLAGS
2389 C compiler flags for freetype2, overriding pkg-config
2390 FREETYPE_LIBS
2391 Linker flags for freetype2, overriding pkg-config
2392 PULSE_CFLAGS
2393 C compiler flags for libpulse, overriding pkg-config
2394 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2395 GSTREAMER_CFLAGS
2396 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2397 gstreamer-audio-1.0, overriding pkg-config
2398 GSTREAMER_LIBS
2399 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2400 gstreamer-audio-1.0, overriding pkg-config
2401 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2402 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2403 CAPI20_CFLAGS
2404 C compiler flags for capi20, overriding pkg-config
2405 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2406 FONTCONFIG_CFLAGS
2407 C compiler flags for fontconfig, overriding pkg-config
2408 FONTCONFIG_LIBS
2409 Linker flags for fontconfig, overriding pkg-config
2410 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2411 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2412 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2413 PNG_LIBS Linker flags for libpng, overriding pkg-config
2414 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2415 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2416 MPG123_CFLAGS
2417 C compiler flags for libmpg123, overriding pkg-config
2418 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2419 NETAPI_CFLAGS
2420 C compiler flags for netapi, overriding pkg-config
2421 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2423 Use these variables to override the choices made by `configure' or to help
2424 it to find libraries and programs with nonstandard names/locations.
2426 Report bugs to <wine-devel@winehq.org>.
2427 Wine home page: <http://www.winehq.org>.
2428 _ACEOF
2429 ac_status=$?
2432 if test "$ac_init_help" = "recursive"; then
2433 # If there are subdirs, report their specific --help.
2434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2435 test -d "$ac_dir" ||
2436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2437 continue
2438 ac_builddir=.
2440 case "$ac_dir" in
2441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2444 # A ".." for each directory in $ac_dir_suffix.
2445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2446 case $ac_top_builddir_sub in
2447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2449 esac ;;
2450 esac
2451 ac_abs_top_builddir=$ac_pwd
2452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2453 # for backward compatibility:
2454 ac_top_builddir=$ac_top_build_prefix
2456 case $srcdir in
2457 .) # We are building in place.
2458 ac_srcdir=.
2459 ac_top_srcdir=$ac_top_builddir_sub
2460 ac_abs_top_srcdir=$ac_pwd ;;
2461 [\\/]* | ?:[\\/]* ) # Absolute name.
2462 ac_srcdir=$srcdir$ac_dir_suffix;
2463 ac_top_srcdir=$srcdir
2464 ac_abs_top_srcdir=$srcdir ;;
2465 *) # Relative name.
2466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2467 ac_top_srcdir=$ac_top_build_prefix$srcdir
2468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2469 esac
2470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2472 cd "$ac_dir" || { ac_status=$?; continue; }
2473 # Check for guested configure.
2474 if test -f "$ac_srcdir/configure.gnu"; then
2475 echo &&
2476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2477 elif test -f "$ac_srcdir/configure"; then
2478 echo &&
2479 $SHELL "$ac_srcdir/configure" --help=recursive
2480 else
2481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2482 fi || ac_status=$?
2483 cd "$ac_pwd" || { ac_status=$?; break; }
2484 done
2487 test -n "$ac_init_help" && exit $ac_status
2488 if $ac_init_version; then
2489 cat <<\_ACEOF
2490 Wine configure 1.9.22
2491 generated by GNU Autoconf 2.69
2493 Copyright (C) 2012 Free Software Foundation, Inc.
2494 This configure script is free software; the Free Software Foundation
2495 gives unlimited permission to copy, distribute and modify it.
2496 _ACEOF
2497 exit
2500 ## ------------------------ ##
2501 ## Autoconf initialization. ##
2502 ## ------------------------ ##
2504 # ac_fn_c_try_compile LINENO
2505 # --------------------------
2506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2507 ac_fn_c_try_compile ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 rm -f conftest.$ac_objext
2511 if { { ac_try="$ac_compile"
2512 case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515 esac
2516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_compile") 2>conftest.err
2519 ac_status=$?
2520 if test -s conftest.err; then
2521 grep -v '^ *+' conftest.err >conftest.er1
2522 cat conftest.er1 >&5
2523 mv -f conftest.er1 conftest.err
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526 test $ac_status = 0; } && {
2527 test -z "$ac_c_werror_flag" ||
2528 test ! -s conftest.err
2529 } && test -s conftest.$ac_objext; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=1
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2538 as_fn_set_status $ac_retval
2540 } # ac_fn_c_try_compile
2542 # ac_fn_cxx_try_compile LINENO
2543 # ----------------------------
2544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2545 ac_fn_cxx_try_compile ()
2547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2548 rm -f conftest.$ac_objext
2549 if { { ac_try="$ac_compile"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_compile") 2>conftest.err
2557 ac_status=$?
2558 if test -s conftest.err; then
2559 grep -v '^ *+' conftest.err >conftest.er1
2560 cat conftest.er1 >&5
2561 mv -f conftest.er1 conftest.err
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; } && {
2565 test -z "$ac_cxx_werror_flag" ||
2566 test ! -s conftest.err
2567 } && test -s conftest.$ac_objext; then :
2568 ac_retval=0
2569 else
2570 $as_echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 ac_retval=1
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 as_fn_set_status $ac_retval
2578 } # ac_fn_cxx_try_compile
2580 # ac_fn_c_try_link LINENO
2581 # -----------------------
2582 # Try to link conftest.$ac_ext, and return whether this succeeded.
2583 ac_fn_c_try_link ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 rm -f conftest.$ac_objext conftest$ac_exeext
2587 if { { ac_try="$ac_link"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_link") 2>conftest.err
2595 ac_status=$?
2596 if test -s conftest.err; then
2597 grep -v '^ *+' conftest.err >conftest.er1
2598 cat conftest.er1 >&5
2599 mv -f conftest.er1 conftest.err
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; } && {
2603 test -z "$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest$ac_exeext && {
2606 test "$cross_compiling" = yes ||
2607 test -x conftest$ac_exeext
2608 }; then :
2609 ac_retval=0
2610 else
2611 $as_echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 ac_retval=1
2616 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2617 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2618 # interfere with the next link command; also delete a directory that is
2619 # left behind by Apple's compiler. We do this before executing the actions.
2620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2622 as_fn_set_status $ac_retval
2624 } # ac_fn_c_try_link
2626 # ac_fn_c_try_cpp LINENO
2627 # ----------------------
2628 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2629 ac_fn_c_try_cpp ()
2631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2632 if { { ac_try="$ac_cpp conftest.$ac_ext"
2633 case "(($ac_try" in
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2636 esac
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2640 ac_status=$?
2641 if test -s conftest.err; then
2642 grep -v '^ *+' conftest.err >conftest.er1
2643 cat conftest.er1 >&5
2644 mv -f conftest.er1 conftest.err
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; } > conftest.i && {
2648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2649 test ! -s conftest.err
2650 }; then :
2651 ac_retval=0
2652 else
2653 $as_echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2656 ac_retval=1
2658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2659 as_fn_set_status $ac_retval
2661 } # ac_fn_c_try_cpp
2663 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2664 # -------------------------------------------------------
2665 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2666 # the include files in INCLUDES and setting the cache variable VAR
2667 # accordingly.
2668 ac_fn_c_check_header_mongrel ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 if eval \${$3+:} false; then :
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2673 $as_echo_n "checking for $2... " >&6; }
2674 if eval \${$3+:} false; then :
2675 $as_echo_n "(cached) " >&6
2677 eval ac_res=\$$3
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2679 $as_echo "$ac_res" >&6; }
2680 else
2681 # Is the header compilable?
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2683 $as_echo_n "checking $2 usability... " >&6; }
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2687 #include <$2>
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 ac_header_compiler=yes
2691 else
2692 ac_header_compiler=no
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2696 $as_echo "$ac_header_compiler" >&6; }
2698 # Is the header present?
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2700 $as_echo_n "checking $2 presence... " >&6; }
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2703 #include <$2>
2704 _ACEOF
2705 if ac_fn_c_try_cpp "$LINENO"; then :
2706 ac_header_preproc=yes
2707 else
2708 ac_header_preproc=no
2710 rm -f conftest.err conftest.i conftest.$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2712 $as_echo "$ac_header_preproc" >&6; }
2714 # So? What about this header?
2715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2716 yes:no: )
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2718 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2720 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2722 no:yes:* )
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2724 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2726 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2728 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2730 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2733 ( $as_echo "## ------------------------------------ ##
2734 ## Report this to wine-devel@winehq.org ##
2735 ## ------------------------------------ ##"
2736 ) | sed "s/^/$as_me: WARNING: /" >&2
2738 esac
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2740 $as_echo_n "checking for $2... " >&6; }
2741 if eval \${$3+:} false; then :
2742 $as_echo_n "(cached) " >&6
2743 else
2744 eval "$3=\$ac_header_compiler"
2746 eval ac_res=\$$3
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 } # ac_fn_c_check_header_mongrel
2754 # ac_fn_c_try_run LINENO
2755 # ----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2757 # that executables *can* be run.
2758 ac_fn_c_try_run ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 if { { ac_try="$ac_link"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 $as_echo "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>&5
2769 ac_status=$?
2770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2771 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2772 { { case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 $as_echo "$ac_try_echo"; } >&5
2778 (eval "$ac_try") 2>&5
2779 ac_status=$?
2780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; }; }; then :
2782 ac_retval=0
2783 else
2784 $as_echo "$as_me: program exited with status $ac_status" >&5
2785 $as_echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 ac_retval=$ac_status
2790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_c_try_run
2796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2797 # -------------------------------------------------------
2798 # Tests whether HEADER exists and can be compiled using the include files in
2799 # INCLUDES, setting the cache variable VAR accordingly.
2800 ac_fn_c_check_header_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2804 $as_echo_n "checking for $2... " >&6; }
2805 if eval \${$3+:} false; then :
2806 $as_echo_n "(cached) " >&6
2807 else
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2811 #include <$2>
2812 _ACEOF
2813 if ac_fn_c_try_compile "$LINENO"; then :
2814 eval "$3=yes"
2815 else
2816 eval "$3=no"
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 eval ac_res=\$$3
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 } # ac_fn_c_check_header_compile
2827 # ac_fn_c_check_func LINENO FUNC VAR
2828 # ----------------------------------
2829 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2830 ac_fn_c_check_func ()
2832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2834 $as_echo_n "checking for $2... " >&6; }
2835 if eval \${$3+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2840 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2842 #define $2 innocuous_$2
2844 /* System header to define __stub macros and hopefully few prototypes,
2845 which can conflict with char $2 (); below.
2846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2847 <limits.h> exists even on freestanding compilers. */
2849 #ifdef __STDC__
2850 # include <limits.h>
2851 #else
2852 # include <assert.h>
2853 #endif
2855 #undef $2
2857 /* Override any GCC internal prototype to avoid an error.
2858 Use char because int might match the return type of a GCC
2859 builtin and then its argument prototype would still apply. */
2860 #ifdef __cplusplus
2861 extern "C"
2862 #endif
2863 char $2 ();
2864 /* The GNU C library defines this for functions which it implements
2865 to always fail with ENOSYS. Some functions are actually named
2866 something starting with __ and the normal name is an alias. */
2867 #if defined __stub_$2 || defined __stub___$2
2868 choke me
2869 #endif
2872 main ()
2874 return $2 ();
2876 return 0;
2878 _ACEOF
2879 if ac_fn_c_try_link "$LINENO"; then :
2880 eval "$3=yes"
2881 else
2882 eval "$3=no"
2884 rm -f core conftest.err conftest.$ac_objext \
2885 conftest$ac_exeext conftest.$ac_ext
2887 eval ac_res=\$$3
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2889 $as_echo "$ac_res" >&6; }
2890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 } # ac_fn_c_check_func
2894 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2895 # ----------------------------------------------------
2896 # Tries to find if the field MEMBER exists in type AGGR, after including
2897 # INCLUDES, setting cache variable VAR accordingly.
2898 ac_fn_c_check_member ()
2900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2902 $as_echo_n "checking for $2.$3... " >&6; }
2903 if eval \${$4+:} false; then :
2904 $as_echo_n "(cached) " >&6
2905 else
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 main ()
2912 static $2 ac_aggr;
2913 if (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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2926 main ()
2928 static $2 ac_aggr;
2929 if (sizeof ac_aggr.$3)
2930 return 0;
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 eval "$4=yes"
2937 else
2938 eval "$4=no"
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 eval ac_res=\$$4
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 $as_echo "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_member
2951 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2952 # -------------------------------------------
2953 # Tests whether TYPE exists after having included INCLUDES, setting cache
2954 # variable VAR accordingly.
2955 ac_fn_c_check_type ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2959 $as_echo_n "checking for $2... " >&6; }
2960 if eval \${$3+:} false; then :
2961 $as_echo_n "(cached) " >&6
2962 else
2963 eval "$3=no"
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2968 main ()
2970 if (sizeof ($2))
2971 return 0;
2973 return 0;
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2981 main ()
2983 if (sizeof (($2)))
2984 return 0;
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_compile "$LINENO"; then :
2991 else
2992 eval "$3=yes"
2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 eval ac_res=\$$3
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3000 $as_echo "$ac_res" >&6; }
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3003 } # ac_fn_c_check_type
3004 cat >config.log <<_ACEOF
3005 This file contains any messages produced by compilers while
3006 running configure, to aid debugging if configure makes a mistake.
3008 It was created by Wine $as_me 1.9.22, which was
3009 generated by GNU Autoconf 2.69. Invocation command line was
3011 $ $0 $@
3013 _ACEOF
3014 exec 5>>config.log
3016 cat <<_ASUNAME
3017 ## --------- ##
3018 ## Platform. ##
3019 ## --------- ##
3021 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3022 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3023 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3024 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3025 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3027 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3028 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3030 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3031 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3032 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3033 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3034 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3035 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3036 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3038 _ASUNAME
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3043 IFS=$as_save_IFS
3044 test -z "$as_dir" && as_dir=.
3045 $as_echo "PATH: $as_dir"
3046 done
3047 IFS=$as_save_IFS
3049 } >&5
3051 cat >&5 <<_ACEOF
3054 ## ----------- ##
3055 ## Core tests. ##
3056 ## ----------- ##
3058 _ACEOF
3061 # Keep a trace of the command line.
3062 # Strip out --no-create and --no-recursion so they do not pile up.
3063 # Strip out --silent because we don't want to record it for future runs.
3064 # Also quote any args containing shell meta-characters.
3065 # Make two passes to allow for proper duplicate-argument suppression.
3066 ac_configure_args=
3067 ac_configure_args0=
3068 ac_configure_args1=
3069 ac_must_keep_next=false
3070 for ac_pass in 1 2
3072 for ac_arg
3074 case $ac_arg in
3075 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3077 | -silent | --silent | --silen | --sile | --sil)
3078 continue ;;
3079 *\'*)
3080 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3081 esac
3082 case $ac_pass in
3083 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3085 as_fn_append ac_configure_args1 " '$ac_arg'"
3086 if test $ac_must_keep_next = true; then
3087 ac_must_keep_next=false # Got value, back to normal.
3088 else
3089 case $ac_arg in
3090 *=* | --config-cache | -C | -disable-* | --disable-* \
3091 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3092 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3093 | -with-* | --with-* | -without-* | --without-* | --x)
3094 case "$ac_configure_args0 " in
3095 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3096 esac
3098 -* ) ac_must_keep_next=true ;;
3099 esac
3101 as_fn_append ac_configure_args " '$ac_arg'"
3103 esac
3104 done
3105 done
3106 { ac_configure_args0=; unset ac_configure_args0;}
3107 { ac_configure_args1=; unset ac_configure_args1;}
3109 # When interrupted or exit'd, cleanup temporary files, and complete
3110 # config.log. We remove comments because anyway the quotes in there
3111 # would cause problems or look ugly.
3112 # WARNING: Use '\'' to represent an apostrophe within the trap.
3113 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3114 trap 'exit_status=$?
3115 # Save into config.log some information that might help in debugging.
3117 echo
3119 $as_echo "## ---------------- ##
3120 ## Cache variables. ##
3121 ## ---------------- ##"
3122 echo
3123 # The following way of writing the cache mishandles newlines in values,
3125 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3126 eval ac_val=\$$ac_var
3127 case $ac_val in #(
3128 *${as_nl}*)
3129 case $ac_var in #(
3130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3132 esac
3133 case $ac_var in #(
3134 _ | IFS | as_nl) ;; #(
3135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3136 *) { eval $ac_var=; unset $ac_var;} ;;
3137 esac ;;
3138 esac
3139 done
3140 (set) 2>&1 |
3141 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3142 *${as_nl}ac_space=\ *)
3143 sed -n \
3144 "s/'\''/'\''\\\\'\'''\''/g;
3145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3146 ;; #(
3148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3150 esac |
3151 sort
3153 echo
3155 $as_echo "## ----------------- ##
3156 ## Output variables. ##
3157 ## ----------------- ##"
3158 echo
3159 for ac_var in $ac_subst_vars
3161 eval ac_val=\$$ac_var
3162 case $ac_val in
3163 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3164 esac
3165 $as_echo "$ac_var='\''$ac_val'\''"
3166 done | sort
3167 echo
3169 if test -n "$ac_subst_files"; then
3170 $as_echo "## ------------------- ##
3171 ## File substitutions. ##
3172 ## ------------------- ##"
3173 echo
3174 for ac_var in $ac_subst_files
3176 eval ac_val=\$$ac_var
3177 case $ac_val in
3178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3179 esac
3180 $as_echo "$ac_var='\''$ac_val'\''"
3181 done | sort
3182 echo
3185 if test -s confdefs.h; then
3186 $as_echo "## ----------- ##
3187 ## confdefs.h. ##
3188 ## ----------- ##"
3189 echo
3190 cat confdefs.h
3191 echo
3193 test "$ac_signal" != 0 &&
3194 $as_echo "$as_me: caught signal $ac_signal"
3195 $as_echo "$as_me: exit $exit_status"
3196 } >&5
3197 rm -f core *.core core.conftest.* &&
3198 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3199 exit $exit_status
3201 for ac_signal in 1 2 13 15; do
3202 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3203 done
3204 ac_signal=0
3206 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3207 rm -f -r conftest* confdefs.h
3209 $as_echo "/* confdefs.h */" > confdefs.h
3211 # Predefined preprocessor variables.
3213 cat >>confdefs.h <<_ACEOF
3214 #define PACKAGE_NAME "$PACKAGE_NAME"
3215 _ACEOF
3217 cat >>confdefs.h <<_ACEOF
3218 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3219 _ACEOF
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3223 _ACEOF
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_STRING "$PACKAGE_STRING"
3227 _ACEOF
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3231 _ACEOF
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_URL "$PACKAGE_URL"
3235 _ACEOF
3238 # Let the site file select an alternate cache file if it wants to.
3239 # Prefer an explicitly selected file to automatically selected ones.
3240 ac_site_file1=NONE
3241 ac_site_file2=NONE
3242 if test -n "$CONFIG_SITE"; then
3243 # We do not want a PATH search for config.site.
3244 case $CONFIG_SITE in #((
3245 -*) ac_site_file1=./$CONFIG_SITE;;
3246 */*) ac_site_file1=$CONFIG_SITE;;
3247 *) ac_site_file1=./$CONFIG_SITE;;
3248 esac
3249 elif test "x$prefix" != xNONE; then
3250 ac_site_file1=$prefix/share/config.site
3251 ac_site_file2=$prefix/etc/config.site
3252 else
3253 ac_site_file1=$ac_default_prefix/share/config.site
3254 ac_site_file2=$ac_default_prefix/etc/config.site
3256 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3258 test "x$ac_site_file" = xNONE && continue
3259 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3261 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3262 sed 's/^/| /' "$ac_site_file" >&5
3263 . "$ac_site_file" \
3264 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266 as_fn_error $? "failed to load site script $ac_site_file
3267 See \`config.log' for more details" "$LINENO" 5; }
3269 done
3271 if test -r "$cache_file"; then
3272 # Some versions of bash will fail to source /dev/null (special files
3273 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3274 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3276 $as_echo "$as_me: loading cache $cache_file" >&6;}
3277 case $cache_file in
3278 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3279 *) . "./$cache_file";;
3280 esac
3282 else
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3284 $as_echo "$as_me: creating cache $cache_file" >&6;}
3285 >$cache_file
3288 # Check that the precious variables saved in the cache have kept the same
3289 # value.
3290 ac_cache_corrupted=false
3291 for ac_var in $ac_precious_vars; do
3292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3293 eval ac_new_set=\$ac_env_${ac_var}_set
3294 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3295 eval ac_new_val=\$ac_env_${ac_var}_value
3296 case $ac_old_set,$ac_new_set in
3297 set,)
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3299 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3300 ac_cache_corrupted=: ;;
3301 ,set)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3303 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3304 ac_cache_corrupted=: ;;
3305 ,);;
3307 if test "x$ac_old_val" != "x$ac_new_val"; then
3308 # differences in whitespace do not lead to failure.
3309 ac_old_val_w=`echo x $ac_old_val`
3310 ac_new_val_w=`echo x $ac_new_val`
3311 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3313 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3314 ac_cache_corrupted=:
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3317 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3318 eval $ac_var=\$ac_old_val
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3321 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3323 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3324 fi;;
3325 esac
3326 # Pass precious variables to config.status.
3327 if test "$ac_new_set" = set; then
3328 case $ac_new_val in
3329 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3330 *) ac_arg=$ac_var=$ac_new_val ;;
3331 esac
3332 case " $ac_configure_args " in
3333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3334 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3335 esac
3337 done
3338 if $ac_cache_corrupted; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3342 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3343 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3345 ## -------------------- ##
3346 ## Main body of script. ##
3347 ## -------------------- ##
3349 ac_ext=c
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 ac_config_headers="$ac_config_headers include/config.h"
3359 ac_aux_dir=
3360 for ac_dir in tools "$srcdir"/tools; do
3361 if test -f "$ac_dir/install-sh"; then
3362 ac_aux_dir=$ac_dir
3363 ac_install_sh="$ac_aux_dir/install-sh -c"
3364 break
3365 elif test -f "$ac_dir/install.sh"; then
3366 ac_aux_dir=$ac_dir
3367 ac_install_sh="$ac_aux_dir/install.sh -c"
3368 break
3369 elif test -f "$ac_dir/shtool"; then
3370 ac_aux_dir=$ac_dir
3371 ac_install_sh="$ac_aux_dir/shtool install -c"
3372 break
3374 done
3375 if test -z "$ac_aux_dir"; then
3376 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3379 # These three variables are undocumented and unsupported,
3380 # and are intended to be withdrawn in a future Autoconf release.
3381 # They can cause serious problems if a builder's source tree is in a directory
3382 # whose full name contains unusual characters.
3383 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3384 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3385 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3389 libwine_version="1.0"
3393 # Check whether --enable-win16 was given.
3394 if test "${enable_win16+set}" = set; then :
3395 enableval=$enable_win16;
3398 # Check whether --enable-win64 was given.
3399 if test "${enable_win64+set}" = set; then :
3400 enableval=$enable_win64;
3403 # Check whether --enable-tests was given.
3404 if test "${enable_tests+set}" = set; then :
3405 enableval=$enable_tests;
3408 # Check whether --enable-maintainer-mode was given.
3409 if test "${enable_maintainer_mode+set}" = set; then :
3410 enableval=$enable_maintainer_mode;
3415 # Check whether --with-alsa was given.
3416 if test "${with_alsa+set}" = set; then :
3417 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3421 # Check whether --with-capi was given.
3422 if test "${with_capi+set}" = set; then :
3423 withval=$with_capi;
3427 # Check whether --with-cms was given.
3428 if test "${with_cms+set}" = set; then :
3429 withval=$with_cms;
3433 # Check whether --with-coreaudio was given.
3434 if test "${with_coreaudio+set}" = set; then :
3435 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3439 # Check whether --with-cups was given.
3440 if test "${with_cups+set}" = set; then :
3441 withval=$with_cups;
3445 # Check whether --with-curses was given.
3446 if test "${with_curses+set}" = set; then :
3447 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3451 # Check whether --with-dbus was given.
3452 if test "${with_dbus+set}" = set; then :
3453 withval=$with_dbus;
3457 # Check whether --with-fontconfig was given.
3458 if test "${with_fontconfig+set}" = set; then :
3459 withval=$with_fontconfig;
3463 # Check whether --with-freetype was given.
3464 if test "${with_freetype+set}" = set; then :
3465 withval=$with_freetype;
3469 # Check whether --with-gettext was given.
3470 if test "${with_gettext+set}" = set; then :
3471 withval=$with_gettext;
3475 # Check whether --with-gettextpo was given.
3476 if test "${with_gettextpo+set}" = set; then :
3477 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3481 # Check whether --with-gphoto was given.
3482 if test "${with_gphoto+set}" = set; then :
3483 withval=$with_gphoto;
3487 # Check whether --with-glu was given.
3488 if test "${with_glu+set}" = set; then :
3489 withval=$with_glu;
3493 # Check whether --with-gnutls was given.
3494 if test "${with_gnutls+set}" = set; then :
3495 withval=$with_gnutls;
3499 # Check whether --with-gsm was given.
3500 if test "${with_gsm+set}" = set; then :
3501 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3505 # Check whether --with-gstreamer was given.
3506 if test "${with_gstreamer+set}" = set; then :
3507 withval=$with_gstreamer;
3511 # Check whether --with-hal was given.
3512 if test "${with_hal+set}" = set; then :
3513 withval=$with_hal;
3517 # Check whether --with-jpeg was given.
3518 if test "${with_jpeg+set}" = set; then :
3519 withval=$with_jpeg;
3523 # Check whether --with-ldap was given.
3524 if test "${with_ldap+set}" = set; then :
3525 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3529 # Check whether --with-mpg123 was given.
3530 if test "${with_mpg123+set}" = set; then :
3531 withval=$with_mpg123;
3535 # Check whether --with-netapi was given.
3536 if test "${with_netapi+set}" = set; then :
3537 withval=$with_netapi;
3541 # Check whether --with-openal was given.
3542 if test "${with_openal+set}" = set; then :
3543 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3547 # Check whether --with-opencl was given.
3548 if test "${with_opencl+set}" = set; then :
3549 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3553 # Check whether --with-opengl was given.
3554 if test "${with_opengl+set}" = set; then :
3555 withval=$with_opengl;
3559 # Check whether --with-osmesa was given.
3560 if test "${with_osmesa+set}" = set; then :
3561 withval=$with_osmesa;
3565 # Check whether --with-oss was given.
3566 if test "${with_oss+set}" = set; then :
3567 withval=$with_oss;
3571 # Check whether --with-pcap was given.
3572 if test "${with_pcap+set}" = set; then :
3573 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3577 # Check whether --with-png was given.
3578 if test "${with_png+set}" = set; then :
3579 withval=$with_png;
3583 # Check whether --with-pthread was given.
3584 if test "${with_pthread+set}" = set; then :
3585 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3589 # Check whether --with-pulse was given.
3590 if test "${with_pulse+set}" = set; then :
3591 withval=$with_pulse;
3595 # Check whether --with-sane was given.
3596 if test "${with_sane+set}" = set; then :
3597 withval=$with_sane;
3601 # Check whether --with-tiff was given.
3602 if test "${with_tiff+set}" = set; then :
3603 withval=$with_tiff;
3607 # Check whether --with-udev was given.
3608 if test "${with_udev+set}" = set; then :
3609 withval=$with_udev;
3613 # Check whether --with-v4l was given.
3614 if test "${with_v4l+set}" = set; then :
3615 withval=$with_v4l;
3619 # Check whether --with-xcomposite was given.
3620 if test "${with_xcomposite+set}" = set; then :
3621 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3625 # Check whether --with-xcursor was given.
3626 if test "${with_xcursor+set}" = set; then :
3627 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3631 # Check whether --with-xinerama was given.
3632 if test "${with_xinerama+set}" = set; then :
3633 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3637 # Check whether --with-xinput was given.
3638 if test "${with_xinput+set}" = set; then :
3639 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3643 # Check whether --with-xinput2 was given.
3644 if test "${with_xinput2+set}" = set; then :
3645 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3649 # Check whether --with-xml was given.
3650 if test "${with_xml+set}" = set; then :
3651 withval=$with_xml;
3655 # Check whether --with-xrandr was given.
3656 if test "${with_xrandr+set}" = set; then :
3657 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3661 # Check whether --with-xrender was given.
3662 if test "${with_xrender+set}" = set; then :
3663 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3667 # Check whether --with-xshape was given.
3668 if test "${with_xshape+set}" = set; then :
3669 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3673 # Check whether --with-xshm was given.
3674 if test "${with_xshm+set}" = set; then :
3675 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3679 # Check whether --with-xslt was given.
3680 if test "${with_xslt+set}" = set; then :
3681 withval=$with_xslt;
3685 # Check whether --with-xxf86vm was given.
3686 if test "${with_xxf86vm+set}" = set; then :
3687 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
3691 # Check whether --with-zlib was given.
3692 if test "${with_zlib+set}" = set; then :
3693 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3698 # Check whether --with-wine-tools was given.
3699 if test "${with_wine_tools+set}" = set; then :
3700 withval=$with_wine_tools;
3704 # Check whether --with-wine64 was given.
3705 if test "${with_wine64+set}" = set; then :
3706 withval=$with_wine64;
3710 # Make sure we can run config.sub.
3711 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3712 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3715 $as_echo_n "checking build system type... " >&6; }
3716 if ${ac_cv_build+:} false; then :
3717 $as_echo_n "(cached) " >&6
3718 else
3719 ac_build_alias=$build_alias
3720 test "x$ac_build_alias" = x &&
3721 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3722 test "x$ac_build_alias" = x &&
3723 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3724 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3725 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3729 $as_echo "$ac_cv_build" >&6; }
3730 case $ac_cv_build in
3731 *-*-*) ;;
3732 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3733 esac
3734 build=$ac_cv_build
3735 ac_save_IFS=$IFS; IFS='-'
3736 set x $ac_cv_build
3737 shift
3738 build_cpu=$1
3739 build_vendor=$2
3740 shift; shift
3741 # Remember, the first character of IFS is used to create $*,
3742 # except with old shells:
3743 build_os=$*
3744 IFS=$ac_save_IFS
3745 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3749 $as_echo_n "checking host system type... " >&6; }
3750 if ${ac_cv_host+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 if test "x$host_alias" = x; then
3754 ac_cv_host=$ac_cv_build
3755 else
3756 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3757 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3762 $as_echo "$ac_cv_host" >&6; }
3763 case $ac_cv_host in
3764 *-*-*) ;;
3765 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3766 esac
3767 host=$ac_cv_host
3768 ac_save_IFS=$IFS; IFS='-'
3769 set x $ac_cv_host
3770 shift
3771 host_cpu=$1
3772 host_vendor=$2
3773 shift; shift
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3776 host_os=$*
3777 IFS=$ac_save_IFS
3778 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3782 case "$srcdir" in
3783 .) ;;
3784 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3785 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3786 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3787 fi ;;
3788 esac
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3792 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3793 set x ${MAKE-make}
3794 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3795 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 cat >conftest.make <<\_ACEOF
3799 SHELL = /bin/sh
3800 all:
3801 @echo '@@@%%%=$(MAKE)=@@@%%%'
3802 _ACEOF
3803 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3804 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3805 *@@@%%%=?*=@@@%%%*)
3806 eval ac_cv_prog_make_${ac_make}_set=yes;;
3808 eval ac_cv_prog_make_${ac_make}_set=no;;
3809 esac
3810 rm -f conftest.make
3812 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3814 $as_echo "yes" >&6; }
3815 SET_MAKE=
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3819 SET_MAKE="MAKE=${MAKE-make}"
3822 ac_ext=c
3823 ac_cpp='$CPP $CPPFLAGS'
3824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3827 if test -n "$ac_tool_prefix"; then
3828 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3829 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_prog_CC+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -n "$CC"; then
3836 ac_cv_prog_CC="$CC" # Let the user override the test.
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 break 2
3849 done
3850 done
3851 IFS=$as_save_IFS
3855 CC=$ac_cv_prog_CC
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3866 if test -z "$ac_cv_prog_CC"; then
3867 ac_ct_CC=$CC
3868 # Extract the first word of "gcc", so it can be a program name with args.
3869 set dummy gcc; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_prog_ac_ct_CC="gcc"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3889 done
3890 done
3891 IFS=$as_save_IFS
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3904 if test "x$ac_ct_CC" = x; then
3905 CC=""
3906 else
3907 case $cross_compiling:$ac_tool_warned in
3908 yes:)
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3911 ac_tool_warned=yes ;;
3912 esac
3913 CC=$ac_ct_CC
3915 else
3916 CC="$ac_cv_prog_CC"
3919 if test -z "$CC"; then
3920 if test -n "$ac_tool_prefix"; then
3921 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3922 set dummy ${ac_tool_prefix}cc; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_CC+:} false; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 if test -n "$CC"; then
3929 ac_cv_prog_CC="$CC" # Let the user override the test.
3930 else
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH
3934 IFS=$as_save_IFS
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3938 ac_cv_prog_CC="${ac_tool_prefix}cc"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 break 2
3942 done
3943 done
3944 IFS=$as_save_IFS
3948 CC=$ac_cv_prog_CC
3949 if test -n "$CC"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3951 $as_echo "$CC" >&6; }
3952 else
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3960 if test -z "$CC"; then
3961 # Extract the first word of "cc", so it can be a program name with args.
3962 set dummy cc; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3967 else
3968 if test -n "$CC"; then
3969 ac_cv_prog_CC="$CC" # Let the user override the test.
3970 else
3971 ac_prog_rejected=no
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3980 ac_prog_rejected=yes
3981 continue
3983 ac_cv_prog_CC="cc"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 break 2
3987 done
3988 done
3989 IFS=$as_save_IFS
3991 if test $ac_prog_rejected = yes; then
3992 # We found a bogon in the path, so make sure we never use it.
3993 set dummy $ac_cv_prog_CC
3994 shift
3995 if test $# != 0; then
3996 # We chose a different compiler from the bogus one.
3997 # However, it has the same basename, so the bogon will be chosen
3998 # first if we set CC to just the basename; use the full file name.
3999 shift
4000 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4005 CC=$ac_cv_prog_CC
4006 if test -n "$CC"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4008 $as_echo "$CC" >&6; }
4009 else
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4016 if test -z "$CC"; then
4017 if test -n "$ac_tool_prefix"; then
4018 for ac_prog in cl.exe
4020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_CC+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 if test -n "$CC"; then
4028 ac_cv_prog_CC="$CC" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4033 IFS=$as_save_IFS
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4041 done
4042 done
4043 IFS=$as_save_IFS
4047 CC=$ac_cv_prog_CC
4048 if test -n "$CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050 $as_echo "$CC" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4057 test -n "$CC" && break
4058 done
4060 if test -z "$CC"; then
4061 ac_ct_CC=$CC
4062 for ac_prog in cl.exe
4064 # Extract the first word of "$ac_prog", so it can be a program name with args.
4065 set dummy $ac_prog; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 if test -n "$ac_ct_CC"; then
4072 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4073 else
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4077 IFS=$as_save_IFS
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_ac_ct_CC="$ac_prog"
4082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 break 2
4085 done
4086 done
4087 IFS=$as_save_IFS
4091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4092 if test -n "$ac_ct_CC"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4094 $as_echo "$ac_ct_CC" >&6; }
4095 else
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4101 test -n "$ac_ct_CC" && break
4102 done
4104 if test "x$ac_ct_CC" = x; then
4105 CC=""
4106 else
4107 case $cross_compiling:$ac_tool_warned in
4108 yes:)
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111 ac_tool_warned=yes ;;
4112 esac
4113 CC=$ac_ct_CC
4120 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "no acceptable C compiler found in \$PATH
4123 See \`config.log' for more details" "$LINENO" 5; }
4125 # Provide some information about the compiler.
4126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4127 set X $ac_compile
4128 ac_compiler=$2
4129 for ac_option in --version -v -V -qversion; do
4130 { { ac_try="$ac_compiler $ac_option >&5"
4131 case "(($ac_try" in
4132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133 *) ac_try_echo=$ac_try;;
4134 esac
4135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136 $as_echo "$ac_try_echo"; } >&5
4137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4138 ac_status=$?
4139 if test -s conftest.err; then
4140 sed '10a\
4141 ... rest of stderr output deleted ...
4142 10q' conftest.err >conftest.er1
4143 cat conftest.er1 >&5
4145 rm -f conftest.er1 conftest.err
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }
4148 done
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4154 main ()
4158 return 0;
4160 _ACEOF
4161 ac_clean_files_save=$ac_clean_files
4162 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4163 # Try to create an executable without -o first, disregard a.out.
4164 # It will help us diagnose broken compilers, and finding out an intuition
4165 # of exeext.
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4167 $as_echo_n "checking whether the C compiler works... " >&6; }
4168 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4170 # The possible output files:
4171 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4173 ac_rmfiles=
4174 for ac_file in $ac_files
4176 case $ac_file in
4177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4178 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4179 esac
4180 done
4181 rm -f $ac_rmfiles
4183 if { { ac_try="$ac_link_default"
4184 case "(($ac_try" in
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4187 esac
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_link_default") 2>&5
4191 ac_status=$?
4192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4193 test $ac_status = 0; }; then :
4194 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4195 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4196 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4197 # so that the user can short-circuit this test for compilers unknown to
4198 # Autoconf.
4199 for ac_file in $ac_files ''
4201 test -f "$ac_file" || continue
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4205 [ab].out )
4206 # We found the default executable, but exeext='' is most
4207 # certainly right.
4208 break;;
4209 *.* )
4210 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4211 then :; else
4212 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4214 # We set ac_cv_exeext here because the later test for it is not
4215 # safe: cross compilers may not add the suffix if given an `-o'
4216 # argument, so we may need to know it at that point already.
4217 # Even if this section looks crufty: it has the advantage of
4218 # actually working.
4219 break;;
4221 break;;
4222 esac
4223 done
4224 test "$ac_cv_exeext" = no && ac_cv_exeext=
4226 else
4227 ac_file=''
4229 if test -z "$ac_file"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 $as_echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4237 as_fn_error 77 "C compiler cannot create executables
4238 See \`config.log' for more details" "$LINENO" 5; }
4239 else
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4241 $as_echo "yes" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4244 $as_echo_n "checking for C compiler default output file name... " >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4246 $as_echo "$ac_file" >&6; }
4247 ac_exeext=$ac_cv_exeext
4249 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4250 ac_clean_files=$ac_clean_files_save
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4252 $as_echo_n "checking for suffix of executables... " >&6; }
4253 if { { ac_try="$ac_link"
4254 case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257 esac
4258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4259 $as_echo "$ac_try_echo"; } >&5
4260 (eval "$ac_link") 2>&5
4261 ac_status=$?
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4264 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4265 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4266 # work properly (i.e., refer to `conftest.exe'), while it won't with
4267 # `rm'.
4268 for ac_file in conftest.exe conftest conftest.*; do
4269 test -f "$ac_file" || continue
4270 case $ac_file in
4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4272 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4273 break;;
4274 * ) break;;
4275 esac
4276 done
4277 else
4278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4281 See \`config.log' for more details" "$LINENO" 5; }
4283 rm -f conftest conftest$ac_cv_exeext
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4285 $as_echo "$ac_cv_exeext" >&6; }
4287 rm -f conftest.$ac_ext
4288 EXEEXT=$ac_cv_exeext
4289 ac_exeext=$EXEEXT
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4292 #include <stdio.h>
4294 main ()
4296 FILE *f = fopen ("conftest.out", "w");
4297 return ferror (f) || fclose (f) != 0;
4300 return 0;
4302 _ACEOF
4303 ac_clean_files="$ac_clean_files conftest.out"
4304 # Check that the compiler produces executables we can run. If not, either
4305 # the compiler is broken, or we cross compile.
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4307 $as_echo_n "checking whether we are cross compiling... " >&6; }
4308 if test "$cross_compiling" != yes; then
4309 { { ac_try="$ac_link"
4310 case "(($ac_try" in
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4313 esac
4314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4315 $as_echo "$ac_try_echo"; } >&5
4316 (eval "$ac_link") 2>&5
4317 ac_status=$?
4318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4319 test $ac_status = 0; }
4320 if { ac_try='./conftest$ac_cv_exeext'
4321 { { case "(($ac_try" in
4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4324 esac
4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_try") 2>&5
4328 ac_status=$?
4329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4330 test $ac_status = 0; }; }; then
4331 cross_compiling=no
4332 else
4333 if test "$cross_compiling" = maybe; then
4334 cross_compiling=yes
4335 else
4336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338 as_fn_error $? "cannot run C compiled programs.
4339 If you meant to cross compile, use \`--host'.
4340 See \`config.log' for more details" "$LINENO" 5; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4345 $as_echo "$cross_compiling" >&6; }
4347 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4348 ac_clean_files=$ac_clean_files_save
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4350 $as_echo_n "checking for suffix of object files... " >&6; }
4351 if ${ac_cv_objext+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4358 main ()
4362 return 0;
4364 _ACEOF
4365 rm -f conftest.o conftest.obj
4366 if { { ac_try="$ac_compile"
4367 case "(($ac_try" in
4368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4369 *) ac_try_echo=$ac_try;;
4370 esac
4371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4372 $as_echo "$ac_try_echo"; } >&5
4373 (eval "$ac_compile") 2>&5
4374 ac_status=$?
4375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376 test $ac_status = 0; }; then :
4377 for ac_file in conftest.o conftest.obj conftest.*; do
4378 test -f "$ac_file" || continue;
4379 case $ac_file in
4380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4381 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4382 break;;
4383 esac
4384 done
4385 else
4386 $as_echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error $? "cannot compute suffix of object files: cannot compile
4392 See \`config.log' for more details" "$LINENO" 5; }
4394 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4397 $as_echo "$ac_cv_objext" >&6; }
4398 OBJEXT=$ac_cv_objext
4399 ac_objext=$OBJEXT
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4401 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4402 if ${ac_cv_c_compiler_gnu+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4409 main ()
4411 #ifndef __GNUC__
4412 choke me
4413 #endif
4416 return 0;
4418 _ACEOF
4419 if ac_fn_c_try_compile "$LINENO"; then :
4420 ac_compiler_gnu=yes
4421 else
4422 ac_compiler_gnu=no
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4429 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4430 if test $ac_compiler_gnu = yes; then
4431 GCC=yes
4432 else
4433 GCC=
4435 ac_test_CFLAGS=${CFLAGS+set}
4436 ac_save_CFLAGS=$CFLAGS
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4438 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4439 if ${ac_cv_prog_cc_g+:} false; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 ac_save_c_werror_flag=$ac_c_werror_flag
4443 ac_c_werror_flag=yes
4444 ac_cv_prog_cc_g=no
4445 CFLAGS="-g"
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4450 main ()
4454 return 0;
4456 _ACEOF
4457 if ac_fn_c_try_compile "$LINENO"; then :
4458 ac_cv_prog_cc_g=yes
4459 else
4460 CFLAGS=""
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 :
4474 else
4475 ac_c_werror_flag=$ac_save_c_werror_flag
4476 CFLAGS="-g"
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4481 main ()
4485 return 0;
4487 _ACEOF
4488 if ac_fn_c_try_compile "$LINENO"; then :
4489 ac_cv_prog_cc_g=yes
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_c_werror_flag=$ac_save_c_werror_flag
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4499 $as_echo "$ac_cv_prog_cc_g" >&6; }
4500 if test "$ac_test_CFLAGS" = set; then
4501 CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503 if test "$GCC" = yes; then
4504 CFLAGS="-g -O2"
4505 else
4506 CFLAGS="-g"
4508 else
4509 if test "$GCC" = yes; then
4510 CFLAGS="-O2"
4511 else
4512 CFLAGS=
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4516 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4517 if ${ac_cv_prog_cc_c89+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 ac_cv_prog_cc_c89=no
4521 ac_save_CC=$CC
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524 #include <stdarg.h>
4525 #include <stdio.h>
4526 struct stat;
4527 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4528 struct buf { int x; };
4529 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4530 static char *e (p, i)
4531 char **p;
4532 int i;
4534 return p[i];
4536 static char *f (char * (*g) (char **, int), char **p, ...)
4538 char *s;
4539 va_list v;
4540 va_start (v,p);
4541 s = g (p, va_arg (v,int));
4542 va_end (v);
4543 return s;
4546 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4547 function prototypes and stuff, but not '\xHH' hex character constants.
4548 These don't provoke an error unfortunately, instead are silently treated
4549 as 'x'. The following induces an error, until -std is added to get
4550 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4551 array size at least. It's necessary to write '\x00'==0 to get something
4552 that's true only with -std. */
4553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4555 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4556 inside strings and character constants. */
4557 #define FOO(x) 'x'
4558 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4560 int test (int i, double x);
4561 struct s1 {int (*f) (int a);};
4562 struct s2 {int (*f) (double a);};
4563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4564 int argc;
4565 char **argv;
4567 main ()
4569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4571 return 0;
4573 _ACEOF
4574 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4575 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4577 CC="$ac_save_CC $ac_arg"
4578 if ac_fn_c_try_compile "$LINENO"; then :
4579 ac_cv_prog_cc_c89=$ac_arg
4581 rm -f core conftest.err conftest.$ac_objext
4582 test "x$ac_cv_prog_cc_c89" != "xno" && break
4583 done
4584 rm -f conftest.$ac_ext
4585 CC=$ac_save_CC
4588 # AC_CACHE_VAL
4589 case "x$ac_cv_prog_cc_c89" in
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4592 $as_echo "none needed" >&6; } ;;
4593 xno)
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4595 $as_echo "unsupported" >&6; } ;;
4597 CC="$CC $ac_cv_prog_cc_c89"
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4599 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4600 esac
4601 if test "x$ac_cv_prog_cc_c89" != xno; then :
4605 ac_ext=c
4606 ac_cpp='$CPP $CPPFLAGS'
4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4611 ac_ext=cpp
4612 ac_cpp='$CXXCPP $CPPFLAGS'
4613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4616 if test -z "$CXX"; then
4617 if test -n "$CCC"; then
4618 CXX=$CCC
4619 else
4620 if test -n "$ac_tool_prefix"; then
4621 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_CXX+:} false; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 if test -n "$CXX"; then
4631 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2
4644 done
4645 done
4646 IFS=$as_save_IFS
4650 CXX=$ac_cv_prog_CXX
4651 if test -n "$CXX"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4653 $as_echo "$CXX" >&6; }
4654 else
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4660 test -n "$CXX" && break
4661 done
4663 if test -z "$CXX"; then
4664 ac_ct_CXX=$CXX
4665 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4667 # Extract the first word of "$ac_prog", so it can be a program name with args.
4668 set dummy $ac_prog; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4672 $as_echo_n "(cached) " >&6
4673 else
4674 if test -n "$ac_ct_CXX"; then
4675 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CXX="$ac_prog"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4695 if test -n "$ac_ct_CXX"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4697 $as_echo "$ac_ct_CXX" >&6; }
4698 else
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4704 test -n "$ac_ct_CXX" && break
4705 done
4707 if test "x$ac_ct_CXX" = x; then
4708 CXX="g++"
4709 else
4710 case $cross_compiling:$ac_tool_warned in
4711 yes:)
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4714 ac_tool_warned=yes ;;
4715 esac
4716 CXX=$ac_ct_CXX
4722 # Provide some information about the compiler.
4723 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4724 set X $ac_compile
4725 ac_compiler=$2
4726 for ac_option in --version -v -V -qversion; do
4727 { { ac_try="$ac_compiler $ac_option >&5"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4733 $as_echo "$ac_try_echo"; } >&5
4734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4735 ac_status=$?
4736 if test -s conftest.err; then
4737 sed '10a\
4738 ... rest of stderr output deleted ...
4739 10q' conftest.err >conftest.er1
4740 cat conftest.er1 >&5
4742 rm -f conftest.er1 conftest.err
4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4744 test $ac_status = 0; }
4745 done
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4748 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4749 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4750 $as_echo_n "(cached) " >&6
4751 else
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4756 main ()
4758 #ifndef __GNUC__
4759 choke me
4760 #endif
4763 return 0;
4765 _ACEOF
4766 if ac_fn_cxx_try_compile "$LINENO"; then :
4767 ac_compiler_gnu=yes
4768 else
4769 ac_compiler_gnu=no
4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4776 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4777 if test $ac_compiler_gnu = yes; then
4778 GXX=yes
4779 else
4780 GXX=
4782 ac_test_CXXFLAGS=${CXXFLAGS+set}
4783 ac_save_CXXFLAGS=$CXXFLAGS
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4785 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4786 if ${ac_cv_prog_cxx_g+:} false; then :
4787 $as_echo_n "(cached) " >&6
4788 else
4789 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4790 ac_cxx_werror_flag=yes
4791 ac_cv_prog_cxx_g=no
4792 CXXFLAGS="-g"
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4797 main ()
4801 return 0;
4803 _ACEOF
4804 if ac_fn_cxx_try_compile "$LINENO"; then :
4805 ac_cv_prog_cxx_g=yes
4806 else
4807 CXXFLAGS=""
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 :
4821 else
4822 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4823 CXXFLAGS="-g"
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4828 main ()
4832 return 0;
4834 _ACEOF
4835 if ac_fn_cxx_try_compile "$LINENO"; then :
4836 ac_cv_prog_cxx_g=yes
4838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4846 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4847 if test "$ac_test_CXXFLAGS" = set; then
4848 CXXFLAGS=$ac_save_CXXFLAGS
4849 elif test $ac_cv_prog_cxx_g = yes; then
4850 if test "$GXX" = yes; then
4851 CXXFLAGS="-g -O2"
4852 else
4853 CXXFLAGS="-g"
4855 else
4856 if test "$GXX" = yes; then
4857 CXXFLAGS="-O2"
4858 else
4859 CXXFLAGS=
4862 ac_ext=c
4863 ac_cpp='$CPP $CPPFLAGS'
4864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4868 if test -n "$ac_tool_prefix"; then
4869 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4870 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_CPPBIN+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 if test -n "$CPPBIN"; then
4877 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 CPPBIN=$ac_cv_prog_CPPBIN
4897 if test -n "$CPPBIN"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4899 $as_echo "$CPPBIN" >&6; }
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4907 if test -z "$ac_cv_prog_CPPBIN"; then
4908 ac_ct_CPPBIN=$CPPBIN
4909 # Extract the first word of "cpp", so it can be a program name with args.
4910 set dummy cpp; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4914 $as_echo_n "(cached) " >&6
4915 else
4916 if test -n "$ac_ct_CPPBIN"; then
4917 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4918 else
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 for as_dir in $PATH
4922 IFS=$as_save_IFS
4923 test -z "$as_dir" && as_dir=.
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4926 ac_cv_prog_ac_ct_CPPBIN="cpp"
4927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 break 2
4930 done
4931 done
4932 IFS=$as_save_IFS
4936 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4937 if test -n "$ac_ct_CPPBIN"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4939 $as_echo "$ac_ct_CPPBIN" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4945 if test "x$ac_ct_CPPBIN" = x; then
4946 CPPBIN="cpp"
4947 else
4948 case $cross_compiling:$ac_tool_warned in
4949 yes:)
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4952 ac_tool_warned=yes ;;
4953 esac
4954 CPPBIN=$ac_ct_CPPBIN
4956 else
4957 CPPBIN="$ac_cv_prog_CPPBIN"
4961 cat >>confdefs.h <<_ACEOF
4962 #define EXEEXT "$ac_exeext"
4963 _ACEOF
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4967 set dummy ${ac_tool_prefix}ld; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_LD+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 if test -n "$LD"; then
4974 ac_cv_prog_LD="$LD" # Let the user override the test.
4975 else
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4979 IFS=$as_save_IFS
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_LD="${ac_tool_prefix}ld"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 break 2
4987 done
4988 done
4989 IFS=$as_save_IFS
4993 LD=$ac_cv_prog_LD
4994 if test -n "$LD"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4996 $as_echo "$LD" >&6; }
4997 else
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5004 if test -z "$ac_cv_prog_LD"; then
5005 ac_ct_LD=$LD
5006 # Extract the first word of "ld", so it can be a program name with args.
5007 set dummy ld; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 if test -n "$ac_ct_LD"; then
5014 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5023 ac_cv_prog_ac_ct_LD="ld"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 break 2
5027 done
5028 done
5029 IFS=$as_save_IFS
5033 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5034 if test -n "$ac_ct_LD"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5036 $as_echo "$ac_ct_LD" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5042 if test "x$ac_ct_LD" = x; then
5043 LD=""
5044 else
5045 case $cross_compiling:$ac_tool_warned in
5046 yes:)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned=yes ;;
5050 esac
5051 LD=$ac_ct_LD
5053 else
5054 LD="$ac_cv_prog_LD"
5058 case $host in
5059 *-darwin*)
5060 with_fontconfig=${with_fontconfig:-no}
5062 *-mingw32*|*-cygwin*)
5063 enable_win16=${enable_win16:-no}
5064 CFLAGS="$CFLAGS -D_WIN32"
5066 esac
5068 case $host in
5069 x86_64*|amd64*)
5070 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5071 then
5072 CC="$CC -m32"
5073 CXX="$CXX -m32"
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5075 $as_echo_n "checking whether $CC works... " >&6; }
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5081 main ()
5085 return 0;
5087 _ACEOF
5088 if ac_fn_c_try_link "$LINENO"; then :
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5090 $as_echo "yes" >&6; }
5091 else
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5094 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5096 rm -f core conftest.err conftest.$ac_objext \
5097 conftest$ac_exeext conftest.$ac_ext
5098 host_cpu="i386"
5099 notice_platform="32-bit "
5100 TARGETFLAGS="-m32"
5102 enable_win16=${enable_win16:-yes}
5103 else
5104 if test "x${GCC}" = "xyes"
5105 then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5107 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 #include <stdarg.h>
5112 main ()
5114 void func(__builtin_ms_va_list *args);
5116 return 0;
5118 _ACEOF
5119 if ac_fn_c_try_compile "$LINENO"; then :
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5121 $as_echo "yes" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5125 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5129 CC="$CC -m64"
5130 CXX="$CXX -m64"
5131 host_cpu="x86_64"
5132 notice_platform="64-bit "
5133 TARGETFLAGS="-m64"
5137 arm*)
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5139 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5142 int ac_test(int i) { return i; }
5144 main ()
5146 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5148 return 0;
5150 _ACEOF
5151 if ac_fn_c_try_link "$LINENO"; then :
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 $as_echo "yes" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5157 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5159 rm -f core conftest.err conftest.$ac_objext \
5160 conftest$ac_exeext conftest.$ac_ext
5161 CFLAGS="$CFLAGS -marm"
5162 TARGETFLAGS="-marm"
5165 i[3456789]86*)
5166 enable_win16=${enable_win16:-yes}
5168 esac
5170 enable_win16=${enable_win16:-no}
5171 enable_win64=${enable_win64:-no}
5173 enable_winetest=${enable_winetest:-$enable_tests}
5175 if test -n "$with_wine64"
5176 then
5177 if test "x$enable_win64" = "xyes"
5178 then
5179 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5180 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5182 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5183 You should create a separate build directory and run configure from there." "$LINENO" 5
5184 enable_fonts=${enable_fonts:-no}
5185 enable_server=${enable_server:-no}
5186 elif test "x$enable_win64" = "xyes"
5187 then
5188 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5192 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5193 if ${wine_cv_toolsdir+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 wine_cv_toolsdir="$with_wine_tools"
5197 if test -z "$with_wine_tools"; then
5198 if test "$cross_compiling" = "yes"; then
5199 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5200 elif test -n "$with_wine64"; then
5201 wine_cv_toolsdir="$with_wine64"
5204 if test -z "$wine_cv_toolsdir"; then
5205 wine_makedep=tools/makedep
5206 wine_cv_toolsdir="\$(top_builddir)"
5207 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5208 wine_makedep=$wine_cv_toolsdir/tools/makedep
5209 case "$wine_cv_toolsdir" in
5210 /*) ;;
5211 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5212 esac
5213 enable_tools=${enable_tools:-no}
5214 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5215 else
5216 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5220 $as_echo "$wine_cv_toolsdir" >&6; }
5221 TOOLSDIR=$wine_cv_toolsdir
5223 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5224 then
5225 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5229 for ac_prog in flex
5231 # Extract the first word of "$ac_prog", so it can be a program name with args.
5232 set dummy $ac_prog; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_FLEX+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5238 if test -n "$FLEX"; then
5239 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_FLEX="$ac_prog"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 FLEX=$ac_cv_prog_FLEX
5259 if test -n "$FLEX"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5261 $as_echo "$FLEX" >&6; }
5262 else
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5268 test -n "$FLEX" && break
5269 done
5270 test -n "$FLEX" || FLEX="none"
5272 if test "$FLEX" = "none"
5273 then
5274 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5277 $as_echo_n "checking whether flex is recent enough... " >&6; }
5278 cat >conftest.l <<EOF
5279 %top{
5280 #include "prediluvian.h"
5284 if $FLEX -t conftest.l >/dev/null 2>&5
5285 then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5287 $as_echo "yes" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5291 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5294 for ac_prog in bison
5296 # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy $ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_BISON+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$BISON"; then
5304 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_BISON="$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 BISON=$ac_cv_prog_BISON
5324 if test -n "$BISON"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5326 $as_echo "$BISON" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$BISON" && break
5334 done
5335 test -n "$BISON" || BISON="none"
5337 if test "$BISON" = "none"
5338 then
5339 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog in ar gar
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_AR+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 if test -n "$AR"; then
5353 ac_cv_prog_AR="$AR" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 AR=$ac_cv_prog_AR
5373 if test -n "$AR"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5375 $as_echo "$AR" >&6; }
5376 else
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5382 test -n "$AR" && break
5383 done
5385 if test -z "$AR"; then
5386 ac_ct_AR=$AR
5387 for ac_prog in ar gar
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy $ac_prog; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$ac_ct_AR"; then
5397 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_AR="$ac_prog"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5417 if test -n "$ac_ct_AR"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5419 $as_echo "$ac_ct_AR" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5426 test -n "$ac_ct_AR" && break
5427 done
5429 if test "x$ac_ct_AR" = x; then
5430 AR="ar"
5431 else
5432 case $cross_compiling:$ac_tool_warned in
5433 yes:)
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5436 ac_tool_warned=yes ;;
5437 esac
5438 AR=$ac_ct_AR
5442 if test -n "$ac_tool_prefix"; then
5443 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5444 set dummy ${ac_tool_prefix}strip; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_STRIP+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
5450 if test -n "$STRIP"; then
5451 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5452 else
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 for as_dir in $PATH
5456 IFS=$as_save_IFS
5457 test -z "$as_dir" && as_dir=.
5458 for ac_exec_ext in '' $ac_executable_extensions; do
5459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 break 2
5464 done
5465 done
5466 IFS=$as_save_IFS
5470 STRIP=$ac_cv_prog_STRIP
5471 if test -n "$STRIP"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5473 $as_echo "$STRIP" >&6; }
5474 else
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5481 if test -z "$ac_cv_prog_STRIP"; then
5482 ac_ct_STRIP=$STRIP
5483 # Extract the first word of "strip", so it can be a program name with args.
5484 set dummy strip; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$ac_ct_STRIP"; then
5491 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_STRIP="strip"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5511 if test -n "$ac_ct_STRIP"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5513 $as_echo "$ac_ct_STRIP" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5519 if test "x$ac_ct_STRIP" = x; then
5520 STRIP="strip"
5521 else
5522 case $cross_compiling:$ac_tool_warned in
5523 yes:)
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5526 ac_tool_warned=yes ;;
5527 esac
5528 STRIP=$ac_ct_STRIP
5530 else
5531 STRIP="$ac_cv_prog_STRIP"
5534 ARFLAGS=rc
5536 if test -n "$ac_tool_prefix"; then
5537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_RANLIB+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$RANLIB"; then
5545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 RANLIB=$ac_cv_prog_RANLIB
5565 if test -n "$RANLIB"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5567 $as_echo "$RANLIB" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5575 if test -z "$ac_cv_prog_RANLIB"; then
5576 ac_ct_RANLIB=$RANLIB
5577 # Extract the first word of "ranlib", so it can be a program name with args.
5578 set dummy ranlib; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 if test -n "$ac_ct_RANLIB"; then
5585 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5590 IFS=$as_save_IFS
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_ac_ct_RANLIB="ranlib"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5598 done
5599 done
5600 IFS=$as_save_IFS
5604 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5605 if test -n "$ac_ct_RANLIB"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5607 $as_echo "$ac_ct_RANLIB" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5613 if test "x$ac_ct_RANLIB" = x; then
5614 RANLIB=":"
5615 else
5616 case $cross_compiling:$ac_tool_warned in
5617 yes:)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5620 ac_tool_warned=yes ;;
5621 esac
5622 RANLIB=$ac_ct_RANLIB
5624 else
5625 RANLIB="$ac_cv_prog_RANLIB"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5629 $as_echo_n "checking whether ln -s works... " >&6; }
5630 LN_S=$as_ln_s
5631 if test "$LN_S" = "ln -s"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5633 $as_echo "yes" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5636 $as_echo "no, using $LN_S" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5640 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5641 if ${ac_cv_path_GREP+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -z "$GREP"; then
5645 ac_path_GREP_found=false
5646 # Loop through the user's path and test for each of PROGNAME-LIST
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_prog in grep ggrep; do
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5655 as_fn_executable_p "$ac_path_GREP" || continue
5656 # Check for GNU ac_path_GREP and select it if it is found.
5657 # Check for GNU $ac_path_GREP
5658 case `"$ac_path_GREP" --version 2>&1` in
5659 *GNU*)
5660 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5662 ac_count=0
5663 $as_echo_n 0123456789 >"conftest.in"
5664 while :
5666 cat "conftest.in" "conftest.in" >"conftest.tmp"
5667 mv "conftest.tmp" "conftest.in"
5668 cp "conftest.in" "conftest.nl"
5669 $as_echo 'GREP' >> "conftest.nl"
5670 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5672 as_fn_arith $ac_count + 1 && ac_count=$as_val
5673 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5674 # Best one so far, save it but keep looking for a better one
5675 ac_cv_path_GREP="$ac_path_GREP"
5676 ac_path_GREP_max=$ac_count
5678 # 10*(2^10) chars as input seems more than enough
5679 test $ac_count -gt 10 && break
5680 done
5681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5682 esac
5684 $ac_path_GREP_found && break 3
5685 done
5686 done
5687 done
5688 IFS=$as_save_IFS
5689 if test -z "$ac_cv_path_GREP"; then
5690 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5692 else
5693 ac_cv_path_GREP=$GREP
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5698 $as_echo "$ac_cv_path_GREP" >&6; }
5699 GREP="$ac_cv_path_GREP"
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5703 $as_echo_n "checking for egrep... " >&6; }
5704 if ${ac_cv_path_EGREP+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5708 then ac_cv_path_EGREP="$GREP -E"
5709 else
5710 if test -z "$EGREP"; then
5711 ac_path_EGREP_found=false
5712 # Loop through the user's path and test for each of PROGNAME-LIST
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_prog in egrep; do
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5721 as_fn_executable_p "$ac_path_EGREP" || continue
5722 # Check for GNU ac_path_EGREP and select it if it is found.
5723 # Check for GNU $ac_path_EGREP
5724 case `"$ac_path_EGREP" --version 2>&1` in
5725 *GNU*)
5726 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5728 ac_count=0
5729 $as_echo_n 0123456789 >"conftest.in"
5730 while :
5732 cat "conftest.in" "conftest.in" >"conftest.tmp"
5733 mv "conftest.tmp" "conftest.in"
5734 cp "conftest.in" "conftest.nl"
5735 $as_echo 'EGREP' >> "conftest.nl"
5736 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5738 as_fn_arith $ac_count + 1 && ac_count=$as_val
5739 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5740 # Best one so far, save it but keep looking for a better one
5741 ac_cv_path_EGREP="$ac_path_EGREP"
5742 ac_path_EGREP_max=$ac_count
5744 # 10*(2^10) chars as input seems more than enough
5745 test $ac_count -gt 10 && break
5746 done
5747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5748 esac
5750 $ac_path_EGREP_found && break 3
5751 done
5752 done
5753 done
5754 IFS=$as_save_IFS
5755 if test -z "$ac_cv_path_EGREP"; then
5756 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5758 else
5759 ac_cv_path_EGREP=$EGREP
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5765 $as_echo "$ac_cv_path_EGREP" >&6; }
5766 EGREP="$ac_cv_path_EGREP"
5769 # Extract the first word of "ldconfig", so it can be a program name with args.
5770 set dummy ldconfig; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_path_LDCONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 case $LDCONFIG in
5777 [\\/]* | ?:[\\/]*)
5778 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in /sbin /usr/sbin $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5796 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5798 esac
5800 LDCONFIG=$ac_cv_path_LDCONFIG
5801 if test -n "$LDCONFIG"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5803 $as_echo "$LDCONFIG" >&6; }
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5810 for ac_prog in msgfmt
5812 # Extract the first word of "$ac_prog", so it can be a program name with args.
5813 set dummy $ac_prog; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_MSGFMT+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$MSGFMT"; then
5820 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_MSGFMT="$ac_prog"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 MSGFMT=$ac_cv_prog_MSGFMT
5840 if test -n "$MSGFMT"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5842 $as_echo "$MSGFMT" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5849 test -n "$MSGFMT" && break
5850 done
5851 test -n "$MSGFMT" || MSGFMT="false"
5853 if ${ac_tool_prefix+:} false; then :
5854 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5855 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$PKG_CONFIG"; then
5862 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5882 if test -n "$PKG_CONFIG"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5884 $as_echo "$PKG_CONFIG" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5892 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5893 if test "x$cross_compiling" = xyes; then :
5895 else
5896 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5897 # Extract the first word of "pkg-config", so it can be a program name with args.
5898 set dummy pkg-config; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$PKG_CONFIG"; then
5905 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_PKG_CONFIG="pkg-config"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5925 if test -n "$PKG_CONFIG"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5927 $as_echo "$PKG_CONFIG" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5935 else
5936 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5939 if test "x$enable_maintainer_mode" != "xyes"
5940 then
5941 FONTFORGE=""
5942 RSVG=""
5943 CONVERT=""
5944 ICOTOOL=""
5945 else
5946 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5947 for ac_prog in fontforge
5949 # Extract the first word of "$ac_prog", so it can be a program name with args.
5950 set dummy $ac_prog; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_FONTFORGE+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 if test -n "$FONTFORGE"; then
5957 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_FONTFORGE="$ac_prog"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 break 2
5970 done
5971 done
5972 IFS=$as_save_IFS
5976 FONTFORGE=$ac_cv_prog_FONTFORGE
5977 if test -n "$FONTFORGE"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5979 $as_echo "$FONTFORGE" >&6; }
5980 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5986 test -n "$FONTFORGE" && break
5987 done
5988 test -n "$FONTFORGE" || FONTFORGE="false"
5990 for ac_prog in rsvg-convert rsvg
5992 # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_RSVG+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 if test -n "$RSVG"; then
6000 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_RSVG="$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 break 2
6013 done
6014 done
6015 IFS=$as_save_IFS
6019 RSVG=$ac_cv_prog_RSVG
6020 if test -n "$RSVG"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6022 $as_echo "$RSVG" >&6; }
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$RSVG" && break
6030 done
6031 test -n "$RSVG" || RSVG="false"
6033 for ac_prog in convert
6035 # Extract the first word of "$ac_prog", so it can be a program name with args.
6036 set dummy $ac_prog; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_CONVERT+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 if test -n "$CONVERT"; then
6043 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6044 else
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 for as_dir in $PATH
6048 IFS=$as_save_IFS
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_CONVERT="$ac_prog"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 CONVERT=$ac_cv_prog_CONVERT
6063 if test -n "$CONVERT"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6065 $as_echo "$CONVERT" >&6; }
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6072 test -n "$CONVERT" && break
6073 done
6074 test -n "$CONVERT" || CONVERT="false"
6076 for ac_prog in icotool
6078 # Extract the first word of "$ac_prog", so it can be a program name with args.
6079 set dummy $ac_prog; ac_word=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if ${ac_cv_prog_ICOTOOL+:} false; then :
6083 $as_echo_n "(cached) " >&6
6084 else
6085 if test -n "$ICOTOOL"; then
6086 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6087 else
6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 for as_dir in $PATH
6091 IFS=$as_save_IFS
6092 test -z "$as_dir" && as_dir=.
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_ICOTOOL="$ac_prog"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6097 break 2
6099 done
6100 done
6101 IFS=$as_save_IFS
6105 ICOTOOL=$ac_cv_prog_ICOTOOL
6106 if test -n "$ICOTOOL"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6108 $as_echo "$ICOTOOL" >&6; }
6109 else
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6115 test -n "$ICOTOOL" && break
6116 done
6117 test -n "$ICOTOOL" || ICOTOOL="false"
6119 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6120 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6122 if test "$CONVERT" = false
6123 then
6124 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6127 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6128 convert_version=`convert --version | head -n1`
6129 if test "x$convert_version" != "x"
6130 then
6131 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6132 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6133 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6134 then
6135 CONVERT=false
6138 if test "$CONVERT" = false
6139 then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6141 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6142 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6145 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6149 if test "$ICOTOOL" = false
6150 then
6151 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6154 $as_echo_n "checking for recent enough icotool... " >&6; }
6155 icotool_version=`icotool --version | head -n1`
6156 if test "x$icotool_version" != "x"
6157 then
6158 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6159 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6160 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6161 then
6162 ICOTOOL=false
6163 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6166 if test "$ICOTOOL" = false
6167 then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6169 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6170 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6173 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6177 with_gettext=yes
6178 with_gettextpo=yes
6179 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6182 test "x$with_gettext" != xno || MSGFMT=false
6183 if test "$MSGFMT" != "false"
6184 then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6186 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6187 cat >conftest.po <<EOF
6188 # comment
6189 msgctxt "ctxt"
6190 msgid "id"
6191 msgstr "str"
6193 if $MSGFMT -o /dev/null conftest.po 2>&5
6194 then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6196 $as_echo "yes" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6200 MSGFMT=false
6203 if test "$MSGFMT" = false; then :
6204 case "x$with_gettext" in
6205 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6206 xno) ;;
6207 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6208 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6209 esac
6210 enable_po=${enable_po:-no}
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6215 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6216 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 ac_check_lib_save_LIBS=$LIBS
6220 LIBS="-li386 $LIBS"
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6224 /* Override any GCC internal prototype to avoid an error.
6225 Use char because int might match the return type of a GCC
6226 builtin and then its argument prototype would still apply. */
6227 #ifdef __cplusplus
6228 extern "C"
6229 #endif
6230 char i386_set_ldt ();
6232 main ()
6234 return i386_set_ldt ();
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_link "$LINENO"; then :
6240 ac_cv_lib_i386_i386_set_ldt=yes
6241 else
6242 ac_cv_lib_i386_i386_set_ldt=no
6244 rm -f core conftest.err conftest.$ac_objext \
6245 conftest$ac_exeext conftest.$ac_ext
6246 LIBS=$ac_check_lib_save_LIBS
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6249 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6250 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6251 cat >>confdefs.h <<_ACEOF
6252 #define HAVE_LIBI386 1
6253 _ACEOF
6255 LIBS="-li386 $LIBS"
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6260 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6261 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 ac_check_lib_save_LIBS=$LIBS
6265 LIBS="-lossaudio $LIBS"
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6269 /* Override any GCC internal prototype to avoid an error.
6270 Use char because int might match the return type of a GCC
6271 builtin and then its argument prototype would still apply. */
6272 #ifdef __cplusplus
6273 extern "C"
6274 #endif
6275 char _oss_ioctl ();
6277 main ()
6279 return _oss_ioctl ();
6281 return 0;
6283 _ACEOF
6284 if ac_fn_c_try_link "$LINENO"; then :
6285 ac_cv_lib_ossaudio__oss_ioctl=yes
6286 else
6287 ac_cv_lib_ossaudio__oss_ioctl=no
6289 rm -f core conftest.err conftest.$ac_objext \
6290 conftest$ac_exeext conftest.$ac_ext
6291 LIBS=$ac_check_lib_save_LIBS
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6294 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6295 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6296 cat >>confdefs.h <<_ACEOF
6297 #define HAVE_LIBOSSAUDIO 1
6298 _ACEOF
6300 LIBS="-lossaudio $LIBS"
6305 OPENGL_LIBS=""
6309 # Check whether --enable-largefile was given.
6310 if test "${enable_largefile+set}" = set; then :
6311 enableval=$enable_largefile;
6314 if test "$enable_largefile" != no; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6317 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6318 if ${ac_cv_sys_largefile_CC+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 ac_cv_sys_largefile_CC=no
6322 if test "$GCC" != yes; then
6323 ac_save_CC=$CC
6324 while :; do
6325 # IRIX 6.2 and later do not support large files by default,
6326 # so use the C compiler's -n32 option if that helps.
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #include <sys/types.h>
6330 /* Check that off_t can represent 2**63 - 1 correctly.
6331 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6332 since some C++ compilers masquerading as C compilers
6333 incorrectly reject 9223372036854775807. */
6334 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6335 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6336 && LARGE_OFF_T % 2147483647 == 1)
6337 ? 1 : -1];
6339 main ()
6343 return 0;
6345 _ACEOF
6346 if ac_fn_c_try_compile "$LINENO"; then :
6347 break
6349 rm -f core conftest.err conftest.$ac_objext
6350 CC="$CC -n32"
6351 if ac_fn_c_try_compile "$LINENO"; then :
6352 ac_cv_sys_largefile_CC=' -n32'; break
6354 rm -f core conftest.err conftest.$ac_objext
6355 break
6356 done
6357 CC=$ac_save_CC
6358 rm -f conftest.$ac_ext
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6362 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6363 if test "$ac_cv_sys_largefile_CC" != no; then
6364 CC=$CC$ac_cv_sys_largefile_CC
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6368 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6369 if ${ac_cv_sys_file_offset_bits+:} false; then :
6370 $as_echo_n "(cached) " >&6
6371 else
6372 while :; do
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <sys/types.h>
6376 /* Check that off_t can represent 2**63 - 1 correctly.
6377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6378 since some C++ compilers masquerading as C compilers
6379 incorrectly reject 9223372036854775807. */
6380 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6382 && LARGE_OFF_T % 2147483647 == 1)
6383 ? 1 : -1];
6385 main ()
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_compile "$LINENO"; then :
6393 ac_cv_sys_file_offset_bits=no; break
6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #define _FILE_OFFSET_BITS 64
6399 #include <sys/types.h>
6400 /* Check that off_t can represent 2**63 - 1 correctly.
6401 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6402 since some C++ compilers masquerading as C compilers
6403 incorrectly reject 9223372036854775807. */
6404 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6405 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6406 && LARGE_OFF_T % 2147483647 == 1)
6407 ? 1 : -1];
6409 main ()
6413 return 0;
6415 _ACEOF
6416 if ac_fn_c_try_compile "$LINENO"; then :
6417 ac_cv_sys_file_offset_bits=64; break
6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 ac_cv_sys_file_offset_bits=unknown
6421 break
6422 done
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6425 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6426 case $ac_cv_sys_file_offset_bits in #(
6427 no | unknown) ;;
6429 cat >>confdefs.h <<_ACEOF
6430 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6431 _ACEOF
6433 esac
6434 rm -rf conftest*
6435 if test $ac_cv_sys_file_offset_bits = unknown; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6437 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6438 if ${ac_cv_sys_large_files+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 while :; do
6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6444 #include <sys/types.h>
6445 /* Check that off_t can represent 2**63 - 1 correctly.
6446 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6447 since some C++ compilers masquerading as C compilers
6448 incorrectly reject 9223372036854775807. */
6449 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6450 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6451 && LARGE_OFF_T % 2147483647 == 1)
6452 ? 1 : -1];
6454 main ()
6458 return 0;
6460 _ACEOF
6461 if ac_fn_c_try_compile "$LINENO"; then :
6462 ac_cv_sys_large_files=no; break
6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #define _LARGE_FILES 1
6468 #include <sys/types.h>
6469 /* Check that off_t can represent 2**63 - 1 correctly.
6470 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6471 since some C++ compilers masquerading as C compilers
6472 incorrectly reject 9223372036854775807. */
6473 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6474 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6475 && LARGE_OFF_T % 2147483647 == 1)
6476 ? 1 : -1];
6478 main ()
6482 return 0;
6484 _ACEOF
6485 if ac_fn_c_try_compile "$LINENO"; then :
6486 ac_cv_sys_large_files=1; break
6488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6489 ac_cv_sys_large_files=unknown
6490 break
6491 done
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6494 $as_echo "$ac_cv_sys_large_files" >&6; }
6495 case $ac_cv_sys_large_files in #(
6496 no | unknown) ;;
6498 cat >>confdefs.h <<_ACEOF
6499 #define _LARGE_FILES $ac_cv_sys_large_files
6500 _ACEOF
6502 esac
6503 rm -rf conftest*
6510 ac_ext=c
6511 ac_cpp='$CPP $CPPFLAGS'
6512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6516 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6517 # On Suns, sometimes $CPP names a directory.
6518 if test -n "$CPP" && test -d "$CPP"; then
6519 CPP=
6521 if test -z "$CPP"; then
6522 if ${ac_cv_prog_CPP+:} false; then :
6523 $as_echo_n "(cached) " >&6
6524 else
6525 # Double quotes because CPP needs to be expanded
6526 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6528 ac_preproc_ok=false
6529 for ac_c_preproc_warn_flag in '' yes
6531 # Use a header file that comes with gcc, so configuring glibc
6532 # with a fresh cross-compiler works.
6533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6534 # <limits.h> exists even on freestanding compilers.
6535 # On the NeXT, cc -E runs the code through the compiler's parser,
6536 # not just through cpp. "Syntax error" is here to catch this case.
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6539 #ifdef __STDC__
6540 # include <limits.h>
6541 #else
6542 # include <assert.h>
6543 #endif
6544 Syntax error
6545 _ACEOF
6546 if ac_fn_c_try_cpp "$LINENO"; then :
6548 else
6549 # Broken: fails on valid input.
6550 continue
6552 rm -f conftest.err conftest.i conftest.$ac_ext
6554 # OK, works on sane cases. Now check whether nonexistent headers
6555 # can be detected and how.
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6558 #include <ac_nonexistent.h>
6559 _ACEOF
6560 if ac_fn_c_try_cpp "$LINENO"; then :
6561 # Broken: success on invalid input.
6562 continue
6563 else
6564 # Passes both tests.
6565 ac_preproc_ok=:
6566 break
6568 rm -f conftest.err conftest.i conftest.$ac_ext
6570 done
6571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6572 rm -f conftest.i conftest.err conftest.$ac_ext
6573 if $ac_preproc_ok; then :
6574 break
6577 done
6578 ac_cv_prog_CPP=$CPP
6581 CPP=$ac_cv_prog_CPP
6582 else
6583 ac_cv_prog_CPP=$CPP
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6586 $as_echo "$CPP" >&6; }
6587 ac_preproc_ok=false
6588 for ac_c_preproc_warn_flag in '' yes
6590 # Use a header file that comes with gcc, so configuring glibc
6591 # with a fresh cross-compiler works.
6592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6593 # <limits.h> exists even on freestanding compilers.
6594 # On the NeXT, cc -E runs the code through the compiler's parser,
6595 # not just through cpp. "Syntax error" is here to catch this case.
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6598 #ifdef __STDC__
6599 # include <limits.h>
6600 #else
6601 # include <assert.h>
6602 #endif
6603 Syntax error
6604 _ACEOF
6605 if ac_fn_c_try_cpp "$LINENO"; then :
6607 else
6608 # Broken: fails on valid input.
6609 continue
6611 rm -f conftest.err conftest.i conftest.$ac_ext
6613 # OK, works on sane cases. Now check whether nonexistent headers
6614 # can be detected and how.
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <ac_nonexistent.h>
6618 _ACEOF
6619 if ac_fn_c_try_cpp "$LINENO"; then :
6620 # Broken: success on invalid input.
6621 continue
6622 else
6623 # Passes both tests.
6624 ac_preproc_ok=:
6625 break
6627 rm -f conftest.err conftest.i conftest.$ac_ext
6629 done
6630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6631 rm -f conftest.i conftest.err conftest.$ac_ext
6632 if $ac_preproc_ok; then :
6634 else
6635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6637 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6638 See \`config.log' for more details" "$LINENO" 5; }
6641 ac_ext=c
6642 ac_cpp='$CPP $CPPFLAGS'
6643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6649 $as_echo_n "checking for ANSI C header files... " >&6; }
6650 if ${ac_cv_header_stdc+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h. */
6655 #include <stdlib.h>
6656 #include <stdarg.h>
6657 #include <string.h>
6658 #include <float.h>
6661 main ()
6665 return 0;
6667 _ACEOF
6668 if ac_fn_c_try_compile "$LINENO"; then :
6669 ac_cv_header_stdc=yes
6670 else
6671 ac_cv_header_stdc=no
6673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6675 if test $ac_cv_header_stdc = yes; then
6676 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 #include <string.h>
6681 _ACEOF
6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6683 $EGREP "memchr" >/dev/null 2>&1; then :
6685 else
6686 ac_cv_header_stdc=no
6688 rm -f conftest*
6692 if test $ac_cv_header_stdc = yes; then
6693 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6696 #include <stdlib.h>
6698 _ACEOF
6699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6700 $EGREP "free" >/dev/null 2>&1; then :
6702 else
6703 ac_cv_header_stdc=no
6705 rm -f conftest*
6709 if test $ac_cv_header_stdc = yes; then
6710 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6711 if test "$cross_compiling" = yes; then :
6713 else
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <ctype.h>
6717 #include <stdlib.h>
6718 #if ((' ' & 0x0FF) == 0x020)
6719 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6720 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6721 #else
6722 # define ISLOWER(c) \
6723 (('a' <= (c) && (c) <= 'i') \
6724 || ('j' <= (c) && (c) <= 'r') \
6725 || ('s' <= (c) && (c) <= 'z'))
6726 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6727 #endif
6729 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6731 main ()
6733 int i;
6734 for (i = 0; i < 256; i++)
6735 if (XOR (islower (i), ISLOWER (i))
6736 || toupper (i) != TOUPPER (i))
6737 return 2;
6738 return 0;
6740 _ACEOF
6741 if ac_fn_c_try_run "$LINENO"; then :
6743 else
6744 ac_cv_header_stdc=no
6746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6747 conftest.$ac_objext conftest.beam conftest.$ac_ext
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6753 $as_echo "$ac_cv_header_stdc" >&6; }
6754 if test $ac_cv_header_stdc = yes; then
6756 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6760 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6761 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6762 inttypes.h stdint.h unistd.h
6763 do :
6764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6767 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 _ACEOF
6774 done
6777 for ac_header in \
6778 AL/al.h \
6779 ApplicationServices/ApplicationServices.h \
6780 AudioToolbox/AudioConverter.h \
6781 AudioUnit/AudioUnit.h \
6782 AudioUnit/AudioComponent.h \
6783 CL/cl.h \
6784 Carbon/Carbon.h \
6785 CommonCrypto/CommonDigest.h \
6786 CoreAudio/CoreAudio.h \
6787 CoreServices/CoreServices.h \
6788 DiskArbitration/DiskArbitration.h \
6789 IOKit/IOKitLib.h \
6790 IOKit/hid/IOHIDLib.h \
6791 OpenAL/al.h \
6792 OpenCL/opencl.h \
6793 QuickTime/ImageCompression.h \
6794 Security/Security.h \
6795 alias.h \
6796 alsa/asoundlib.h \
6797 arpa/inet.h \
6798 arpa/nameser.h \
6799 asm/types.h \
6800 asm/user.h \
6801 curses.h \
6802 direct.h \
6803 dirent.h \
6804 dlfcn.h \
6805 elf.h \
6806 float.h \
6807 fnmatch.h \
6808 getopt.h \
6809 gettext-po.h \
6810 grp.h \
6811 gsm.h \
6812 gsm/gsm.h \
6813 ieeefp.h \
6814 inet/mib2.h \
6815 io.h \
6816 kstat.h \
6817 lber.h \
6818 ldap.h \
6819 libproc.h \
6820 link.h \
6821 linux/cdrom.h \
6822 linux/compiler.h \
6823 linux/filter.h \
6824 linux/hdreg.h \
6825 linux/hidraw.h \
6826 linux/input.h \
6827 linux/ioctl.h \
6828 linux/joystick.h \
6829 linux/major.h \
6830 linux/param.h \
6831 linux/serial.h \
6832 linux/types.h \
6833 linux/ucdrom.h \
6834 lwp.h \
6835 mach-o/nlist.h \
6836 mach-o/loader.h \
6837 mach/mach.h \
6838 mach/machine.h \
6839 machine/cpu.h \
6840 machine/limits.h \
6841 machine/sysarch.h \
6842 mntent.h \
6843 ncurses.h \
6844 netdb.h \
6845 netinet/in.h \
6846 netinet/in_systm.h \
6847 netinet/tcp.h \
6848 netinet/tcp_fsm.h \
6849 pcap/pcap.h \
6850 poll.h \
6851 port.h \
6852 process.h \
6853 pthread.h \
6854 pwd.h \
6855 sched.h \
6856 scsi/scsi.h \
6857 scsi/scsi_ioctl.h \
6858 scsi/sg.h \
6859 stdbool.h \
6860 stdint.h \
6861 stropts.h \
6862 sys/asoundlib.h \
6863 sys/attr.h \
6864 sys/cdio.h \
6865 sys/elf32.h \
6866 sys/epoll.h \
6867 sys/event.h \
6868 sys/exec_elf.h \
6869 sys/filio.h \
6870 sys/inotify.h \
6871 sys/ioctl.h \
6872 sys/ipc.h \
6873 sys/limits.h \
6874 sys/link.h \
6875 sys/mman.h \
6876 sys/modem.h \
6877 sys/msg.h \
6878 sys/mtio.h \
6879 sys/param.h \
6880 sys/poll.h \
6881 sys/prctl.h \
6882 sys/protosw.h \
6883 sys/ptrace.h \
6884 sys/queue.h \
6885 sys/resource.h \
6886 sys/scsiio.h \
6887 sys/shm.h \
6888 sys/signal.h \
6889 sys/socket.h \
6890 sys/socketvar.h \
6891 sys/sockio.h \
6892 sys/statvfs.h \
6893 sys/strtio.h \
6894 sys/syscall.h \
6895 sys/sysinfo.h \
6896 sys/tihdr.h \
6897 sys/time.h \
6898 sys/timeout.h \
6899 sys/times.h \
6900 sys/uio.h \
6901 sys/user.h \
6902 sys/utsname.h \
6903 sys/vm86.h \
6904 sys/vnode.h \
6905 sys/wait.h \
6906 syscall.h \
6907 termios.h \
6908 unistd.h \
6909 utime.h \
6910 valgrind/memcheck.h \
6911 valgrind/valgrind.h \
6912 zlib.h
6914 do :
6915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6918 cat >>confdefs.h <<_ACEOF
6919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6920 _ACEOF
6924 done
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6927 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6928 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6929 $as_echo_n "(cached) " >&6
6930 else
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 #include <sys/types.h>
6935 main ()
6937 return makedev(0, 0);
6939 return 0;
6941 _ACEOF
6942 if ac_fn_c_try_link "$LINENO"; then :
6943 ac_cv_header_sys_types_h_makedev=yes
6944 else
6945 ac_cv_header_sys_types_h_makedev=no
6947 rm -f core conftest.err conftest.$ac_objext \
6948 conftest$ac_exeext conftest.$ac_ext
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6952 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6954 if test $ac_cv_header_sys_types_h_makedev = no; then
6955 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6956 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6958 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6964 if test $ac_cv_header_sys_mkdev_h = no; then
6965 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6966 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6968 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6977 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6978 if ${ac_cv_header_stat_broken+:} false; then :
6979 $as_echo_n "(cached) " >&6
6980 else
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 #include <sys/types.h>
6984 #include <sys/stat.h>
6986 #if defined S_ISBLK && defined S_IFDIR
6987 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6988 #endif
6990 #if defined S_ISBLK && defined S_IFCHR
6991 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6992 #endif
6994 #if defined S_ISLNK && defined S_IFREG
6995 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6996 #endif
6998 #if defined S_ISSOCK && defined S_IFREG
6999 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7000 #endif
7002 _ACEOF
7003 if ac_fn_c_try_compile "$LINENO"; then :
7004 ac_cv_header_stat_broken=no
7005 else
7006 ac_cv_header_stat_broken=yes
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7011 $as_echo "$ac_cv_header_stat_broken" >&6; }
7012 if test $ac_cv_header_stat_broken = yes; then
7014 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7020 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7021 do :
7022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7023 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7024 #ifdef HAVE_SYS_PARAM_H
7025 # include <sys/param.h>
7026 #endif
7028 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7029 cat >>confdefs.h <<_ACEOF
7030 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7031 _ACEOF
7035 done
7038 for ac_header in \
7039 netinet/ip.h \
7040 net/if.h \
7041 net/if_arp.h \
7042 net/if_dl.h \
7043 net/if_types.h \
7044 net/route.h \
7045 netinet/if_ether.h \
7046 netinet/if_inarp.h \
7047 netinet/in_pcb.h \
7048 netinet/ip_icmp.h \
7049 netinet/ip_var.h \
7050 netinet/udp.h \
7051 netipx/ipx.h \
7052 sys/un.h \
7054 do :
7055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7057 #ifdef HAVE_SYS_SOCKET_H
7058 # include <sys/socket.h>
7059 #endif
7060 #ifdef HAVE_SYS_SOCKETVAR_H
7061 # include <sys/socketvar.h>
7062 #endif
7063 #ifdef HAVE_NET_ROUTE_H
7064 # include <net/route.h>
7065 #endif
7066 #ifdef HAVE_NETINET_IN_H
7067 # include <netinet/in.h>
7068 #endif
7069 #ifdef HAVE_NETINET_IN_SYSTM_H
7070 # include <netinet/in_systm.h>
7071 #endif
7072 #ifdef HAVE_NET_IF_H
7073 # include <net/if.h>
7074 #endif
7075 #ifdef HAVE_NETINET_IP_H
7076 # include <netinet/ip.h>
7077 #endif
7079 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7080 cat >>confdefs.h <<_ACEOF
7081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7082 _ACEOF
7086 done
7089 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7090 do :
7091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7092 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7093 #ifdef HAVE_ALIAS_H
7094 # include <alias.h>
7095 #endif
7096 #ifdef HAVE_SYS_SOCKET_H
7097 # include <sys/socket.h>
7098 #endif
7099 #ifdef HAVE_SYS_SOCKETVAR_H
7100 # include <sys/socketvar.h>
7101 #endif
7102 #ifdef HAVE_SYS_TIMEOUT_H
7103 # include <sys/timeout.h>
7104 #endif
7105 #ifdef HAVE_NETINET_IN_H
7106 # include <netinet/in.h>
7107 #endif
7108 #ifdef HAVE_NETINET_IN_SYSTM_H
7109 # include <netinet/in_systm.h>
7110 #endif
7111 #ifdef HAVE_NETINET_IP_H
7112 # include <netinet/ip.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IP_VAR_H
7115 # include <netinet/ip_var.h>
7116 #endif
7117 #ifdef HAVE_NETINET_IP_ICMP_H
7118 # include <netinet/ip_icmp.h>
7119 #endif
7120 #ifdef HAVE_NETINET_UDP_H
7121 # include <netinet/udp.h>
7122 #endif
7123 #ifdef HAVE_NETINET_TCP_H
7124 # include <netinet/tcp.h>
7125 #endif
7126 #ifdef HAVE_NETINET_TCP_TIMER_H
7127 #include <netinet/tcp_timer.h>
7128 #endif
7130 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7131 cat >>confdefs.h <<_ACEOF
7132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7133 _ACEOF
7137 done
7140 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7141 do :
7142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7144 #ifdef HAVE_ASM_TYPES_H
7145 # include <asm/types.h>
7146 #endif
7147 #ifdef HAVE_SYS_SOCKET_H
7148 # include <sys/socket.h>
7149 #endif
7150 #ifdef HAVE_LINUX_TYPES_H
7151 # include <linux/types.h>
7152 #endif
7154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7157 _ACEOF
7161 done
7164 for ac_header in mach-o/dyld_images.h
7165 do :
7166 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7167 # include <stdbool.h>
7168 #endif
7169 #ifdef HAVE_STDINT_H
7170 # include <stdint.h>
7171 #endif
7173 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7174 cat >>confdefs.h <<_ACEOF
7175 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7176 _ACEOF
7180 done
7183 for ac_header in resolv.h
7184 do :
7185 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7186 #ifdef HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7188 #endif
7189 #ifdef HAVE_NETINET_IN_H
7190 # include <netinet/in.h>
7191 #endif
7192 #ifdef HAVE_ARPA_NAMESER_H
7193 # include <arpa/nameser.h>
7194 #endif
7196 if test "x$ac_cv_header_resolv_h" = xyes; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_RESOLV_H 1
7199 _ACEOF
7203 done
7206 for ac_header in ifaddrs.h
7207 do :
7208 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7210 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define HAVE_IFADDRS_H 1
7213 _ACEOF
7217 done
7220 for ac_header in sys/ucontext.h
7221 do :
7222 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7224 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_SYS_UCONTEXT_H 1
7227 _ACEOF
7231 done
7234 for ac_header in sys/thr.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7237 #ifdef HAVE_SYS_UCONTEXT_H
7238 #include <sys/ucontext.h>
7239 #endif
7241 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define HAVE_SYS_THR_H 1
7244 _ACEOF
7248 done
7251 for ac_header in pthread_np.h
7252 do :
7253 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7254 #include <pthread.h>
7255 #endif
7257 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7258 cat >>confdefs.h <<_ACEOF
7259 #define HAVE_PTHREAD_NP_H 1
7260 _ACEOF
7264 done
7267 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7268 do :
7269 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7270 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7271 #include <sys/time.h>
7272 #endif
7273 #include <sys/types.h>
7274 #ifdef HAVE_ASM_TYPES_H
7275 #include <asm/types.h>
7276 #endif
7278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7279 cat >>confdefs.h <<_ACEOF
7280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7281 _ACEOF
7285 done
7288 for ac_header in libprocstat.h
7289 do :
7290 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7291 #include <sys/param.h>
7292 #endif
7293 #ifdef HAVE_SYS_QUEUE_H
7294 #include <sys/queue.h>
7295 #endif
7296 #ifdef HAVE_SYS_SOCKET_H
7297 #include <sys/socket.h>
7298 #endif
7300 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7301 cat >>confdefs.h <<_ACEOF
7302 #define HAVE_LIBPROCSTAT_H 1
7303 _ACEOF
7307 done
7311 dlldir="\${libdir}/wine"
7313 DLLFLAGS="-D_REENTRANT"
7315 LDRPATH_INSTALL=""
7317 LDRPATH_LOCAL=""
7319 LDEXECFLAGS=""
7321 LIBEXT="so"
7322 DLLEXT=".so"
7323 IMPLIBEXT="def"
7324 # Extract the first word of "ldd", so it can be a program name with args.
7325 set dummy ldd; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_path_LDD+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 case $LDD in
7332 [\\/]* | ?:[\\/]*)
7333 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 as_dummy="/sbin:/usr/sbin:$PATH"
7338 for as_dir in $as_dummy
7340 IFS=$as_save_IFS
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 break 2
7348 done
7349 done
7350 IFS=$as_save_IFS
7352 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7354 esac
7356 LDD=$ac_cv_path_LDD
7357 if test -n "$LDD"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7359 $as_echo "$LDD" >&6; }
7360 else
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7366 if test -n "$ac_tool_prefix"; then
7367 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7368 set dummy ${ac_tool_prefix}otool; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if ${ac_cv_prog_OTOOL+:} false; then :
7372 $as_echo_n "(cached) " >&6
7373 else
7374 if test -n "$OTOOL"; then
7375 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7380 IFS=$as_save_IFS
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7394 OTOOL=$ac_cv_prog_OTOOL
7395 if test -n "$OTOOL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7397 $as_echo "$OTOOL" >&6; }
7398 else
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7405 if test -z "$ac_cv_prog_OTOOL"; then
7406 ac_ct_OTOOL=$OTOOL
7407 # Extract the first word of "otool", so it can be a program name with args.
7408 set dummy otool; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7412 $as_echo_n "(cached) " >&6
7413 else
7414 if test -n "$ac_ct_OTOOL"; then
7415 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7416 else
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 for as_dir in $PATH
7420 IFS=$as_save_IFS
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_ac_ct_OTOOL="otool"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7434 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7435 if test -n "$ac_ct_OTOOL"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7437 $as_echo "$ac_ct_OTOOL" >&6; }
7438 else
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7443 if test "x$ac_ct_OTOOL" = x; then
7444 OTOOL="otool"
7445 else
7446 case $cross_compiling:$ac_tool_warned in
7447 yes:)
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7450 ac_tool_warned=yes ;;
7451 esac
7452 OTOOL=$ac_ct_OTOOL
7454 else
7455 OTOOL="$ac_cv_prog_OTOOL"
7458 if test -n "$ac_tool_prefix"; then
7459 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7460 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_READELF+:} false; then :
7464 $as_echo_n "(cached) " >&6
7465 else
7466 if test -n "$READELF"; then
7467 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7468 else
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 for as_dir in $PATH
7472 IFS=$as_save_IFS
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478 break 2
7480 done
7481 done
7482 IFS=$as_save_IFS
7486 READELF=$ac_cv_prog_READELF
7487 if test -n "$READELF"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7489 $as_echo "$READELF" >&6; }
7490 else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7497 if test -z "$ac_cv_prog_READELF"; then
7498 ac_ct_READELF=$READELF
7499 # Extract the first word of "readelf", so it can be a program name with args.
7500 set dummy readelf; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7504 $as_echo_n "(cached) " >&6
7505 else
7506 if test -n "$ac_ct_READELF"; then
7507 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7508 else
7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7510 for as_dir in $PATH
7512 IFS=$as_save_IFS
7513 test -z "$as_dir" && as_dir=.
7514 for ac_exec_ext in '' $ac_executable_extensions; do
7515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_ac_ct_READELF="readelf"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 break 2
7520 done
7521 done
7522 IFS=$as_save_IFS
7526 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7527 if test -n "$ac_ct_READELF"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7529 $as_echo "$ac_ct_READELF" >&6; }
7530 else
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7535 if test "x$ac_ct_READELF" = x; then
7536 READELF="true"
7537 else
7538 case $cross_compiling:$ac_tool_warned in
7539 yes:)
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7542 ac_tool_warned=yes ;;
7543 esac
7544 READELF=$ac_ct_READELF
7546 else
7547 READELF="$ac_cv_prog_READELF"
7550 wine_rules_file=conf$$rules.make
7551 rm -f $wine_rules_file
7552 SUBDIRS=""
7554 DISABLED_SUBDIRS=""
7556 CONFIGURE_TARGETS=""
7558 ALL_TEST_RESOURCES=""
7561 wine_fn_append_file ()
7563 as_fn_append $1 " \\$as_nl $2"
7566 wine_fn_append_rule ()
7568 $as_echo "$1" >>$wine_rules_file
7571 wine_fn_has_flag ()
7573 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7576 wine_fn_all_rules ()
7578 wine_fn_append_file SUBDIRS $ac_dir
7579 wine_fn_append_rule \
7580 "all: $ac_dir
7581 .PHONY: $ac_dir
7582 $ac_dir: dummy
7583 @cd $ac_dir && \$(MAKE)"
7586 wine_fn_install_rules ()
7588 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7590 wine_fn_append_rule \
7591 ".PHONY: $ac_dir/install $ac_dir/uninstall
7592 $ac_dir/install:: $ac_dir
7593 @cd $ac_dir && \$(MAKE) install
7594 $ac_dir/uninstall::
7595 @cd $ac_dir && \$(MAKE) uninstall
7596 install:: $ac_dir/install
7597 __uninstall__: $ac_dir/uninstall"
7599 if wine_fn_has_flag install-lib
7600 then
7601 wine_fn_append_rule \
7602 ".PHONY: $ac_dir/install-lib
7603 $ac_dir/install-lib:: $ac_dir
7604 @cd $ac_dir && \$(MAKE) install-lib
7605 install-lib:: $ac_dir/install-lib"
7608 if wine_fn_has_flag install-dev
7609 then
7610 wine_fn_append_rule \
7611 ".PHONY: $ac_dir/install-dev
7612 $ac_dir/install-dev:: $ac_dir
7613 @cd $ac_dir && \$(MAKE) install-dev
7614 install-dev:: $ac_dir/install-dev"
7618 wine_fn_clean_rules ()
7620 ac_clean=$@
7622 if wine_fn_has_flag clean
7623 then
7624 wine_fn_append_rule \
7625 "$ac_dir/clean: dummy
7626 @cd $ac_dir && \$(MAKE) clean"
7627 else
7628 wine_fn_append_rule \
7629 "$ac_dir/clean: dummy
7630 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7632 wine_fn_append_rule \
7633 "__clean__: $ac_dir/clean
7634 .PHONY: $ac_dir/clean"
7637 wine_fn_disabled_rules ()
7639 ac_clean=$@
7641 wine_fn_append_file SUBDIRS $ac_dir
7642 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7643 wine_fn_append_rule \
7644 "__clean__: $ac_dir/clean
7645 .PHONY: $ac_dir/clean
7646 $ac_dir/clean: dummy
7647 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7650 wine_fn_config_makefile ()
7652 ac_dir=$1
7653 ac_enable=$2
7654 ac_flags=$3
7656 case $ac_dir in
7657 fonts|server) test -z "$with_wine64" || return ;;
7658 esac
7659 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7660 wine_fn_disabled_rules; return
7662 wine_fn_all_rules
7663 wine_fn_install_rules
7664 wine_fn_clean_rules
7667 wine_fn_config_lib ()
7669 ac_name=$1
7670 ac_flags=$2
7671 ac_dir=dlls/$ac_name
7672 ac_deps="include"
7674 if test "x$enable_tools" = xno; then :
7676 else
7677 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7679 wine_fn_all_rules
7680 wine_fn_clean_rules
7682 wine_fn_append_rule \
7683 ".PHONY: $ac_dir/install $ac_dir/uninstall
7684 $ac_dir/install:: $ac_dir
7685 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7686 $ac_dir/uninstall::
7687 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7688 install install-dev:: $ac_dir/install
7689 __uninstall__: $ac_dir/uninstall
7690 __builddeps__: $ac_dir
7691 $ac_dir: $ac_deps"
7694 wine_fn_config_dll ()
7696 ac_name=$1
7697 ac_dir=dlls/$ac_name
7698 ac_enable=$2
7699 ac_flags=$3
7700 ac_implib=${4:-$ac_name}
7701 ac_file=$ac_dir/lib$ac_implib
7702 ac_dll=$ac_name
7703 ac_deps="include"
7704 ac_implibflags=""
7706 if test "x$enable_tools" = xno; then :
7708 else
7709 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7711 case $ac_name in
7712 *16) ac_implibflags=" -m16" ;;
7713 *.*) ;;
7714 *) ac_dll=$ac_dll.dll ;;
7715 esac
7717 ac_clean=
7718 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7719 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7721 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7722 if test "$ac_enable" != enable_win16
7723 then
7724 wine_fn_clean_rules $ac_clean
7725 wine_fn_append_file SUBDIRS $ac_dir
7726 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7727 else
7728 wine_fn_disabled_rules $ac_clean
7729 return
7731 else
7732 wine_fn_all_rules
7733 wine_fn_clean_rules $ac_clean
7734 wine_fn_append_rule \
7735 "$ac_dir: __builddeps__
7736 manpages htmlpages sgmlpages xmlpages::
7737 @cd $ac_dir && \$(MAKE) \$@
7738 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7739 install install-lib:: $ac_dir/install-lib
7740 __uninstall__: $ac_dir/uninstall"
7741 if test -n "$DLLEXT"
7742 then
7743 wine_fn_append_rule \
7744 "$ac_dir/install-lib:: $ac_dir
7745 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7746 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7747 $ac_dir/uninstall::
7748 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7749 else
7750 wine_fn_append_rule \
7751 "$ac_dir/install-lib:: $ac_dir
7752 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7753 $ac_dir/uninstall::
7754 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7758 if wine_fn_has_flag staticimplib
7759 then
7760 wine_fn_append_rule \
7761 "__builddeps__: $ac_file.a
7762 $ac_file.a $ac_file.cross.a: $ac_deps
7763 $ac_file.a: dummy
7764 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7765 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7766 $ac_dir/install-dev:: $ac_file.a
7767 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7768 $ac_dir/uninstall::
7769 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7770 install install-dev:: $ac_dir/install-dev
7771 __uninstall__: $ac_dir/uninstall"
7773 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7774 then
7775 wine_fn_append_rule \
7776 "__builddeps__: $ac_file.cross.a
7777 $ac_file.cross.a: dummy
7778 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7781 elif wine_fn_has_flag implib
7782 then
7783 wine_fn_append_rule \
7784 "__builddeps__: $ac_file.$IMPLIBEXT
7785 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7786 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7787 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7788 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7789 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7790 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7791 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7792 $ac_dir/uninstall::
7793 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7794 install install-dev:: $ac_dir/install-dev
7795 __uninstall__: $ac_dir/uninstall"
7796 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7797 then
7798 wine_fn_append_rule \
7799 "__builddeps__: $ac_file.cross.a
7800 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7801 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7806 wine_fn_config_program ()
7808 ac_name=$1
7809 ac_dir=programs/$ac_name
7810 ac_enable=$2
7811 ac_flags=$3
7812 ac_program=$ac_name
7814 case $ac_name in
7815 *.*) ;;
7816 *) ac_program=$ac_program.exe ;;
7817 esac
7819 ac_clean=
7820 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7821 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7823 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7824 wine_fn_disabled_rules $ac_clean; return
7827 wine_fn_all_rules
7828 wine_fn_clean_rules $ac_clean
7829 wine_fn_append_rule "$ac_dir: __builddeps__"
7831 wine_fn_has_flag install || return
7832 wine_fn_append_rule \
7833 ".PHONY: $ac_dir/install $ac_dir/uninstall
7834 install install-lib:: $ac_dir/install
7835 __uninstall__: $ac_dir/uninstall"
7837 if test -n "$DLLEXT"
7838 then
7839 wine_fn_append_rule \
7840 "$ac_dir/install:: $ac_dir
7841 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7842 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7843 $ac_dir/uninstall::
7844 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7846 if test -z "$with_wine64" && wine_fn_has_flag installbin
7847 then
7848 wine_fn_append_rule \
7849 "$ac_dir/install:: __tooldeps__
7850 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7851 $ac_dir/uninstall::
7852 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7854 else
7855 wine_fn_append_rule \
7856 "$ac_dir/install:: $ac_dir
7857 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7858 $ac_dir/uninstall::
7859 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7862 if test -z "$with_wine64" && wine_fn_has_flag manpage
7863 then
7864 wine_fn_append_rule \
7865 "$ac_dir/install:: $ac_dir
7866 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7867 $ac_dir/uninstall::
7868 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7872 wine_fn_config_test ()
7874 ac_dir=$1
7875 ac_name=$2
7876 ac_flags=$3
7878 ac_clean=
7879 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7880 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7882 if test "x$enable_tests" = xno; then :
7883 wine_fn_disabled_rules $ac_clean; return
7886 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7887 wine_fn_all_rules
7888 wine_fn_clean_rules $ac_clean
7890 wine_fn_append_rule \
7891 "$ac_dir: __builddeps__
7892 programs/winetest: $ac_dir
7893 check test: $ac_dir/test
7894 .PHONY: $ac_dir/test
7895 $ac_dir/test: dummy
7896 @cd $ac_dir && \$(MAKE) test
7897 testclean::
7898 \$(RM) $ac_dir/*.ok"
7900 if test -n "$CROSSTARGET"
7901 then
7902 wine_fn_append_rule \
7903 "crosstest: $ac_dir/crosstest
7904 .PHONY: $ac_dir/crosstest
7905 $ac_dir/crosstest: __builddeps__ dummy
7906 @cd $ac_dir && \$(MAKE) crosstest"
7910 wine_fn_config_tool ()
7912 ac_dir=$1
7913 ac_flags=$2
7914 if test "x$enable_tools" = xno; then :
7915 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7918 wine_fn_all_rules
7919 wine_fn_install_rules
7920 wine_fn_clean_rules
7922 wine_fn_append_rule "__tooldeps__: $ac_dir"
7923 wine_fn_append_rule "$ac_dir: libs/port"
7924 case $ac_dir in
7925 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7926 esac
7929 wine_fn_config_symlink ()
7931 ac_linkdir=
7932 if test "x$1" = "x-d"
7933 then
7934 ac_linkdir=$2
7935 shift; shift
7937 ac_links=$@
7938 wine_fn_append_rule \
7939 "$ac_links:
7940 @./config.status \$@"
7941 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7942 test -n "$ac_linkdir" || return
7943 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7946 wine_binary="wine"
7947 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7948 WINELOADER_PROGRAMS="$wine_binary"
7950 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7952 case $host_os in
7953 cygwin*|mingw32*)
7954 if test -n "$ac_tool_prefix"; then
7955 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7956 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_DLLTOOL+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 if test -n "$DLLTOOL"; then
7963 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7964 else
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 for as_dir in $PATH
7968 IFS=$as_save_IFS
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 break 2
7976 done
7977 done
7978 IFS=$as_save_IFS
7982 DLLTOOL=$ac_cv_prog_DLLTOOL
7983 if test -n "$DLLTOOL"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7985 $as_echo "$DLLTOOL" >&6; }
7986 else
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7993 if test -z "$ac_cv_prog_DLLTOOL"; then
7994 ac_ct_DLLTOOL=$DLLTOOL
7995 # Extract the first word of "dlltool", so it can be a program name with args.
7996 set dummy dlltool; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 if test -n "$ac_ct_DLLTOOL"; then
8003 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8004 else
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 for as_dir in $PATH
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8022 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8023 if test -n "$ac_ct_DLLTOOL"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8025 $as_echo "$ac_ct_DLLTOOL" >&6; }
8026 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8031 if test "x$ac_ct_DLLTOOL" = x; then
8032 DLLTOOL="false"
8033 else
8034 case $cross_compiling:$ac_tool_warned in
8035 yes:)
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8038 ac_tool_warned=yes ;;
8039 esac
8040 DLLTOOL=$ac_ct_DLLTOOL
8042 else
8043 DLLTOOL="$ac_cv_prog_DLLTOOL"
8046 LIBEXT="dll"
8047 DLLEXT=""
8048 IMPLIBEXT="a"
8049 enable_iphlpapi=${enable_iphlpapi:-no}
8050 enable_kernel32=${enable_kernel32:-no}
8051 enable_msvcrt=${enable_msvcrt:-no}
8052 enable_ntdll=${enable_ntdll:-no}
8053 enable_ws2_32=${enable_ws2_32:-no}
8054 enable_loader=${enable_loader:-no}
8055 enable_server=${enable_server:-no}
8056 with_x=${with_x:-no}
8057 with_pthread=${with_pthread:-no}
8059 crtlibs=""
8060 case $host_os in
8061 mingw32*)
8062 crtlibs="-lmsvcrt"
8063 SOCKET_LIBS="-lws2_32"
8065 esac
8067 LIBWINE_SHAREDLIB="libwine.dll"
8069 LIBWINE_IMPORTLIB="libwine.a"
8071 LIBWINE_INSTALL_LIB="libwine.dll"
8073 LIBWINE_INSTALL_DEV="libwine.a"
8075 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8077 LIBWINE_DEPENDS="wine.def"
8081 darwin*|macosx*)
8082 for ac_header in libunwind.h
8083 do :
8084 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8086 cat >>confdefs.h <<_ACEOF
8087 #define HAVE_LIBUNWIND_H 1
8088 _ACEOF
8092 done
8094 LIBEXT="dylib"
8095 DLLFLAGS="$DLLFLAGS -fPIC"
8096 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8097 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8098 COREFOUNDATION_LIBS="-framework CoreFoundation"
8100 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8102 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8104 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8106 CORESERVICES_LIBS="-framework CoreServices"
8108 APPKIT_LIBS="-framework AppKit"
8110 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8112 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8113 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 ac_wine_try_cflags_saved=$CFLAGS
8117 CFLAGS="$CFLAGS -Wl,-no_pie"
8118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 int main(int argc, char **argv) { return 0; }
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 ac_cv_cflags__Wl__no_pie=yes
8124 else
8125 ac_cv_cflags__Wl__no_pie=no
8127 rm -f core conftest.err conftest.$ac_objext \
8128 conftest$ac_exeext conftest.$ac_ext
8129 CFLAGS=$ac_wine_try_cflags_saved
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8132 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8133 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8134 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8136 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8137 then
8138 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8141 if test "$ac_cv_header_Security_Security_h" = "yes"
8142 then
8143 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8145 ac_save_LIBS="$LIBS"
8146 LIBS="$LIBS $SECURITY_LIBS"
8147 for ac_func in SSLCopyPeerCertificates
8148 do :
8149 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8150 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8151 cat >>confdefs.h <<_ACEOF
8152 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8153 _ACEOF
8156 done
8158 LIBS="$ac_save_LIBS"
8159 with_gnutls=${with_gnutls:-no}
8161 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8162 then
8163 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8164 then
8165 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8167 else
8168 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8171 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8172 ac_save_LIBS="$LIBS"
8173 LIBS="$LIBS $COREAUDIO_LIBS"
8174 for ac_func in AUGraphAddNode
8175 do :
8176 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8177 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_AUGRAPHADDNODE 1
8180 _ACEOF
8183 done
8185 LIBS="$ac_save_LIBS"
8187 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8188 then
8189 OPENAL_LIBS="-framework OpenAL"
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_OPENAL 1
8194 _ACEOF
8196 ac_cv_lib_openal=yes
8198 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8199 then
8200 OPENCL_LIBS="-framework OpenCL"
8202 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8204 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8205 then
8206 ac_save_LIBS="$LIBS"
8207 LIBS="$LIBS $IOKIT_LIBS"
8208 for ac_func in IOHIDManagerCreate
8209 do :
8210 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8211 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8212 cat >>confdefs.h <<_ACEOF
8213 #define HAVE_IOHIDMANAGERCREATE 1
8214 _ACEOF
8217 done
8219 LIBS="$ac_save_LIBS"
8221 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8222 then
8223 ac_save_LIBS="$LIBS"
8224 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8226 $as_echo_n "checking for the QuickTime framework... " >&6; }
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 #include <QuickTime/ImageCompression.h>
8231 main ()
8233 CodecManagerVersion(NULL);
8235 return 0;
8237 _ACEOF
8238 if ac_fn_c_try_link "$LINENO"; then :
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8240 $as_echo "yes" >&6; }
8241 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8243 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 ac_cv_header_QuickTime_ImageCompression_h=no
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 LIBS="$ac_save_LIBS"
8253 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8254 then
8255 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8257 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8258 then
8259 CARBON_LIBS="-framework Carbon"
8263 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8264 then
8265 ac_save_LIBS="$LIBS"
8266 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8267 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8268 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8269 enable_winemac_drv=${enable_winemac_drv:-yes}
8272 LIBS="$ac_save_LIBS"
8275 if test "x$enable_win16" = "xyes"
8276 then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8278 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8279 if test "$cross_compiling" = yes; then :
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8281 $as_echo "cross-compiling, assuming yes" >&6; }
8282 else
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 asm(".text\n"
8286 "bad:\tnop;nop\n"
8287 "good:\tnop;nop\n\t"
8288 ".globl _testfunc\n"
8289 "_testfunc:\tcallw good");
8290 extern void testfunc();
8292 main ()
8294 unsigned short *p = (unsigned short *)testfunc;
8295 return p[0] != 0xe866 || p[1] != 0xfffa
8297 return 0;
8299 _ACEOF
8300 if ac_fn_c_try_run "$LINENO"; then :
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8302 $as_echo "yes" >&6; }
8303 else
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8306 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
8308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8309 conftest.$ac_objext conftest.beam conftest.$ac_ext
8314 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8316 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8318 LIBWINE_INSTALL_DEV="libwine.dylib"
8320 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8322 WINELOADER_DEPENDS="wine_info.plist"
8326 linux-android*)
8327 DLLFLAGS="$DLLFLAGS -fPIC"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8329 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8330 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8341 else
8342 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8349 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8350 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8351 LDEXECFLAGS="-Wl,--export-dynamic"
8353 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8355 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8356 if eval \${$as_ac_var+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 eval "$as_ac_var=yes"
8367 else
8368 eval "$as_ac_var=no"
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 eval ac_res=\$$as_ac_var
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8376 $as_echo "$ac_res" >&6; }
8377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8378 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8379 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8380 else
8381 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8383 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8384 if eval \${$as_ac_var+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 ac_wine_try_cflags_saved=$CFLAGS
8388 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 int main(int argc, char **argv) { return 0; }
8392 _ACEOF
8393 if ac_fn_c_try_link "$LINENO"; then :
8394 eval "$as_ac_var=yes"
8395 else
8396 eval "$as_ac_var=no"
8398 rm -f core conftest.err conftest.$ac_objext \
8399 conftest$ac_exeext conftest.$ac_ext
8400 CFLAGS=$ac_wine_try_cflags_saved
8402 eval ac_res=\$$as_ac_var
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8404 $as_echo "$ac_res" >&6; }
8405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8406 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8407 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8412 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8413 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 ac_wine_try_cflags_saved=$CFLAGS
8417 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 int main(int argc, char **argv) { return 0; }
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 ac_cv_cflags__Wl___enable_new_dtags=yes
8424 else
8425 ac_cv_cflags__Wl___enable_new_dtags=no
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 CFLAGS=$ac_wine_try_cflags_saved
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8432 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8433 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8434 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8437 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8438 if ${ac_cv_cflags__Wl__pie+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -Wl,-pie"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 int main(int argc, char **argv) { return 0; }
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 ac_cv_cflags__Wl__pie=yes
8449 else
8450 ac_cv_cflags__Wl__pie=no
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8457 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8458 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8459 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8462 LIBWINE_SHAREDLIB="libwine.so"
8464 LIBWINE_INSTALL_LIB="libwine.so"
8466 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8471 DLLFLAGS="$DLLFLAGS -fPIC"
8472 LDEXECFLAGS=""
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8474 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8475 if ${ac_cv_c_dll_gnuelf+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 void myfunc() {}
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_c_dll_gnuelf="yes"
8486 else
8487 ac_cv_c_dll_gnuelf="no"
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8494 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8495 if test "$ac_cv_c_dll_gnuelf" = "yes"
8496 then
8497 LIBWINE_LDFLAGS="-shared"
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8500 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8511 else
8512 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8519 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8520 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8521 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8522 else
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8525 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8536 else
8537 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8544 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8545 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8546 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8550 echo '{ global: *; };' >conftest.map
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8553 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8564 else
8565 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8572 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8573 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8574 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8576 rm -f conftest.map
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8579 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8580 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8591 else
8592 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8599 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8600 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8601 LDEXECFLAGS="-Wl,--export-dynamic"
8604 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8606 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8607 if eval \${$as_ac_var+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 eval "$as_ac_var=yes"
8618 else
8619 eval "$as_ac_var=no"
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 eval ac_res=\$$as_ac_var
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8627 $as_echo "$ac_res" >&6; }
8628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8629 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8630 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8631 else
8632 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8634 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8635 if eval \${$as_ac_var+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 eval "$as_ac_var=yes"
8646 else
8647 eval "$as_ac_var=no"
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 eval ac_res=\$$as_ac_var
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8655 $as_echo "$ac_res" >&6; }
8656 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8657 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8658 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8664 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl___enable_new_dtags=yes
8675 else
8676 ac_cv_cflags__Wl___enable_new_dtags=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8683 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8684 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8685 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8688 case $host_cpu in
8689 *i[3456789]86* | x86_64)
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8691 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8692 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8693 $as_echo_n "(cached) " >&6
8694 else
8695 ac_wine_try_cflags_saved=$CFLAGS
8696 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 int main(int argc, char **argv) { return 0; }
8700 _ACEOF
8701 if ac_fn_c_try_link "$LINENO"; then :
8702 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8703 else
8704 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8706 rm -f core conftest.err conftest.$ac_objext \
8707 conftest$ac_exeext conftest.$ac_ext
8708 CFLAGS=$ac_wine_try_cflags_saved
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8711 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8712 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8713 case $host_os in
8714 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8715 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8716 esac
8717 else
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8719 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8720 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8731 else
8732 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8739 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8740 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8741 case $host_os in
8742 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8743 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8744 esac
8746 # Extract the first word of "prelink", so it can be a program name with args.
8747 set dummy prelink; ac_word=$2
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8749 $as_echo_n "checking for $ac_word... " >&6; }
8750 if ${ac_cv_path_PRELINK+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 case $PRELINK in
8754 [\\/]* | ?:[\\/]*)
8755 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8759 for as_dir in /sbin /usr/sbin $PATH
8761 IFS=$as_save_IFS
8762 test -z "$as_dir" && as_dir=.
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 break 2
8769 done
8770 done
8771 IFS=$as_save_IFS
8773 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8775 esac
8777 PRELINK=$ac_cv_path_PRELINK
8778 if test -n "$PRELINK"; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8780 $as_echo "$PRELINK" >&6; }
8781 else
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8783 $as_echo "no" >&6; }
8787 if test "x$PRELINK" = xfalse
8788 then
8789 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8793 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8794 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8805 else
8806 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8813 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8814 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8815 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8818 esac
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8822 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8823 if ${ac_cv_c_dll_unixware+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 void myfunc() {}
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 ac_cv_c_dll_unixware="yes"
8834 else
8835 ac_cv_c_dll_unixware="no"
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 CFLAGS=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8842 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8843 if test "$ac_cv_c_dll_unixware" = "yes"
8844 then
8845 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8848 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8850 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8852 LIBWINE_INSTALL_DEV="libwine.so"
8854 LIBWINE_DEPENDS="wine.map"
8857 esac
8859 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8860 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8861 enable_winemac_drv=${enable_winemac_drv:-no}
8862 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8864 CROSSTARGET=""
8866 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8867 then
8868 case "$host_cpu" in
8869 arm*)
8870 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8871 i[3456789]86*)
8872 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
8873 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8874 mingw32-gcc" ;;
8875 x86_64)
8876 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
8877 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8879 ac_prefix_list="" ;;
8880 esac
8881 for ac_prog in $ac_prefix_list
8883 # Extract the first word of "$ac_prog", so it can be a program name with args.
8884 set dummy $ac_prog; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if ${ac_cv_prog_CROSSCC+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 if test -n "$CROSSCC"; then
8891 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8892 else
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 for as_dir in $PATH
8896 IFS=$as_save_IFS
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8900 ac_cv_prog_CROSSCC="$ac_prog"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 break 2
8904 done
8905 done
8906 IFS=$as_save_IFS
8910 CROSSCC=$ac_cv_prog_CROSSCC
8911 if test -n "$CROSSCC"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8913 $as_echo "$CROSSCC" >&6; }
8914 else
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8920 test -n "$CROSSCC" && break
8921 done
8922 test -n "$CROSSCC" || CROSSCC="false"
8924 if test "$CROSSCC" != "false"
8925 then
8926 ac_save_CC="$CC"
8927 CC="$CROSSCC"
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8929 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8934 main ()
8938 return 0;
8940 _ACEOF
8941 if ac_fn_c_try_compile "$LINENO"; then :
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8943 $as_echo "yes" >&6; }
8944 set x $CROSSCC
8945 shift
8946 while test $# -ge 1
8948 case "$1" in
8949 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8950 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8951 esac
8952 shift
8953 done
8954 else
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8959 CC="$ac_save_CC"
8964 if test "$ac_cv_header_pthread_h" = "yes"
8965 then
8966 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8967 if test "x$ac_cv_func_pthread_create" = xyes; then :
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8971 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8972 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8973 $as_echo_n "(cached) " >&6
8974 else
8975 ac_check_lib_save_LIBS=$LIBS
8976 LIBS="-lpthread $LIBS"
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8980 /* Override any GCC internal prototype to avoid an error.
8981 Use char because int might match the return type of a GCC
8982 builtin and then its argument prototype would still apply. */
8983 #ifdef __cplusplus
8984 extern "C"
8985 #endif
8986 char pthread_create ();
8988 main ()
8990 return pthread_create ();
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_link "$LINENO"; then :
8996 ac_cv_lib_pthread_pthread_create=yes
8997 else
8998 ac_cv_lib_pthread_pthread_create=no
9000 rm -f core conftest.err conftest.$ac_objext \
9001 conftest$ac_exeext conftest.$ac_ext
9002 LIBS=$ac_check_lib_save_LIBS
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9005 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9006 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9007 PTHREAD_LIBS="-lpthread"
9014 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9015 case "x$with_pthread" in
9016 xno) ;;
9017 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9018 Wine cannot support threads without libpthread.
9019 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9020 esac
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9026 $as_echo_n "checking for X... " >&6; }
9029 # Check whether --with-x was given.
9030 if test "${with_x+set}" = set; then :
9031 withval=$with_x;
9034 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9035 if test "x$with_x" = xno; then
9036 # The user explicitly disabled X.
9037 have_x=disabled
9038 else
9039 case $x_includes,$x_libraries in #(
9040 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9041 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9042 $as_echo_n "(cached) " >&6
9043 else
9044 # One or both of the vars are not set, and there is no cached value.
9045 ac_x_includes=no ac_x_libraries=no
9046 rm -f -r conftest.dir
9047 if mkdir conftest.dir; then
9048 cd conftest.dir
9049 cat >Imakefile <<'_ACEOF'
9050 incroot:
9051 @echo incroot='${INCROOT}'
9052 usrlibdir:
9053 @echo usrlibdir='${USRLIBDIR}'
9054 libdir:
9055 @echo libdir='${LIBDIR}'
9056 _ACEOF
9057 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9058 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9059 for ac_var in incroot usrlibdir libdir; do
9060 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9061 done
9062 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9063 for ac_extension in a so sl dylib la dll; do
9064 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9065 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9066 ac_im_usrlibdir=$ac_im_libdir; break
9068 done
9069 # Screen out bogus values from the imake configuration. They are
9070 # bogus both because they are the default anyway, and because
9071 # using them would break gcc on systems where it needs fixed includes.
9072 case $ac_im_incroot in
9073 /usr/include) ac_x_includes= ;;
9074 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9075 esac
9076 case $ac_im_usrlibdir in
9077 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9078 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9079 esac
9081 cd ..
9082 rm -f -r conftest.dir
9085 # Standard set of common directories for X headers.
9086 # Check X11 before X11Rn because it is often a symlink to the current release.
9087 ac_x_header_dirs='
9088 /usr/X11/include
9089 /usr/X11R7/include
9090 /usr/X11R6/include
9091 /usr/X11R5/include
9092 /usr/X11R4/include
9094 /usr/include/X11
9095 /usr/include/X11R7
9096 /usr/include/X11R6
9097 /usr/include/X11R5
9098 /usr/include/X11R4
9100 /usr/local/X11/include
9101 /usr/local/X11R7/include
9102 /usr/local/X11R6/include
9103 /usr/local/X11R5/include
9104 /usr/local/X11R4/include
9106 /usr/local/include/X11
9107 /usr/local/include/X11R7
9108 /usr/local/include/X11R6
9109 /usr/local/include/X11R5
9110 /usr/local/include/X11R4
9112 /usr/X386/include
9113 /usr/x386/include
9114 /usr/XFree86/include/X11
9116 /usr/include
9117 /usr/local/include
9118 /usr/unsupported/include
9119 /usr/athena/include
9120 /usr/local/x11r5/include
9121 /usr/lpp/Xamples/include
9123 /usr/openwin/include
9124 /usr/openwin/share/include'
9126 if test "$ac_x_includes" = no; then
9127 # Guess where to find include files, by looking for Xlib.h.
9128 # First, try using that file with no special directory specified.
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9131 #include <X11/Xlib.h>
9132 _ACEOF
9133 if ac_fn_c_try_cpp "$LINENO"; then :
9134 # We can compile using X headers with no special include directory.
9135 ac_x_includes=
9136 else
9137 for ac_dir in $ac_x_header_dirs; do
9138 if test -r "$ac_dir/X11/Xlib.h"; then
9139 ac_x_includes=$ac_dir
9140 break
9142 done
9144 rm -f conftest.err conftest.i conftest.$ac_ext
9145 fi # $ac_x_includes = no
9147 if test "$ac_x_libraries" = no; then
9148 # Check for the libraries.
9149 # See if we find them without any special options.
9150 # Don't add to $LIBS permanently.
9151 ac_save_LIBS=$LIBS
9152 LIBS="-lX11 $LIBS"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9155 #include <X11/Xlib.h>
9157 main ()
9159 XrmInitialize ()
9161 return 0;
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 LIBS=$ac_save_LIBS
9166 # We can link X programs with no special library path.
9167 ac_x_libraries=
9168 else
9169 LIBS=$ac_save_LIBS
9170 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9172 # Don't even attempt the hair of trying to link an X program!
9173 for ac_extension in a so sl dylib la dll; do
9174 if test -r "$ac_dir/libX11.$ac_extension"; then
9175 ac_x_libraries=$ac_dir
9176 break 2
9178 done
9179 done
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 fi # $ac_x_libraries = no
9185 case $ac_x_includes,$ac_x_libraries in #(
9186 no,* | *,no | *\'*)
9187 # Didn't find X, or a directory has "'" in its name.
9188 ac_cv_have_x="have_x=no";; #(
9190 # Record where we found X for the cache.
9191 ac_cv_have_x="have_x=yes\
9192 ac_x_includes='$ac_x_includes'\
9193 ac_x_libraries='$ac_x_libraries'"
9194 esac
9196 ;; #(
9197 *) have_x=yes;;
9198 esac
9199 eval "$ac_cv_have_x"
9200 fi # $with_x != no
9202 if test "$have_x" != yes; then
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9204 $as_echo "$have_x" >&6; }
9205 no_x=yes
9206 else
9207 # If each of the values was on the command line, it overrides each guess.
9208 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9209 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9210 # Update the cache value to reflect the command line values.
9211 ac_cv_have_x="have_x=yes\
9212 ac_x_includes='$x_includes'\
9213 ac_x_libraries='$x_libraries'"
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9215 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9218 if test "$no_x" = yes; then
9219 # Not all programs may use this symbol, but it does not hurt to define it.
9221 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9223 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9224 else
9225 if test -n "$x_includes"; then
9226 X_CFLAGS="$X_CFLAGS -I$x_includes"
9229 # It would also be nice to do this for all -L options, not just this one.
9230 if test -n "$x_libraries"; then
9231 X_LIBS="$X_LIBS -L$x_libraries"
9232 # For Solaris; some versions of Sun CC require a space after -R and
9233 # others require no space. Words are not sufficient . . . .
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9235 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9236 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9237 ac_xsave_c_werror_flag=$ac_c_werror_flag
9238 ac_c_werror_flag=yes
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9243 main ()
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9252 $as_echo "no" >&6; }
9253 X_LIBS="$X_LIBS -R$x_libraries"
9254 else
9255 LIBS="$ac_xsave_LIBS -R $x_libraries"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9260 main ()
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9269 $as_echo "yes" >&6; }
9270 X_LIBS="$X_LIBS -R $x_libraries"
9271 else
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9273 $as_echo "neither works" >&6; }
9275 rm -f core conftest.err conftest.$ac_objext \
9276 conftest$ac_exeext conftest.$ac_ext
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 ac_c_werror_flag=$ac_xsave_c_werror_flag
9281 LIBS=$ac_xsave_LIBS
9284 # Check for system-dependent libraries X programs must link with.
9285 # Do this before checking for the system-independent R6 libraries
9286 # (-lICE), since we may need -lsocket or whatever for X linking.
9288 if test "$ISC" = yes; then
9289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9290 else
9291 # Martyn Johnson says this is needed for Ultrix, if the X
9292 # libraries were built with DECnet support. And Karl Berry says
9293 # the Alpha needs dnet_stub (dnet does not exist).
9294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char XOpenDisplay ();
9306 main ()
9308 return XOpenDisplay ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9315 else
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9317 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9318 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_lib_save_LIBS=$LIBS
9322 LIBS="-ldnet $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char dnet_ntoa ();
9334 main ()
9336 return dnet_ntoa ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_lib_dnet_dnet_ntoa=yes
9343 else
9344 ac_cv_lib_dnet_dnet_ntoa=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9351 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9352 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9353 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9356 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9358 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9359 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-ldnet_stub $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char dnet_ntoa ();
9375 main ()
9377 return dnet_ntoa ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9384 else
9385 ac_cv_lib_dnet_stub_dnet_ntoa=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9392 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9393 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9394 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS="$ac_xsave_LIBS"
9403 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9404 # to get the SysV transport functions.
9405 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9406 # needs -lnsl.
9407 # The nsl library prevents programs from opening the X display
9408 # on Irix 5.2, according to T.E. Dickey.
9409 # The functions gethostbyname, getservbyname, and inet_addr are
9410 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9411 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9412 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9416 if test $ac_cv_func_gethostbyname = no; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9418 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9419 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_check_lib_save_LIBS=$LIBS
9423 LIBS="-lnsl $LIBS"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char gethostbyname ();
9435 main ()
9437 return gethostbyname ();
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_lib_nsl_gethostbyname=yes
9444 else
9445 ac_cv_lib_nsl_gethostbyname=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LIBS=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9452 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9453 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9454 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9457 if test $ac_cv_lib_nsl_gethostbyname = no; then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9459 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9460 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_check_lib_save_LIBS=$LIBS
9464 LIBS="-lbsd $LIBS"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 char gethostbyname ();
9476 main ()
9478 return gethostbyname ();
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_lib_bsd_gethostbyname=yes
9485 else
9486 ac_cv_lib_bsd_gethostbyname=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9493 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9494 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9501 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9502 # socket/setsockopt and other routines are undefined under SCO ODT
9503 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9504 # on later versions), says Simon Leinen: it contains gethostby*
9505 # variants that don't use the name server (or something). -lsocket
9506 # must be given before -lnsl if both are needed. We assume that
9507 # if connect needs -lnsl, so does gethostbyname.
9508 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9509 if test "x$ac_cv_func_connect" = xyes; then :
9513 if test $ac_cv_func_connect = no; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9515 $as_echo_n "checking for connect in -lsocket... " >&6; }
9516 if ${ac_cv_lib_socket_connect+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_check_lib_save_LIBS=$LIBS
9520 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9527 #ifdef __cplusplus
9528 extern "C"
9529 #endif
9530 char connect ();
9532 main ()
9534 return connect ();
9536 return 0;
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 ac_cv_lib_socket_connect=yes
9541 else
9542 ac_cv_lib_socket_connect=no
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 LIBS=$ac_check_lib_save_LIBS
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9549 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9550 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9551 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9556 # Guillermo Gomez says -lposix is necessary on A/UX.
9557 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9558 if test "x$ac_cv_func_remove" = xyes; then :
9562 if test $ac_cv_func_remove = no; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9564 $as_echo_n "checking for remove in -lposix... " >&6; }
9565 if ${ac_cv_lib_posix_remove+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lposix $LIBS"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9576 #ifdef __cplusplus
9577 extern "C"
9578 #endif
9579 char remove ();
9581 main ()
9583 return remove ();
9585 return 0;
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 ac_cv_lib_posix_remove=yes
9590 else
9591 ac_cv_lib_posix_remove=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9598 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9599 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9600 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9605 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9606 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9607 if test "x$ac_cv_func_shmat" = xyes; then :
9611 if test $ac_cv_func_shmat = no; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9613 $as_echo_n "checking for shmat in -lipc... " >&6; }
9614 if ${ac_cv_lib_ipc_shmat+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-lipc $LIBS"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9625 #ifdef __cplusplus
9626 extern "C"
9627 #endif
9628 char shmat ();
9630 main ()
9632 return shmat ();
9634 return 0;
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_lib_ipc_shmat=yes
9639 else
9640 ac_cv_lib_ipc_shmat=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9647 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9648 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9649 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9655 # Check for libraries that X11R6 Xt/Xaw programs need.
9656 ac_save_LDFLAGS=$LDFLAGS
9657 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9658 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9659 # check for ICE first), but we must link in the order -lSM -lICE or
9660 # we get undefined symbols. So assume we have SM if we have ICE.
9661 # These have to be linked with before -lX11, unlike the other
9662 # libraries we check for below, so use a different variable.
9663 # John Interrante, Karl Berry
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9665 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9666 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_lib_save_LIBS=$LIBS
9670 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char IceConnectionNumber ();
9682 main ()
9684 return IceConnectionNumber ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 ac_cv_lib_ICE_IceConnectionNumber=yes
9691 else
9692 ac_cv_lib_ICE_IceConnectionNumber=no
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_lib_save_LIBS
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9699 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9700 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9701 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9704 LDFLAGS=$ac_save_LDFLAGS
9709 if test "$have_x" = "yes"
9710 then
9711 ac_save_CPPFLAGS="$CPPFLAGS"
9712 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9715 $as_echo_n "checking for -lX11... " >&6; }
9716 if ${ac_cv_lib_soname_X11+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_soname_save_LIBS=$LIBS
9720 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char XCreateWindow ();
9732 main ()
9734 return XCreateWindow ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 case "$LIBEXT" in
9741 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9742 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'` ;;
9743 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9744 if ${ac_cv_lib_soname_X11:+false} :; then :
9745 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9746 fi ;;
9747 esac
9749 rm -f core conftest.err conftest.$ac_objext \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_soname_save_LIBS
9753 if ${ac_cv_lib_soname_X11:+false} :; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9755 $as_echo "not found" >&6; }
9757 else
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9759 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9761 cat >>confdefs.h <<_ACEOF
9762 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9763 _ACEOF
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9768 $as_echo_n "checking for -lXext... " >&6; }
9769 if ${ac_cv_lib_soname_Xext+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_check_soname_save_LIBS=$LIBS
9773 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9780 #ifdef __cplusplus
9781 extern "C"
9782 #endif
9783 char XextCreateExtension ();
9785 main ()
9787 return XextCreateExtension ();
9789 return 0;
9791 _ACEOF
9792 if ac_fn_c_try_link "$LINENO"; then :
9793 case "$LIBEXT" in
9794 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9795 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'` ;;
9796 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9797 if ${ac_cv_lib_soname_Xext:+false} :; then :
9798 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9799 fi ;;
9800 esac
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 LIBS=$ac_check_soname_save_LIBS
9806 if ${ac_cv_lib_soname_Xext:+false} :; then :
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9808 $as_echo "not found" >&6; }
9810 else
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9812 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9814 cat >>confdefs.h <<_ACEOF
9815 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9816 _ACEOF
9818 X_LIBS="$X_LIBS -lXext"
9820 X_LIBS="$X_LIBS -lX11"
9822 for ac_header in X11/Xlib.h \
9823 X11/XKBlib.h \
9824 X11/Xutil.h \
9825 X11/Xcursor/Xcursor.h \
9826 X11/extensions/shape.h \
9827 X11/extensions/XInput.h \
9828 X11/extensions/XInput2.h \
9829 X11/extensions/XShm.h \
9830 X11/extensions/Xcomposite.h \
9831 X11/extensions/Xinerama.h \
9832 X11/extensions/Xrandr.h \
9833 X11/extensions/Xrender.h \
9834 X11/extensions/xf86vmode.h \
9835 X11/extensions/xf86vmproto.h
9836 do :
9837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9838 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9839 # include <X11/Xlib.h>
9840 #endif
9841 #ifdef HAVE_X11_XUTIL_H
9842 # include <X11/Xutil.h>
9843 #endif
9845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9846 cat >>confdefs.h <<_ACEOF
9847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9848 _ACEOF
9852 done
9855 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9856 then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9858 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9859 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_lib_save_LIBS=$LIBS
9863 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XkbQueryExtension ();
9875 main ()
9877 return XkbQueryExtension ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 ac_cv_lib_X11_XkbQueryExtension=yes
9884 else
9885 ac_cv_lib_X11_XkbQueryExtension=no
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LIBS=$ac_check_lib_save_LIBS
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9892 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9893 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9895 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9901 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9902 then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9904 $as_echo_n "checking for -lXcursor... " >&6; }
9905 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_check_soname_save_LIBS=$LIBS
9909 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9916 #ifdef __cplusplus
9917 extern "C"
9918 #endif
9919 char XcursorImageLoadCursor ();
9921 main ()
9923 return XcursorImageLoadCursor ();
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 case "$LIBEXT" in
9930 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9931 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'` ;;
9932 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9933 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9934 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9935 fi ;;
9936 esac
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_soname_save_LIBS
9942 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9944 $as_echo "not found" >&6; }
9946 else
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9948 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9950 cat >>confdefs.h <<_ACEOF
9951 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9952 _ACEOF
9957 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9958 case "x$with_xcursor" in
9959 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9960 xno) ;;
9961 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9962 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9963 esac
9967 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9968 then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9970 $as_echo_n "checking for -lXi... " >&6; }
9971 if ${ac_cv_lib_soname_Xi+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_check_soname_save_LIBS=$LIBS
9975 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9982 #ifdef __cplusplus
9983 extern "C"
9984 #endif
9985 char XOpenDevice ();
9987 main ()
9989 return XOpenDevice ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 case "$LIBEXT" in
9996 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9997 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'` ;;
9998 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9999 if ${ac_cv_lib_soname_Xi:+false} :; then :
10000 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10001 fi ;;
10002 esac
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 LIBS=$ac_check_soname_save_LIBS
10008 if ${ac_cv_lib_soname_Xi:+false} :; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10010 $as_echo "not found" >&6; }
10012 else
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10014 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10016 cat >>confdefs.h <<_ACEOF
10017 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10018 _ACEOF
10023 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10024 case "x$with_xinput" in
10025 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10026 xno) ;;
10027 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10028 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10029 esac
10033 if test "x$ac_cv_lib_soname_Xi" != x
10034 then
10035 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10036 case "x$with_xinput2" in
10037 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10038 xno) ;;
10039 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10040 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10041 esac
10046 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10047 then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10049 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10050 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10061 #ifdef __cplusplus
10062 extern "C"
10063 #endif
10064 char XShmQueryExtension ();
10066 main ()
10068 return XShmQueryExtension ();
10070 return 0;
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_lib_Xext_XShmQueryExtension=yes
10075 else
10076 ac_cv_lib_Xext_XShmQueryExtension=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10083 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10084 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10086 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10091 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10092 case "x$with_xshm" in
10093 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10094 xno) ;;
10095 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10096 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10097 esac
10101 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10102 then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10104 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10105 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_lib_save_LIBS=$LIBS
10109 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XShapeQueryExtension ();
10121 main ()
10123 return XShapeQueryExtension ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_lib_Xext_XShapeQueryExtension=yes
10130 else
10131 ac_cv_lib_Xext_XShapeQueryExtension=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_lib_save_LIBS
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10138 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10139 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10141 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10146 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10147 case "x$with_xshape" in
10148 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10149 xno) ;;
10150 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10151 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10152 esac
10156 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10157 then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10159 $as_echo_n "checking for -lXxf86vm... " >&6; }
10160 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_soname_save_LIBS=$LIBS
10164 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XF86VidModeQueryExtension ();
10176 main ()
10178 return XF86VidModeQueryExtension ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 case "$LIBEXT" in
10185 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10188 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10189 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10190 fi ;;
10191 esac
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_soname_save_LIBS
10197 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10199 $as_echo "not found" >&6; }
10201 else
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10203 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10205 cat >>confdefs.h <<_ACEOF
10206 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10207 _ACEOF
10212 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10213 case "x$with_xxf86vm" in
10214 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10215 xno) ;;
10216 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10217 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10218 esac
10222 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10223 then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10225 $as_echo_n "checking for -lXrender... " >&6; }
10226 if ${ac_cv_lib_soname_Xrender+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_soname_save_LIBS=$LIBS
10230 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char XRenderQueryExtension ();
10242 main ()
10244 return XRenderQueryExtension ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 case "$LIBEXT" in
10251 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 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'` ;;
10253 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10255 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10256 fi ;;
10257 esac
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 LIBS=$ac_check_soname_save_LIBS
10263 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10265 $as_echo "not found" >&6; }
10267 else
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10269 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10271 cat >>confdefs.h <<_ACEOF
10272 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10273 _ACEOF
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10276 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10277 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_check_lib_save_LIBS=$LIBS
10281 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10288 #ifdef __cplusplus
10289 extern "C"
10290 #endif
10291 char XRenderSetPictureTransform ();
10293 main ()
10295 return XRenderSetPictureTransform ();
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10302 else
10303 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10310 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10311 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10313 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10318 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10319 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_lib_save_LIBS=$LIBS
10323 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XRenderCreateLinearGradient ();
10335 main ()
10337 return XRenderCreateLinearGradient ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10344 else
10345 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10352 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10353 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10355 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10362 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10363 case "x$with_xrender" in
10364 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10365 xno) ;;
10366 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10367 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10368 esac
10372 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10373 then
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 #include <X11/Xlib.h>
10377 #include <X11/extensions/Xrandr.h>
10379 main ()
10381 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10383 return 0;
10385 _ACEOF
10386 if ac_fn_c_try_compile "$LINENO"; then :
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10388 $as_echo_n "checking for -lXrandr... " >&6; }
10389 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_check_soname_save_LIBS=$LIBS
10393 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10400 #ifdef __cplusplus
10401 extern "C"
10402 #endif
10403 char XRRQueryExtension ();
10405 main ()
10407 return XRRQueryExtension ();
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 case "$LIBEXT" in
10414 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10415 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'` ;;
10416 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10417 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10418 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10419 fi ;;
10420 esac
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 LIBS=$ac_check_soname_save_LIBS
10426 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10428 $as_echo "not found" >&6; }
10430 else
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10432 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10434 cat >>confdefs.h <<_ACEOF
10435 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10436 _ACEOF
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 #include <X11/Xlib.h>
10441 #include <X11/extensions/Xrandr.h>
10443 main ()
10445 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_compile "$LINENO"; then :
10452 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10461 case "x$with_xrandr" in
10462 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10465 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10466 esac
10470 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10471 then
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 #include <X11/Xlib.h>
10475 #include <X11/extensions/Xinerama.h>
10477 main ()
10479 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_compile "$LINENO"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10486 $as_echo_n "checking for -lXinerama... " >&6; }
10487 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_check_soname_save_LIBS=$LIBS
10491 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10498 #ifdef __cplusplus
10499 extern "C"
10500 #endif
10501 char XineramaQueryScreens ();
10503 main ()
10505 return XineramaQueryScreens ();
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 case "$LIBEXT" in
10512 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10513 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'` ;;
10514 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10515 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10516 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10517 fi ;;
10518 esac
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_soname_save_LIBS
10524 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10526 $as_echo "not found" >&6; }
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10530 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10532 cat >>confdefs.h <<_ACEOF
10533 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10534 _ACEOF
10539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10541 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10542 case "x$with_xinerama" in
10543 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10546 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10547 esac
10551 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10552 then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10554 $as_echo_n "checking for -lXcomposite... " >&6; }
10555 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_soname_save_LIBS=$LIBS
10559 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char XCompositeRedirectWindow ();
10571 main ()
10573 return XCompositeRedirectWindow ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 case "$LIBEXT" in
10580 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10583 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10584 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 fi ;;
10586 esac
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_soname_save_LIBS
10592 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10596 else
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10598 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10602 _ACEOF
10607 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10608 case "x$with_xcomposite" in
10609 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10610 xno) ;;
10611 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10612 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10613 esac
10617 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10618 #include <X11/Xlib.h>
10619 #endif
10621 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10623 cat >>confdefs.h <<_ACEOF
10624 #define HAVE_XICCALLBACK_CALLBACK 1
10625 _ACEOF
10629 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10630 #include <X11/Xlib.h>
10631 #endif
10633 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10635 cat >>confdefs.h <<_ACEOF
10636 #define HAVE_XEVENT_XCOOKIE 1
10637 _ACEOF
10644 opengl_msg=""
10645 if test "x$with_opengl" != "xno"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10648 $as_echo_n "checking for -lGL... " >&6; }
10649 if ${ac_cv_lib_soname_GL+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_soname_save_LIBS=$LIBS
10653 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char glXCreateContext ();
10665 main ()
10667 return glXCreateContext ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 case "$LIBEXT" in
10674 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_GL:+false} :; then :
10678 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 fi ;;
10680 esac
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_GL:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10690 $as_echo_n "checking for -lGL... " >&6; }
10691 if ${ac_cv_lib_soname_GL+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_soname_save_LIBS=$LIBS
10695 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"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char glXCreateContext ();
10707 main ()
10709 return glXCreateContext ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 case "$LIBEXT" in
10716 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10717 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'` ;;
10718 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10719 if ${ac_cv_lib_soname_GL:+false} :; then :
10720 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10721 fi ;;
10722 esac
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_soname_save_LIBS
10728 if ${ac_cv_lib_soname_GL:+false} :; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10730 $as_echo "not found" >&6; }
10731 if test -f /usr/X11R6/lib/libGL.a
10732 then
10733 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10734 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10735 else
10736 opengl_msg="No OpenGL library found on this system."
10738 else
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10740 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10742 cat >>confdefs.h <<_ACEOF
10743 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10744 _ACEOF
10746 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"
10748 else
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10750 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10752 cat >>confdefs.h <<_ACEOF
10753 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10754 _ACEOF
10756 OPENGL_LIBS="-lGL"
10758 if test "x$with_glu" != "xno"
10759 then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10761 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10762 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10763 $as_echo_n "(cached) " >&6
10764 else
10765 ac_check_lib_save_LIBS=$LIBS
10766 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char gluLookAt ();
10778 main ()
10780 return gluLookAt ();
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"; then :
10786 ac_cv_lib_GLU_gluLookAt=yes
10787 else
10788 ac_cv_lib_GLU_gluLookAt=no
10790 rm -f core conftest.err conftest.$ac_objext \
10791 conftest$ac_exeext conftest.$ac_ext
10792 LIBS=$ac_check_lib_save_LIBS
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10795 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10796 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10800 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10801 case "x$with_glu" in
10802 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10805 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10806 esac
10811 if test "x$with_osmesa" != "xno"
10812 then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10814 $as_echo_n "checking for -lOSMesa... " >&6; }
10815 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 ac_check_soname_save_LIBS=$LIBS
10819 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char glAccum ();
10831 main ()
10833 return glAccum ();
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 case "$LIBEXT" in
10840 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10841 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'` ;;
10842 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10843 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10844 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10845 fi ;;
10846 esac
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_soname_save_LIBS
10852 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10854 $as_echo "not found" >&6; }
10856 else
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10858 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10860 cat >>confdefs.h <<_ACEOF
10861 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10862 _ACEOF
10866 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10867 case "x$with_osmesa" in
10868 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10871 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10872 esac
10877 if test -n "$opengl_msg"; then :
10878 case "x$with_opengl" in
10879 x) as_fn_append wine_warnings "|$opengl_msg
10880 OpenGL and Direct3D won't be supported." ;;
10881 xno) ;;
10882 *) as_fn_error $? "$opengl_msg
10883 OpenGL and Direct3D won't be supported.
10884 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10885 esac
10889 CPPFLAGS="$ac_save_CPPFLAGS"
10890 else
10891 X_CFLAGS=""
10892 X_LIBS=""
10894 if test "x$X_LIBS" = "x"; then :
10895 case "x$with_x" in
10896 xno) ;;
10897 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10898 without X support, which probably isn't what you want. You will need
10899 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10900 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10901 esac
10902 enable_winex11_drv=${enable_winex11_drv:-no}
10905 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10907 if test "$ac_cv_header_CL_cl_h" = "yes"
10908 then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10910 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10911 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-lOpenCL $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char clGetPlatformInfo ();
10927 main ()
10929 return clGetPlatformInfo ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10936 else
10937 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10944 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10945 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10946 OPENCL_LIBS="-lOpenCL"
10951 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10952 case "x$with_opencl" in
10953 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10954 xno) ;;
10955 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10956 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10957 esac
10958 enable_opencl=${enable_opencl:-no}
10961 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10962 then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10964 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10965 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_lib_save_LIBS=$LIBS
10969 LIBS="-lpcap $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char pcap_create ();
10981 main ()
10983 return pcap_create ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 ac_cv_lib_pcap_pcap_create=yes
10990 else
10991 ac_cv_lib_pcap_pcap_create=no
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10998 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10999 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11000 PCAP_LIBS="-lpcap"
11005 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11006 case "x$with_pcap" in
11007 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11008 xno) ;;
11009 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11010 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11011 esac
11012 enable_wpcap=${enable_wpcap:-no}
11016 if test "x$with_xml" != "xno"
11017 then
11018 if ${XML2_CFLAGS:+false} :; then :
11019 if ${PKG_CONFIG+:} false; then :
11020 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11023 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11024 if ${XML2_LIBS:+false} :; then :
11025 if ${PKG_CONFIG+:} false; then :
11026 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11029 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11030 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11031 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11032 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11033 ac_save_CPPFLAGS=$CPPFLAGS
11034 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11035 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11036 do :
11037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11038 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11040 cat >>confdefs.h <<_ACEOF
11041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11042 _ACEOF
11046 done
11048 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"
11049 then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11051 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11052 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11053 $as_echo_n "(cached) " >&6
11054 else
11055 ac_check_lib_save_LIBS=$LIBS
11056 LIBS="-lxml2 $XML2_LIBS $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11063 #ifdef __cplusplus
11064 extern "C"
11065 #endif
11066 char xmlParseMemory ();
11068 main ()
11070 return xmlParseMemory ();
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 ac_cv_lib_xml2_xmlParseMemory=yes
11077 else
11078 ac_cv_lib_xml2_xmlParseMemory=no
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_lib_save_LIBS
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11085 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11086 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11088 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11090 else
11091 XML2_LIBS=""
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11095 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11097 $as_echo_n "(cached) " >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char xmlReadMemory ();
11112 main ()
11114 return xmlReadMemory ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_xml2_xmlReadMemory=yes
11121 else
11122 ac_cv_lib_xml2_xmlReadMemory=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11132 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11137 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char xmlNewDocPI ();
11154 main ()
11156 return xmlNewDocPI ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_xml2_xmlNewDocPI=yes
11163 else
11164 ac_cv_lib_xml2_xmlNewDocPI=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11174 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11179 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char xmlSchemaSetParserStructuredErrors ();
11196 main ()
11198 return xmlSchemaSetParserStructuredErrors ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11205 else
11206 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11216 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11221 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11222 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11223 $as_echo_n "(cached) " >&6
11224 else
11225 ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-lxml2 $XML2_LIBS $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char xmlSchemaSetValidStructuredErrors ();
11238 main ()
11240 return xmlSchemaSetValidStructuredErrors ();
11242 return 0;
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11247 else
11248 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11255 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11256 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11258 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11263 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11264 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11265 $as_echo_n "(cached) " >&6
11266 else
11267 ac_check_lib_save_LIBS=$LIBS
11268 LIBS="-lxml2 $XML2_LIBS $LIBS"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char xmlFirstElementChild ();
11280 main ()
11282 return xmlFirstElementChild ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_xml2_xmlFirstElementChild=yes
11289 else
11290 ac_cv_lib_xml2_xmlFirstElementChild=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11297 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11298 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11300 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11304 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11306 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11308 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11312 else
11313 XML2_CFLAGS=""
11314 XML2_LIBS=""
11316 CPPFLAGS=$ac_save_CPPFLAGS
11317 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11318 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11322 case "x$with_xml" in
11323 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11324 xno) ;;
11325 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11326 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11327 esac
11331 if test "x$with_xslt" != "xno"
11332 then
11333 if ${XSLT_CFLAGS:+false} :; then :
11334 if ${PKG_CONFIG+:} false; then :
11335 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11338 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11339 if ${XSLT_LIBS:+false} :; then :
11340 if ${PKG_CONFIG+:} false; then :
11341 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11344 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11345 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11346 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11347 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11348 ac_save_CPPFLAGS=$CPPFLAGS
11349 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11350 for ac_header in libxslt/pattern.h libxslt/transform.h
11351 do :
11352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11354 # include <libxslt/pattern.h>
11355 #endif
11357 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11358 cat >>confdefs.h <<_ACEOF
11359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11360 _ACEOF
11364 done
11366 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11367 then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11369 $as_echo_n "checking for -lxslt... " >&6; }
11370 if ${ac_cv_lib_soname_xslt+:} false; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_soname_save_LIBS=$LIBS
11374 LIBS="-lxslt $XSLT_LIBS $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char xsltCompilePattern ();
11386 main ()
11388 return xsltCompilePattern ();
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 case "$LIBEXT" in
11395 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11396 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'` ;;
11397 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11398 if ${ac_cv_lib_soname_xslt:+false} :; then :
11399 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11400 fi ;;
11401 esac
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_soname_save_LIBS
11407 if ${ac_cv_lib_soname_xslt:+false} :; then :
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11409 $as_echo "not found" >&6; }
11411 else
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11413 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11415 cat >>confdefs.h <<_ACEOF
11416 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11417 _ACEOF
11421 else
11422 XSLT_CFLAGS=""
11424 CPPFLAGS=$ac_save_CPPFLAGS
11425 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11426 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11429 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11430 case "x$with_xslt" in
11431 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11432 xno) ;;
11433 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11434 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11435 esac
11439 if test "x$with_dbus" != "xno"
11440 then
11441 if ${DBUS_CFLAGS:+false} :; then :
11442 if ${PKG_CONFIG+:} false; then :
11443 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11447 if ${DBUS_LIBS:+false} :; then :
11448 if ${PKG_CONFIG+:} false; then :
11449 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11454 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11456 ac_save_CPPFLAGS=$CPPFLAGS
11457 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11458 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11459 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11461 $as_echo_n "checking for -ldbus-1... " >&6; }
11462 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 ac_check_soname_save_LIBS=$LIBS
11466 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char dbus_connection_close ();
11478 main ()
11480 return dbus_connection_close ();
11482 return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 case "$LIBEXT" in
11487 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) 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'`
11490 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11491 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11492 fi ;;
11493 esac
11495 rm -f core conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11497 LIBS=$ac_check_soname_save_LIBS
11499 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11502 DBUS_CFLAGS=""
11503 else
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11505 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11507 cat >>confdefs.h <<_ACEOF
11508 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11509 _ACEOF
11513 else
11514 DBUS_CFLAGS=""
11518 CPPFLAGS=$ac_save_CPPFLAGS
11519 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11520 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11523 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11524 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11525 case "x$with_dbus" in
11526 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11527 xno) ;;
11528 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11529 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11530 esac
11534 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11535 then
11536 if ${HAL_CFLAGS:+false} :; then :
11537 if ${PKG_CONFIG+:} false; then :
11538 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11542 if ${HAL_LIBS:+false} :; then :
11543 if ${PKG_CONFIG+:} false; then :
11544 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11548 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11549 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11550 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11551 ac_save_CPPFLAGS=$CPPFLAGS
11552 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11553 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11554 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11556 $as_echo_n "checking for -lhal... " >&6; }
11557 if ${ac_cv_lib_soname_hal+:} false; then :
11558 $as_echo_n "(cached) " >&6
11559 else
11560 ac_check_soname_save_LIBS=$LIBS
11561 LIBS="-lhal $HAL_LIBS $LIBS"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11565 /* Override any GCC internal prototype to avoid an error.
11566 Use char because int might match the return type of a GCC
11567 builtin and then its argument prototype would still apply. */
11568 #ifdef __cplusplus
11569 extern "C"
11570 #endif
11571 char libhal_ctx_new ();
11573 main ()
11575 return libhal_ctx_new ();
11577 return 0;
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"; then :
11581 case "$LIBEXT" in
11582 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11583 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'` ;;
11584 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11585 if ${ac_cv_lib_soname_hal:+false} :; then :
11586 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11587 fi ;;
11588 esac
11590 rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592 LIBS=$ac_check_soname_save_LIBS
11594 if ${ac_cv_lib_soname_hal:+false} :; then :
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11596 $as_echo "not found" >&6; }
11597 HAL_CFLAGS=""
11598 else
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11600 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11602 cat >>confdefs.h <<_ACEOF
11603 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11604 _ACEOF
11608 else
11609 HAL_CFLAGS=""
11613 CPPFLAGS=$ac_save_CPPFLAGS
11614 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11615 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11617 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11618 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11619 case "x$with_hal" in
11620 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11621 xno) ;;
11622 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11623 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11624 esac
11629 if test "x$with_gnutls" != "xno"
11630 then
11631 if ${GNUTLS_CFLAGS:+false} :; then :
11632 if ${PKG_CONFIG+:} false; then :
11633 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11637 if ${GNUTLS_LIBS:+false} :; then :
11638 if ${PKG_CONFIG+:} false; then :
11639 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11644 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11645 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11646 ac_save_CPPFLAGS=$CPPFLAGS
11647 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11648 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11649 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11652 #include <gnutls/gnutls.h>
11653 #include <gnutls/crypto.h>
11655 main ()
11657 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_compile "$LINENO"; then :
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11664 $as_echo_n "checking for -lgnutls... " >&6; }
11665 if ${ac_cv_lib_soname_gnutls+:} false; then :
11666 $as_echo_n "(cached) " >&6
11667 else
11668 ac_check_soname_save_LIBS=$LIBS
11669 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char gnutls_global_init ();
11681 main ()
11683 return gnutls_global_init ();
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"; then :
11689 case "$LIBEXT" in
11690 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11691 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'` ;;
11692 *) 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'`
11693 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11694 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'`
11695 fi ;;
11696 esac
11698 rm -f core conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LIBS=$ac_check_soname_save_LIBS
11702 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11704 $as_echo "not found" >&6; }
11705 GNUTLS_CFLAGS=""
11706 else
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11708 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11710 cat >>confdefs.h <<_ACEOF
11711 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11712 _ACEOF
11716 ac_wine_check_funcs_save_LIBS="$LIBS"
11717 LIBS="$LIBS $GNUTLS_LIBS"
11718 for ac_func in gnutls_hash
11719 do :
11720 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11721 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11722 cat >>confdefs.h <<_ACEOF
11723 #define HAVE_GNUTLS_HASH 1
11724 _ACEOF
11726 else
11727 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11729 done
11731 LIBS="$ac_wine_check_funcs_save_LIBS"
11733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11734 else
11735 GNUTLS_CFLAGS=""
11739 CPPFLAGS=$ac_save_CPPFLAGS
11740 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11741 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11744 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11745 case "x$with_gnutls" in
11746 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11747 xno) ;;
11748 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11749 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11750 esac
11754 CURSES_LIBS=""
11755 if test "$ac_cv_header_ncurses_h" = "yes"
11756 then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11758 $as_echo_n "checking for -lncurses... " >&6; }
11759 if ${ac_cv_lib_soname_ncurses+:} false; then :
11760 $as_echo_n "(cached) " >&6
11761 else
11762 ac_check_soname_save_LIBS=$LIBS
11763 LIBS="-lncurses $LIBS"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char waddch ();
11775 main ()
11777 return waddch ();
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 case "$LIBEXT" in
11784 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11785 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'` ;;
11786 *) 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'`
11787 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11788 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11789 fi ;;
11790 esac
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_soname_save_LIBS
11796 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11798 $as_echo "not found" >&6; }
11800 else
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11802 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11804 cat >>confdefs.h <<_ACEOF
11805 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11806 _ACEOF
11808 CURSES_LIBS="-lncurses"
11810 elif test "$ac_cv_header_curses_h" = "yes"
11811 then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11813 $as_echo_n "checking for -lcurses... " >&6; }
11814 if ${ac_cv_lib_soname_curses+:} false; then :
11815 $as_echo_n "(cached) " >&6
11816 else
11817 ac_check_soname_save_LIBS=$LIBS
11818 LIBS="-lcurses $LIBS"
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11822 /* Override any GCC internal prototype to avoid an error.
11823 Use char because int might match the return type of a GCC
11824 builtin and then its argument prototype would still apply. */
11825 #ifdef __cplusplus
11826 extern "C"
11827 #endif
11828 char waddch ();
11830 main ()
11832 return waddch ();
11834 return 0;
11836 _ACEOF
11837 if ac_fn_c_try_link "$LINENO"; then :
11838 case "$LIBEXT" in
11839 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11840 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'` ;;
11841 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11842 if ${ac_cv_lib_soname_curses:+false} :; then :
11843 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11844 fi ;;
11845 esac
11847 rm -f core conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_soname_save_LIBS
11851 if ${ac_cv_lib_soname_curses:+false} :; then :
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11853 $as_echo "not found" >&6; }
11855 else
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11857 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11859 cat >>confdefs.h <<_ACEOF
11860 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11861 _ACEOF
11863 CURSES_LIBS="-lcurses"
11866 ac_save_LIBS="$LIBS"
11867 LIBS="$LIBS $CURSES_LIBS"
11868 for ac_func in mousemask
11869 do :
11870 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11871 if test "x$ac_cv_func_mousemask" = xyes; then :
11872 cat >>confdefs.h <<_ACEOF
11873 #define HAVE_MOUSEMASK 1
11874 _ACEOF
11877 done
11879 LIBS="$ac_save_LIBS"
11880 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11881 case "x$with_curses" in
11882 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11883 xno) ;;
11884 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11885 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11886 esac
11890 if test "x$with_sane" != "xno"
11891 then
11892 if ${SANE_CFLAGS:+false} :; then :
11893 if ${PKG_CONFIG+:} false; then :
11894 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11897 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11898 if ${SANE_LIBS:+false} :; then :
11899 if ${PKG_CONFIG+:} false; then :
11900 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11903 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11905 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11906 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11907 ac_save_CPPFLAGS=$CPPFLAGS
11908 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11909 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11910 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11912 $as_echo_n "checking for -lsane... " >&6; }
11913 if ${ac_cv_lib_soname_sane+:} false; then :
11914 $as_echo_n "(cached) " >&6
11915 else
11916 ac_check_soname_save_LIBS=$LIBS
11917 LIBS="-lsane $SANE_LIBS $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11924 #ifdef __cplusplus
11925 extern "C"
11926 #endif
11927 char sane_init ();
11929 main ()
11931 return sane_init ();
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 case "$LIBEXT" in
11938 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11939 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'` ;;
11940 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11941 if ${ac_cv_lib_soname_sane:+false} :; then :
11942 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11943 fi ;;
11944 esac
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_soname_save_LIBS
11950 if ${ac_cv_lib_soname_sane:+false} :; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11952 $as_echo "not found" >&6; }
11953 SANE_CFLAGS=""
11954 else
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11956 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11958 cat >>confdefs.h <<_ACEOF
11959 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11960 _ACEOF
11964 else
11965 SANE_CFLAGS=""
11969 CPPFLAGS=$ac_save_CPPFLAGS
11970 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11971 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11974 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11975 case "x$with_sane" in
11976 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11977 xno) ;;
11978 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11979 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11980 esac
11984 if test "x$with_v4l" != "xno"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11987 $as_echo_n "checking for -lv4l1... " >&6; }
11988 if ${ac_cv_lib_soname_v4l1+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_soname_save_LIBS=$LIBS
11992 LIBS="-lv4l1 $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char v4l1_open ();
12004 main ()
12006 return v4l1_open ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 case "$LIBEXT" in
12013 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12017 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 fi ;;
12019 esac
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_soname_save_LIBS
12025 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12027 $as_echo "not found" >&6; }
12029 else
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12031 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12033 cat >>confdefs.h <<_ACEOF
12034 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12035 _ACEOF
12040 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12041 case "x$with_v4l" in
12042 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12043 xno) ;;
12044 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12045 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12046 esac
12050 if test "x$with_gphoto" != "xno"
12051 then
12052 if ${GPHOTO2_CFLAGS:+false} :; then :
12053 if ${PKG_CONFIG+:} false; then :
12054 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12057 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12058 if ${GPHOTO2_LIBS:+false} :; then :
12059 if ${PKG_CONFIG+:} false; then :
12060 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12063 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12064 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12065 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12067 ac_save_CPPFLAGS=$CPPFLAGS
12068 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12069 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12070 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12072 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12073 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_lib_save_LIBS=$LIBS
12077 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char gp_camera_new ();
12089 main ()
12091 return gp_camera_new ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_lib_gphoto2_gp_camera_new=yes
12098 else
12099 ac_cv_lib_gphoto2_gp_camera_new=no
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12106 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12107 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12109 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12111 else
12112 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12115 else
12116 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12120 CPPFLAGS=$ac_save_CPPFLAGS
12121 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12122 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12124 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12125 if ${PKG_CONFIG+:} false; then :
12126 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12129 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12130 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12131 if ${PKG_CONFIG+:} false; then :
12132 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12135 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12136 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12137 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12138 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12139 ac_save_CPPFLAGS=$CPPFLAGS
12140 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12141 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12142 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12144 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12145 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char gp_port_info_list_new ();
12161 main ()
12163 return gp_port_info_list_new ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12170 else
12171 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12178 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12179 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12181 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12183 else
12184 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12187 else
12188 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12192 CPPFLAGS=$ac_save_CPPFLAGS
12193 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12194 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12197 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12198 case "x$with_gphoto" in
12199 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12200 xno) ;;
12201 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12202 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12203 esac
12206 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12207 case "x$with_gphoto" in
12208 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12209 xno) ;;
12210 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12211 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12212 esac
12217 if test "$ac_cv_header_resolv_h" = "yes"
12218 then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12220 $as_echo_n "checking for resolver library... " >&6; }
12221 if ${ac_cv_have_resolv+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223 else
12224 ac_save_LIBS="$LIBS"
12225 for lib in '' -lresolv
12227 LIBS="$lib $ac_save_LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12230 #ifdef HAVE_NETINET_IN_H
12231 #include <netinet/in.h>
12232 #endif
12233 #include <resolv.h>
12235 main ()
12237 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12239 return 0;
12241 _ACEOF
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 ac_cv_have_resolv=${lib:-"none required"}
12244 else
12245 ac_cv_have_resolv="not found"
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 test "x$ac_cv_have_resolv" = "xnot found" || break
12250 done
12251 LIBS="$ac_save_LIBS"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12254 $as_echo "$ac_cv_have_resolv" >&6; }
12256 case "$ac_cv_have_resolv" in
12257 "not found") ;;
12258 "none required")
12260 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12263 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12265 RESOLV_LIBS=$ac_cv_have_resolv
12267 esac
12270 if test "x$with_cms" != "xno"
12271 then
12272 if ${LCMS2_CFLAGS:+false} :; then :
12273 if ${PKG_CONFIG+:} false; then :
12274 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12278 if ${LCMS2_LIBS:+false} :; then :
12279 if ${PKG_CONFIG+:} false; then :
12280 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12284 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12285 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12286 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12287 ac_save_CPPFLAGS=$CPPFLAGS
12288 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12289 for ac_header in lcms2.h
12290 do :
12291 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12292 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12293 cat >>confdefs.h <<_ACEOF
12294 #define HAVE_LCMS2_H 1
12295 _ACEOF
12299 done
12301 if test "$ac_cv_header_lcms2_h" = "yes"
12302 then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12304 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12305 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307 else
12308 ac_check_lib_save_LIBS=$LIBS
12309 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char cmsOpenProfileFromFile ();
12321 main ()
12323 return cmsOpenProfileFromFile ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"; then :
12329 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12330 else
12331 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12333 rm -f core conftest.err conftest.$ac_objext \
12334 conftest$ac_exeext conftest.$ac_ext
12335 LIBS=$ac_check_lib_save_LIBS
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12338 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12339 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12341 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12343 else
12344 LCMS2_LIBS=""
12347 else
12348 LCMS2_CFLAGS=""
12349 LCMS2_LIBS=""
12351 CPPFLAGS=$ac_save_CPPFLAGS
12352 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12353 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12356 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12357 case "x$with_cms" in
12358 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12359 xno) ;;
12360 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12361 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12362 esac
12366 if test "x$with_freetype" != "xno"
12367 then
12368 if ${FREETYPE_CFLAGS:+false} :; then :
12369 if ${PKG_CONFIG+:} false; then :
12370 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12373 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12374 if ${FREETYPE_LIBS:+false} :; then :
12375 if ${PKG_CONFIG+:} false; then :
12376 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12379 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12380 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12381 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12382 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12383 ac_save_CPPFLAGS=$CPPFLAGS
12384 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12385 for ac_header in ft2build.h
12386 do :
12387 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12388 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12389 cat >>confdefs.h <<_ACEOF
12390 #define HAVE_FT2BUILD_H 1
12391 _ACEOF
12395 done
12397 if test "$ac_cv_header_ft2build_h" = "yes"
12398 then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12400 $as_echo_n "checking for -lfreetype... " >&6; }
12401 if ${ac_cv_lib_soname_freetype+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 ac_check_soname_save_LIBS=$LIBS
12405 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char FT_Init_FreeType ();
12417 main ()
12419 return FT_Init_FreeType ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 case "$LIBEXT" in
12426 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12427 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'` ;;
12428 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12429 if ${ac_cv_lib_soname_freetype:+false} :; then :
12430 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12431 fi ;;
12432 esac
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 LIBS=$ac_check_soname_save_LIBS
12438 if ${ac_cv_lib_soname_freetype:+false} :; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12440 $as_echo "not found" >&6; }
12441 FREETYPE_LIBS=""
12442 else
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12444 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12448 _ACEOF
12451 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12453 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12454 #include FT_MODULE_H
12456 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_FT_TRUETYPEENGINETYPE 1
12460 _ACEOF
12466 else
12467 FREETYPE_CFLAGS=""
12468 FREETYPE_LIBS=""
12470 CPPFLAGS=$ac_save_CPPFLAGS
12471 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12472 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12475 if test "x$ac_cv_lib_soname_freetype" = x; then :
12476 case "x$with_freetype" in
12477 xno) ;;
12478 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12479 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12480 esac
12481 enable_fonts=${enable_fonts:-no}
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12485 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12486 if ${ac_cv_c_ppdev+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12491 #ifdef HAVE_SYS_IOCTL_H
12492 # include <sys/ioctl.h>
12493 #endif
12494 #include <linux/ppdev.h>
12496 main ()
12498 ioctl (1,PPCLAIM,0)
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_compile "$LINENO"; then :
12504 ac_cv_c_ppdev="yes"
12505 else
12506 ac_cv_c_ppdev="no"
12508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12511 $as_echo "$ac_cv_c_ppdev" >&6; }
12512 if test "$ac_cv_c_ppdev" = "yes"
12513 then
12515 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12519 ac_wine_check_funcs_save_LIBS="$LIBS"
12520 LIBS="$LIBS $PTHREAD_LIBS"
12521 for ac_func in \
12522 pthread_attr_get_np \
12523 pthread_getattr_np \
12524 pthread_getthreadid_np \
12525 pthread_get_stackaddr_np \
12526 pthread_get_stacksize_np
12527 do :
12528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12530 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12531 cat >>confdefs.h <<_ACEOF
12532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12533 _ACEOF
12536 done
12538 LIBS="$ac_wine_check_funcs_save_LIBS"
12540 if test "$ac_cv_header_zlib_h" = "yes"
12541 then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12543 $as_echo_n "checking for inflate in -lz... " >&6; }
12544 if ${ac_cv_lib_z_inflate+:} false; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 ac_check_lib_save_LIBS=$LIBS
12548 LIBS="-lz $LIBS"
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12555 #ifdef __cplusplus
12556 extern "C"
12557 #endif
12558 char inflate ();
12560 main ()
12562 return inflate ();
12564 return 0;
12566 _ACEOF
12567 if ac_fn_c_try_link "$LINENO"; then :
12568 ac_cv_lib_z_inflate=yes
12569 else
12570 ac_cv_lib_z_inflate=no
12572 rm -f core conftest.err conftest.$ac_objext \
12573 conftest$ac_exeext conftest.$ac_ext
12574 LIBS=$ac_check_lib_save_LIBS
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12577 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12578 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12580 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12582 Z_LIBS="-lz"
12587 if test "x$Z_LIBS" = "x"; then :
12588 case "x$with_zlib" in
12589 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12590 xno) ;;
12591 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12592 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12593 esac
12597 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12598 then
12599 if test "$ac_cv_header_gettext_po_h" = "yes"
12600 then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12602 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12603 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12604 $as_echo_n "(cached) " >&6
12605 else
12606 ac_check_lib_save_LIBS=$LIBS
12607 LIBS="-lgettextpo $LIBS"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12614 #ifdef __cplusplus
12615 extern "C"
12616 #endif
12617 char po_message_msgctxt ();
12619 main ()
12621 return po_message_msgctxt ();
12623 return 0;
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12628 else
12629 ac_cv_lib_gettextpo_po_message_msgctxt=no
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 LIBS=$ac_check_lib_save_LIBS
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12636 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12637 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12639 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12641 GETTEXTPO_LIBS="-lgettextpo"
12646 if test "x$GETTEXTPO_LIBS" = "x"; then :
12647 case "x$with_gettextpo" in
12648 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12649 xno) ;;
12650 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12651 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12652 esac
12655 if test "$srcdir" != .; then :
12656 case "x$with_gettextpo" in
12657 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12658 xno) ;;
12659 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12660 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12661 esac
12666 if test "x$with_pulse" != "xno";
12667 then
12668 if ${PULSE_CFLAGS:+false} :; then :
12669 if ${PKG_CONFIG+:} false; then :
12670 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12674 if ${PULSE_LIBS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12681 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12683 ac_save_CPPFLAGS=$CPPFLAGS
12684 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12685 for ac_header in pulse/pulseaudio.h
12686 do :
12687 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12688 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12689 cat >>confdefs.h <<_ACEOF
12690 #define HAVE_PULSE_PULSEAUDIO_H 1
12691 _ACEOF
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12693 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12694 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12695 $as_echo_n "(cached) " >&6
12696 else
12697 ac_check_lib_save_LIBS=$LIBS
12698 LIBS="-lpulse $PULSE_LIBS $LIBS"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12705 #ifdef __cplusplus
12706 extern "C"
12707 #endif
12708 char pa_stream_is_corked ();
12710 main ()
12712 return pa_stream_is_corked ();
12714 return 0;
12716 _ACEOF
12717 if ac_fn_c_try_link "$LINENO"; then :
12718 ac_cv_lib_pulse_pa_stream_is_corked=yes
12719 else
12720 ac_cv_lib_pulse_pa_stream_is_corked=no
12722 rm -f core conftest.err conftest.$ac_objext \
12723 conftest$ac_exeext conftest.$ac_ext
12724 LIBS=$ac_check_lib_save_LIBS
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12727 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12728 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12730 else
12731 PULSE_LIBS=""
12734 else
12735 PULSE_LIBS=""
12738 done
12740 CPPFLAGS=$ac_save_CPPFLAGS
12741 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12742 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12745 if test -z "$PULSE_LIBS"; then :
12746 case "x$with_pulse" in
12747 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12748 xno) ;;
12749 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12750 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12751 esac
12752 enable_winepulse_drv=${enable_winepulse_drv:-no}
12755 if test "x$with_gstreamer" != "xno"
12756 then
12757 if ${GSTREAMER_CFLAGS:+false} :; then :
12758 if ${PKG_CONFIG+:} false; then :
12759 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12763 if ${GSTREAMER_LIBS:+false} :; then :
12764 if ${PKG_CONFIG+:} false; then :
12765 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12770 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12771 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12772 ac_save_CPPFLAGS=$CPPFLAGS
12773 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12774 ac_gst_incl=""
12775 for i in $GSTREAMER_CFLAGS
12777 case "$i" in
12778 -I*) ac_gst_incl="$ac_gst_incl $i";;
12779 esac
12780 done
12781 GSTREAMER_CFLAGS=$ac_gst_incl
12782 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12783 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12784 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12786 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12789 #include <gst/gst.h>
12791 main ()
12793 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_compile "$LINENO"; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12800 $as_echo "yes" >&6; }
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12802 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12803 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char gst_pad_new ();
12819 main ()
12821 return gst_pad_new ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12828 else
12829 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12836 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12837 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12841 else
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12843 $as_echo "no" >&6; }
12844 ac_glib2_broken=yes
12845 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12851 CPPFLAGS=$ac_save_CPPFLAGS
12852 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12853 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12856 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 :
12857 case "x$with_gstreamer" in
12858 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12859 xno) ;;
12860 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12861 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12862 esac
12865 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12867 ALSA_LIBS=""
12869 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12872 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12873 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_lib_save_LIBS=$LIBS
12877 LIBS="-lasound $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char snd_pcm_hw_params_get_access_mask ();
12889 main ()
12891 return snd_pcm_hw_params_get_access_mask ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12898 else
12899 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_lib_save_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12906 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12907 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 #ifdef HAVE_ALSA_ASOUNDLIB_H
12911 #include <alsa/asoundlib.h>
12912 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12913 #include <sys/asoundlib.h>
12914 #endif
12916 main ()
12918 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_compile "$LINENO"; then :
12924 ALSA_LIBS="-lasound"
12926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12930 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12932 if test "x$with_oss" != xno
12933 then
12934 ac_save_CPPFLAGS="$CPPFLAGS"
12935 if test -f /etc/oss.conf
12936 then
12937 . /etc/oss.conf
12939 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12940 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12941 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12942 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12943 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12945 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12947 cat >>confdefs.h <<_ACEOF
12948 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12949 _ACEOF
12951 OSS4_CFLAGS="$ac_oss_incl"
12958 CPPFLAGS="$ac_save_CPPFLAGS"
12960 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12961 case "x$with_oss" in
12962 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12963 xno) ;;
12964 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12965 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12966 esac
12967 enable_wineoss_drv=${enable_wineoss_drv:-no}
12970 if test "x$with_udev" != "xno"
12971 then
12972 if ${UDEV_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false; then :
12974 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12978 if ${UDEV_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12985 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12987 ac_save_CPPFLAGS=$CPPFLAGS
12988 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12989 for ac_header in libudev.h
12990 do :
12991 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_libudev_h" = xyes; then :
12993 cat >>confdefs.h <<_ACEOF
12994 #define HAVE_LIBUDEV_H 1
12995 _ACEOF
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12997 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12998 if ${ac_cv_lib_udev_udev_new+:} false; then :
12999 $as_echo_n "(cached) " >&6
13000 else
13001 ac_check_lib_save_LIBS=$LIBS
13002 LIBS="-ludev $UDEV_LIBS $LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char udev_new ();
13014 main ()
13016 return udev_new ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"; then :
13022 ac_cv_lib_udev_udev_new=yes
13023 else
13024 ac_cv_lib_udev_udev_new=no
13026 rm -f core conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13028 LIBS=$ac_check_lib_save_LIBS
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13031 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13032 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13034 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13036 else
13037 UDEV_LIBS=""
13040 else
13041 UDEV_LIBS=""
13044 done
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$UDEV_LIBS" = "x"; then :
13052 case "x$with_udev" in
13053 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13056 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13057 esac
13061 if test "x$with_capi" != "xno"
13062 then
13063 if ${CAPI20_CFLAGS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13069 if ${CAPI20_LIBS:+false} :; then :
13070 if ${PKG_CONFIG+:} false; then :
13071 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13076 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13077 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13078 ac_save_CPPFLAGS=$CPPFLAGS
13079 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13080 for ac_header in capi20.h linux/capi.h
13081 do :
13082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13083 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13086 cat >>confdefs.h <<_ACEOF
13087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13088 _ACEOF
13092 done
13094 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13095 then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13097 $as_echo_n "checking for -lcapi20... " >&6; }
13098 if ${ac_cv_lib_soname_capi20+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_soname_save_LIBS=$LIBS
13102 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char capi20_register ();
13114 main ()
13116 return capi20_register ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 case "$LIBEXT" in
13123 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13124 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'` ;;
13125 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13126 if ${ac_cv_lib_soname_capi20:+false} :; then :
13127 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13128 fi ;;
13129 esac
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_soname_save_LIBS
13135 if ${ac_cv_lib_soname_capi20:+false} :; then :
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13137 $as_echo "not found" >&6; }
13139 else
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13141 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13143 cat >>confdefs.h <<_ACEOF
13144 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13145 _ACEOF
13150 CPPFLAGS=$ac_save_CPPFLAGS
13151 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13156 case "x$with_capi" in
13157 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13158 xno) ;;
13159 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13160 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13161 esac
13165 CUPS_CFLAGS=""
13167 if test "x$with_cups" != "xno"
13168 then
13169 ac_save_CPPFLAGS="$CPPFLAGS"
13170 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13171 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13172 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13173 for ac_header in cups/cups.h
13174 do :
13175 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13176 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13177 cat >>confdefs.h <<_ACEOF
13178 #define HAVE_CUPS_CUPS_H 1
13179 _ACEOF
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13181 $as_echo_n "checking for -lcups... " >&6; }
13182 if ${ac_cv_lib_soname_cups+:} false; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 ac_check_soname_save_LIBS=$LIBS
13186 LIBS="-lcups $ac_cups_libs $LIBS"
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char cupsGetDefault ();
13198 main ()
13200 return cupsGetDefault ();
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 case "$LIBEXT" in
13207 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13208 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'` ;;
13209 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13210 if ${ac_cv_lib_soname_cups:+false} :; then :
13211 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13212 fi ;;
13213 esac
13215 rm -f core conftest.err conftest.$ac_objext \
13216 conftest$ac_exeext conftest.$ac_ext
13217 LIBS=$ac_check_soname_save_LIBS
13219 if ${ac_cv_lib_soname_cups:+false} :; then :
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13221 $as_echo "not found" >&6; }
13223 else
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13225 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13227 cat >>confdefs.h <<_ACEOF
13228 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13229 _ACEOF
13231 CUPS_CFLAGS="$ac_cups_cflags"
13233 for ac_header in cups/ppd.h
13234 do :
13235 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13236 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define HAVE_CUPS_PPD_H 1
13239 _ACEOF
13243 done
13247 done
13249 CPPFLAGS="$ac_save_CPPFLAGS"
13251 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13252 case "x$with_cups" in
13253 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13254 xno) ;;
13255 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13256 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13257 esac
13261 if test "x$with_fontconfig" != "xno"
13262 then
13263 if ${FONTCONFIG_CFLAGS:+false} :; then :
13264 if ${PKG_CONFIG+:} false; then :
13265 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13268 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13269 if ${FONTCONFIG_LIBS:+false} :; then :
13270 if ${PKG_CONFIG+:} false; then :
13271 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13274 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13276 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13277 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13278 ac_save_CPPFLAGS=$CPPFLAGS
13279 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13280 for ac_header in fontconfig/fontconfig.h
13281 do :
13282 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13283 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13284 cat >>confdefs.h <<_ACEOF
13285 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13286 _ACEOF
13290 done
13292 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13293 then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13295 $as_echo_n "checking for -lfontconfig... " >&6; }
13296 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13297 $as_echo_n "(cached) " >&6
13298 else
13299 ac_check_soname_save_LIBS=$LIBS
13300 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13307 #ifdef __cplusplus
13308 extern "C"
13309 #endif
13310 char FcInit ();
13312 main ()
13314 return FcInit ();
13316 return 0;
13318 _ACEOF
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 case "$LIBEXT" in
13321 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13322 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'` ;;
13323 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13324 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13325 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13326 fi ;;
13327 esac
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_soname_save_LIBS
13333 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13335 $as_echo "not found" >&6; }
13336 FONTCONFIG_CFLAGS=""
13337 else
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13339 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13341 cat >>confdefs.h <<_ACEOF
13342 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13343 _ACEOF
13347 else
13348 FONTCONFIG_CFLAGS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13351 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13356 case "x$with_fontconfig" in
13357 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13358 xno) ;;
13359 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13360 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13361 esac
13365 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13366 then
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13368 $as_echo_n "checking for -lgsm... " >&6; }
13369 if ${ac_cv_lib_soname_gsm+:} false; then :
13370 $as_echo_n "(cached) " >&6
13371 else
13372 ac_check_soname_save_LIBS=$LIBS
13373 LIBS="-lgsm $LIBS"
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13380 #ifdef __cplusplus
13381 extern "C"
13382 #endif
13383 char gsm_create ();
13385 main ()
13387 return gsm_create ();
13389 return 0;
13391 _ACEOF
13392 if ac_fn_c_try_link "$LINENO"; then :
13393 case "$LIBEXT" in
13394 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13395 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'` ;;
13396 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13397 if ${ac_cv_lib_soname_gsm:+false} :; then :
13398 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13399 fi ;;
13400 esac
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13404 LIBS=$ac_check_soname_save_LIBS
13406 if ${ac_cv_lib_soname_gsm:+false} :; then :
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13408 $as_echo "not found" >&6; }
13410 else
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13412 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13414 cat >>confdefs.h <<_ACEOF
13415 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13416 _ACEOF
13421 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13422 case "x$with_gsm" in
13423 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13424 xno) ;;
13425 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13426 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13427 esac
13431 if test "x$with_jpeg" != "xno"
13432 then
13433 if ${JPEG_CFLAGS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13439 if ${JPEG_LIBS:+false} :; then :
13440 if ${PKG_CONFIG+:} false; then :
13441 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13446 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13448 ac_save_CPPFLAGS=$CPPFLAGS
13449 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13450 for ac_header in jpeglib.h
13451 do :
13452 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13453 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13454 cat >>confdefs.h <<_ACEOF
13455 #define HAVE_JPEGLIB_H 1
13456 _ACEOF
13460 done
13462 if test "$ac_cv_header_jpeglib_h" = "yes"
13463 then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13465 $as_echo_n "checking for -ljpeg... " >&6; }
13466 if ${ac_cv_lib_soname_jpeg+:} false; then :
13467 $as_echo_n "(cached) " >&6
13468 else
13469 ac_check_soname_save_LIBS=$LIBS
13470 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char jpeg_start_decompress ();
13482 main ()
13484 return jpeg_start_decompress ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 case "$LIBEXT" in
13491 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13492 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'` ;;
13493 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13494 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13495 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13496 fi ;;
13497 esac
13499 rm -f core conftest.err conftest.$ac_objext \
13500 conftest$ac_exeext conftest.$ac_ext
13501 LIBS=$ac_check_soname_save_LIBS
13503 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13505 $as_echo "not found" >&6; }
13506 JPEG_CFLAGS=""
13507 else
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13509 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13511 cat >>confdefs.h <<_ACEOF
13512 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13513 _ACEOF
13517 else
13518 JPEG_CFLAGS=""
13520 CPPFLAGS=$ac_save_CPPFLAGS
13521 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13522 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13525 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13526 case "x$with_jpeg" in
13527 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13528 xno) ;;
13529 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13530 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13531 esac
13535 if test "x$with_png" != "xno"
13536 then
13537 if ${PNG_CFLAGS:+false} :; then :
13538 if ${PKG_CONFIG+:} false; then :
13539 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13542 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13543 if ${PNG_LIBS:+false} :; then :
13544 if ${PKG_CONFIG+:} false; then :
13545 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13548 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13550 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13551 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13552 ac_save_CPPFLAGS=$CPPFLAGS
13553 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13554 for ac_header in png.h
13555 do :
13556 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13557 if test "x$ac_cv_header_png_h" = xyes; then :
13558 cat >>confdefs.h <<_ACEOF
13559 #define HAVE_PNG_H 1
13560 _ACEOF
13564 done
13566 if test "$ac_cv_header_png_h" = "yes"
13567 then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13569 $as_echo_n "checking for -lpng... " >&6; }
13570 if ${ac_cv_lib_soname_png+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 ac_check_soname_save_LIBS=$LIBS
13574 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13581 #ifdef __cplusplus
13582 extern "C"
13583 #endif
13584 char png_create_read_struct ();
13586 main ()
13588 return png_create_read_struct ();
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 case "$LIBEXT" in
13595 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) 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'`
13598 if ${ac_cv_lib_soname_png:+false} :; then :
13599 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13600 fi ;;
13601 esac
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_png:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13610 PNG_CFLAGS=""
13611 else
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13613 $as_echo "$ac_cv_lib_soname_png" >&6; }
13615 cat >>confdefs.h <<_ACEOF
13616 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13617 _ACEOF
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 #include <png.h>
13623 main ()
13625 typeof(png_set_expand_gray_1_2_4_to_8) *p
13627 return 0;
13629 _ACEOF
13630 if ac_fn_c_try_compile "$LINENO"; then :
13632 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13637 else
13638 PNG_CFLAGS=""
13640 CPPFLAGS=$ac_save_CPPFLAGS
13641 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13642 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13645 if test "x$ac_cv_lib_soname_png" = "x"; then :
13646 case "x$with_png" in
13647 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13648 xno) ;;
13649 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13650 This is an error since --with-png was requested." "$LINENO" 5 ;;
13651 esac
13655 if test "x$with_tiff" != "xno"
13656 then
13657 if ${TIFF_CFLAGS:+false} :; then :
13658 if ${PKG_CONFIG+:} false; then :
13659 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13663 if ${TIFF_LIBS:+false} :; then :
13664 if ${PKG_CONFIG+:} false; then :
13665 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13670 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13671 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13672 ac_save_CPPFLAGS=$CPPFLAGS
13673 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13674 for ac_header in tiffio.h
13675 do :
13676 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13677 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13678 cat >>confdefs.h <<_ACEOF
13679 #define HAVE_TIFFIO_H 1
13680 _ACEOF
13684 done
13686 if test "$ac_cv_header_tiffio_h" = "yes"
13687 then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13689 $as_echo_n "checking for -ltiff... " >&6; }
13690 if ${ac_cv_lib_soname_tiff+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_check_soname_save_LIBS=$LIBS
13694 LIBS="-ltiff $TIFF_LIBS $LIBS"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13698 /* Override any GCC internal prototype to avoid an error.
13699 Use char because int might match the return type of a GCC
13700 builtin and then its argument prototype would still apply. */
13701 #ifdef __cplusplus
13702 extern "C"
13703 #endif
13704 char TIFFClientOpen ();
13706 main ()
13708 return TIFFClientOpen ();
13710 return 0;
13712 _ACEOF
13713 if ac_fn_c_try_link "$LINENO"; then :
13714 case "$LIBEXT" in
13715 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13716 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'` ;;
13717 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13718 if ${ac_cv_lib_soname_tiff:+false} :; then :
13719 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13720 fi ;;
13721 esac
13723 rm -f core conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 LIBS=$ac_check_soname_save_LIBS
13727 if ${ac_cv_lib_soname_tiff:+false} :; then :
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13729 $as_echo "not found" >&6; }
13731 else
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13733 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13735 cat >>confdefs.h <<_ACEOF
13736 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13737 _ACEOF
13742 CPPFLAGS=$ac_save_CPPFLAGS
13743 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13744 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13747 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13748 case "x$with_tiff" in
13749 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13750 xno) ;;
13751 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13752 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13753 esac
13757 if test "x$with_mpg123" != "xno"
13758 then
13759 if ${MPG123_CFLAGS:+false} :; then :
13760 if ${PKG_CONFIG+:} false; then :
13761 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13765 if ${MPG123_LIBS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13771 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13772 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13773 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13774 ac_save_CPPFLAGS=$CPPFLAGS
13775 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13776 for ac_header in mpg123.h
13777 do :
13778 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13779 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13780 cat >>confdefs.h <<_ACEOF
13781 #define HAVE_MPG123_H 1
13782 _ACEOF
13786 done
13788 if test "$ac_cv_header_mpg123_h" = "yes"
13789 then
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13791 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13792 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_check_lib_save_LIBS=$LIBS
13796 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13803 #ifdef __cplusplus
13804 extern "C"
13805 #endif
13806 char mpg123_feed ();
13808 main ()
13810 return mpg123_feed ();
13812 return 0;
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_lib_mpg123_mpg123_feed=yes
13817 else
13818 ac_cv_lib_mpg123_mpg123_feed=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13825 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13826 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13828 else
13829 MPG123_LIBS=""
13832 else
13833 MPG123_CFLAGS=""
13834 MPG123_LIBS=""
13836 CPPFLAGS=$ac_save_CPPFLAGS
13837 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13838 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13841 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13842 case "x$with_mpg123" in
13843 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13844 xno) ;;
13845 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13846 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13847 esac
13848 enable_winemp3_acm=${enable_winemp3_acm:-no}
13851 if test "$ac_cv_header_AL_al_h" = "yes"
13852 then
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13854 $as_echo_n "checking for -lopenal... " >&6; }
13855 if ${ac_cv_lib_soname_openal+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 ac_check_soname_save_LIBS=$LIBS
13859 LIBS="-lopenal $LIBS"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13866 #ifdef __cplusplus
13867 extern "C"
13868 #endif
13869 char alGetSource3i ();
13871 main ()
13873 return alGetSource3i ();
13875 return 0;
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 case "$LIBEXT" in
13880 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13881 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'` ;;
13882 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13883 if ${ac_cv_lib_soname_openal:+false} :; then :
13884 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13885 fi ;;
13886 esac
13888 rm -f core conftest.err conftest.$ac_objext \
13889 conftest$ac_exeext conftest.$ac_ext
13890 LIBS=$ac_check_soname_save_LIBS
13892 if ${ac_cv_lib_soname_openal:+false} :; then :
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13894 $as_echo "not found" >&6; }
13896 else
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13898 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13900 cat >>confdefs.h <<_ACEOF
13901 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13902 _ACEOF
13904 OPENAL_LIBS="-lopenal"
13906 ac_cv_lib_openal=yes
13908 cat >>confdefs.h <<_ACEOF
13909 #define HAVE_OPENAL 1
13910 _ACEOF
13914 if test "x$ac_cv_lib_openal" != xyes; then :
13915 case "x$with_openal" in
13916 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13917 xno) ;;
13918 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13919 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13920 esac
13921 enable_openal32=${enable_openal32:-no}
13924 if test "x$ac_cv_lib_openal" = xyes
13925 then
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13927 $as_echo_n "checking for openal-soft... " >&6; }
13928 if ${ac_cv_have_openalsoft+:} false; then :
13929 $as_echo_n "(cached) " >&6
13930 else
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 #include <AL/al.h>
13934 #include <AL/alc.h>
13935 #include <AL/alext.h>
13936 LPALCRENDERSAMPLESSOFT x;
13938 main ()
13942 return 0;
13944 _ACEOF
13945 if ac_fn_c_try_compile "$LINENO"; then :
13946 ac_cv_have_openalsoft=yes
13947 else
13948 ac_cv_have_openalsoft=no
13950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13953 $as_echo "$ac_cv_have_openalsoft" >&6; }
13955 if test "x$ac_cv_have_openalsoft" != xyes
13956 then
13957 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13958 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13959 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13960 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13961 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13962 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13963 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13964 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13965 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13966 enable_xapofx1_1=${enable_xapofx1_1:-no}
13967 enable_xapofx1_2=${enable_xapofx1_2:-no}
13968 enable_xapofx1_3=${enable_xapofx1_3:-no}
13969 enable_xapofx1_4=${enable_xapofx1_4:-no}
13970 enable_xapofx1_5=${enable_xapofx1_5:-no}
13971 enable_xaudio2_0=${enable_xaudio2_0:-no}
13972 enable_xaudio2_1=${enable_xaudio2_1:-no}
13973 enable_xaudio2_2=${enable_xaudio2_2:-no}
13974 enable_xaudio2_3=${enable_xaudio2_3:-no}
13975 enable_xaudio2_4=${enable_xaudio2_4:-no}
13976 enable_xaudio2_5=${enable_xaudio2_5:-no}
13977 enable_xaudio2_6=${enable_xaudio2_6:-no}
13978 enable_xaudio2_7=${enable_xaudio2_7:-no}
13979 enable_xaudio2_8=${enable_xaudio2_8:-no}
13980 enable_xaudio2_9=${enable_xaudio2_9:-no}
13983 if test "$ac_cv_header_kstat_h" = "yes"
13984 then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13986 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13987 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-lkstat $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 #ifdef __cplusplus
13999 extern "C"
14000 #endif
14001 char kstat_open ();
14003 main ()
14005 return kstat_open ();
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_lib_kstat_kstat_open=yes
14012 else
14013 ac_cv_lib_kstat_kstat_open=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14020 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14021 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14023 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14025 KSTAT_LIBS="-lkstat"
14031 if test "$ac_cv_header_libprocstat_h" = "yes"
14032 then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14034 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14035 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_check_lib_save_LIBS=$LIBS
14039 LIBS="-lprocstat $LIBS"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14043 /* Override any GCC internal prototype to avoid an error.
14044 Use char because int might match the return type of a GCC
14045 builtin and then its argument prototype would still apply. */
14046 #ifdef __cplusplus
14047 extern "C"
14048 #endif
14049 char procstat_open_sysctl ();
14051 main ()
14053 return procstat_open_sysctl ();
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_lib_procstat_procstat_open_sysctl=yes
14060 else
14061 ac_cv_lib_procstat_procstat_open_sysctl=no
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14068 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14069 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14071 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14073 PROCSTAT_LIBS="-lprocstat"
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14080 $as_echo_n "checking for -lodbc... " >&6; }
14081 if ${ac_cv_lib_soname_odbc+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_check_soname_save_LIBS=$LIBS
14085 LIBS="-lodbc $LIBS"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14092 #ifdef __cplusplus
14093 extern "C"
14094 #endif
14095 char SQLConnect ();
14097 main ()
14099 return SQLConnect ();
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 case "$LIBEXT" in
14106 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14107 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'` ;;
14108 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14109 if ${ac_cv_lib_soname_odbc:+false} :; then :
14110 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14111 fi ;;
14112 esac
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_soname_save_LIBS
14118 if ${ac_cv_lib_soname_odbc:+false} :; then :
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14120 $as_echo "not found" >&6; }
14121 cat >>confdefs.h <<_ACEOF
14122 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14123 _ACEOF
14125 else
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14127 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14129 cat >>confdefs.h <<_ACEOF
14130 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14131 _ACEOF
14136 if test "x$with_netapi" != "xno"
14137 then
14138 if ${NETAPI_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14144 if ${NETAPI_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14151 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14156 $as_echo_n "checking for -lnetapi... " >&6; }
14157 if ${ac_cv_lib_soname_netapi+:} false; then :
14158 $as_echo_n "(cached) " >&6
14159 else
14160 ac_check_soname_save_LIBS=$LIBS
14161 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 #ifdef __cplusplus
14169 extern "C"
14170 #endif
14171 char libnetapi_init ();
14173 main ()
14175 return libnetapi_init ();
14177 return 0;
14179 _ACEOF
14180 if ac_fn_c_try_link "$LINENO"; then :
14181 case "$LIBEXT" in
14182 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14183 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'` ;;
14184 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14185 if ${ac_cv_lib_soname_netapi:+false} :; then :
14186 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14187 fi ;;
14188 esac
14190 rm -f core conftest.err conftest.$ac_objext \
14191 conftest$ac_exeext conftest.$ac_ext
14192 LIBS=$ac_check_soname_save_LIBS
14194 if ${ac_cv_lib_soname_netapi:+false} :; then :
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14196 $as_echo "not found" >&6; }
14197 cat >>confdefs.h <<_ACEOF
14198 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14199 _ACEOF
14201 else
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14203 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14205 cat >>confdefs.h <<_ACEOF
14206 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14207 _ACEOF
14211 CPPFLAGS=$ac_save_CPPFLAGS
14212 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14213 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14217 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14218 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14219 then
14220 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14224 EXTRACFLAGS=""
14226 if test "x${GCC}" = "xyes"
14227 then
14228 EXTRACFLAGS="-Wall -pipe"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14231 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14232 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 if test "$cross_compiling" = yes; then :
14236 ac_cv_c_gcc_strength_bug="no"
14237 else
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 int L[4] = {0,1,2,3};
14242 main ()
14244 static int Array[3];
14245 unsigned int B = 3;
14246 int i;
14247 for(i=0; i<B; i++) Array[i] = i - 3;
14248 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14249 L[i] = 4;
14250 return (Array[1] != -2 || L[2] != 3)
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_run "$LINENO"; then :
14256 ac_cv_c_gcc_strength_bug="no"
14257 else
14258 ac_cv_c_gcc_strength_bug="yes"
14260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14261 conftest.$ac_objext conftest.beam conftest.$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14266 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14267 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14268 then
14269 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14273 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14274 if ${ac_cv_cflags__fno_builtin+:} false; then :
14275 $as_echo_n "(cached) " >&6
14276 else
14277 ac_wine_try_cflags_saved=$CFLAGS
14278 CFLAGS="$CFLAGS -fno-builtin"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 int main(int argc, char **argv) { return 0; }
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 ac_cv_cflags__fno_builtin=yes
14285 else
14286 ac_cv_cflags__fno_builtin=no
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 CFLAGS=$ac_wine_try_cflags_saved
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14293 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14294 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14295 BUILTINFLAG="-fno-builtin"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14299 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14300 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_wine_try_cflags_saved=$CFLAGS
14304 CFLAGS="$CFLAGS -fno-strict-aliasing"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 int main(int argc, char **argv) { return 0; }
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_cflags__fno_strict_aliasing=yes
14311 else
14312 ac_cv_cflags__fno_strict_aliasing=no
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14316 CFLAGS=$ac_wine_try_cflags_saved
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14319 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14320 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14321 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14324 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14325 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 ac_wine_try_cflags_saved=$CFLAGS
14329 CFLAGS="$CFLAGS -fexcess-precision=standard"
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14332 int main(int argc, char **argv) { return 0; }
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_cflags__fexcess_precision_standard=yes
14336 else
14337 ac_cv_cflags__fexcess_precision_standard=no
14339 rm -f core conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14341 CFLAGS=$ac_wine_try_cflags_saved
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14344 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14345 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14346 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14349 saved_CFLAGS=$CFLAGS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14351 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14352 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 ac_wine_try_cflags_saved=$CFLAGS
14356 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 int main(int argc, char **argv) { return 0; }
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_cflags__Werror_unknown_warning_option=yes
14363 else
14364 ac_cv_cflags__Werror_unknown_warning_option=no
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 CFLAGS=$ac_wine_try_cflags_saved
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14371 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14372 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14373 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14376 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14377 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_wine_try_cflags_saved=$CFLAGS
14381 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_cflags__Wdeclaration_after_statement=yes
14388 else
14389 ac_cv_cflags__Wdeclaration_after_statement=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14396 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14397 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14398 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14401 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14402 if ${ac_cv_cflags__Wempty_body+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -Wempty-body"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_cflags__Wempty_body=yes
14413 else
14414 ac_cv_cflags__Wempty_body=no
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14421 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14422 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14423 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14426 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14427 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_wine_try_cflags_saved=$CFLAGS
14431 CFLAGS="$CFLAGS -Wignored-qualifiers"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 int main(int argc, char **argv) { return 0; }
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_cflags__Wignored_qualifiers=yes
14438 else
14439 ac_cv_cflags__Wignored_qualifiers=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 CFLAGS=$ac_wine_try_cflags_saved
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14446 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14447 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14448 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14451 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14452 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_wine_try_cflags_saved=$CFLAGS
14456 CFLAGS="$CFLAGS -Wshift-overflow=2"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 int main(int argc, char **argv) { return 0; }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 ac_cv_cflags__Wshift_overflow_2=yes
14463 else
14464 ac_cv_cflags__Wshift_overflow_2=no
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 CFLAGS=$ac_wine_try_cflags_saved
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14471 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14472 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14473 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14476 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14477 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 ac_wine_try_cflags_saved=$CFLAGS
14481 CFLAGS="$CFLAGS -Wstrict-prototypes"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 int main(int argc, char **argv) { return 0; }
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_cflags__Wstrict_prototypes=yes
14488 else
14489 ac_cv_cflags__Wstrict_prototypes=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 CFLAGS=$ac_wine_try_cflags_saved
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14496 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14497 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14498 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14501 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14502 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14503 $as_echo_n "(cached) " >&6
14504 else
14505 ac_wine_try_cflags_saved=$CFLAGS
14506 CFLAGS="$CFLAGS -Wtype-limits"
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int main(int argc, char **argv) { return 0; }
14510 _ACEOF
14511 if ac_fn_c_try_link "$LINENO"; then :
14512 ac_cv_cflags__Wtype_limits=yes
14513 else
14514 ac_cv_cflags__Wtype_limits=no
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 CFLAGS=$ac_wine_try_cflags_saved
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14521 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14522 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14523 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14526 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14527 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_wine_try_cflags_saved=$CFLAGS
14531 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 int main(int argc, char **argv) { return 0; }
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 ac_cv_cflags__Wunused_but_set_parameter=yes
14538 else
14539 ac_cv_cflags__Wunused_but_set_parameter=no
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14546 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14547 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14548 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14551 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14552 if ${ac_cv_cflags__Wvla+:} false; then :
14553 $as_echo_n "(cached) " >&6
14554 else
14555 ac_wine_try_cflags_saved=$CFLAGS
14556 CFLAGS="$CFLAGS -Wvla"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 int main(int argc, char **argv) { return 0; }
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_cflags__Wvla=yes
14563 else
14564 ac_cv_cflags__Wvla=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 CFLAGS=$ac_wine_try_cflags_saved
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14571 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14572 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14573 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14576 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14577 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14578 $as_echo_n "(cached) " >&6
14579 else
14580 ac_wine_try_cflags_saved=$CFLAGS
14581 CFLAGS="$CFLAGS -Wwrite-strings"
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14584 int main(int argc, char **argv) { return 0; }
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_cflags__Wwrite_strings=yes
14588 else
14589 ac_cv_cflags__Wwrite_strings=no
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14593 CFLAGS=$ac_wine_try_cflags_saved
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14596 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14597 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14598 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14602 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14603 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_wine_try_cflags_saved=$CFLAGS
14607 CFLAGS="$CFLAGS -Wpointer-arith"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14610 int main(int argc, char **argv) { return 0; }
14611 _ACEOF
14612 if ac_fn_c_try_link "$LINENO"; then :
14613 ac_cv_cflags__Wpointer_arith=yes
14614 else
14615 ac_cv_cflags__Wpointer_arith=no
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14619 CFLAGS=$ac_wine_try_cflags_saved
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14622 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14623 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14624 saved_string_h_CFLAGS=$CFLAGS
14625 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14627 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14628 if ${ac_cv_c_string_h_warnings+:} false; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 #include <string.h>
14635 main ()
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_compile "$LINENO"; then :
14643 ac_cv_c_string_h_warnings=no
14644 else
14645 ac_cv_c_string_h_warnings=yes
14647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14650 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14651 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14652 CFLAGS=$saved_string_h_CFLAGS
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14656 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14657 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_wine_try_cflags_saved=$CFLAGS
14661 CFLAGS="$CFLAGS -Wlogical-op"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int main(int argc, char **argv) { return 0; }
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_cflags__Wlogical_op=yes
14668 else
14669 ac_cv_cflags__Wlogical_op=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 CFLAGS=$ac_wine_try_cflags_saved
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14676 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14677 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14678 saved_string_h_CFLAGS=$CFLAGS
14679 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14681 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14682 if ${ac_cv_c_logicalop_noisy+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 #include <string.h>
14688 char*f(const char *h,char n) {return strchr(h,n);}
14690 main ()
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_compile "$LINENO"; then :
14698 ac_cv_c_logicalop_noisy=no
14699 else
14700 ac_cv_c_logicalop_noisy=yes
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14705 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14706 CFLAGS=$saved_string_h_CFLAGS
14707 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14710 CFLAGS=$saved_CFLAGS
14712 for ac_flag in $CFLAGS; do
14713 case $ac_flag in
14714 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14715 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14716 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_wine_try_cflags_saved=$CFLAGS
14720 CFLAGS="$CFLAGS -gdwarf-2"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 int main(int argc, char **argv) { return 0; }
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 ac_cv_cflags__gdwarf_2=yes
14727 else
14728 ac_cv_cflags__gdwarf_2=no
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext conftest.$ac_ext
14732 CFLAGS=$ac_wine_try_cflags_saved
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14735 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14736 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14737 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14740 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14741 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_wine_try_cflags_saved=$CFLAGS
14745 CFLAGS="$CFLAGS -gstrict-dwarf"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 int main(int argc, char **argv) { return 0; }
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_cflags__gstrict_dwarf=yes
14752 else
14753 ac_cv_cflags__gstrict_dwarf=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 CFLAGS=$ac_wine_try_cflags_saved
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14760 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14761 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14762 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14763 fi ;;
14764 esac
14765 done
14767 case $host_cpu in
14768 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14769 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14770 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 ac_wine_try_cflags_saved=$CFLAGS
14774 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 int main(int argc, char **argv) { return 0; }
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_cflags__fno_omit_frame_pointer=yes
14781 else
14782 ac_cv_cflags__fno_omit_frame_pointer=no
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14786 CFLAGS=$ac_wine_try_cflags_saved
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14789 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14790 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14791 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14792 fi ;;
14793 esac
14795 case $host in
14796 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14797 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14798 if ${ac_cv_cflags__Wno_format+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_wine_try_cflags_saved=$CFLAGS
14802 CFLAGS="$CFLAGS -Wno-format"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14805 int main(int argc, char **argv) { return 0; }
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_cflags__Wno_format=yes
14809 else
14810 ac_cv_cflags__Wno_format=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 CFLAGS=$ac_wine_try_cflags_saved
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14817 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14818 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14819 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14820 fi ;;
14821 esac
14823 if test "x$enable_maintainer_mode" = "xyes"
14824 then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14826 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14827 if ${ac_cv_cflags__Werror+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 ac_wine_try_cflags_saved=$CFLAGS
14831 CFLAGS="$CFLAGS -Werror"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 int main(int argc, char **argv) { return 0; }
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_cflags__Werror=yes
14838 else
14839 ac_cv_cflags__Werror=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 CFLAGS=$ac_wine_try_cflags_saved
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14846 $as_echo "$ac_cv_cflags__Werror" >&6; }
14847 if test "x$ac_cv_cflags__Werror" = xyes; then :
14848 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14852 saved_CFLAGS="$CFLAGS"
14853 CFLAGS="$CFLAGS -Werror"
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14855 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14856 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14863 main ()
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_compile "$LINENO"; then :
14871 ac_cv_have_ms_hook_prologue="yes"
14872 else
14873 ac_cv_have_ms_hook_prologue="no"
14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14878 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14879 CFLAGS="$saved_CFLAGS"
14880 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14881 then
14883 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14885 else
14886 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14893 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14894 if ${ac_cv_c_fortify_enabled+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 #include <string.h>
14901 main ()
14903 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14904 #error Fortify enabled
14905 #endif
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_compile "$LINENO"; then :
14911 ac_cv_c_fortify_enabled=no
14912 else
14913 ac_cv_c_fortify_enabled=yes
14915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14918 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14919 if test "$ac_cv_c_fortify_enabled" = yes
14920 then
14921 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14926 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14927 if ${ac_cv_c_extern_prefix+:} false; then :
14928 $as_echo_n "(cached) " >&6
14929 else
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 extern int ac_test;
14934 main ()
14936 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14938 return 0;
14940 _ACEOF
14941 if ac_fn_c_try_link "$LINENO"; then :
14942 ac_cv_c_extern_prefix="yes"
14943 else
14944 ac_cv_c_extern_prefix="no"
14946 rm -f core conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14950 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14952 case $host_cpu in
14953 *i[3456789]86*)
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14955 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14956 if ${ac_cv_c_stdcall_suffix+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 #ifndef _MSC_VER
14962 #define __stdcall __attribute__((__stdcall__))
14963 #endif
14964 int __stdcall ac_test(int i) { return i; }
14966 main ()
14968 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 ac_cv_c_stdcall_suffix="yes"
14975 else
14976 ac_cv_c_stdcall_suffix="no"
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14982 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14983 *) ac_cv_c_stdcall_suffix="no" ;;
14984 esac
14987 if test "$ac_cv_c_extern_prefix" = "yes"
14988 then
14989 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14991 asm_name_prefix="_"
14992 else
14993 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14995 asm_name_prefix=""
14999 if test "$ac_cv_c_stdcall_suffix" = "yes"
15000 then
15001 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15003 else
15004 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15010 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15011 if ${ac_cv_asm_func_def+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15018 main ()
15020 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_asm_func_def=".def"
15027 else
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15032 main ()
15034 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_asm_func_def=".type @function"
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15046 main ()
15048 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15050 return 0;
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 ac_cv_asm_func_def=".type 2"
15055 else
15056 ac_cv_asm_func_def="unknown"
15058 rm -f core conftest.err conftest.$ac_objext \
15059 conftest$ac_exeext conftest.$ac_ext
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15068 $as_echo "$ac_cv_asm_func_def" >&6; }
15071 case "$ac_cv_asm_func_def" in
15072 ".def")
15073 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15075 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15076 ".type @function")
15077 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15079 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15080 ".type 2")
15081 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15083 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15085 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15087 asm_func_header="" ;;
15088 esac
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15091 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15092 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15093 $as_echo_n "(cached) " >&6
15094 else
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 asm(".text\n\t.long 0");
15099 main ()
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_compile "$LINENO"; then :
15107 ac_cv_c_asm_outside_funcs="yes"
15108 else
15109 ac_cv_c_asm_outside_funcs="no"
15111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15114 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15117 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15118 if ${ac_cv_c_dot_previous+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15125 main ()
15127 asm(".text\nac_test:\t.long 0\n\t.previous");
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 ac_cv_c_dot_previous="yes"
15134 else
15135 ac_cv_c_dot_previous="no"
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15141 $as_echo "$ac_cv_c_dot_previous" >&6; }
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15144 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15145 if ${ac_cv_c_cfi_support+:} false; then :
15146 $as_echo_n "(cached) " >&6
15147 else
15148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15150 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15152 main ()
15156 return 0;
15158 _ACEOF
15159 if ac_fn_c_try_compile "$LINENO"; then :
15160 ac_cv_c_cfi_support="yes"
15161 else
15162 ac_cv_c_cfi_support="no"
15164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15167 $as_echo "$ac_cv_c_cfi_support" >&6; }
15169 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15170 asm_func_trailer=""
15171 if test "$ac_cv_c_dot_previous" = "yes"
15172 then
15173 asm_func_trailer="\\n\\t.previous"
15175 if test "$ac_cv_c_cfi_support" = "yes"
15176 then
15177 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15178 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15180 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15182 UNWINDFLAGS=-fasynchronous-unwind-tables
15184 else
15185 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15187 if test "x$enable_win64" = "xyes"
15188 then
15189 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15193 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15196 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15197 then
15198 cat >>confdefs.h <<_ACEOF
15199 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15200 _ACEOF
15202 else
15203 cat >>confdefs.h <<_ACEOF
15204 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15205 _ACEOF
15209 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15212 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15216 case $build_os in
15217 cygwin*|mingw32*) TOOLSEXT=".exe"
15219 esac
15221 case $host_os in
15222 linux-android*) ;;
15223 linux*)
15224 case $host_cpu in
15225 *i[3456789]86*|x86_64*)
15226 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15227 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15229 esac
15231 esac
15234 ac_save_CFLAGS="$CFLAGS"
15235 CFLAGS="$CFLAGS $BUILTINFLAG"
15236 for ac_func in \
15237 __res_get_state \
15238 __res_getservers \
15239 _finite \
15240 _isnan \
15241 _pclose \
15242 _popen \
15243 _snprintf \
15244 _spawnvp \
15245 _strdup \
15246 _stricmp \
15247 _strnicmp \
15248 _strtoi64 \
15249 _strtoui64 \
15250 _vsnprintf \
15251 asctime_r \
15252 chsize \
15253 dlopen \
15254 epoll_create \
15255 ffs \
15256 finitef \
15257 fnmatch \
15258 fork \
15259 fpclass \
15260 fstatfs \
15261 fstatvfs \
15262 ftruncate \
15263 futimens \
15264 futimes \
15265 futimesat \
15266 getattrlist \
15267 getopt_long_only \
15268 getpwuid \
15269 gettimeofday \
15270 getuid \
15271 if_nameindex \
15272 isnanf \
15273 kqueue \
15274 lstat \
15275 memmove \
15276 mmap \
15277 pclose \
15278 pipe2 \
15279 poll \
15280 popen \
15281 port_create \
15282 prctl \
15283 pread \
15284 proc_pidinfo \
15285 pwrite \
15286 readdir \
15287 readlink \
15288 sched_yield \
15289 select \
15290 setproctitle \
15291 setprogname \
15292 setrlimit \
15293 settimeofday \
15294 sigaltstack \
15295 sigprocmask \
15296 snprintf \
15297 statfs \
15298 statvfs \
15299 strcasecmp \
15300 strdup \
15301 strerror \
15302 strncasecmp \
15303 strtold \
15304 strtoll \
15305 strtoull \
15306 symlink \
15307 sysinfo \
15308 tcdrain \
15309 thr_kill2 \
15310 timegm \
15311 usleep \
15312 vsnprintf
15314 do :
15315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15318 cat >>confdefs.h <<_ACEOF
15319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15320 _ACEOF
15323 done
15325 CFLAGS="$ac_save_CFLAGS"
15327 if test "$ac_cv_func_dlopen" = no
15328 then
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15331 if ${ac_cv_lib_dl_dlopen+:} false; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15334 ac_check_lib_save_LIBS=$LIBS
15335 LIBS="-ldl $LIBS"
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15342 #ifdef __cplusplus
15343 extern "C"
15344 #endif
15345 char dlopen ();
15347 main ()
15349 return dlopen ();
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_link "$LINENO"; then :
15355 ac_cv_lib_dl_dlopen=yes
15356 else
15357 ac_cv_lib_dl_dlopen=no
15359 rm -f core conftest.err conftest.$ac_objext \
15360 conftest$ac_exeext conftest.$ac_ext
15361 LIBS=$ac_check_lib_save_LIBS
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15364 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15365 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15366 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15367 DL_LIBS="-ldl"
15372 ac_wine_check_funcs_save_LIBS="$LIBS"
15373 LIBS="$LIBS $DL_LIBS"
15374 for ac_func in dladdr
15375 do :
15376 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15377 if test "x$ac_cv_func_dladdr" = xyes; then :
15378 cat >>confdefs.h <<_ACEOF
15379 #define HAVE_DLADDR 1
15380 _ACEOF
15383 done
15385 LIBS="$ac_wine_check_funcs_save_LIBS"
15387 if test "$ac_cv_func_poll" = no
15388 then
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15390 $as_echo_n "checking for poll in -lpoll... " >&6; }
15391 if ${ac_cv_lib_poll_poll+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_check_lib_save_LIBS=$LIBS
15395 LIBS="-lpoll $LIBS"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 #ifdef __cplusplus
15403 extern "C"
15404 #endif
15405 char poll ();
15407 main ()
15409 return poll ();
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 ac_cv_lib_poll_poll=yes
15416 else
15417 ac_cv_lib_poll_poll=no
15419 rm -f core conftest.err conftest.$ac_objext \
15420 conftest$ac_exeext conftest.$ac_ext
15421 LIBS=$ac_check_lib_save_LIBS
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15424 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15425 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15426 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15427 POLL_LIBS="-lpoll"
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15434 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15435 if ${ac_cv_search_gethostbyname+:} false; then :
15436 $as_echo_n "(cached) " >&6
15437 else
15438 ac_func_search_save_LIBS=$LIBS
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 #ifdef __cplusplus
15446 extern "C"
15447 #endif
15448 char gethostbyname ();
15450 main ()
15452 return gethostbyname ();
15454 return 0;
15456 _ACEOF
15457 for ac_lib in '' nsl; do
15458 if test -z "$ac_lib"; then
15459 ac_res="none required"
15460 else
15461 ac_res=-l$ac_lib
15462 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15464 if ac_fn_c_try_link "$LINENO"; then :
15465 ac_cv_search_gethostbyname=$ac_res
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext
15469 if ${ac_cv_search_gethostbyname+:} false; then :
15470 break
15472 done
15473 if ${ac_cv_search_gethostbyname+:} false; then :
15475 else
15476 ac_cv_search_gethostbyname=no
15478 rm conftest.$ac_ext
15479 LIBS=$ac_func_search_save_LIBS
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15482 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15483 ac_res=$ac_cv_search_gethostbyname
15484 if test "$ac_res" != no; then :
15485 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15491 $as_echo_n "checking for library containing connect... " >&6; }
15492 if ${ac_cv_search_connect+:} false; then :
15493 $as_echo_n "(cached) " >&6
15494 else
15495 ac_func_search_save_LIBS=$LIBS
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15499 /* Override any GCC internal prototype to avoid an error.
15500 Use char because int might match the return type of a GCC
15501 builtin and then its argument prototype would still apply. */
15502 #ifdef __cplusplus
15503 extern "C"
15504 #endif
15505 char connect ();
15507 main ()
15509 return connect ();
15511 return 0;
15513 _ACEOF
15514 for ac_lib in '' socket; do
15515 if test -z "$ac_lib"; then
15516 ac_res="none required"
15517 else
15518 ac_res=-l$ac_lib
15519 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 ac_cv_search_connect=$ac_res
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext
15526 if ${ac_cv_search_connect+:} false; then :
15527 break
15529 done
15530 if ${ac_cv_search_connect+:} false; then :
15532 else
15533 ac_cv_search_connect=no
15535 rm conftest.$ac_ext
15536 LIBS=$ac_func_search_save_LIBS
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15539 $as_echo "$ac_cv_search_connect" >&6; }
15540 ac_res=$ac_cv_search_connect
15541 if test "$ac_res" != no; then :
15542 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15548 $as_echo_n "checking for library containing inet_aton... " >&6; }
15549 if ${ac_cv_search_inet_aton+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 ac_func_search_save_LIBS=$LIBS
15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15554 /* end confdefs.h. */
15556 /* Override any GCC internal prototype to avoid an error.
15557 Use char because int might match the return type of a GCC
15558 builtin and then its argument prototype would still apply. */
15559 #ifdef __cplusplus
15560 extern "C"
15561 #endif
15562 char inet_aton ();
15564 main ()
15566 return inet_aton ();
15568 return 0;
15570 _ACEOF
15571 for ac_lib in '' resolv; do
15572 if test -z "$ac_lib"; then
15573 ac_res="none required"
15574 else
15575 ac_res=-l$ac_lib
15576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15578 if ac_fn_c_try_link "$LINENO"; then :
15579 ac_cv_search_inet_aton=$ac_res
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext
15583 if ${ac_cv_search_inet_aton+:} false; then :
15584 break
15586 done
15587 if ${ac_cv_search_inet_aton+:} false; then :
15589 else
15590 ac_cv_search_inet_aton=no
15592 rm conftest.$ac_ext
15593 LIBS=$ac_func_search_save_LIBS
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15596 $as_echo "$ac_cv_search_inet_aton" >&6; }
15597 ac_res=$ac_cv_search_inet_aton
15598 if test "$ac_res" != no; then :
15599 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15604 for ac_func in \
15605 getaddrinfo \
15606 getnameinfo \
15607 getnetbyname \
15608 getprotobyname \
15609 getprotobynumber \
15610 getservbyport \
15611 inet_addr \
15612 inet_network \
15613 inet_ntop \
15614 inet_pton \
15615 sendmsg \
15616 socketpair \
15618 do :
15619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15621 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15624 _ACEOF
15627 done
15630 ac_save_LIBS=$LIBS
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15632 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15633 if ${ac_cv_search_clock_gettime+:} false; then :
15634 $as_echo_n "(cached) " >&6
15635 else
15636 ac_func_search_save_LIBS=$LIBS
15637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15640 /* Override any GCC internal prototype to avoid an error.
15641 Use char because int might match the return type of a GCC
15642 builtin and then its argument prototype would still apply. */
15643 #ifdef __cplusplus
15644 extern "C"
15645 #endif
15646 char clock_gettime ();
15648 main ()
15650 return clock_gettime ();
15652 return 0;
15654 _ACEOF
15655 for ac_lib in '' rt; do
15656 if test -z "$ac_lib"; then
15657 ac_res="none required"
15658 else
15659 ac_res=-l$ac_lib
15660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15662 if ac_fn_c_try_link "$LINENO"; then :
15663 ac_cv_search_clock_gettime=$ac_res
15665 rm -f core conftest.err conftest.$ac_objext \
15666 conftest$ac_exeext
15667 if ${ac_cv_search_clock_gettime+:} false; then :
15668 break
15670 done
15671 if ${ac_cv_search_clock_gettime+:} false; then :
15673 else
15674 ac_cv_search_clock_gettime=no
15676 rm conftest.$ac_ext
15677 LIBS=$ac_func_search_save_LIBS
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15680 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15681 ac_res=$ac_cv_search_clock_gettime
15682 if test "$ac_res" != no; then :
15683 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15685 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15687 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15691 LIBS=$ac_save_LIBS
15693 LDAP_LIBS=""
15695 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15696 then
15697 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15699 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15701 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15702 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15703 $as_echo_n "(cached) " >&6
15704 else
15705 ac_check_lib_save_LIBS=$LIBS
15706 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 #ifdef __cplusplus
15714 extern "C"
15715 #endif
15716 char ldap_initialize ();
15718 main ()
15720 return ldap_initialize ();
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 ac_cv_lib_ldap_r_ldap_initialize=yes
15727 else
15728 ac_cv_lib_ldap_r_ldap_initialize=no
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_lib_save_LIBS
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15735 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15736 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15738 $as_echo_n "checking for ber_init in -llber... " >&6; }
15739 if ${ac_cv_lib_lber_ber_init+:} false; then :
15740 $as_echo_n "(cached) " >&6
15741 else
15742 ac_check_lib_save_LIBS=$LIBS
15743 LIBS="-llber $PTHREAD_LIBS $LIBS"
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15747 /* Override any GCC internal prototype to avoid an error.
15748 Use char because int might match the return type of a GCC
15749 builtin and then its argument prototype would still apply. */
15750 #ifdef __cplusplus
15751 extern "C"
15752 #endif
15753 char ber_init ();
15755 main ()
15757 return ber_init ();
15759 return 0;
15761 _ACEOF
15762 if ac_fn_c_try_link "$LINENO"; then :
15763 ac_cv_lib_lber_ber_init=yes
15764 else
15765 ac_cv_lib_lber_ber_init=no
15767 rm -f core conftest.err conftest.$ac_objext \
15768 conftest$ac_exeext conftest.$ac_ext
15769 LIBS=$ac_check_lib_save_LIBS
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15772 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15773 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15775 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15777 LDAP_LIBS="-lldap_r -llber"
15784 ac_wine_check_funcs_save_LIBS="$LIBS"
15785 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15786 for ac_func in \
15787 ldap_count_references \
15788 ldap_first_reference \
15789 ldap_next_reference \
15790 ldap_parse_reference \
15791 ldap_parse_sort_control \
15792 ldap_parse_sortresponse_control \
15793 ldap_parse_vlv_control \
15794 ldap_parse_vlvresponse_control
15795 do :
15796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15801 _ACEOF
15804 done
15806 LIBS="$ac_wine_check_funcs_save_LIBS"
15808 if test "x$LDAP_LIBS" = "x"; then :
15809 case "x$with_ldap" in
15810 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15811 xno) ;;
15812 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15813 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15814 esac
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15819 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15820 if ${wine_cv_one_arg_mkdir+:} false; then :
15821 $as_echo_n "(cached) " >&6
15822 else
15823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15825 #include <sys/stat.h>
15827 main ()
15829 mkdir("foo");
15831 return 0;
15833 _ACEOF
15834 if ac_fn_c_try_compile "$LINENO"; then :
15835 wine_cv_one_arg_mkdir=yes
15836 else
15837 wine_cv_one_arg_mkdir=no
15839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15842 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15843 if test "$wine_cv_one_arg_mkdir" = "yes"
15844 then
15846 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15851 $as_echo_n "checking for sched_setaffinity... " >&6; }
15852 if ${wine_cv_have_sched_setaffinity+:} false; then :
15853 $as_echo_n "(cached) " >&6
15854 else
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857 #define _GNU_SOURCE
15858 #include <sched.h>
15860 main ()
15862 sched_setaffinity(0, 0, 0);
15864 return 0;
15866 _ACEOF
15867 if ac_fn_c_try_link "$LINENO"; then :
15868 wine_cv_have_sched_setaffinity=yes
15869 else
15870 wine_cv_have_sched_setaffinity=no
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15876 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15877 if test "$wine_cv_have_sched_setaffinity" = "yes"
15878 then
15880 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15885 $as_echo_n "checking for fallocate... " >&6; }
15886 if ${wine_cv_have_fallocate+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15891 #define _GNU_SOURCE
15892 #include <fcntl.h>
15894 main ()
15896 fallocate(-1, 0, 0, 0);
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"; then :
15902 wine_cv_have_fallocate=yes
15903 else
15904 wine_cv_have_fallocate=no
15906 rm -f core conftest.err conftest.$ac_objext \
15907 conftest$ac_exeext conftest.$ac_ext
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15910 $as_echo "$wine_cv_have_fallocate" >&6; }
15911 if test "$wine_cv_have_fallocate" = "yes"
15912 then
15914 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15920 $as_echo_n "checking for inline... " >&6; }
15921 if ${ac_cv_c_inline+:} false; then :
15922 $as_echo_n "(cached) " >&6
15923 else
15924 ac_cv_c_inline=no
15925 for ac_kw in inline __inline__ __inline; do
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 #ifndef __cplusplus
15929 typedef int foo_t;
15930 static $ac_kw foo_t static_foo () {return 0; }
15931 $ac_kw foo_t foo () {return 0; }
15932 #endif
15934 _ACEOF
15935 if ac_fn_c_try_compile "$LINENO"; then :
15936 ac_cv_c_inline=$ac_kw
15938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 test "$ac_cv_c_inline" != no && break
15940 done
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15944 $as_echo "$ac_cv_c_inline" >&6; }
15946 case $ac_cv_c_inline in
15947 inline | yes) ;;
15949 case $ac_cv_c_inline in
15950 no) ac_val=;;
15951 *) ac_val=$ac_cv_c_inline;;
15952 esac
15953 cat >>confdefs.h <<_ACEOF
15954 #ifndef __cplusplus
15955 #define inline $ac_val
15956 #endif
15957 _ACEOF
15959 esac
15961 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_mode_t" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_MODE_T 1
15966 _ACEOF
15970 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15971 if test "x$ac_cv_type_off_t" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_OFF_T 1
15975 _ACEOF
15979 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_pid_t" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_PID_T 1
15984 _ACEOF
15988 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15989 if test "x$ac_cv_type_size_t" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_SIZE_T 1
15993 _ACEOF
15997 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15998 if test "x$ac_cv_type_ssize_t" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_SSIZE_T 1
16002 _ACEOF
16006 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16007 if test "x$ac_cv_type_long_long" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_LONG_LONG 1
16011 _ACEOF
16015 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16016 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_FSBLKCNT_T 1
16020 _ACEOF
16024 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16025 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_FSFILCNT_T 1
16029 _ACEOF
16034 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16035 #include <signal.h>
16037 if test "x$ac_cv_type_sigset_t" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_SIGSET_T 1
16041 _ACEOF
16046 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16048 if test "x$ac_cv_type_request_sense" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_REQUEST_SENSE 1
16052 _ACEOF
16058 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16059 #ifdef HAVE_SYS_SOCKET_H
16060 #include <sys/socket.h>
16061 #endif
16062 #ifdef HAVE_SYS_SOCKETVAR_H
16063 #include <sys/socketvar.h>
16064 #endif
16065 #ifdef HAVE_NET_ROUTE_H
16066 #include <net/route.h>
16067 #endif
16068 #ifdef HAVE_NETINET_IN_H
16069 #include <netinet/in.h>
16070 #endif
16071 #ifdef HAVE_NETINET_IN_SYSTM_H
16072 #include <netinet/in_systm.h>
16073 #endif
16074 #ifdef HAVE_NETINET_IP_H
16075 #include <netinet/ip.h>
16076 #endif
16077 #ifdef HAVE_NETINET_IN_PCB_H
16078 #include <netinet/in_pcb.h>
16079 #endif
16081 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_XINPGEN 1
16085 _ACEOF
16091 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16092 #include <link.h>
16093 #endif
16094 #ifdef HAVE_SYS_LINK_H
16095 #include <sys/link.h>
16096 #endif
16098 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_R_DEBUG 1
16102 _ACEOF
16106 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16107 #include <link.h>
16108 #endif
16109 #ifdef HAVE_SYS_LINK_H
16110 #include <sys/link.h>
16111 #endif
16113 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_LINK_MAP 1
16117 _ACEOF
16123 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16124 #include <linux/input.h>
16125 #endif
16127 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16131 _ACEOF
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16138 $as_echo_n "checking for sigaddset... " >&6; }
16139 if ${wine_cv_have_sigaddset+:} false; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16144 #include <signal.h>
16146 main ()
16148 sigset_t set; sigaddset(&set,SIGTERM);
16150 return 0;
16152 _ACEOF
16153 if ac_fn_c_try_link "$LINENO"; then :
16154 wine_cv_have_sigaddset=yes
16155 else
16156 wine_cv_have_sigaddset=no
16158 rm -f core conftest.err conftest.$ac_objext \
16159 conftest$ac_exeext conftest.$ac_ext
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16162 $as_echo "$wine_cv_have_sigaddset" >&6; }
16163 if test "$wine_cv_have_sigaddset" = "yes"
16164 then
16166 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16172 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16173 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16174 $as_echo_n "(cached) " >&6
16175 else
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16177 /* end confdefs.h. */
16178 #include <netdb.h>
16180 main ()
16183 char *name=0;
16184 struct hostent he;
16185 struct hostent *result;
16186 char *buf=0;
16187 int bufsize=0;
16188 int errnr;
16189 char *addr=0;
16190 int addrlen=0;
16191 int addrtype=0;
16192 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16193 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_link "$LINENO"; then :
16200 wine_cv_linux_gethostbyname_r_6=yes
16201 else
16202 wine_cv_linux_gethostbyname_r_6=no
16205 rm -f core conftest.err conftest.$ac_objext \
16206 conftest$ac_exeext conftest.$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16210 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16211 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16212 then
16214 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16218 if test "$ac_cv_header_linux_joystick_h" = "yes"
16219 then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16221 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16222 if ${wine_cv_linux_joystick_22_api+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16228 #include <sys/ioctl.h>
16229 #include <sys/types.h>
16230 #include <linux/joystick.h>
16232 struct js_event blub;
16233 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16234 #error "no 2.2 header"
16235 #endif
16238 main ()
16240 /*empty*/
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_compile "$LINENO"; then :
16246 wine_cv_linux_joystick_22_api=yes
16247 else
16248 wine_cv_linux_joystick_22_api=no
16250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16254 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16255 if test "$wine_cv_linux_joystick_22_api" = "yes"
16256 then
16258 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16264 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16265 #ifdef HAVE_SYS_PARAM_H
16266 # include <sys/param.h>
16267 #endif
16268 #ifdef HAVE_SYS_MOUNT_H
16269 # include <sys/mount.h>
16270 #endif
16271 #ifdef HAVE_SYS_VFS_H
16272 # include <sys/vfs.h>
16273 #endif
16274 #ifdef HAVE_SYS_STATFS_H
16275 # include <sys/statfs.h>
16276 #endif
16278 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_STATFS_F_BFREE 1
16282 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16287 #ifdef HAVE_SYS_PARAM_H
16288 # include <sys/param.h>
16289 #endif
16290 #ifdef HAVE_SYS_MOUNT_H
16291 # include <sys/mount.h>
16292 #endif
16293 #ifdef HAVE_SYS_VFS_H
16294 # include <sys/vfs.h>
16295 #endif
16296 #ifdef HAVE_SYS_STATFS_H
16297 # include <sys/statfs.h>
16298 #endif
16300 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16302 cat >>confdefs.h <<_ACEOF
16303 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16304 _ACEOF
16308 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16309 #ifdef HAVE_SYS_PARAM_H
16310 # include <sys/param.h>
16311 #endif
16312 #ifdef HAVE_SYS_MOUNT_H
16313 # include <sys/mount.h>
16314 #endif
16315 #ifdef HAVE_SYS_VFS_H
16316 # include <sys/vfs.h>
16317 #endif
16318 #ifdef HAVE_SYS_STATFS_H
16319 # include <sys/statfs.h>
16320 #endif
16322 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16326 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16331 #ifdef HAVE_SYS_PARAM_H
16332 # include <sys/param.h>
16333 #endif
16334 #ifdef HAVE_SYS_MOUNT_H
16335 # include <sys/mount.h>
16336 #endif
16337 #ifdef HAVE_SYS_VFS_H
16338 # include <sys/vfs.h>
16339 #endif
16340 #ifdef HAVE_SYS_STATFS_H
16341 # include <sys/statfs.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_STATFS_F_FFREE 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16353 #ifdef HAVE_SYS_PARAM_H
16354 # include <sys/param.h>
16355 #endif
16356 #ifdef HAVE_SYS_MOUNT_H
16357 # include <sys/mount.h>
16358 #endif
16359 #ifdef HAVE_SYS_VFS_H
16360 # include <sys/vfs.h>
16361 #endif
16362 #ifdef HAVE_SYS_STATFS_H
16363 # include <sys/statfs.h>
16364 #endif
16366 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16370 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16375 #ifdef HAVE_SYS_PARAM_H
16376 # include <sys/param.h>
16377 #endif
16378 #ifdef HAVE_SYS_MOUNT_H
16379 # include <sys/mount.h>
16380 #endif
16381 #ifdef HAVE_SYS_VFS_H
16382 # include <sys/vfs.h>
16383 #endif
16384 #ifdef HAVE_SYS_STATFS_H
16385 # include <sys/statfs.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16392 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16399 #include <sys/statvfs.h>
16400 #endif
16402 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16406 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16413 #include <dirent.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16420 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16438 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_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_sa_len" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16454 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16459 #ifdef HAVE_SYS_SOCKET_H
16460 # include <sys/socket.h>
16461 #endif
16462 #ifdef HAVE_SYS_UN_H
16463 # include <sys/un.h>
16464 #endif
16466 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16470 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16477 #ifdef HAVE_SCSI_SG_H
16478 #include <scsi/sg.h>
16479 #endif
16481 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_SCSIREQ_T_CMD 1
16485 _ACEOF
16489 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>
16490 #ifdef HAVE_SCSI_SG_H
16491 #include <scsi/sg.h>
16492 #endif
16494 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16498 _ACEOF
16504 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16506 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_SIGINFO_T_SI_FD 1
16510 _ACEOF
16516 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16517 #ifdef HAVE_SYS_MTIO_H
16518 #include <sys/mtio.h>
16519 #endif
16521 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16525 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16530 #ifdef HAVE_SYS_MTIO_H
16531 #include <sys/mtio.h>
16532 #endif
16534 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16538 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16543 #ifdef HAVE_SYS_MTIO_H
16544 #include <sys/mtio.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16558 #include <getopt.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_OPTION_NAME 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16576 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_MTIM 1
16585 _ACEOF
16589 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16594 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_CTIM 1
16603 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_STAT_ST_ATIM 1
16621 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16639 _ACEOF
16643 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16644 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16648 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16653 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16657 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16662 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16666 _ACEOF
16670 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16671 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16675 _ACEOF
16681 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
16682 #include <sys/types.h>
16683 #endif
16684 #ifdef HAVE_NETINET_IN_H
16685 #include <netinet/in.h>
16686 #endif
16688 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16692 _ACEOF
16698 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16699 #include <resolv.h>
16700 #endif
16702 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT___RES_STATE 1
16706 _ACEOF
16712 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
16713 #include <resolv.h>
16714 #endif
16716 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16720 _ACEOF
16726 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16727 #include <sys/types.h>
16728 #endif
16729 #ifdef HAVE_NETINET_IN_H
16730 # include <netinet/in.h>
16731 #endif
16732 #ifdef HAVE_ARPA_NAMESER_H
16733 # include <arpa/nameser.h>
16734 #endif
16736 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_NS_MSG__MSG_PTR 1
16740 _ACEOF
16746 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16747 #include <sys/types.h>
16748 #endif
16749 #ifdef HAVE_NETINET_IP_H
16750 #include <netinet/ip.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IP_ICMP_H
16753 #include <netinet/ip_icmp.h>
16754 #endif
16755 #ifdef HAVE_NETINET_ICMP_VAR_H
16756 #include <netinet/icmp_var.h>
16757 #endif
16759 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16763 _ACEOF
16769 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16770 #include <sys/types.h>
16771 #endif
16772 #ifdef HAVE_ALIAS_H
16773 #include <alias.h>
16774 #endif
16775 #ifdef HAVE_SYS_SOCKET_H
16776 #include <sys/socket.h>
16777 #endif
16778 #ifdef HAVE_SYS_SOCKETVAR_H
16779 #include <sys/socketvar.h>
16780 #endif
16781 #ifdef HAVE_SYS_TIMEOUT_H
16782 #include <sys/timeout.h>
16783 #endif
16784 #ifdef HAVE_NETINET_IN_H
16785 #include <netinet/in.h>
16786 #endif
16787 #ifdef HAVE_NETINET_IN_SYSTM_H
16788 #include <netinet/in_systm.h>
16789 #endif
16790 #ifdef HAVE_NETINET_IP_H
16791 #include <netinet/ip.h>
16792 #endif
16793 #ifdef HAVE_NETINET_IP_VAR_H
16794 #include <netinet/ip_var.h>
16795 #endif
16796 #ifdef HAVE_NETINET_IP_ICMP_H
16797 #include <netinet/ip_icmp.h>
16798 #endif
16799 #ifdef HAVE_NETINET_ICMP_VAR_H
16800 #include <netinet/icmp_var.h>
16801 #endif
16803 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16807 _ACEOF
16813 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16814 #include <sys/types.h>
16815 #endif
16816 #ifdef HAVE_SYS_SOCKETVAR_H
16817 #include <sys/socketvar.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IN_H
16820 #include <netinet/in.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IP_VAR_H
16823 #include <netinet/ip_var.h>
16824 #endif
16826 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16830 _ACEOF
16836 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
16837 #include <netinet/ip_var.h>
16838 #endif
16840 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16844 _ACEOF
16850 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16851 #include <sys/types.h>
16852 #endif
16853 #ifdef HAVE_SYS_SOCKETVAR_H
16854 #include <sys/socketvar.h>
16855 #endif
16856 #ifdef HAVE_NETINET_IN_H
16857 #include <netinet/in.h>
16858 #endif
16859 #ifdef HAVE_NETINET_TCP_H
16860 #include <netinet/tcp.h>
16861 #endif
16862 #ifdef HAVE_NETINET_TCP_VAR_H
16863 #include <netinet/tcp_var.h>
16864 #endif
16866 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16870 _ACEOF
16876 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
16877 #include <netinet/tcp_var.h>
16878 #endif
16880 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16884 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16891 #include <sys/types.h>
16892 #endif
16893 #ifdef HAVE_NETINET_IN_H
16894 #include <netinet/in.h>
16895 #endif
16896 #ifdef HAVE_NETINET_IP_VAR_H
16897 #include <netinet/ip_var.h>
16898 #endif
16899 #ifdef HAVE_NETINET_UDP_H
16900 #include <netinet/udp.h>
16901 #endif
16902 #ifdef HAVE_NETINET_UDP_VAR_H
16903 #include <netinet/udp_var.h>
16904 #endif
16906 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16910 _ACEOF
16916 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16917 #include <sys/types.h>
16918 #endif
16919 #ifdef HAVE_NET_IF_H
16920 # include <net/if.h>
16921 #endif
16923 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16927 _ACEOF
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16934 $as_echo_n "checking for timezone variable... " >&6; }
16935 if ${ac_cv_have_timezone+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <time.h>
16942 main ()
16944 timezone = 1
16946 return 0;
16948 _ACEOF
16949 if ac_fn_c_try_link "$LINENO"; then :
16950 ac_cv_have_timezone="yes"
16951 else
16952 ac_cv_have_timezone="no"
16954 rm -f core conftest.err conftest.$ac_objext \
16955 conftest$ac_exeext conftest.$ac_ext
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16958 $as_echo "$ac_cv_have_timezone" >&6; }
16959 if test "$ac_cv_have_timezone" = "yes"
16960 then
16962 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16966 $as_echo_n "checking for daylight variable... " >&6; }
16967 if ${ac_cv_have_daylight+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #include <time.h>
16974 main ()
16976 daylight = 1
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_have_daylight="yes"
16983 else
16984 ac_cv_have_daylight="no"
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16990 $as_echo "$ac_cv_have_daylight" >&6; }
16991 if test "$ac_cv_have_daylight" = "yes"
16992 then
16994 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16998 ac_save_LIBS="$LIBS"
16999 LIBS="$LIBS -lm"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17001 $as_echo_n "checking for isfinite... " >&6; }
17002 if ${ac_cv_have_isfinite+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #define _GNU_SOURCE
17008 #include <math.h>
17010 main ()
17012 float f = 0.0; return isfinite(f)
17014 return 0;
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_have_isfinite="yes"
17019 else
17020 ac_cv_have_isfinite="no"
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17026 $as_echo "$ac_cv_have_isfinite" >&6; }
17027 if test "$ac_cv_have_isfinite" = "yes"
17028 then
17030 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17035 $as_echo_n "checking for isinf... " >&6; }
17036 if ${ac_cv_have_isinf+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #include <math.h>
17043 main ()
17045 float f = 0.0; return isinf(f)
17047 return 0;
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 ac_cv_have_isinf="yes"
17052 else
17053 ac_cv_have_isinf="no"
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17059 $as_echo "$ac_cv_have_isinf" >&6; }
17060 if test "$ac_cv_have_isinf" = "yes"
17061 then
17063 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17068 $as_echo_n "checking for isnan... " >&6; }
17069 if ${ac_cv_have_isnan+:} false; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 #include <math.h>
17076 main ()
17078 float f = 0.0; return isnan(f)
17080 return 0;
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_have_isnan="yes"
17085 else
17086 ac_cv_have_isnan="no"
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17092 $as_echo "$ac_cv_have_isnan" >&6; }
17093 if test "$ac_cv_have_isnan" = "yes"
17094 then
17096 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17100 for ac_func in \
17101 asinh \
17102 asinhf \
17103 cbrt \
17104 cbrtf \
17105 erf \
17106 erff \
17107 exp2 \
17108 exp2f \
17109 lgamma \
17110 lgammaf \
17111 llrint \
17112 llrintf \
17113 llround \
17114 llroundf \
17115 log2 \
17116 log2f \
17117 lrint \
17118 lrintf \
17119 lround \
17120 lroundf \
17121 powl \
17122 remainder \
17123 remainderf \
17124 rint \
17125 rintf \
17126 round \
17127 roundf \
17128 trunc \
17129 truncf
17131 do :
17132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17137 _ACEOF
17140 done
17142 LIBS="$ac_save_LIBS"
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17145 $as_echo_n "checking for __builtin_clz... " >&6; }
17146 if ${ac_cv_have___builtin_clz+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17153 main ()
17155 return __builtin_clz(1)
17157 return 0;
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_have___builtin_clz="yes"
17162 else
17163 ac_cv_have___builtin_clz="no"
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17169 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17170 if test "$ac_cv_have___builtin_clz" = "yes"
17171 then
17173 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17178 $as_echo_n "checking for __builtin_popcount... " >&6; }
17179 if ${ac_cv_have___builtin_popcount+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17186 main ()
17188 return __builtin_popcount(1)
17190 return 0;
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_have___builtin_popcount="yes"
17195 else
17196 ac_cv_have___builtin_popcount="no"
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17202 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17203 if test "$ac_cv_have___builtin_popcount" = "yes"
17204 then
17206 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17211 case $host_cpu in
17212 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17213 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17214 if ${ac_cv_cpp_def___i386__+:} false; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 #ifndef __i386__
17221 #endif
17222 _ACEOF
17223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17224 $EGREP "yes" >/dev/null 2>&1; then :
17225 ac_cv_cpp_def___i386__=yes
17226 else
17227 ac_cv_cpp_def___i386__=no
17229 rm -f conftest*
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17233 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17234 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17235 CFLAGS="$CFLAGS -D__i386__"
17236 LINTFLAGS="$LINTFLAGS -D__i386__"
17237 fi ;;
17238 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17239 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17240 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17241 $as_echo_n "(cached) " >&6
17242 else
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 #ifndef __x86_64__
17247 #endif
17248 _ACEOF
17249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17250 $EGREP "yes" >/dev/null 2>&1; then :
17251 ac_cv_cpp_def___x86_64__=yes
17252 else
17253 ac_cv_cpp_def___x86_64__=no
17255 rm -f conftest*
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17259 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17260 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17261 CFLAGS="$CFLAGS -D__x86_64__"
17262 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17263 fi ;;
17264 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17265 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17266 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 #ifndef __sparc64__
17273 #endif
17274 _ACEOF
17275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17276 $EGREP "yes" >/dev/null 2>&1; then :
17277 ac_cv_cpp_def___sparc64__=yes
17278 else
17279 ac_cv_cpp_def___sparc64__=no
17281 rm -f conftest*
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17285 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17286 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17287 CFLAGS="$CFLAGS -D__sparc64__"
17288 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17289 fi ;;
17290 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17291 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17292 if ${ac_cv_cpp_def___sparc__+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #ifndef __sparc__
17299 #endif
17300 _ACEOF
17301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17302 $EGREP "yes" >/dev/null 2>&1; then :
17303 ac_cv_cpp_def___sparc__=yes
17304 else
17305 ac_cv_cpp_def___sparc__=no
17307 rm -f conftest*
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17311 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17312 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17313 CFLAGS="$CFLAGS -D__sparc__"
17314 LINTFLAGS="$LINTFLAGS -D__sparc__"
17315 fi ;;
17316 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17317 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17318 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 #ifndef __powerpc64__
17325 #endif
17326 _ACEOF
17327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17328 $EGREP "yes" >/dev/null 2>&1; then :
17329 ac_cv_cpp_def___powerpc64__=yes
17330 else
17331 ac_cv_cpp_def___powerpc64__=no
17333 rm -f conftest*
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17337 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17338 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17339 CFLAGS="$CFLAGS -D__powerpc64__"
17340 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17341 fi ;;
17342 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17343 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17344 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 #ifndef __powerpc__
17351 #endif
17352 _ACEOF
17353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17354 $EGREP "yes" >/dev/null 2>&1; then :
17355 ac_cv_cpp_def___powerpc__=yes
17356 else
17357 ac_cv_cpp_def___powerpc__=no
17359 rm -f conftest*
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17363 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17364 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17365 CFLAGS="$CFLAGS -D__powerpc__"
17366 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17367 fi ;;
17368 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17369 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17370 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17371 $as_echo_n "(cached) " >&6
17372 else
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #ifndef __aarch64__
17377 #endif
17378 _ACEOF
17379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17380 $EGREP "yes" >/dev/null 2>&1; then :
17381 ac_cv_cpp_def___aarch64__=yes
17382 else
17383 ac_cv_cpp_def___aarch64__=no
17385 rm -f conftest*
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17389 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17390 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17391 CFLAGS="$CFLAGS -D__aarch64__"
17392 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17393 fi ;;
17394 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17395 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17396 if ${ac_cv_cpp_def___arm__+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #ifndef __arm__
17403 #endif
17404 _ACEOF
17405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17406 $EGREP "yes" >/dev/null 2>&1; then :
17407 ac_cv_cpp_def___arm__=yes
17408 else
17409 ac_cv_cpp_def___arm__=no
17411 rm -f conftest*
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17415 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17416 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17417 CFLAGS="$CFLAGS -D__arm__"
17418 LINTFLAGS="$LINTFLAGS -D__arm__"
17419 fi ;;
17420 esac
17422 case $host_vendor in
17423 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17424 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17425 if ${ac_cv_cpp_def___sun__+:} false; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17430 #ifndef __sun__
17432 #endif
17433 _ACEOF
17434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17435 $EGREP "yes" >/dev/null 2>&1; then :
17436 ac_cv_cpp_def___sun__=yes
17437 else
17438 ac_cv_cpp_def___sun__=no
17440 rm -f conftest*
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17444 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17445 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17446 CFLAGS="$CFLAGS -D__sun__"
17447 LINTFLAGS="$LINTFLAGS -D__sun__"
17448 fi ;;
17449 esac
17455 ac_config_commands="$ac_config_commands include/stamp-h"
17457 $as_echo_n "creating Makefile rules..." >&6
17459 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17460 SOCKET_LIBS = $SOCKET_LIBS
17461 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17462 IOKIT_LIBS = $IOKIT_LIBS
17463 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17464 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17465 CORESERVICES_LIBS = $CORESERVICES_LIBS
17466 APPKIT_LIBS = $APPKIT_LIBS
17467 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17468 SECURITY_LIBS = $SECURITY_LIBS
17469 COREAUDIO_LIBS = $COREAUDIO_LIBS
17470 OPENAL_LIBS = $OPENAL_LIBS
17471 OPENCL_LIBS = $OPENCL_LIBS
17472 QUICKTIME_LIBS = $QUICKTIME_LIBS
17473 CARBON_LIBS = $CARBON_LIBS
17474 PTHREAD_LIBS = $PTHREAD_LIBS
17475 X_CFLAGS = $X_CFLAGS
17476 X_PRE_LIBS = $X_PRE_LIBS
17477 X_LIBS = $X_LIBS
17478 X_EXTRA_LIBS = $X_EXTRA_LIBS
17479 PCAP_LIBS = $PCAP_LIBS
17480 XML2_CFLAGS = $XML2_CFLAGS
17481 XML2_LIBS = $XML2_LIBS
17482 XSLT_CFLAGS = $XSLT_CFLAGS
17483 XSLT_LIBS = $XSLT_LIBS
17484 DBUS_CFLAGS = $DBUS_CFLAGS
17485 DBUS_LIBS = $DBUS_LIBS
17486 HAL_CFLAGS = $HAL_CFLAGS
17487 HAL_LIBS = $HAL_LIBS
17488 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17489 GNUTLS_LIBS = $GNUTLS_LIBS
17490 SANE_CFLAGS = $SANE_CFLAGS
17491 SANE_LIBS = $SANE_LIBS
17492 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17493 GPHOTO2_LIBS = $GPHOTO2_LIBS
17494 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17495 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17496 RESOLV_LIBS = $RESOLV_LIBS
17497 LCMS2_CFLAGS = $LCMS2_CFLAGS
17498 LCMS2_LIBS = $LCMS2_LIBS
17499 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17500 FREETYPE_LIBS = $FREETYPE_LIBS
17501 Z_LIBS = $Z_LIBS
17502 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17503 PULSE_CFLAGS = $PULSE_CFLAGS
17504 PULSE_LIBS = $PULSE_LIBS
17505 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17506 GSTREAMER_LIBS = $GSTREAMER_LIBS
17507 ALSA_LIBS = $ALSA_LIBS
17508 OSS4_CFLAGS = $OSS4_CFLAGS
17509 UDEV_CFLAGS = $UDEV_CFLAGS
17510 UDEV_LIBS = $UDEV_LIBS
17511 CAPI20_CFLAGS = $CAPI20_CFLAGS
17512 CAPI20_LIBS = $CAPI20_LIBS
17513 CUPS_CFLAGS = $CUPS_CFLAGS
17514 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17515 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17516 JPEG_CFLAGS = $JPEG_CFLAGS
17517 JPEG_LIBS = $JPEG_LIBS
17518 PNG_CFLAGS = $PNG_CFLAGS
17519 PNG_LIBS = $PNG_LIBS
17520 TIFF_CFLAGS = $TIFF_CFLAGS
17521 TIFF_LIBS = $TIFF_LIBS
17522 MPG123_CFLAGS = $MPG123_CFLAGS
17523 MPG123_LIBS = $MPG123_LIBS
17524 KSTAT_LIBS = $KSTAT_LIBS
17525 PROCSTAT_LIBS = $PROCSTAT_LIBS
17526 NETAPI_CFLAGS = $NETAPI_CFLAGS
17527 NETAPI_LIBS = $NETAPI_LIBS
17528 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17529 DL_LIBS = $DL_LIBS
17530 POLL_LIBS = $POLL_LIBS
17531 RT_LIBS = $RT_LIBS
17532 LDAP_LIBS = $LDAP_LIBS
17537 wine_fn_append_rule "
17538 # Rules automatically generated by configure
17540 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17542 .INIT: Makefile
17543 .MAKEFILEDEPS:
17544 all: Makefile
17545 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17546 @./config.status Make.tmp Makefile
17547 depend: \$(MAKEDEP) dummy
17548 \$(MAKEDEP)"
17550 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17551 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17553 if test "x$enable_fonts" != xno; then
17554 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17555 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17556 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17557 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17558 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17559 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17561 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17562 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17563 ac_config_links="$ac_config_links wine:tools/winewrapper"
17564 wine_fn_config_symlink wine
17565 if test "x$enable_win64" != xno; then
17566 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17567 wine_fn_config_symlink wine64
17570 wine_fn_config_dll acledit enable_acledit
17571 wine_fn_config_dll aclui enable_aclui implib
17572 wine_fn_config_dll activeds enable_activeds implib
17573 wine_fn_config_dll actxprxy enable_actxprxy clean
17574 wine_fn_config_lib adsiid
17575 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17576 wine_fn_config_test dlls/advapi32/tests advapi32_test
17577 wine_fn_config_dll advpack enable_advpack implib
17578 wine_fn_config_test dlls/advpack/tests advpack_test
17579 wine_fn_config_dll amstream enable_amstream clean
17580 wine_fn_config_test dlls/amstream/tests amstream_test
17581 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17582 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17584 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17589 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17591 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17593 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17600 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17605 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17606 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17607 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17610 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17617 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17624 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17627 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17628 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17635 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17638 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17642 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17644 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17646 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17647 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17655 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17660 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17664 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17666 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17667 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17669 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17680 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17681 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17687 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17688 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17702 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17707 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17708 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17711 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17712 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17713 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17714 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17715 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17716 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17717 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17718 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17719 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17720 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17721 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17722 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17723 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17724 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17725 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17726 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17727 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17728 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17729 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17730 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17731 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17732 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17733 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17734 wine_fn_config_dll apphelp enable_apphelp
17735 wine_fn_config_test dlls/apphelp/tests apphelp_test
17736 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17737 wine_fn_config_dll atl enable_atl clean,implib
17738 wine_fn_config_test dlls/atl/tests atl_test
17739 wine_fn_config_dll atl100 enable_atl100 clean,implib
17740 wine_fn_config_test dlls/atl100/tests atl100_test
17741 wine_fn_config_dll atl110 enable_atl110 clean
17742 wine_fn_config_dll atl80 enable_atl80 clean,implib
17743 wine_fn_config_test dlls/atl80/tests atl80_test
17744 wine_fn_config_dll atl90 enable_atl90 clean
17745 wine_fn_config_dll authz enable_authz
17746 wine_fn_config_dll avicap32 enable_avicap32 implib
17747 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17748 wine_fn_config_test dlls/avifil32/tests avifil32_test
17749 wine_fn_config_dll avifile.dll16 enable_win16
17750 wine_fn_config_dll avrt enable_avrt implib
17751 wine_fn_config_dll bcrypt enable_bcrypt implib
17752 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17753 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17754 wine_fn_config_dll browseui enable_browseui clean
17755 wine_fn_config_test dlls/browseui/tests browseui_test
17756 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17757 wine_fn_config_dll cabinet enable_cabinet implib
17758 wine_fn_config_test dlls/cabinet/tests cabinet_test
17759 wine_fn_config_dll capi2032 enable_capi2032 implib
17760 wine_fn_config_dll cards enable_cards implib
17761 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17762 wine_fn_config_dll clusapi enable_clusapi implib
17763 wine_fn_config_dll combase enable_combase
17764 wine_fn_config_test dlls/combase/tests combase_test
17765 wine_fn_config_dll comcat enable_comcat
17766 wine_fn_config_test dlls/comcat/tests comcat_test
17767 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17768 wine_fn_config_test dlls/comctl32/tests comctl32_test
17769 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17770 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17771 wine_fn_config_dll comm.drv16 enable_win16
17772 wine_fn_config_dll commdlg.dll16 enable_win16
17773 wine_fn_config_dll compobj.dll16 enable_win16
17774 wine_fn_config_dll compstui enable_compstui implib
17775 wine_fn_config_dll comsvcs enable_comsvcs implib
17776 wine_fn_config_dll concrt140 enable_concrt140
17777 wine_fn_config_dll connect enable_connect
17778 wine_fn_config_dll credui enable_credui clean,implib
17779 wine_fn_config_test dlls/credui/tests credui_test
17780 wine_fn_config_dll crtdll enable_crtdll
17781 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17782 wine_fn_config_test dlls/crypt32/tests crypt32_test
17783 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17784 wine_fn_config_dll cryptdll enable_cryptdll implib
17785 wine_fn_config_dll cryptext enable_cryptext
17786 wine_fn_config_dll cryptnet enable_cryptnet implib
17787 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17788 wine_fn_config_dll cryptui enable_cryptui clean,implib
17789 wine_fn_config_test dlls/cryptui/tests cryptui_test
17790 wine_fn_config_dll ctapi32 enable_ctapi32
17791 wine_fn_config_dll ctl3d.dll16 enable_win16
17792 wine_fn_config_dll ctl3d32 enable_ctl3d32
17793 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17794 wine_fn_config_dll d2d1 enable_d2d1 implib
17795 wine_fn_config_test dlls/d2d1/tests d2d1_test
17796 wine_fn_config_dll d3d10 enable_d3d10 implib
17797 wine_fn_config_test dlls/d3d10/tests d3d10_test
17798 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17799 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17800 wine_fn_config_dll d3d10core enable_d3d10core implib
17801 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17802 wine_fn_config_dll d3d11 enable_d3d11 implib
17803 wine_fn_config_test dlls/d3d11/tests d3d11_test
17804 wine_fn_config_dll d3d8 enable_d3d8 implib
17805 wine_fn_config_test dlls/d3d8/tests d3d8_test
17806 wine_fn_config_dll d3d9 enable_d3d9 implib
17807 wine_fn_config_test dlls/d3d9/tests d3d9_test
17808 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17809 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17810 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17811 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17812 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17813 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17814 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17815 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17816 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17817 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17818 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17819 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17820 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17821 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17822 wine_fn_config_dll d3dim enable_d3dim
17823 wine_fn_config_dll d3drm enable_d3drm implib
17824 wine_fn_config_test dlls/d3drm/tests d3drm_test
17825 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17826 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17827 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17828 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17829 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17830 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17831 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17832 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17833 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17834 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17835 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17836 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17837 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17838 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17839 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17840 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17841 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17842 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17843 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17844 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17845 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17846 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17847 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17848 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17849 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17850 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17851 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17852 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17853 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17854 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17855 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17856 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17857 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17858 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17859 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17860 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17861 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17862 wine_fn_config_dll davclnt enable_davclnt
17863 wine_fn_config_dll dbgeng enable_dbgeng implib
17864 wine_fn_config_dll dbghelp enable_dbghelp implib
17865 wine_fn_config_dll dciman32 enable_dciman32 implib
17866 wine_fn_config_dll ddeml.dll16 enable_win16
17867 wine_fn_config_dll ddraw enable_ddraw clean,implib
17868 wine_fn_config_test dlls/ddraw/tests ddraw_test
17869 wine_fn_config_dll ddrawex enable_ddrawex clean
17870 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17871 wine_fn_config_dll devenum enable_devenum clean
17872 wine_fn_config_test dlls/devenum/tests devenum_test
17873 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17874 wine_fn_config_dll difxapi enable_difxapi
17875 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17876 wine_fn_config_test dlls/dinput/tests dinput_test
17877 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17878 wine_fn_config_test dlls/dinput8/tests dinput8_test
17879 wine_fn_config_dll dispdib.dll16 enable_win16
17880 wine_fn_config_dll dispex enable_dispex clean
17881 wine_fn_config_test dlls/dispex/tests dispex_test
17882 wine_fn_config_dll display.drv16 enable_win16
17883 wine_fn_config_dll dmband enable_dmband clean
17884 wine_fn_config_test dlls/dmband/tests dmband_test
17885 wine_fn_config_dll dmcompos enable_dmcompos clean
17886 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17887 wine_fn_config_dll dmime enable_dmime clean
17888 wine_fn_config_test dlls/dmime/tests dmime_test
17889 wine_fn_config_dll dmloader enable_dmloader clean
17890 wine_fn_config_test dlls/dmloader/tests dmloader_test
17891 wine_fn_config_dll dmscript enable_dmscript clean
17892 wine_fn_config_test dlls/dmscript/tests dmscript_test
17893 wine_fn_config_dll dmstyle enable_dmstyle clean
17894 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17895 wine_fn_config_dll dmsynth enable_dmsynth clean
17896 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17897 wine_fn_config_dll dmusic enable_dmusic clean
17898 wine_fn_config_test dlls/dmusic/tests dmusic_test
17899 wine_fn_config_dll dmusic32 enable_dmusic32
17900 wine_fn_config_dll dnsapi enable_dnsapi implib
17901 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17902 wine_fn_config_dll dplay enable_dplay
17903 wine_fn_config_dll dplayx enable_dplayx clean,implib
17904 wine_fn_config_test dlls/dplayx/tests dplayx_test
17905 wine_fn_config_dll dpnaddr enable_dpnaddr
17906 wine_fn_config_dll dpnet enable_dpnet clean,implib
17907 wine_fn_config_test dlls/dpnet/tests dpnet_test
17908 wine_fn_config_dll dpnhpast enable_dpnhpast
17909 wine_fn_config_dll dpnlobby enable_dpnlobby
17910 wine_fn_config_dll dpvoice enable_dpvoice clean
17911 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17912 wine_fn_config_dll dpwsockx enable_dpwsockx
17913 wine_fn_config_dll drmclien enable_drmclien
17914 wine_fn_config_dll dsound enable_dsound clean,implib
17915 wine_fn_config_test dlls/dsound/tests dsound_test
17916 wine_fn_config_dll dssenh enable_dssenh
17917 wine_fn_config_test dlls/dssenh/tests dssenh_test
17918 wine_fn_config_dll dswave enable_dswave clean
17919 wine_fn_config_test dlls/dswave/tests dswave_test
17920 wine_fn_config_dll dwmapi enable_dwmapi implib
17921 wine_fn_config_dll dwrite enable_dwrite implib
17922 wine_fn_config_test dlls/dwrite/tests dwrite_test
17923 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17924 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17925 wine_fn_config_lib dxerr8
17926 wine_fn_config_lib dxerr9
17927 wine_fn_config_dll dxgi enable_dxgi implib
17928 wine_fn_config_test dlls/dxgi/tests dxgi_test
17929 wine_fn_config_lib dxguid
17930 wine_fn_config_dll dxva2 enable_dxva2
17931 wine_fn_config_dll esent enable_esent
17932 wine_fn_config_dll evr enable_evr
17933 wine_fn_config_dll explorerframe enable_explorerframe clean
17934 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17935 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17936 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17937 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17938 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17939 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17940 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17941 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17942 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17943 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17944 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17946 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17947 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17948 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17949 wine_fn_config_dll faultrep enable_faultrep implib
17950 wine_fn_config_test dlls/faultrep/tests faultrep_test
17951 wine_fn_config_dll fltlib enable_fltlib
17952 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17953 wine_fn_config_dll fntcache enable_fntcache
17954 wine_fn_config_dll fontsub enable_fontsub
17955 wine_fn_config_dll fusion enable_fusion
17956 wine_fn_config_test dlls/fusion/tests fusion_test
17957 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17958 wine_fn_config_dll gameux enable_gameux clean
17959 wine_fn_config_test dlls/gameux/tests gameux_test
17960 wine_fn_config_dll gdi.exe16 enable_win16
17961 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17962 wine_fn_config_test dlls/gdi32/tests gdi32_test
17963 wine_fn_config_dll gdiplus enable_gdiplus implib
17964 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17965 wine_fn_config_dll glu32 enable_glu32 implib
17966 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17967 wine_fn_config_dll gpkcsp enable_gpkcsp
17968 wine_fn_config_dll hal enable_hal
17969 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17970 wine_fn_config_dll hid enable_hid implib
17971 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17972 wine_fn_config_dll hlink enable_hlink clean,implib
17973 wine_fn_config_test dlls/hlink/tests hlink_test
17974 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17975 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17976 wine_fn_config_dll httpapi enable_httpapi
17977 wine_fn_config_dll iccvid enable_iccvid clean
17978 wine_fn_config_dll icmp enable_icmp
17979 wine_fn_config_dll ieframe enable_ieframe clean,implib
17980 wine_fn_config_test dlls/ieframe/tests ieframe_test
17981 wine_fn_config_dll ifsmgr.vxd enable_win16
17982 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17983 wine_fn_config_dll imagehlp enable_imagehlp implib
17984 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17985 wine_fn_config_dll imm.dll16 enable_win16
17986 wine_fn_config_dll imm32 enable_imm32 implib
17987 wine_fn_config_test dlls/imm32/tests imm32_test
17988 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17989 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17990 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17991 wine_fn_config_dll inetmib1 enable_inetmib1
17992 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17993 wine_fn_config_dll infosoft enable_infosoft clean
17994 wine_fn_config_test dlls/infosoft/tests infosoft_test
17995 wine_fn_config_dll initpki enable_initpki
17996 wine_fn_config_dll inkobj enable_inkobj
17997 wine_fn_config_dll inseng enable_inseng clean
17998 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17999 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18000 wine_fn_config_dll iprop enable_iprop
18001 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18002 wine_fn_config_dll itircl enable_itircl
18003 wine_fn_config_dll itss enable_itss clean
18004 wine_fn_config_test dlls/itss/tests itss_test
18005 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18006 wine_fn_config_dll jscript enable_jscript clean
18007 wine_fn_config_test dlls/jscript/tests jscript_test
18008 wine_fn_config_dll jsproxy enable_jsproxy implib
18009 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18010 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18011 wine_fn_config_test dlls/kernel32/tests kernel32_test
18012 wine_fn_config_dll kernelbase enable_kernelbase
18013 wine_fn_config_dll keyboard.drv16 enable_win16
18014 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18015 wine_fn_config_dll ksuser enable_ksuser
18016 wine_fn_config_dll ktmw32 enable_ktmw32
18017 wine_fn_config_dll loadperf enable_loadperf implib
18018 wine_fn_config_dll localspl enable_localspl clean
18019 wine_fn_config_test dlls/localspl/tests localspl_test
18020 wine_fn_config_dll localui enable_localui clean
18021 wine_fn_config_test dlls/localui/tests localui_test
18022 wine_fn_config_dll lz32 enable_lz32 implib
18023 wine_fn_config_test dlls/lz32/tests lz32_test
18024 wine_fn_config_dll lzexpand.dll16 enable_win16
18025 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18026 wine_fn_config_test dlls/mapi32/tests mapi32_test
18027 wine_fn_config_dll mapistub enable_mapistub
18028 wine_fn_config_dll mciavi32 enable_mciavi32
18029 wine_fn_config_dll mcicda enable_mcicda
18030 wine_fn_config_dll mciqtz32 enable_mciqtz32
18031 wine_fn_config_dll mciseq enable_mciseq
18032 wine_fn_config_dll mciwave enable_mciwave
18033 wine_fn_config_dll mf enable_mf
18034 wine_fn_config_dll mfplat enable_mfplat
18035 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18036 wine_fn_config_dll mgmtapi enable_mgmtapi
18037 wine_fn_config_dll midimap enable_midimap
18038 wine_fn_config_dll mlang enable_mlang clean,implib
18039 wine_fn_config_test dlls/mlang/tests mlang_test
18040 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18041 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18042 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18043 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18044 wine_fn_config_dll mmdevldr.vxd enable_win16
18045 wine_fn_config_dll mmsystem.dll16 enable_win16
18046 wine_fn_config_dll monodebg.vxd enable_win16
18047 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18048 wine_fn_config_dll mouse.drv16 enable_win16
18049 wine_fn_config_dll mpr enable_mpr clean,implib
18050 wine_fn_config_test dlls/mpr/tests mpr_test
18051 wine_fn_config_dll mprapi enable_mprapi implib
18052 wine_fn_config_dll msacm.dll16 enable_win16
18053 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18054 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18055 wine_fn_config_test dlls/msacm32/tests msacm32_test
18056 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18057 wine_fn_config_dll msasn1 enable_msasn1 implib
18058 wine_fn_config_dll mscat32 enable_mscat32
18059 wine_fn_config_dll mscms enable_mscms implib
18060 wine_fn_config_test dlls/mscms/tests mscms_test
18061 wine_fn_config_dll mscoree enable_mscoree clean
18062 wine_fn_config_test dlls/mscoree/tests mscoree_test
18063 wine_fn_config_dll msctf enable_msctf clean
18064 wine_fn_config_test dlls/msctf/tests msctf_test
18065 wine_fn_config_dll msctfp enable_msctfp clean
18066 wine_fn_config_dll msdaps enable_msdaps clean
18067 wine_fn_config_dll msdelta enable_msdelta
18068 wine_fn_config_dll msdmo enable_msdmo implib
18069 wine_fn_config_test dlls/msdmo/tests msdmo_test
18070 wine_fn_config_dll msdrm enable_msdrm
18071 wine_fn_config_dll msftedit enable_msftedit
18072 wine_fn_config_dll msg711.acm enable_msg711_acm
18073 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18074 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18075 wine_fn_config_dll mshtml enable_mshtml clean,implib
18076 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18077 wine_fn_config_dll msi enable_msi clean,implib
18078 wine_fn_config_test dlls/msi/tests msi_test
18079 wine_fn_config_dll msident enable_msident clean
18080 wine_fn_config_dll msimg32 enable_msimg32 implib
18081 wine_fn_config_dll msimsg enable_msimsg
18082 wine_fn_config_dll msimtf enable_msimtf clean
18083 wine_fn_config_dll msisip enable_msisip
18084 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18085 wine_fn_config_dll msls31 enable_msls31
18086 wine_fn_config_dll msnet32 enable_msnet32
18087 wine_fn_config_dll mspatcha enable_mspatcha implib
18088 wine_fn_config_dll msports enable_msports
18089 wine_fn_config_dll msrle32 enable_msrle32 clean
18090 wine_fn_config_test dlls/msrle32/tests msrle32_test
18091 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18092 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18093 wine_fn_config_dll mssign32 enable_mssign32
18094 wine_fn_config_dll mssip32 enable_mssip32
18095 wine_fn_config_dll mstask enable_mstask clean
18096 wine_fn_config_test dlls/mstask/tests mstask_test
18097 wine_fn_config_dll msvcirt enable_msvcirt
18098 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18099 wine_fn_config_dll msvcm80 enable_msvcm80
18100 wine_fn_config_dll msvcm90 enable_msvcm90
18101 wine_fn_config_dll msvcp100 enable_msvcp100
18102 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18103 wine_fn_config_dll msvcp110 enable_msvcp110
18104 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18105 wine_fn_config_dll msvcp120 enable_msvcp120
18106 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18107 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18108 wine_fn_config_dll msvcp140 enable_msvcp140
18109 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18110 wine_fn_config_dll msvcp60 enable_msvcp60
18111 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18112 wine_fn_config_dll msvcp70 enable_msvcp70
18113 wine_fn_config_dll msvcp71 enable_msvcp71
18114 wine_fn_config_dll msvcp80 enable_msvcp80
18115 wine_fn_config_dll msvcp90 enable_msvcp90
18116 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18117 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18118 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18119 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18120 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18121 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18122 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18123 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18124 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18125 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18126 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18127 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18128 wine_fn_config_dll msvcrt enable_msvcrt implib
18129 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18130 wine_fn_config_dll msvcrt20 enable_msvcrt20
18131 wine_fn_config_dll msvcrt40 enable_msvcrt40
18132 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18133 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18134 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18135 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18136 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18137 wine_fn_config_dll msvideo.dll16 enable_win16
18138 wine_fn_config_dll mswsock enable_mswsock implib
18139 wine_fn_config_dll msxml enable_msxml clean
18140 wine_fn_config_dll msxml2 enable_msxml2 clean
18141 wine_fn_config_dll msxml3 enable_msxml3 clean
18142 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18143 wine_fn_config_dll msxml4 enable_msxml4 clean
18144 wine_fn_config_dll msxml6 enable_msxml6 clean
18145 wine_fn_config_dll ncrypt enable_ncrypt
18146 wine_fn_config_dll nddeapi enable_nddeapi implib
18147 wine_fn_config_dll ndis.sys enable_ndis_sys
18148 wine_fn_config_dll netapi32 enable_netapi32 implib
18149 wine_fn_config_test dlls/netapi32/tests netapi32_test
18150 wine_fn_config_dll netcfgx enable_netcfgx clean
18151 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18152 wine_fn_config_dll netprofm enable_netprofm clean
18153 wine_fn_config_test dlls/netprofm/tests netprofm_test
18154 wine_fn_config_dll newdev enable_newdev implib
18155 wine_fn_config_dll normaliz enable_normaliz implib
18156 wine_fn_config_dll npmshtml enable_npmshtml
18157 wine_fn_config_dll npptools enable_npptools
18158 wine_fn_config_dll ntdll enable_ntdll implib
18159 wine_fn_config_test dlls/ntdll/tests ntdll_test
18160 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18161 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18162 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18163 wine_fn_config_dll ntprint enable_ntprint
18164 wine_fn_config_test dlls/ntprint/tests ntprint_test
18165 wine_fn_config_dll objsel enable_objsel clean
18166 wine_fn_config_dll odbc32 enable_odbc32 implib
18167 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18168 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18169 wine_fn_config_dll odbccu32 enable_odbccu32
18170 wine_fn_config_dll ole2.dll16 enable_win16
18171 wine_fn_config_dll ole2conv.dll16 enable_win16
18172 wine_fn_config_dll ole2disp.dll16 enable_win16
18173 wine_fn_config_dll ole2nls.dll16 enable_win16
18174 wine_fn_config_dll ole2prox.dll16 enable_win16
18175 wine_fn_config_dll ole2thk.dll16 enable_win16
18176 wine_fn_config_dll ole32 enable_ole32 clean,implib
18177 wine_fn_config_test dlls/ole32/tests ole32_test
18178 wine_fn_config_dll oleacc enable_oleacc clean,implib
18179 wine_fn_config_test dlls/oleacc/tests oleacc_test
18180 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18181 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18182 wine_fn_config_dll olecli.dll16 enable_win16
18183 wine_fn_config_dll olecli32 enable_olecli32 implib
18184 wine_fn_config_dll oledb32 enable_oledb32 clean
18185 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18186 wine_fn_config_dll oledlg enable_oledlg clean,implib
18187 wine_fn_config_test dlls/oledlg/tests oledlg_test
18188 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18189 wine_fn_config_dll olesvr.dll16 enable_win16
18190 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18191 wine_fn_config_dll olethk32 enable_olethk32
18192 wine_fn_config_dll openal32 enable_openal32
18193 wine_fn_config_dll opencl enable_opencl
18194 wine_fn_config_dll opengl32 enable_opengl32 implib
18195 wine_fn_config_test dlls/opengl32/tests opengl32_test
18196 wine_fn_config_dll packager enable_packager clean
18197 wine_fn_config_test dlls/packager/tests packager_test
18198 wine_fn_config_dll pdh enable_pdh implib
18199 wine_fn_config_test dlls/pdh/tests pdh_test
18200 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18201 wine_fn_config_dll pidgen enable_pidgen
18202 wine_fn_config_dll powrprof enable_powrprof implib
18203 wine_fn_config_dll printui enable_printui
18204 wine_fn_config_dll prntvpt enable_prntvpt
18205 wine_fn_config_dll propsys enable_propsys clean,implib
18206 wine_fn_config_test dlls/propsys/tests propsys_test
18207 wine_fn_config_dll psapi enable_psapi implib
18208 wine_fn_config_test dlls/psapi/tests psapi_test
18209 wine_fn_config_dll pstorec enable_pstorec clean
18210 wine_fn_config_dll qcap enable_qcap
18211 wine_fn_config_test dlls/qcap/tests qcap_test
18212 wine_fn_config_dll qedit enable_qedit clean
18213 wine_fn_config_test dlls/qedit/tests qedit_test
18214 wine_fn_config_dll qmgr enable_qmgr clean
18215 wine_fn_config_test dlls/qmgr/tests qmgr_test
18216 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18217 wine_fn_config_dll quartz enable_quartz clean,implib
18218 wine_fn_config_test dlls/quartz/tests quartz_test clean
18219 wine_fn_config_dll query enable_query
18220 wine_fn_config_dll rasapi16.dll16 enable_win16
18221 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18222 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18223 wine_fn_config_dll rasdlg enable_rasdlg implib
18224 wine_fn_config_dll regapi enable_regapi
18225 wine_fn_config_dll resutils enable_resutils implib
18226 wine_fn_config_dll riched20 enable_riched20 clean,implib
18227 wine_fn_config_test dlls/riched20/tests riched20_test
18228 wine_fn_config_dll riched32 enable_riched32
18229 wine_fn_config_test dlls/riched32/tests riched32_test
18230 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18231 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18232 wine_fn_config_dll rsabase enable_rsabase
18233 wine_fn_config_dll rsaenh enable_rsaenh implib
18234 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18235 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18236 wine_fn_config_dll rtutils enable_rtutils implib
18237 wine_fn_config_dll samlib enable_samlib
18238 wine_fn_config_dll sane.ds enable_sane_ds clean
18239 wine_fn_config_dll scarddlg enable_scarddlg
18240 wine_fn_config_dll sccbase enable_sccbase
18241 wine_fn_config_dll schannel enable_schannel
18242 wine_fn_config_test dlls/schannel/tests schannel_test
18243 wine_fn_config_dll schedsvc enable_schedsvc clean
18244 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18245 wine_fn_config_dll scrrun enable_scrrun clean
18246 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18247 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18248 wine_fn_config_dll secur32 enable_secur32 implib
18249 wine_fn_config_test dlls/secur32/tests secur32_test
18250 wine_fn_config_dll security enable_security
18251 wine_fn_config_dll sensapi enable_sensapi implib
18252 wine_fn_config_dll serialui enable_serialui clean
18253 wine_fn_config_test dlls/serialui/tests serialui_test
18254 wine_fn_config_dll setupapi enable_setupapi clean,implib
18255 wine_fn_config_test dlls/setupapi/tests setupapi_test
18256 wine_fn_config_dll setupx.dll16 enable_win16
18257 wine_fn_config_dll sfc enable_sfc implib
18258 wine_fn_config_dll sfc_os enable_sfc_os implib
18259 wine_fn_config_dll shdoclc enable_shdoclc clean
18260 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18261 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18262 wine_fn_config_dll shell.dll16 enable_win16
18263 wine_fn_config_dll shell32 enable_shell32 clean,implib
18264 wine_fn_config_test dlls/shell32/tests shell32_test
18265 wine_fn_config_dll shfolder enable_shfolder implib
18266 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18267 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18268 wine_fn_config_dll slbcsp enable_slbcsp
18269 wine_fn_config_dll slc enable_slc implib
18270 wine_fn_config_test dlls/slc/tests slc_test
18271 wine_fn_config_dll snmpapi enable_snmpapi implib
18272 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18273 wine_fn_config_dll softpub enable_softpub
18274 wine_fn_config_dll sound.drv16 enable_win16
18275 wine_fn_config_dll spoolss enable_spoolss implib
18276 wine_fn_config_test dlls/spoolss/tests spoolss_test
18277 wine_fn_config_dll sspicli enable_sspicli
18278 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18279 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18280 wine_fn_config_dll sti enable_sti clean,implib
18281 wine_fn_config_test dlls/sti/tests sti_test
18282 wine_fn_config_dll storage.dll16 enable_win16
18283 wine_fn_config_dll stress.dll16 enable_win16
18284 wine_fn_config_lib strmbase
18285 wine_fn_config_lib strmiids
18286 wine_fn_config_dll svrapi enable_svrapi
18287 wine_fn_config_dll sxs enable_sxs implib
18288 wine_fn_config_test dlls/sxs/tests sxs_test
18289 wine_fn_config_dll system.drv16 enable_win16
18290 wine_fn_config_dll t2embed enable_t2embed implib
18291 wine_fn_config_test dlls/t2embed/tests t2embed_test
18292 wine_fn_config_dll tapi32 enable_tapi32 implib
18293 wine_fn_config_dll taskschd enable_taskschd clean
18294 wine_fn_config_test dlls/taskschd/tests taskschd_test
18295 wine_fn_config_dll tdi.sys enable_tdi_sys
18296 wine_fn_config_dll toolhelp.dll16 enable_win16
18297 wine_fn_config_dll traffic enable_traffic
18298 wine_fn_config_dll twain.dll16 enable_win16
18299 wine_fn_config_dll twain_32 enable_twain_32
18300 wine_fn_config_test dlls/twain_32/tests twain_32_test
18301 wine_fn_config_dll typelib.dll16 enable_win16
18302 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18303 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18304 wine_fn_config_dll unicows enable_unicows implib
18305 wine_fn_config_dll updspapi enable_updspapi
18306 wine_fn_config_dll url enable_url implib
18307 wine_fn_config_dll urlmon enable_urlmon clean,implib
18308 wine_fn_config_test dlls/urlmon/tests urlmon_test
18309 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18310 wine_fn_config_dll user.exe16 enable_win16
18311 wine_fn_config_dll user32 enable_user32 clean,implib
18312 wine_fn_config_test dlls/user32/tests user32_test
18313 wine_fn_config_dll userenv enable_userenv implib
18314 wine_fn_config_test dlls/userenv/tests userenv_test
18315 wine_fn_config_dll usp10 enable_usp10 implib
18316 wine_fn_config_test dlls/usp10/tests usp10_test
18317 wine_fn_config_lib uuid
18318 wine_fn_config_dll uxtheme enable_uxtheme implib
18319 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18320 wine_fn_config_dll vbscript enable_vbscript clean
18321 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18322 wine_fn_config_dll vcomp enable_vcomp
18323 wine_fn_config_test dlls/vcomp/tests vcomp_test
18324 wine_fn_config_dll vcomp100 enable_vcomp100
18325 wine_fn_config_dll vcomp110 enable_vcomp110
18326 wine_fn_config_dll vcomp120 enable_vcomp120
18327 wine_fn_config_dll vcomp140 enable_vcomp140
18328 wine_fn_config_dll vcomp90 enable_vcomp90
18329 wine_fn_config_dll vcruntime140 enable_vcruntime140
18330 wine_fn_config_dll vdhcp.vxd enable_win16
18331 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18332 wine_fn_config_dll ver.dll16 enable_win16
18333 wine_fn_config_dll version enable_version implib
18334 wine_fn_config_test dlls/version/tests version_test
18335 wine_fn_config_dll vmm.vxd enable_win16
18336 wine_fn_config_dll vnbt.vxd enable_win16
18337 wine_fn_config_dll vnetbios.vxd enable_win16
18338 wine_fn_config_dll vssapi enable_vssapi
18339 wine_fn_config_dll vtdapi.vxd enable_win16
18340 wine_fn_config_dll vwin32.vxd enable_win16
18341 wine_fn_config_dll w32skrnl enable_win16
18342 wine_fn_config_dll w32sys.dll16 enable_win16
18343 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18344 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18345 wine_fn_config_dll wbemprox enable_wbemprox clean
18346 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18347 wine_fn_config_dll webservices enable_webservices implib
18348 wine_fn_config_test dlls/webservices/tests webservices_test
18349 wine_fn_config_dll wer enable_wer implib
18350 wine_fn_config_test dlls/wer/tests wer_test
18351 wine_fn_config_dll wevtapi enable_wevtapi
18352 wine_fn_config_dll wiaservc enable_wiaservc clean
18353 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18354 wine_fn_config_dll wimgapi enable_wimgapi
18355 wine_fn_config_dll win32s16.dll16 enable_win16
18356 wine_fn_config_dll win87em.dll16 enable_win16
18357 wine_fn_config_dll winaspi.dll16 enable_win16
18358 wine_fn_config_dll windebug.dll16 enable_win16
18359 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18360 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18361 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18362 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18363 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18364 wine_fn_config_dll winebus.sys enable_winebus_sys
18365 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18366 wine_fn_config_lib winecrt0
18367 wine_fn_config_dll wined3d enable_wined3d implib
18368 wine_fn_config_dll winegstreamer enable_winegstreamer
18369 wine_fn_config_dll winehid.sys enable_winehid_sys
18370 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18371 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18372 wine_fn_config_dll winemapi enable_winemapi
18373 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18374 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18375 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18376 wine_fn_config_dll wineps16.drv16 enable_win16
18377 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18378 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18379 wine_fn_config_dll winex11.drv enable_winex11_drv
18380 wine_fn_config_dll wing.dll16 enable_win16
18381 wine_fn_config_dll wing32 enable_wing32
18382 wine_fn_config_dll winhttp enable_winhttp clean,implib
18383 wine_fn_config_test dlls/winhttp/tests winhttp_test
18384 wine_fn_config_dll wininet enable_wininet clean,implib
18385 wine_fn_config_test dlls/wininet/tests wininet_test
18386 wine_fn_config_dll winmm enable_winmm clean,implib
18387 wine_fn_config_test dlls/winmm/tests winmm_test
18388 wine_fn_config_dll winnls.dll16 enable_win16
18389 wine_fn_config_dll winnls32 enable_winnls32 implib
18390 wine_fn_config_dll winscard enable_winscard implib
18391 wine_fn_config_dll winsock.dll16 enable_win16
18392 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18393 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18394 wine_fn_config_dll winsta enable_winsta
18395 wine_fn_config_dll wintab.dll16 enable_win16
18396 wine_fn_config_dll wintab32 enable_wintab32 implib
18397 wine_fn_config_test dlls/wintab32/tests wintab32_test
18398 wine_fn_config_dll wintrust enable_wintrust implib
18399 wine_fn_config_test dlls/wintrust/tests wintrust_test
18400 wine_fn_config_dll wlanapi enable_wlanapi
18401 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18402 wine_fn_config_test dlls/wldap32/tests wldap32_test
18403 wine_fn_config_dll wmasf enable_wmasf
18404 wine_fn_config_dll wmi enable_wmi
18405 wine_fn_config_dll wmiutils enable_wmiutils clean
18406 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18407 wine_fn_config_dll wmp enable_wmp clean
18408 wine_fn_config_test dlls/wmp/tests wmp_test
18409 wine_fn_config_dll wmvcore enable_wmvcore
18410 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18411 wine_fn_config_dll wow32 enable_win16 implib
18412 wine_fn_config_dll wpc enable_wpc clean
18413 wine_fn_config_test dlls/wpc/tests wpc_test
18414 wine_fn_config_dll wpcap enable_wpcap
18415 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18416 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18417 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18418 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18419 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18420 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18421 wine_fn_config_dll wsock32 enable_wsock32 implib
18422 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18423 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18424 wine_fn_config_dll wuapi enable_wuapi clean
18425 wine_fn_config_dll wuaueng enable_wuaueng
18426 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18427 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18428 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18429 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18430 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18431 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18432 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18433 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18434 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18435 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18436 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18437 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18438 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18439 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18440 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18441 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18442 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18443 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18444 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18445 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18446 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18447 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18448 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18449 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18450 wine_fn_config_dll xinput1_1 enable_xinput1_1
18451 wine_fn_config_dll xinput1_2 enable_xinput1_2
18452 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18453 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18454 wine_fn_config_dll xinput1_4 enable_xinput1_4
18455 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18456 wine_fn_config_dll xmllite enable_xmllite implib
18457 wine_fn_config_test dlls/xmllite/tests xmllite_test
18458 wine_fn_config_dll xolehlp enable_xolehlp
18459 wine_fn_config_dll xpsprint enable_xpsprint
18460 wine_fn_config_dll xpssvcs enable_xpssvcs
18461 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18462 wine_fn_config_makefile include enable_include clean,install-dev
18463 wine_fn_config_makefile libs/port enable_libs_port
18464 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18465 wine_fn_config_makefile libs/wpp enable_libs_wpp
18466 wine_fn_config_makefile loader enable_loader clean,install-lib
18467 wine_fn_config_makefile po enable_po clean
18468 wine_fn_config_program arp enable_arp install
18469 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18470 wine_fn_config_program attrib enable_attrib clean,install
18471 wine_fn_config_program cabarc enable_cabarc install
18472 wine_fn_config_program cacls enable_cacls install
18473 wine_fn_config_program clock enable_clock clean,install
18474 wine_fn_config_program cmd enable_cmd clean,install
18475 wine_fn_config_test programs/cmd/tests cmd.exe_test
18476 wine_fn_config_program conhost enable_conhost install
18477 wine_fn_config_program control enable_control install
18478 wine_fn_config_program cscript enable_cscript clean,install
18479 wine_fn_config_program dpnsvr enable_dpnsvr install
18480 wine_fn_config_program dxdiag enable_dxdiag clean,install
18481 wine_fn_config_program eject enable_eject install
18482 wine_fn_config_program expand enable_expand install
18483 wine_fn_config_program explorer enable_explorer clean,install
18484 wine_fn_config_program extrac32 enable_extrac32 install
18485 wine_fn_config_program findstr enable_findstr install
18486 wine_fn_config_program fsutil enable_fsutil install
18487 wine_fn_config_program hh enable_hh install
18488 wine_fn_config_program hostname enable_hostname clean,install
18489 wine_fn_config_program icacls enable_icacls install
18490 wine_fn_config_program icinfo enable_icinfo install
18491 wine_fn_config_program iexplore enable_iexplore install
18492 wine_fn_config_program ipconfig enable_ipconfig clean,install
18493 wine_fn_config_program lodctr enable_lodctr install
18494 wine_fn_config_program mofcomp enable_mofcomp install
18495 wine_fn_config_program mshta enable_mshta install
18496 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18497 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18498 wine_fn_config_program net enable_net clean,install
18499 wine_fn_config_program netsh enable_netsh install
18500 wine_fn_config_program netstat enable_netstat clean,install
18501 wine_fn_config_program ngen enable_ngen install
18502 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18503 wine_fn_config_program oleview enable_oleview clean,install
18504 wine_fn_config_program ping enable_ping install
18505 wine_fn_config_program plugplay enable_plugplay install
18506 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18507 wine_fn_config_program progman enable_progman clean,install
18508 wine_fn_config_program reg enable_reg clean,install
18509 wine_fn_config_test programs/reg/tests reg.exe_test
18510 wine_fn_config_program regasm enable_regasm install
18511 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18512 wine_fn_config_test programs/regedit/tests regedit.exe_test
18513 wine_fn_config_program regsvcs enable_regsvcs install
18514 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18515 wine_fn_config_program rpcss enable_rpcss clean,install
18516 wine_fn_config_program rundll.exe16 enable_win16 install
18517 wine_fn_config_program rundll32 enable_rundll32 install
18518 wine_fn_config_program sc enable_sc install
18519 wine_fn_config_program schtasks enable_schtasks install
18520 wine_fn_config_program sdbinst enable_sdbinst install
18521 wine_fn_config_program secedit enable_secedit install
18522 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18523 wine_fn_config_program services enable_services clean,install
18524 wine_fn_config_test programs/services/tests services.exe_test
18525 wine_fn_config_program shutdown enable_shutdown install
18526 wine_fn_config_program spoolsv enable_spoolsv install
18527 wine_fn_config_program start enable_start clean,install
18528 wine_fn_config_program subst enable_subst install
18529 wine_fn_config_program svchost enable_svchost install
18530 wine_fn_config_program systeminfo enable_systeminfo install
18531 wine_fn_config_program taskkill enable_taskkill clean,install
18532 wine_fn_config_program tasklist enable_tasklist install
18533 wine_fn_config_program taskmgr enable_taskmgr clean,install
18534 wine_fn_config_program termsv enable_termsv install
18535 wine_fn_config_program uninstaller enable_uninstaller clean,install
18536 wine_fn_config_program unlodctr enable_unlodctr install
18537 wine_fn_config_program view enable_view clean,install
18538 wine_fn_config_program wevtutil enable_wevtutil install
18539 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18540 wine_fn_config_program winebrowser enable_winebrowser install
18541 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18542 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18543 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18544 wine_fn_config_program winedevice enable_winedevice install
18545 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18546 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18547 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18548 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18549 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18550 wine_fn_config_program winetest enable_winetest clean
18551 wine_fn_config_program winevdm enable_win16 install
18552 wine_fn_config_program winhelp.exe16 enable_win16 install
18553 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18554 wine_fn_config_program winoldap.mod16 enable_win16 install
18555 wine_fn_config_program winver enable_winver install
18556 wine_fn_config_program wmic enable_wmic clean,install
18557 wine_fn_config_program wmplayer enable_wmplayer install
18558 wine_fn_config_program wordpad enable_wordpad clean,install
18559 wine_fn_config_program write enable_write clean,install
18560 wine_fn_config_program wscript enable_wscript clean,install
18561 wine_fn_config_test programs/wscript/tests wscript.exe_test
18562 wine_fn_config_program wusa enable_wusa install
18563 wine_fn_config_program xcopy enable_xcopy clean,install
18564 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18565 wine_fn_config_makefile server enable_server clean,install-lib
18566 wine_fn_config_tool tools clean
18567 wine_fn_config_tool tools/sfnt2fon clean
18568 wine_fn_config_tool tools/widl clean,install-dev
18569 wine_fn_config_tool tools/winebuild clean,install-dev
18570 wine_fn_config_tool tools/winedump clean,install-dev
18571 wine_fn_config_tool tools/winegcc clean,install-dev
18572 wine_fn_config_tool tools/winemaker clean,install-dev
18573 wine_fn_config_tool tools/wmc clean,install-dev
18574 wine_fn_config_tool tools/wrc clean,install-dev
18577 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18578 wine_fn_append_file CONFIGURE_TARGETS "tags"
18579 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18580 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18581 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18582 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18583 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18584 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18586 if test "x$enable_tools" != xno
18587 then
18588 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18589 ac_config_commands="$ac_config_commands tools/makedep"
18593 ac_config_commands="$ac_config_commands Makefile"
18596 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18600 if test "x$enable_maintainer_mode" = xyes
18601 then
18602 wine_fn_append_rule "configure: configure.ac aclocal.m4
18603 autoconf --warnings=all
18604 include/config.h.in: include/stamp-h.in
18605 include/stamp-h.in: configure.ac aclocal.m4
18606 autoheader --warnings=all
18607 @echo timestamp > \$@"
18610 if test "x$enable_tools" != xno
18611 then
18612 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18613 @./config.status tools/makedep
18614 Makefile: tools/makedep$ac_exeext"
18615 else
18616 wine_fn_append_rule "\$(MAKEDEP):
18617 @echo \"You need to run make in $TOOLSDIR first\" && false"
18620 if test -n "$with_wine64"
18621 then
18622 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18623 fonts server:
18624 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18625 $with_wine64/loader/wine:
18626 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18627 $with_wine64/loader/wine-preloader:
18628 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18629 clean::
18630 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18631 else
18632 WINELOADER_INSTALL="wine.inf"
18634 wine_fn_append_rule "install install-lib::
18635 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18636 uninstall::
18637 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18638 case $host_os in
18639 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18640 *) wine_fn_append_rule "install install-lib::
18641 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18642 uninstall::
18643 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18644 esac
18647 $as_echo " done" >&6
18648 cat >confcache <<\_ACEOF
18649 # This file is a shell script that caches the results of configure
18650 # tests run on this system so they can be shared between configure
18651 # scripts and configure runs, see configure's option --config-cache.
18652 # It is not useful on other systems. If it contains results you don't
18653 # want to keep, you may remove or edit it.
18655 # config.status only pays attention to the cache file if you give it
18656 # the --recheck option to rerun configure.
18658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18660 # following values.
18662 _ACEOF
18664 # The following way of writing the cache mishandles newlines in values,
18665 # but we know of no workaround that is simple, portable, and efficient.
18666 # So, we kill variables containing newlines.
18667 # Ultrix sh set writes to stderr and can't be redirected directly,
18668 # and sets the high bit in the cache file unless we assign to the vars.
18670 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18671 eval ac_val=\$$ac_var
18672 case $ac_val in #(
18673 *${as_nl}*)
18674 case $ac_var in #(
18675 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18676 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18677 esac
18678 case $ac_var in #(
18679 _ | IFS | as_nl) ;; #(
18680 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18681 *) { eval $ac_var=; unset $ac_var;} ;;
18682 esac ;;
18683 esac
18684 done
18686 (set) 2>&1 |
18687 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18688 *${as_nl}ac_space=\ *)
18689 # `set' does not quote correctly, so add quotes: double-quote
18690 # substitution turns \\\\ into \\, and sed turns \\ into \.
18691 sed -n \
18692 "s/'/'\\\\''/g;
18693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18694 ;; #(
18696 # `set' quotes correctly as required by POSIX, so do not add quotes.
18697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18699 esac |
18700 sort
18702 sed '
18703 /^ac_cv_env_/b end
18704 t clear
18705 :clear
18706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18707 t end
18708 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18709 :end' >>confcache
18710 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18711 if test -w "$cache_file"; then
18712 if test "x$cache_file" != "x/dev/null"; then
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18714 $as_echo "$as_me: updating cache $cache_file" >&6;}
18715 if test ! -f "$cache_file" || test -h "$cache_file"; then
18716 cat confcache >"$cache_file"
18717 else
18718 case $cache_file in #(
18719 */* | ?:*)
18720 mv -f confcache "$cache_file"$$ &&
18721 mv -f "$cache_file"$$ "$cache_file" ;; #(
18723 mv -f confcache "$cache_file" ;;
18724 esac
18727 else
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18729 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18732 rm -f confcache
18734 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18735 # Let make expand exec_prefix.
18736 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18738 DEFS=-DHAVE_CONFIG_H
18740 ac_libobjs=
18741 ac_ltlibobjs=
18743 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18744 # 1. Remove the extension, and $U if already installed.
18745 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18746 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18747 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18748 # will be set to the directory where LIBOBJS objects are built.
18749 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18750 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18751 done
18752 LIBOBJS=$ac_libobjs
18754 LTLIBOBJS=$ac_ltlibobjs
18758 : "${CONFIG_STATUS=./config.status}"
18759 ac_write_fail=0
18760 ac_clean_files_save=$ac_clean_files
18761 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18763 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18764 as_write_fail=0
18765 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18766 #! $SHELL
18767 # Generated by $as_me.
18768 # Run this file to recreate the current configuration.
18769 # Compiler output produced by configure, useful for debugging
18770 # configure, is in config.log if it exists.
18772 debug=false
18773 ac_cs_recheck=false
18774 ac_cs_silent=false
18776 SHELL=\${CONFIG_SHELL-$SHELL}
18777 export SHELL
18778 _ASEOF
18779 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18780 ## -------------------- ##
18781 ## M4sh Initialization. ##
18782 ## -------------------- ##
18784 # Be more Bourne compatible
18785 DUALCASE=1; export DUALCASE # for MKS sh
18786 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18787 emulate sh
18788 NULLCMD=:
18789 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18790 # is contrary to our usage. Disable this feature.
18791 alias -g '${1+"$@"}'='"$@"'
18792 setopt NO_GLOB_SUBST
18793 else
18794 case `(set -o) 2>/dev/null` in #(
18795 *posix*) :
18796 set -o posix ;; #(
18797 *) :
18799 esac
18803 as_nl='
18805 export as_nl
18806 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18807 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18810 # Prefer a ksh shell builtin over an external printf program on Solaris,
18811 # but without wasting forks for bash or zsh.
18812 if test -z "$BASH_VERSION$ZSH_VERSION" \
18813 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18814 as_echo='print -r --'
18815 as_echo_n='print -rn --'
18816 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18817 as_echo='printf %s\n'
18818 as_echo_n='printf %s'
18819 else
18820 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18821 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18822 as_echo_n='/usr/ucb/echo -n'
18823 else
18824 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18825 as_echo_n_body='eval
18826 arg=$1;
18827 case $arg in #(
18828 *"$as_nl"*)
18829 expr "X$arg" : "X\\(.*\\)$as_nl";
18830 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18831 esac;
18832 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18834 export as_echo_n_body
18835 as_echo_n='sh -c $as_echo_n_body as_echo'
18837 export as_echo_body
18838 as_echo='sh -c $as_echo_body as_echo'
18841 # The user is always right.
18842 if test "${PATH_SEPARATOR+set}" != set; then
18843 PATH_SEPARATOR=:
18844 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18845 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18846 PATH_SEPARATOR=';'
18851 # IFS
18852 # We need space, tab and new line, in precisely that order. Quoting is
18853 # there to prevent editors from complaining about space-tab.
18854 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18855 # splitting by setting IFS to empty value.)
18856 IFS=" "" $as_nl"
18858 # Find who we are. Look in the path if we contain no directory separator.
18859 as_myself=
18860 case $0 in #((
18861 *[\\/]* ) as_myself=$0 ;;
18862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18863 for as_dir in $PATH
18865 IFS=$as_save_IFS
18866 test -z "$as_dir" && as_dir=.
18867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18868 done
18869 IFS=$as_save_IFS
18872 esac
18873 # We did not find ourselves, most probably we were run as `sh COMMAND'
18874 # in which case we are not to be found in the path.
18875 if test "x$as_myself" = x; then
18876 as_myself=$0
18878 if test ! -f "$as_myself"; then
18879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18880 exit 1
18883 # Unset variables that we do not need and which cause bugs (e.g. in
18884 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18885 # suppresses any "Segmentation fault" message there. '((' could
18886 # trigger a bug in pdksh 5.2.14.
18887 for as_var in BASH_ENV ENV MAIL MAILPATH
18888 do eval test x\${$as_var+set} = xset \
18889 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18890 done
18891 PS1='$ '
18892 PS2='> '
18893 PS4='+ '
18895 # NLS nuisances.
18896 LC_ALL=C
18897 export LC_ALL
18898 LANGUAGE=C
18899 export LANGUAGE
18901 # CDPATH.
18902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18905 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18906 # ----------------------------------------
18907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18909 # script with STATUS, using 1 if that was 0.
18910 as_fn_error ()
18912 as_status=$1; test $as_status -eq 0 && as_status=1
18913 if test "$4"; then
18914 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18917 $as_echo "$as_me: error: $2" >&2
18918 as_fn_exit $as_status
18919 } # as_fn_error
18922 # as_fn_set_status STATUS
18923 # -----------------------
18924 # Set $? to STATUS, without forking.
18925 as_fn_set_status ()
18927 return $1
18928 } # as_fn_set_status
18930 # as_fn_exit STATUS
18931 # -----------------
18932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18933 as_fn_exit ()
18935 set +e
18936 as_fn_set_status $1
18937 exit $1
18938 } # as_fn_exit
18940 # as_fn_unset VAR
18941 # ---------------
18942 # Portably unset VAR.
18943 as_fn_unset ()
18945 { eval $1=; unset $1;}
18947 as_unset=as_fn_unset
18948 # as_fn_append VAR VALUE
18949 # ----------------------
18950 # Append the text in VALUE to the end of the definition contained in VAR. Take
18951 # advantage of any shell optimizations that allow amortized linear growth over
18952 # repeated appends, instead of the typical quadratic growth present in naive
18953 # implementations.
18954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18955 eval 'as_fn_append ()
18957 eval $1+=\$2
18959 else
18960 as_fn_append ()
18962 eval $1=\$$1\$2
18964 fi # as_fn_append
18966 # as_fn_arith ARG...
18967 # ------------------
18968 # Perform arithmetic evaluation on the ARGs, and store the result in the
18969 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18970 # must be portable across $(()) and expr.
18971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18972 eval 'as_fn_arith ()
18974 as_val=$(( $* ))
18976 else
18977 as_fn_arith ()
18979 as_val=`expr "$@" || test $? -eq 1`
18981 fi # as_fn_arith
18984 if expr a : '\(a\)' >/dev/null 2>&1 &&
18985 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18986 as_expr=expr
18987 else
18988 as_expr=false
18991 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18992 as_basename=basename
18993 else
18994 as_basename=false
18997 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18998 as_dirname=dirname
18999 else
19000 as_dirname=false
19003 as_me=`$as_basename -- "$0" ||
19004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19005 X"$0" : 'X\(//\)$' \| \
19006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19007 $as_echo X/"$0" |
19008 sed '/^.*\/\([^/][^/]*\)\/*$/{
19009 s//\1/
19012 /^X\/\(\/\/\)$/{
19013 s//\1/
19016 /^X\/\(\/\).*/{
19017 s//\1/
19020 s/.*/./; q'`
19022 # Avoid depending upon Character Ranges.
19023 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19024 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19025 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19026 as_cr_digits='0123456789'
19027 as_cr_alnum=$as_cr_Letters$as_cr_digits
19029 ECHO_C= ECHO_N= ECHO_T=
19030 case `echo -n x` in #(((((
19031 -n*)
19032 case `echo 'xy\c'` in
19033 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19034 xy) ECHO_C='\c';;
19035 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19036 ECHO_T=' ';;
19037 esac;;
19039 ECHO_N='-n';;
19040 esac
19042 rm -f conf$$ conf$$.exe conf$$.file
19043 if test -d conf$$.dir; then
19044 rm -f conf$$.dir/conf$$.file
19045 else
19046 rm -f conf$$.dir
19047 mkdir conf$$.dir 2>/dev/null
19049 if (echo >conf$$.file) 2>/dev/null; then
19050 if ln -s conf$$.file conf$$ 2>/dev/null; then
19051 as_ln_s='ln -s'
19052 # ... but there are two gotchas:
19053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19055 # In both cases, we have to default to `cp -pR'.
19056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19057 as_ln_s='cp -pR'
19058 elif ln conf$$.file conf$$ 2>/dev/null; then
19059 as_ln_s=ln
19060 else
19061 as_ln_s='cp -pR'
19063 else
19064 as_ln_s='cp -pR'
19066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19067 rmdir conf$$.dir 2>/dev/null
19070 # as_fn_mkdir_p
19071 # -------------
19072 # Create "$as_dir" as a directory, including parents if necessary.
19073 as_fn_mkdir_p ()
19076 case $as_dir in #(
19077 -*) as_dir=./$as_dir;;
19078 esac
19079 test -d "$as_dir" || eval $as_mkdir_p || {
19080 as_dirs=
19081 while :; do
19082 case $as_dir in #(
19083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19084 *) as_qdir=$as_dir;;
19085 esac
19086 as_dirs="'$as_qdir' $as_dirs"
19087 as_dir=`$as_dirname -- "$as_dir" ||
19088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19089 X"$as_dir" : 'X\(//\)[^/]' \| \
19090 X"$as_dir" : 'X\(//\)$' \| \
19091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19092 $as_echo X"$as_dir" |
19093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19094 s//\1/
19097 /^X\(\/\/\)[^/].*/{
19098 s//\1/
19101 /^X\(\/\/\)$/{
19102 s//\1/
19105 /^X\(\/\).*/{
19106 s//\1/
19109 s/.*/./; q'`
19110 test -d "$as_dir" && break
19111 done
19112 test -z "$as_dirs" || eval "mkdir $as_dirs"
19113 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19116 } # as_fn_mkdir_p
19117 if mkdir -p . 2>/dev/null; then
19118 as_mkdir_p='mkdir -p "$as_dir"'
19119 else
19120 test -d ./-p && rmdir ./-p
19121 as_mkdir_p=false
19125 # as_fn_executable_p FILE
19126 # -----------------------
19127 # Test if FILE is an executable regular file.
19128 as_fn_executable_p ()
19130 test -f "$1" && test -x "$1"
19131 } # as_fn_executable_p
19132 as_test_x='test -x'
19133 as_executable_p=as_fn_executable_p
19135 # Sed expression to map a string onto a valid CPP name.
19136 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19138 # Sed expression to map a string onto a valid variable name.
19139 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19142 exec 6>&1
19143 ## ----------------------------------- ##
19144 ## Main body of $CONFIG_STATUS script. ##
19145 ## ----------------------------------- ##
19146 _ASEOF
19147 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19150 # Save the log message, to keep $0 and so on meaningful, and to
19151 # report actual input values of CONFIG_FILES etc. instead of their
19152 # values after options handling.
19153 ac_log="
19154 This file was extended by Wine $as_me 1.9.22, which was
19155 generated by GNU Autoconf 2.69. Invocation command line was
19157 CONFIG_FILES = $CONFIG_FILES
19158 CONFIG_HEADERS = $CONFIG_HEADERS
19159 CONFIG_LINKS = $CONFIG_LINKS
19160 CONFIG_COMMANDS = $CONFIG_COMMANDS
19161 $ $0 $@
19163 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19166 _ACEOF
19168 case $ac_config_files in *"
19169 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19170 esac
19172 case $ac_config_headers in *"
19173 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19174 esac
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19178 # Files that config.status was made for.
19179 config_files="$ac_config_files"
19180 config_headers="$ac_config_headers"
19181 config_links="$ac_config_links"
19182 config_commands="$ac_config_commands"
19184 _ACEOF
19186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19187 ac_cs_usage="\
19188 \`$as_me' instantiates files and other configuration actions
19189 from templates according to the current configuration. Unless the files
19190 and actions are specified as TAGs, all are instantiated by default.
19192 Usage: $0 [OPTION]... [TAG]...
19194 -h, --help print this help, then exit
19195 -V, --version print version number and configuration settings, then exit
19196 --config print configuration, then exit
19197 -q, --quiet, --silent
19198 do not print progress messages
19199 -d, --debug don't remove temporary files
19200 --recheck update $as_me by reconfiguring in the same conditions
19201 --file=FILE[:TEMPLATE]
19202 instantiate the configuration file FILE
19203 --header=FILE[:TEMPLATE]
19204 instantiate the configuration header FILE
19206 Configuration files:
19207 $config_files
19209 Configuration headers:
19210 $config_headers
19212 Configuration links:
19213 $config_links
19215 Configuration commands:
19216 $config_commands
19218 Report bugs to <wine-devel@winehq.org>.
19219 Wine home page: <http://www.winehq.org>."
19221 _ACEOF
19222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19223 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19224 ac_cs_version="\\
19225 Wine config.status 1.9.22
19226 configured by $0, generated by GNU Autoconf 2.69,
19227 with options \\"\$ac_cs_config\\"
19229 Copyright (C) 2012 Free Software Foundation, Inc.
19230 This config.status script is free software; the Free Software Foundation
19231 gives unlimited permission to copy, distribute and modify it."
19233 ac_pwd='$ac_pwd'
19234 srcdir='$srcdir'
19235 test -n "\$AWK" || AWK=awk
19236 _ACEOF
19238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19239 # The default lists apply if the user does not specify any file.
19240 ac_need_defaults=:
19241 while test $# != 0
19243 case $1 in
19244 --*=?*)
19245 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19246 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19247 ac_shift=:
19249 --*=)
19250 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19251 ac_optarg=
19252 ac_shift=:
19255 ac_option=$1
19256 ac_optarg=$2
19257 ac_shift=shift
19259 esac
19261 case $ac_option in
19262 # Handling of the options.
19263 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19264 ac_cs_recheck=: ;;
19265 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19266 $as_echo "$ac_cs_version"; exit ;;
19267 --config | --confi | --conf | --con | --co | --c )
19268 $as_echo "$ac_cs_config"; exit ;;
19269 --debug | --debu | --deb | --de | --d | -d )
19270 debug=: ;;
19271 --file | --fil | --fi | --f )
19272 $ac_shift
19273 case $ac_optarg in
19274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19275 '') as_fn_error $? "missing file argument" ;;
19276 esac
19277 as_fn_append CONFIG_FILES " '$ac_optarg'"
19278 ac_need_defaults=false;;
19279 --header | --heade | --head | --hea )
19280 $ac_shift
19281 case $ac_optarg in
19282 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19283 esac
19284 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19285 ac_need_defaults=false;;
19286 --he | --h)
19287 # Conflict between --help and --header
19288 as_fn_error $? "ambiguous option: \`$1'
19289 Try \`$0 --help' for more information.";;
19290 --help | --hel | -h )
19291 $as_echo "$ac_cs_usage"; exit ;;
19292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19293 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19294 ac_cs_silent=: ;;
19296 # This is an error.
19297 -*) as_fn_error $? "unrecognized option: \`$1'
19298 Try \`$0 --help' for more information." ;;
19300 *) as_fn_append ac_config_targets " $1"
19301 ac_need_defaults=false ;;
19303 esac
19304 shift
19305 done
19307 ac_configure_extra_args=
19309 if $ac_cs_silent; then
19310 exec 6>/dev/null
19311 ac_configure_extra_args="$ac_configure_extra_args --silent"
19314 _ACEOF
19315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19316 if \$ac_cs_recheck; then
19317 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19318 shift
19319 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19320 CONFIG_SHELL='$SHELL'
19321 export CONFIG_SHELL
19322 exec "\$@"
19325 _ACEOF
19326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19327 exec 5>>config.log
19329 echo
19330 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19331 ## Running $as_me. ##
19332 _ASBOX
19333 $as_echo "$ac_log"
19334 } >&5
19336 _ACEOF
19337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19339 # INIT-COMMANDS
19341 wine_fn_output_makedep ()
19343 as_dir=tools; as_fn_mkdir_p
19344 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19346 wine_fn_output_makefile ()
19348 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19349 `cat $wine_rules_file`
19350 _WINE_EOF
19351 as_fn_error $? "could not create Makefile" "$LINENO" 5
19354 _ACEOF
19356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19358 # Handling of arguments.
19359 for ac_config_target in $ac_config_targets
19361 case $ac_config_target in
19362 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19363 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19364 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19365 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19366 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19367 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19368 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19369 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19370 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19371 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19372 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19373 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19374 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19376 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19377 esac
19378 done
19381 # If the user did not use the arguments to specify the items to instantiate,
19382 # then the envvar interface is used. Set only those that are not.
19383 # We use the long form for the default assignment because of an extremely
19384 # bizarre bug on SunOS 4.1.3.
19385 if $ac_need_defaults; then
19386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19388 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19392 # Have a temporary directory for convenience. Make it in the build tree
19393 # simply because there is no reason against having it here, and in addition,
19394 # creating and moving files from /tmp can sometimes cause problems.
19395 # Hook for its removal unless debugging.
19396 # Note that there is a small window in which the directory will not be cleaned:
19397 # after its creation but before its name has been assigned to `$tmp'.
19398 $debug ||
19400 tmp= ac_tmp=
19401 trap 'exit_status=$?
19402 : "${ac_tmp:=$tmp}"
19403 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19405 trap 'as_fn_exit 1' 1 2 13 15
19407 # Create a (secure) tmp directory for tmp files.
19410 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19411 test -d "$tmp"
19412 } ||
19414 tmp=./conf$$-$RANDOM
19415 (umask 077 && mkdir "$tmp")
19416 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19417 ac_tmp=$tmp
19419 # Set up the scripts for CONFIG_FILES section.
19420 # No need to generate them if there are no CONFIG_FILES.
19421 # This happens for instance with `./config.status config.h'.
19422 if test -n "$CONFIG_FILES"; then
19425 ac_cr=`echo X | tr X '\015'`
19426 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19427 # But we know of no other shell where ac_cr would be empty at this
19428 # point, so we can use a bashism as a fallback.
19429 if test "x$ac_cr" = x; then
19430 eval ac_cr=\$\'\\r\'
19432 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19433 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19434 ac_cs_awk_cr='\\r'
19435 else
19436 ac_cs_awk_cr=$ac_cr
19439 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19440 _ACEOF
19444 echo "cat >conf$$subs.awk <<_ACEOF" &&
19445 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19446 echo "_ACEOF"
19447 } >conf$$subs.sh ||
19448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19449 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19450 ac_delim='%!_!# '
19451 for ac_last_try in false false false false false :; do
19452 . ./conf$$subs.sh ||
19453 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19455 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19456 if test $ac_delim_n = $ac_delim_num; then
19457 break
19458 elif $ac_last_try; then
19459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19460 else
19461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19463 done
19464 rm -f conf$$subs.sh
19466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19467 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19468 _ACEOF
19469 sed -n '
19471 s/^/S["/; s/!.*/"]=/
19474 s/^[^!]*!//
19475 :repl
19476 t repl
19477 s/'"$ac_delim"'$//
19478 t delim
19481 s/\(.\{148\}\)..*/\1/
19482 t more1
19483 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19486 b repl
19487 :more1
19488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19491 s/.\{148\}//
19492 t nl
19493 :delim
19495 s/\(.\{148\}\)..*/\1/
19496 t more2
19497 s/["\\]/\\&/g; s/^/"/; s/$/"/
19500 :more2
19501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19504 s/.\{148\}//
19505 t delim
19506 ' <conf$$subs.awk | sed '
19507 /^[^""]/{
19509 s/\n//
19511 ' >>$CONFIG_STATUS || ac_write_fail=1
19512 rm -f conf$$subs.awk
19513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19514 _ACAWK
19515 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19516 for (key in S) S_is_set[key] = 1
19517 FS = "\a"
19521 line = $ 0
19522 nfields = split(line, field, "@")
19523 substed = 0
19524 len = length(field[1])
19525 for (i = 2; i < nfields; i++) {
19526 key = field[i]
19527 keylen = length(key)
19528 if (S_is_set[key]) {
19529 value = S[key]
19530 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19531 len += length(value) + length(field[++i])
19532 substed = 1
19533 } else
19534 len += 1 + keylen
19537 print line
19540 _ACAWK
19541 _ACEOF
19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19543 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19544 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19545 else
19547 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19548 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19549 _ACEOF
19551 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19552 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19553 # trailing colons and then remove the whole line if VPATH becomes empty
19554 # (actually we leave an empty line to preserve line numbers).
19555 if test "x$srcdir" = x.; then
19556 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19558 s///
19559 s/^/:/
19560 s/[ ]*$/:/
19561 s/:\$(srcdir):/:/g
19562 s/:\${srcdir}:/:/g
19563 s/:@srcdir@:/:/g
19564 s/^:*//
19565 s/:*$//
19567 s/\(=[ ]*\).*/\1/
19569 s/\n//
19570 s/^[^=]*=[ ]*$//
19574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19575 fi # test -n "$CONFIG_FILES"
19577 # Set up the scripts for CONFIG_HEADERS section.
19578 # No need to generate them if there are no CONFIG_HEADERS.
19579 # This happens for instance with `./config.status Makefile'.
19580 if test -n "$CONFIG_HEADERS"; then
19581 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19582 BEGIN {
19583 _ACEOF
19585 # Transform confdefs.h into an awk script `defines.awk', embedded as
19586 # here-document in config.status, that substitutes the proper values into
19587 # config.h.in to produce config.h.
19589 # Create a delimiter string that does not exist in confdefs.h, to ease
19590 # handling of long lines.
19591 ac_delim='%!_!# '
19592 for ac_last_try in false false :; do
19593 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19594 if test -z "$ac_tt"; then
19595 break
19596 elif $ac_last_try; then
19597 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19598 else
19599 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19601 done
19603 # For the awk script, D is an array of macro values keyed by name,
19604 # likewise P contains macro parameters if any. Preserve backslash
19605 # newline sequences.
19607 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19608 sed -n '
19609 s/.\{148\}/&'"$ac_delim"'/g
19610 t rset
19611 :rset
19612 s/^[ ]*#[ ]*define[ ][ ]*/ /
19613 t def
19615 :def
19616 s/\\$//
19617 t bsnl
19618 s/["\\]/\\&/g
19619 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19620 D["\1"]=" \3"/p
19621 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19623 :bsnl
19624 s/["\\]/\\&/g
19625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19626 D["\1"]=" \3\\\\\\n"\\/p
19627 t cont
19628 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19629 t cont
19631 :cont
19633 s/.\{148\}/&'"$ac_delim"'/g
19634 t clear
19635 :clear
19636 s/\\$//
19637 t bsnlc
19638 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19640 :bsnlc
19641 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19642 b cont
19643 ' <confdefs.h | sed '
19644 s/'"$ac_delim"'/"\\\
19645 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19648 for (key in D) D_is_set[key] = 1
19649 FS = "\a"
19651 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19652 line = \$ 0
19653 split(line, arg, " ")
19654 if (arg[1] == "#") {
19655 defundef = arg[2]
19656 mac1 = arg[3]
19657 } else {
19658 defundef = substr(arg[1], 2)
19659 mac1 = arg[2]
19661 split(mac1, mac2, "(") #)
19662 macro = mac2[1]
19663 prefix = substr(line, 1, index(line, defundef) - 1)
19664 if (D_is_set[macro]) {
19665 # Preserve the white space surrounding the "#".
19666 print prefix "define", macro P[macro] D[macro]
19667 next
19668 } else {
19669 # Replace #undef with comments. This is necessary, for example,
19670 # in the case of _POSIX_SOURCE, which is predefined and required
19671 # on some systems where configure will not decide to define it.
19672 if (defundef == "undef") {
19673 print "/*", prefix defundef, macro, "*/"
19674 next
19678 { print }
19679 _ACAWK
19680 _ACEOF
19681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19682 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19683 fi # test -n "$CONFIG_HEADERS"
19686 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19687 shift
19688 for ac_tag
19690 case $ac_tag in
19691 :[FHLC]) ac_mode=$ac_tag; continue;;
19692 esac
19693 case $ac_mode$ac_tag in
19694 :[FHL]*:*);;
19695 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19696 :[FH]-) ac_tag=-:-;;
19697 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19698 esac
19699 ac_save_IFS=$IFS
19700 IFS=:
19701 set x $ac_tag
19702 IFS=$ac_save_IFS
19703 shift
19704 ac_file=$1
19705 shift
19707 case $ac_mode in
19708 :L) ac_source=$1;;
19709 :[FH])
19710 ac_file_inputs=
19711 for ac_f
19713 case $ac_f in
19714 -) ac_f="$ac_tmp/stdin";;
19715 *) # Look for the file first in the build tree, then in the source tree
19716 # (if the path is not absolute). The absolute path cannot be DOS-style,
19717 # because $ac_f cannot contain `:'.
19718 test -f "$ac_f" ||
19719 case $ac_f in
19720 [\\/$]*) false;;
19721 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19722 esac ||
19723 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19724 esac
19725 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19726 as_fn_append ac_file_inputs " '$ac_f'"
19727 done
19729 # Let's still pretend it is `configure' which instantiates (i.e., don't
19730 # use $as_me), people would be surprised to read:
19731 # /* config.h. Generated by config.status. */
19732 configure_input='Generated from '`
19733 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19734 `' by configure.'
19735 if test x"$ac_file" != x-; then
19736 configure_input="$ac_file. $configure_input"
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19738 $as_echo "$as_me: creating $ac_file" >&6;}
19740 # Neutralize special characters interpreted by sed in replacement strings.
19741 case $configure_input in #(
19742 *\&* | *\|* | *\\* )
19743 ac_sed_conf_input=`$as_echo "$configure_input" |
19744 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19745 *) ac_sed_conf_input=$configure_input;;
19746 esac
19748 case $ac_tag in
19749 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19751 esac
19753 esac
19755 ac_dir=`$as_dirname -- "$ac_file" ||
19756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19757 X"$ac_file" : 'X\(//\)[^/]' \| \
19758 X"$ac_file" : 'X\(//\)$' \| \
19759 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19760 $as_echo X"$ac_file" |
19761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19762 s//\1/
19765 /^X\(\/\/\)[^/].*/{
19766 s//\1/
19769 /^X\(\/\/\)$/{
19770 s//\1/
19773 /^X\(\/\).*/{
19774 s//\1/
19777 s/.*/./; q'`
19778 as_dir="$ac_dir"; as_fn_mkdir_p
19779 ac_builddir=.
19781 case "$ac_dir" in
19782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19784 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19785 # A ".." for each directory in $ac_dir_suffix.
19786 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19787 case $ac_top_builddir_sub in
19788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19790 esac ;;
19791 esac
19792 ac_abs_top_builddir=$ac_pwd
19793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19794 # for backward compatibility:
19795 ac_top_builddir=$ac_top_build_prefix
19797 case $srcdir in
19798 .) # We are building in place.
19799 ac_srcdir=.
19800 ac_top_srcdir=$ac_top_builddir_sub
19801 ac_abs_top_srcdir=$ac_pwd ;;
19802 [\\/]* | ?:[\\/]* ) # Absolute name.
19803 ac_srcdir=$srcdir$ac_dir_suffix;
19804 ac_top_srcdir=$srcdir
19805 ac_abs_top_srcdir=$srcdir ;;
19806 *) # Relative name.
19807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19808 ac_top_srcdir=$ac_top_build_prefix$srcdir
19809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19810 esac
19811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19814 case $ac_mode in
19817 # CONFIG_FILE
19820 _ACEOF
19822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19823 # If the template does not know about datarootdir, expand it.
19824 # FIXME: This hack should be removed a few years after 2.60.
19825 ac_datarootdir_hack=; ac_datarootdir_seen=
19826 ac_sed_dataroot='
19827 /datarootdir/ {
19831 /@datadir@/p
19832 /@docdir@/p
19833 /@infodir@/p
19834 /@localedir@/p
19835 /@mandir@/p'
19836 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19837 *datarootdir*) ac_datarootdir_seen=yes;;
19838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19840 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19841 _ACEOF
19842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19843 ac_datarootdir_hack='
19844 s&@datadir@&$datadir&g
19845 s&@docdir@&$docdir&g
19846 s&@infodir@&$infodir&g
19847 s&@localedir@&$localedir&g
19848 s&@mandir@&$mandir&g
19849 s&\\\${datarootdir}&$datarootdir&g' ;;
19850 esac
19851 _ACEOF
19853 # Neutralize VPATH when `$srcdir' = `.'.
19854 # Shell code in configure.ac might set extrasub.
19855 # FIXME: do we really want to maintain this feature?
19856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19857 ac_sed_extra="$ac_vpsub
19858 $extrasub
19859 _ACEOF
19860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19863 s|@configure_input@|$ac_sed_conf_input|;t t
19864 s&@top_builddir@&$ac_top_builddir_sub&;t t
19865 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19866 s&@srcdir@&$ac_srcdir&;t t
19867 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19868 s&@top_srcdir@&$ac_top_srcdir&;t t
19869 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19870 s&@builddir@&$ac_builddir&;t t
19871 s&@abs_builddir@&$ac_abs_builddir&;t t
19872 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19873 $ac_datarootdir_hack
19875 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19876 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19878 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19879 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19880 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19881 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19883 which seems to be undefined. Please make sure it is defined" >&5
19884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19885 which seems to be undefined. Please make sure it is defined" >&2;}
19887 rm -f "$ac_tmp/stdin"
19888 case $ac_file in
19889 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19890 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19891 esac \
19892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19896 # CONFIG_HEADER
19898 if test x"$ac_file" != x-; then
19900 $as_echo "/* $configure_input */" \
19901 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19902 } >"$ac_tmp/config.h" \
19903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19904 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19907 else
19908 rm -f "$ac_file"
19909 mv "$ac_tmp/config.h" "$ac_file" \
19910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19912 else
19913 $as_echo "/* $configure_input */" \
19914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19915 || as_fn_error $? "could not create -" "$LINENO" 5
19920 # CONFIG_LINK
19923 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19925 else
19926 # Prefer the file from the source tree if names are identical.
19927 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19928 ac_source=$srcdir/$ac_source
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19932 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19934 if test ! -r "$ac_source"; then
19935 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19937 rm -f "$ac_file"
19939 # Try a relative symlink, then a hard link, then a copy.
19940 case $ac_source in
19941 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19942 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19943 esac
19944 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19945 ln "$ac_source" "$ac_file" 2>/dev/null ||
19946 cp -p "$ac_source" "$ac_file" ||
19947 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19950 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19951 $as_echo "$as_me: executing $ac_file commands" >&6;}
19953 esac
19956 case $ac_file$ac_mode in
19957 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19958 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19959 "Makefile":C) wine_fn_output_makefile Makefile ;;
19961 esac
19962 done # for ac_tag
19965 as_fn_exit 0
19966 _ACEOF
19967 ac_clean_files=$ac_clean_files_save
19969 test $ac_write_fail = 0 ||
19970 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19973 # configure is writing to config.log, and then calls config.status.
19974 # config.status does its own redirection, appending to config.log.
19975 # Unfortunately, on DOS this fails, as config.log is still kept open
19976 # by configure, so config.status won't be able to write to it; its
19977 # output is simply discarded. So we exec the FD to /dev/null,
19978 # effectively closing config.log, so it can be properly (re)opened and
19979 # appended to by config.status. When coming back to configure, we
19980 # need to make the FD available again.
19981 if test "$no_create" != yes; then
19982 ac_cs_success=:
19983 ac_config_status_args=
19984 test "$silent" = yes &&
19985 ac_config_status_args="$ac_config_status_args --quiet"
19986 exec 5>/dev/null
19987 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19988 exec 5>>config.log
19989 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19990 # would make configure fail if this is the last instruction.
19991 $ac_cs_success || as_fn_exit 1
19993 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19995 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19999 if test "$no_create" = "yes"
20000 then
20001 exit 0
20004 ac_save_IFS="$IFS"
20005 if test "x$wine_notices" != x; then
20006 echo >&6
20007 IFS="|"
20008 for msg in $wine_notices; do
20009 IFS="$ac_save_IFS"
20010 if ${msg:+false} :; then :
20012 else
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20014 $as_echo "$as_me: $msg" >&6;}
20016 done
20018 IFS="|"
20019 for msg in $wine_warnings; do
20020 IFS="$ac_save_IFS"
20021 if ${msg:+false} :; then :
20023 else
20024 echo >&2
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20026 $as_echo "$as_me: WARNING: $msg" >&2;}
20028 done
20029 IFS="$ac_save_IFS"
20031 $as_echo "
20032 $as_me: Finished. Do '${ac_make}' to compile Wine.
20033 " >&6