riched20: Add support for displaying bulleted lists.
[wine.git] / configure
blobe3181e0d7aa4ebf425530972809308c1902e0513
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.20'
584 PACKAGE_STRING='Wine 1.9.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_core_apiquery_l1_1_0
878 enable_api_ms_win_core_appcompat_l1_1_1
879 enable_api_ms_win_core_appinit_l1_1_0
880 enable_api_ms_win_core_atoms_l1_1_0
881 enable_api_ms_win_core_bem_l1_1_0
882 enable_api_ms_win_core_com_l1_1_0
883 enable_api_ms_win_core_com_l1_1_1
884 enable_api_ms_win_core_console_l1_1_0
885 enable_api_ms_win_core_console_l2_1_0
886 enable_api_ms_win_core_datetime_l1_1_0
887 enable_api_ms_win_core_datetime_l1_1_1
888 enable_api_ms_win_core_debug_l1_1_0
889 enable_api_ms_win_core_debug_l1_1_1
890 enable_api_ms_win_core_delayload_l1_1_0
891 enable_api_ms_win_core_delayload_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_0
893 enable_api_ms_win_core_errorhandling_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_2
895 enable_api_ms_win_core_fibers_l1_1_0
896 enable_api_ms_win_core_fibers_l1_1_1
897 enable_api_ms_win_core_file_l1_1_0
898 enable_api_ms_win_core_file_l1_2_0
899 enable_api_ms_win_core_file_l1_2_1
900 enable_api_ms_win_core_file_l2_1_0
901 enable_api_ms_win_core_file_l2_1_1
902 enable_api_ms_win_core_handle_l1_1_0
903 enable_api_ms_win_core_heap_l1_1_0
904 enable_api_ms_win_core_heap_l1_2_0
905 enable_api_ms_win_core_heap_obsolete_l1_1_0
906 enable_api_ms_win_core_interlocked_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_2_0
908 enable_api_ms_win_core_io_l1_1_0
909 enable_api_ms_win_core_io_l1_1_1
910 enable_api_ms_win_core_job_l1_1_0
911 enable_api_ms_win_core_job_l2_1_0
912 enable_api_ms_win_core_kernel32_legacy_l1_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_1
914 enable_api_ms_win_core_kernel32_private_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_1_0
916 enable_api_ms_win_core_libraryloader_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_2_0
918 enable_api_ms_win_core_libraryloader_l1_2_2
919 enable_api_ms_win_core_localization_l1_1_0
920 enable_api_ms_win_core_localization_l1_2_0
921 enable_api_ms_win_core_localization_l1_2_1
922 enable_api_ms_win_core_localization_l2_1_0
923 enable_api_ms_win_core_localization_obsolete_l1_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_2_0
925 enable_api_ms_win_core_localization_private_l1_1_0
926 enable_api_ms_win_core_localregistry_l1_1_0
927 enable_api_ms_win_core_memory_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_1
929 enable_api_ms_win_core_memory_l1_1_2
930 enable_api_ms_win_core_misc_l1_1_0
931 enable_api_ms_win_core_namedpipe_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_2_0
933 enable_api_ms_win_core_namespace_l1_1_0
934 enable_api_ms_win_core_normalization_l1_1_0
935 enable_api_ms_win_core_path_l1_1_0
936 enable_api_ms_win_core_privateprofile_l1_1_1
937 enable_api_ms_win_core_processenvironment_l1_1_0
938 enable_api_ms_win_core_processenvironment_l1_2_0
939 enable_api_ms_win_core_processthreads_l1_1_0
940 enable_api_ms_win_core_processthreads_l1_1_1
941 enable_api_ms_win_core_processthreads_l1_1_2
942 enable_api_ms_win_core_profile_l1_1_0
943 enable_api_ms_win_core_psapi_l1_1_0
944 enable_api_ms_win_core_realtime_l1_1_0
945 enable_api_ms_win_core_registry_l1_1_0
946 enable_api_ms_win_core_registryuserspecific_l1_1_0
947 enable_api_ms_win_core_rtlsupport_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_2_0
949 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
950 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
951 enable_api_ms_win_core_sidebyside_l1_1_0
952 enable_api_ms_win_core_string_l1_1_0
953 enable_api_ms_win_core_string_l2_1_0
954 enable_api_ms_win_core_string_obsolete_l1_1_0
955 enable_api_ms_win_core_stringansi_l1_1_0
956 enable_api_ms_win_core_synch_l1_1_0
957 enable_api_ms_win_core_synch_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_1_0
959 enable_api_ms_win_core_sysinfo_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_2_1
961 enable_api_ms_win_core_threadpool_l1_1_0
962 enable_api_ms_win_core_threadpool_l1_2_0
963 enable_api_ms_win_core_threadpool_legacy_l1_1_0
964 enable_api_ms_win_core_timezone_l1_1_0
965 enable_api_ms_win_core_toolhelp_l1_1_0
966 enable_api_ms_win_core_url_l1_1_0
967 enable_api_ms_win_core_util_l1_1_0
968 enable_api_ms_win_core_version_l1_1_0
969 enable_api_ms_win_core_version_private_l1_1_0
970 enable_api_ms_win_core_versionansi_l1_1_0
971 enable_api_ms_win_core_windowserrorreporting_l1_1_0
972 enable_api_ms_win_core_winrt_error_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_1
974 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
975 enable_api_ms_win_core_winrt_l1_1_0
976 enable_api_ms_win_core_winrt_registration_l1_1_0
977 enable_api_ms_win_core_winrt_string_l1_1_0
978 enable_api_ms_win_core_wow64_l1_1_0
979 enable_api_ms_win_core_xstate_l1_1_0
980 enable_api_ms_win_core_xstate_l2_1_0
981 enable_api_ms_win_crt_conio_l1_1_0
982 enable_api_ms_win_crt_convert_l1_1_0
983 enable_api_ms_win_crt_environment_l1_1_0
984 enable_api_ms_win_crt_filesystem_l1_1_0
985 enable_api_ms_win_crt_heap_l1_1_0
986 enable_api_ms_win_crt_locale_l1_1_0
987 enable_api_ms_win_crt_math_l1_1_0
988 enable_api_ms_win_crt_multibyte_l1_1_0
989 enable_api_ms_win_crt_private_l1_1_0
990 enable_api_ms_win_crt_process_l1_1_0
991 enable_api_ms_win_crt_runtime_l1_1_0
992 enable_api_ms_win_crt_stdio_l1_1_0
993 enable_api_ms_win_crt_string_l1_1_0
994 enable_api_ms_win_crt_time_l1_1_0
995 enable_api_ms_win_crt_utility_l1_1_0
996 enable_api_ms_win_downlevel_advapi32_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l2_1_0
998 enable_api_ms_win_downlevel_normaliz_l1_1_0
999 enable_api_ms_win_downlevel_ole32_l1_1_0
1000 enable_api_ms_win_downlevel_shell32_l1_1_0
1001 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1003 enable_api_ms_win_downlevel_user32_l1_1_0
1004 enable_api_ms_win_downlevel_version_l1_1_0
1005 enable_api_ms_win_eventing_classicprovider_l1_1_0
1006 enable_api_ms_win_eventing_consumer_l1_1_0
1007 enable_api_ms_win_eventing_controller_l1_1_0
1008 enable_api_ms_win_eventing_provider_l1_1_0
1009 enable_api_ms_win_eventlog_legacy_l1_1_0
1010 enable_api_ms_win_ntuser_dc_access_l1_1_0
1011 enable_api_ms_win_security_audit_l1_1_1
1012 enable_api_ms_win_security_base_l1_1_0
1013 enable_api_ms_win_security_base_l1_2_0
1014 enable_api_ms_win_security_base_private_l1_1_1
1015 enable_api_ms_win_security_lsalookup_l1_1_0
1016 enable_api_ms_win_security_lsalookup_l1_1_1
1017 enable_api_ms_win_security_sddl_l1_1_0
1018 enable_api_ms_win_service_core_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_1
1020 enable_api_ms_win_service_management_l1_1_0
1021 enable_api_ms_win_service_management_l2_1_0
1022 enable_api_ms_win_service_private_l1_1_1
1023 enable_api_ms_win_service_winsvc_l1_1_0
1024 enable_api_ms_win_service_winsvc_l1_2_0
1025 enable_api_ms_win_shell_shellcom_l1_1_0
1026 enable_api_ms_win_shell_shellfolders_l1_1_0
1027 enable_apphelp
1028 enable_appwiz_cpl
1029 enable_atl
1030 enable_atl100
1031 enable_atl110
1032 enable_atl80
1033 enable_atl90
1034 enable_authz
1035 enable_avicap32
1036 enable_avifil32
1037 enable_avrt
1038 enable_bcrypt
1039 enable_bluetoothapis
1040 enable_browseui
1041 enable_bthprops_cpl
1042 enable_cabinet
1043 enable_capi2032
1044 enable_cards
1045 enable_cfgmgr32
1046 enable_clusapi
1047 enable_combase
1048 enable_comcat
1049 enable_comctl32
1050 enable_comdlg32
1051 enable_compstui
1052 enable_comsvcs
1053 enable_concrt140
1054 enable_connect
1055 enable_credui
1056 enable_crtdll
1057 enable_crypt32
1058 enable_cryptdlg
1059 enable_cryptdll
1060 enable_cryptext
1061 enable_cryptnet
1062 enable_cryptui
1063 enable_ctapi32
1064 enable_ctl3d32
1065 enable_d2d1
1066 enable_d3d10
1067 enable_d3d10_1
1068 enable_d3d10core
1069 enable_d3d11
1070 enable_d3d8
1071 enable_d3d9
1072 enable_d3dcompiler_33
1073 enable_d3dcompiler_34
1074 enable_d3dcompiler_35
1075 enable_d3dcompiler_36
1076 enable_d3dcompiler_37
1077 enable_d3dcompiler_38
1078 enable_d3dcompiler_39
1079 enable_d3dcompiler_40
1080 enable_d3dcompiler_41
1081 enable_d3dcompiler_42
1082 enable_d3dcompiler_43
1083 enable_d3dcompiler_46
1084 enable_d3dcompiler_47
1085 enable_d3dim
1086 enable_d3drm
1087 enable_d3dx10_33
1088 enable_d3dx10_34
1089 enable_d3dx10_35
1090 enable_d3dx10_36
1091 enable_d3dx10_37
1092 enable_d3dx10_38
1093 enable_d3dx10_39
1094 enable_d3dx10_40
1095 enable_d3dx10_41
1096 enable_d3dx10_42
1097 enable_d3dx10_43
1098 enable_d3dx11_42
1099 enable_d3dx11_43
1100 enable_d3dx9_24
1101 enable_d3dx9_25
1102 enable_d3dx9_26
1103 enable_d3dx9_27
1104 enable_d3dx9_28
1105 enable_d3dx9_29
1106 enable_d3dx9_30
1107 enable_d3dx9_31
1108 enable_d3dx9_32
1109 enable_d3dx9_33
1110 enable_d3dx9_34
1111 enable_d3dx9_35
1112 enable_d3dx9_36
1113 enable_d3dx9_37
1114 enable_d3dx9_38
1115 enable_d3dx9_39
1116 enable_d3dx9_40
1117 enable_d3dx9_41
1118 enable_d3dx9_42
1119 enable_d3dx9_43
1120 enable_d3dxof
1121 enable_davclnt
1122 enable_dbgeng
1123 enable_dbghelp
1124 enable_dciman32
1125 enable_ddraw
1126 enable_ddrawex
1127 enable_devenum
1128 enable_dhcpcsvc
1129 enable_difxapi
1130 enable_dinput
1131 enable_dinput8
1132 enable_dispex
1133 enable_dmband
1134 enable_dmcompos
1135 enable_dmime
1136 enable_dmloader
1137 enable_dmscript
1138 enable_dmstyle
1139 enable_dmsynth
1140 enable_dmusic
1141 enable_dmusic32
1142 enable_dnsapi
1143 enable_dplay
1144 enable_dplayx
1145 enable_dpnaddr
1146 enable_dpnet
1147 enable_dpnhpast
1148 enable_dpnlobby
1149 enable_dpvoice
1150 enable_dpwsockx
1151 enable_drmclien
1152 enable_dsound
1153 enable_dssenh
1154 enable_dswave
1155 enable_dwmapi
1156 enable_dwrite
1157 enable_dxdiagn
1158 enable_dxgi
1159 enable_dxva2
1160 enable_esent
1161 enable_evr
1162 enable_explorerframe
1163 enable_ext_ms_win_gdi_devcaps_l1_1_0
1164 enable_faultrep
1165 enable_fltlib
1166 enable_fltmgr_sys
1167 enable_fntcache
1168 enable_fontsub
1169 enable_fusion
1170 enable_fwpuclnt
1171 enable_gameux
1172 enable_gdi32
1173 enable_gdiplus
1174 enable_glu32
1175 enable_gphoto2_ds
1176 enable_gpkcsp
1177 enable_hal
1178 enable_hhctrl_ocx
1179 enable_hid
1180 enable_hidclass_sys
1181 enable_hlink
1182 enable_hnetcfg
1183 enable_httpapi
1184 enable_iccvid
1185 enable_icmp
1186 enable_ieframe
1187 enable_imaadp32_acm
1188 enable_imagehlp
1189 enable_imm32
1190 enable_inetcomm
1191 enable_inetcpl_cpl
1192 enable_inetmib1
1193 enable_infosoft
1194 enable_initpki
1195 enable_inkobj
1196 enable_inseng
1197 enable_iphlpapi
1198 enable_iprop
1199 enable_irprops_cpl
1200 enable_itircl
1201 enable_itss
1202 enable_joy_cpl
1203 enable_jscript
1204 enable_jsproxy
1205 enable_kernel32
1206 enable_kernelbase
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_loadperf
1210 enable_localspl
1211 enable_localui
1212 enable_lz32
1213 enable_mapi32
1214 enable_mapistub
1215 enable_mciavi32
1216 enable_mcicda
1217 enable_mciqtz32
1218 enable_mciseq
1219 enable_mciwave
1220 enable_mf
1221 enable_mfplat
1222 enable_mfreadwrite
1223 enable_mgmtapi
1224 enable_midimap
1225 enable_mlang
1226 enable_mmcndmgr
1227 enable_mmdevapi
1228 enable_mountmgr_sys
1229 enable_mpr
1230 enable_mprapi
1231 enable_msacm32_drv
1232 enable_msacm32
1233 enable_msadp32_acm
1234 enable_msasn1
1235 enable_mscat32
1236 enable_mscms
1237 enable_mscoree
1238 enable_msctf
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdelta
1242 enable_msdmo
1243 enable_msdrm
1244 enable_msftedit
1245 enable_msg711_acm
1246 enable_msgsm32_acm
1247 enable_mshtml_tlb
1248 enable_mshtml
1249 enable_msi
1250 enable_msident
1251 enable_msimg32
1252 enable_msimsg
1253 enable_msimtf
1254 enable_msisip
1255 enable_msisys_ocx
1256 enable_msls31
1257 enable_msnet32
1258 enable_mspatcha
1259 enable_msports
1260 enable_msrle32
1261 enable_msscript_ocx
1262 enable_mssign32
1263 enable_mssip32
1264 enable_mstask
1265 enable_msvcirt
1266 enable_msvcm80
1267 enable_msvcm90
1268 enable_msvcp100
1269 enable_msvcp110
1270 enable_msvcp120
1271 enable_msvcp120_app
1272 enable_msvcp140
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcr100
1279 enable_msvcr110
1280 enable_msvcr120
1281 enable_msvcr120_app
1282 enable_msvcr70
1283 enable_msvcr71
1284 enable_msvcr80
1285 enable_msvcr90
1286 enable_msvcrt
1287 enable_msvcrt20
1288 enable_msvcrt40
1289 enable_msvcrtd
1290 enable_msvfw32
1291 enable_msvidc32
1292 enable_mswsock
1293 enable_msxml
1294 enable_msxml2
1295 enable_msxml3
1296 enable_msxml4
1297 enable_msxml6
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netprofm
1304 enable_newdev
1305 enable_normaliz
1306 enable_npmshtml
1307 enable_npptools
1308 enable_ntdll
1309 enable_ntdsapi
1310 enable_ntoskrnl_exe
1311 enable_ntprint
1312 enable_objsel
1313 enable_odbc32
1314 enable_odbccp32
1315 enable_odbccu32
1316 enable_ole32
1317 enable_oleacc
1318 enable_oleaut32
1319 enable_olecli32
1320 enable_oledb32
1321 enable_oledlg
1322 enable_olepro32
1323 enable_olesvr32
1324 enable_olethk32
1325 enable_openal32
1326 enable_opencl
1327 enable_opengl32
1328 enable_packager
1329 enable_pdh
1330 enable_photometadatahandler
1331 enable_pidgen
1332 enable_powrprof
1333 enable_printui
1334 enable_prntvpt
1335 enable_propsys
1336 enable_psapi
1337 enable_pstorec
1338 enable_qcap
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_samlib
1356 enable_sane_ds
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrrun
1362 enable_scsiport_sys
1363 enable_secur32
1364 enable_security
1365 enable_sensapi
1366 enable_serialui
1367 enable_setupapi
1368 enable_sfc
1369 enable_sfc_os
1370 enable_shdoclc
1371 enable_shdocvw
1372 enable_shell32
1373 enable_shfolder
1374 enable_shlwapi
1375 enable_slbcsp
1376 enable_slc
1377 enable_snmpapi
1378 enable_softpub
1379 enable_spoolss
1380 enable_sspicli
1381 enable_stdole2_tlb
1382 enable_stdole32_tlb
1383 enable_sti
1384 enable_svrapi
1385 enable_sxs
1386 enable_t2embed
1387 enable_tapi32
1388 enable_taskschd
1389 enable_tdi_sys
1390 enable_traffic
1391 enable_twain_32
1392 enable_ucrtbase
1393 enable_unicows
1394 enable_updspapi
1395 enable_url
1396 enable_urlmon
1397 enable_usbd_sys
1398 enable_user32
1399 enable_userenv
1400 enable_usp10
1401 enable_uxtheme
1402 enable_vbscript
1403 enable_vcomp
1404 enable_vcomp100
1405 enable_vcomp110
1406 enable_vcomp120
1407 enable_vcomp140
1408 enable_vcomp90
1409 enable_vcruntime140
1410 enable_vdmdbg
1411 enable_version
1412 enable_vssapi
1413 enable_wbemdisp
1414 enable_wbemprox
1415 enable_webservices
1416 enable_wer
1417 enable_wevtapi
1418 enable_wiaservc
1419 enable_wimgapi
1420 enable_windowscodecs
1421 enable_windowscodecsext
1422 enable_winealsa_drv
1423 enable_winebus_sys
1424 enable_winecoreaudio_drv
1425 enable_wined3d
1426 enable_winegstreamer
1427 enable_winejoystick_drv
1428 enable_winemac_drv
1429 enable_winemapi
1430 enable_winemp3_acm
1431 enable_wineoss_drv
1432 enable_wineps_drv
1433 enable_winepulse_drv
1434 enable_wineqtdecoder
1435 enable_winex11_drv
1436 enable_wing32
1437 enable_winhttp
1438 enable_wininet
1439 enable_winmm
1440 enable_winnls32
1441 enable_winscard
1442 enable_winspool_drv
1443 enable_winsta
1444 enable_wintab32
1445 enable_wintrust
1446 enable_wlanapi
1447 enable_wldap32
1448 enable_wmasf
1449 enable_wmi
1450 enable_wmiutils
1451 enable_wmp
1452 enable_wmvcore
1453 enable_wnaspi32
1454 enable_wpc
1455 enable_wpcap
1456 enable_ws2_32
1457 enable_wshom_ocx
1458 enable_wsnmp32
1459 enable_wsock32
1460 enable_wtsapi32
1461 enable_wuapi
1462 enable_wuaueng
1463 enable_x3daudio1_0
1464 enable_x3daudio1_1
1465 enable_x3daudio1_2
1466 enable_x3daudio1_3
1467 enable_x3daudio1_4
1468 enable_x3daudio1_5
1469 enable_x3daudio1_6
1470 enable_x3daudio1_7
1471 enable_xapofx1_1
1472 enable_xapofx1_2
1473 enable_xapofx1_3
1474 enable_xapofx1_4
1475 enable_xapofx1_5
1476 enable_xaudio2_0
1477 enable_xaudio2_1
1478 enable_xaudio2_2
1479 enable_xaudio2_3
1480 enable_xaudio2_4
1481 enable_xaudio2_5
1482 enable_xaudio2_6
1483 enable_xaudio2_7
1484 enable_xaudio2_8
1485 enable_xaudio2_9
1486 enable_xinput1_1
1487 enable_xinput1_2
1488 enable_xinput1_3
1489 enable_xinput1_4
1490 enable_xinput9_1_0
1491 enable_xmllite
1492 enable_xolehlp
1493 enable_xpsprint
1494 enable_xpssvcs
1495 enable_fonts
1496 enable_include
1497 enable_libs_port
1498 enable_libs_wine
1499 enable_libs_wpp
1500 enable_loader
1501 enable_po
1502 enable_arp
1503 enable_aspnet_regiis
1504 enable_attrib
1505 enable_cabarc
1506 enable_cacls
1507 enable_clock
1508 enable_cmd
1509 enable_conhost
1510 enable_control
1511 enable_cscript
1512 enable_dpnsvr
1513 enable_dxdiag
1514 enable_eject
1515 enable_expand
1516 enable_explorer
1517 enable_extrac32
1518 enable_findstr
1519 enable_fsutil
1520 enable_hh
1521 enable_hostname
1522 enable_icacls
1523 enable_icinfo
1524 enable_iexplore
1525 enable_ipconfig
1526 enable_lodctr
1527 enable_mofcomp
1528 enable_mshta
1529 enable_msiexec
1530 enable_msinfo32
1531 enable_net
1532 enable_netsh
1533 enable_netstat
1534 enable_ngen
1535 enable_notepad
1536 enable_oleview
1537 enable_ping
1538 enable_plugplay
1539 enable_presentationfontcache
1540 enable_progman
1541 enable_reg
1542 enable_regasm
1543 enable_regedit
1544 enable_regsvcs
1545 enable_regsvr32
1546 enable_rpcss
1547 enable_rundll32
1548 enable_sc
1549 enable_schtasks
1550 enable_sdbinst
1551 enable_secedit
1552 enable_servicemodelreg
1553 enable_services
1554 enable_shutdown
1555 enable_spoolsv
1556 enable_start
1557 enable_subst
1558 enable_svchost
1559 enable_systeminfo
1560 enable_taskkill
1561 enable_tasklist
1562 enable_taskmgr
1563 enable_termsv
1564 enable_uninstaller
1565 enable_unlodctr
1566 enable_view
1567 enable_wevtutil
1568 enable_wineboot
1569 enable_winebrowser
1570 enable_winecfg
1571 enable_wineconsole
1572 enable_winedbg
1573 enable_winedevice
1574 enable_winefile
1575 enable_winemenubuilder
1576 enable_winemine
1577 enable_winemsibuilder
1578 enable_winepath
1579 enable_winetest
1580 enable_winhlp32
1581 enable_winver
1582 enable_wmic
1583 enable_wmplayer
1584 enable_wordpad
1585 enable_write
1586 enable_wscript
1587 enable_wusa
1588 enable_xcopy
1589 enable_server
1590 enable_tools
1592 ac_precious_vars='build_alias
1593 host_alias
1594 target_alias
1596 CFLAGS
1597 LDFLAGS
1598 LIBS
1599 CPPFLAGS
1601 CXXFLAGS
1604 XMKMF
1605 XML2_CFLAGS
1606 XML2_LIBS
1607 XSLT_CFLAGS
1608 XSLT_LIBS
1609 DBUS_CFLAGS
1610 DBUS_LIBS
1611 HAL_CFLAGS
1612 HAL_LIBS
1613 GNUTLS_CFLAGS
1614 GNUTLS_LIBS
1615 SANE_CFLAGS
1616 SANE_LIBS
1617 GPHOTO2_CFLAGS
1618 GPHOTO2_LIBS
1619 GPHOTO2_PORT_CFLAGS
1620 GPHOTO2_PORT_LIBS
1621 LCMS2_CFLAGS
1622 LCMS2_LIBS
1623 FREETYPE_CFLAGS
1624 FREETYPE_LIBS
1625 PULSE_CFLAGS
1626 PULSE_LIBS
1627 GSTREAMER_CFLAGS
1628 GSTREAMER_LIBS
1629 UDEV_CFLAGS
1630 UDEV_LIBS
1631 CAPI20_CFLAGS
1632 CAPI20_LIBS
1633 FONTCONFIG_CFLAGS
1634 FONTCONFIG_LIBS
1635 JPEG_CFLAGS
1636 JPEG_LIBS
1637 PNG_CFLAGS
1638 PNG_LIBS
1639 TIFF_CFLAGS
1640 TIFF_LIBS
1641 MPG123_CFLAGS
1642 MPG123_LIBS
1643 NETAPI_CFLAGS
1644 NETAPI_LIBS'
1647 # Initialize some variables set by options.
1648 ac_init_help=
1649 ac_init_version=false
1650 ac_unrecognized_opts=
1651 ac_unrecognized_sep=
1652 # The variables have the same names as the options, with
1653 # dashes changed to underlines.
1654 cache_file=/dev/null
1655 exec_prefix=NONE
1656 no_create=
1657 no_recursion=
1658 prefix=NONE
1659 program_prefix=NONE
1660 program_suffix=NONE
1661 program_transform_name=s,x,x,
1662 silent=
1663 site=
1664 srcdir=
1665 verbose=
1666 x_includes=NONE
1667 x_libraries=NONE
1669 # Installation directory options.
1670 # These are left unexpanded so users can "make install exec_prefix=/foo"
1671 # and all the variables that are supposed to be based on exec_prefix
1672 # by default will actually change.
1673 # Use braces instead of parens because sh, perl, etc. also accept them.
1674 # (The list follows the same order as the GNU Coding Standards.)
1675 bindir='${exec_prefix}/bin'
1676 sbindir='${exec_prefix}/sbin'
1677 libexecdir='${exec_prefix}/libexec'
1678 datarootdir='${prefix}/share'
1679 datadir='${datarootdir}'
1680 sysconfdir='${prefix}/etc'
1681 sharedstatedir='${prefix}/com'
1682 localstatedir='${prefix}/var'
1683 runstatedir='${localstatedir}/run'
1684 includedir='${prefix}/include'
1685 oldincludedir='/usr/include'
1686 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1687 infodir='${datarootdir}/info'
1688 htmldir='${docdir}'
1689 dvidir='${docdir}'
1690 pdfdir='${docdir}'
1691 psdir='${docdir}'
1692 libdir='${exec_prefix}/lib'
1693 localedir='${datarootdir}/locale'
1694 mandir='${datarootdir}/man'
1696 ac_prev=
1697 ac_dashdash=
1698 for ac_option
1700 # If the previous option needs an argument, assign it.
1701 if test -n "$ac_prev"; then
1702 eval $ac_prev=\$ac_option
1703 ac_prev=
1704 continue
1707 case $ac_option in
1708 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1709 *=) ac_optarg= ;;
1710 *) ac_optarg=yes ;;
1711 esac
1713 # Accept the important Cygnus configure options, so we can diagnose typos.
1715 case $ac_dashdash$ac_option in
1717 ac_dashdash=yes ;;
1719 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1720 ac_prev=bindir ;;
1721 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1722 bindir=$ac_optarg ;;
1724 -build | --build | --buil | --bui | --bu)
1725 ac_prev=build_alias ;;
1726 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1727 build_alias=$ac_optarg ;;
1729 -cache-file | --cache-file | --cache-fil | --cache-fi \
1730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1731 ac_prev=cache_file ;;
1732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1734 cache_file=$ac_optarg ;;
1736 --config-cache | -C)
1737 cache_file=config.cache ;;
1739 -datadir | --datadir | --datadi | --datad)
1740 ac_prev=datadir ;;
1741 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1742 datadir=$ac_optarg ;;
1744 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1745 | --dataroo | --dataro | --datar)
1746 ac_prev=datarootdir ;;
1747 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1748 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1749 datarootdir=$ac_optarg ;;
1751 -disable-* | --disable-*)
1752 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid feature name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1760 "enable_$ac_useropt"
1761 "*) ;;
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1764 esac
1765 eval enable_$ac_useropt=no ;;
1767 -docdir | --docdir | --docdi | --doc | --do)
1768 ac_prev=docdir ;;
1769 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1770 docdir=$ac_optarg ;;
1772 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1773 ac_prev=dvidir ;;
1774 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1775 dvidir=$ac_optarg ;;
1777 -enable-* | --enable-*)
1778 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1781 as_fn_error $? "invalid feature name: $ac_useropt"
1782 ac_useropt_orig=$ac_useropt
1783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1786 "enable_$ac_useropt"
1787 "*) ;;
1788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1789 ac_unrecognized_sep=', ';;
1790 esac
1791 eval enable_$ac_useropt=\$ac_optarg ;;
1793 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1794 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1795 | --exec | --exe | --ex)
1796 ac_prev=exec_prefix ;;
1797 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1798 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1799 | --exec=* | --exe=* | --ex=*)
1800 exec_prefix=$ac_optarg ;;
1802 -gas | --gas | --ga | --g)
1803 # Obsolete; use --with-gas.
1804 with_gas=yes ;;
1806 -help | --help | --hel | --he | -h)
1807 ac_init_help=long ;;
1808 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1809 ac_init_help=recursive ;;
1810 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1811 ac_init_help=short ;;
1813 -host | --host | --hos | --ho)
1814 ac_prev=host_alias ;;
1815 -host=* | --host=* | --hos=* | --ho=*)
1816 host_alias=$ac_optarg ;;
1818 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1819 ac_prev=htmldir ;;
1820 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1821 | --ht=*)
1822 htmldir=$ac_optarg ;;
1824 -includedir | --includedir | --includedi | --included | --include \
1825 | --includ | --inclu | --incl | --inc)
1826 ac_prev=includedir ;;
1827 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1828 | --includ=* | --inclu=* | --incl=* | --inc=*)
1829 includedir=$ac_optarg ;;
1831 -infodir | --infodir | --infodi | --infod | --info | --inf)
1832 ac_prev=infodir ;;
1833 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1834 infodir=$ac_optarg ;;
1836 -libdir | --libdir | --libdi | --libd)
1837 ac_prev=libdir ;;
1838 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1839 libdir=$ac_optarg ;;
1841 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1842 | --libexe | --libex | --libe)
1843 ac_prev=libexecdir ;;
1844 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1845 | --libexe=* | --libex=* | --libe=*)
1846 libexecdir=$ac_optarg ;;
1848 -localedir | --localedir | --localedi | --localed | --locale)
1849 ac_prev=localedir ;;
1850 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1851 localedir=$ac_optarg ;;
1853 -localstatedir | --localstatedir | --localstatedi | --localstated \
1854 | --localstate | --localstat | --localsta | --localst | --locals)
1855 ac_prev=localstatedir ;;
1856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1857 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1858 localstatedir=$ac_optarg ;;
1860 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1861 ac_prev=mandir ;;
1862 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1863 mandir=$ac_optarg ;;
1865 -nfp | --nfp | --nf)
1866 # Obsolete; use --without-fp.
1867 with_fp=no ;;
1869 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1870 | --no-cr | --no-c | -n)
1871 no_create=yes ;;
1873 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1874 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1875 no_recursion=yes ;;
1877 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1878 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1879 | --oldin | --oldi | --old | --ol | --o)
1880 ac_prev=oldincludedir ;;
1881 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1882 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1883 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1884 oldincludedir=$ac_optarg ;;
1886 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1887 ac_prev=prefix ;;
1888 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1889 prefix=$ac_optarg ;;
1891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1892 | --program-pre | --program-pr | --program-p)
1893 ac_prev=program_prefix ;;
1894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1896 program_prefix=$ac_optarg ;;
1898 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1899 | --program-suf | --program-su | --program-s)
1900 ac_prev=program_suffix ;;
1901 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1902 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1903 program_suffix=$ac_optarg ;;
1905 -program-transform-name | --program-transform-name \
1906 | --program-transform-nam | --program-transform-na \
1907 | --program-transform-n | --program-transform- \
1908 | --program-transform | --program-transfor \
1909 | --program-transfo | --program-transf \
1910 | --program-trans | --program-tran \
1911 | --progr-tra | --program-tr | --program-t)
1912 ac_prev=program_transform_name ;;
1913 -program-transform-name=* | --program-transform-name=* \
1914 | --program-transform-nam=* | --program-transform-na=* \
1915 | --program-transform-n=* | --program-transform-=* \
1916 | --program-transform=* | --program-transfor=* \
1917 | --program-transfo=* | --program-transf=* \
1918 | --program-trans=* | --program-tran=* \
1919 | --progr-tra=* | --program-tr=* | --program-t=*)
1920 program_transform_name=$ac_optarg ;;
1922 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1923 ac_prev=pdfdir ;;
1924 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1925 pdfdir=$ac_optarg ;;
1927 -psdir | --psdir | --psdi | --psd | --ps)
1928 ac_prev=psdir ;;
1929 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1930 psdir=$ac_optarg ;;
1932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1933 | -silent | --silent | --silen | --sile | --sil)
1934 silent=yes ;;
1936 -runstatedir | --runstatedir | --runstatedi | --runstated \
1937 | --runstate | --runstat | --runsta | --runst | --runs \
1938 | --run | --ru | --r)
1939 ac_prev=runstatedir ;;
1940 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1941 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1942 | --run=* | --ru=* | --r=*)
1943 runstatedir=$ac_optarg ;;
1945 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1946 ac_prev=sbindir ;;
1947 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1948 | --sbi=* | --sb=*)
1949 sbindir=$ac_optarg ;;
1951 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1952 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1953 | --sharedst | --shareds | --shared | --share | --shar \
1954 | --sha | --sh)
1955 ac_prev=sharedstatedir ;;
1956 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1957 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1958 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1959 | --sha=* | --sh=*)
1960 sharedstatedir=$ac_optarg ;;
1962 -site | --site | --sit)
1963 ac_prev=site ;;
1964 -site=* | --site=* | --sit=*)
1965 site=$ac_optarg ;;
1967 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1968 ac_prev=srcdir ;;
1969 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1970 srcdir=$ac_optarg ;;
1972 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1973 | --syscon | --sysco | --sysc | --sys | --sy)
1974 ac_prev=sysconfdir ;;
1975 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1976 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1977 sysconfdir=$ac_optarg ;;
1979 -target | --target | --targe | --targ | --tar | --ta | --t)
1980 ac_prev=target_alias ;;
1981 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1982 target_alias=$ac_optarg ;;
1984 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1985 verbose=yes ;;
1987 -version | --version | --versio | --versi | --vers | -V)
1988 ac_init_version=: ;;
1990 -with-* | --with-*)
1991 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1994 as_fn_error $? "invalid package name: $ac_useropt"
1995 ac_useropt_orig=$ac_useropt
1996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
1999 "with_$ac_useropt"
2000 "*) ;;
2001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2002 ac_unrecognized_sep=', ';;
2003 esac
2004 eval with_$ac_useropt=\$ac_optarg ;;
2006 -without-* | --without-*)
2007 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2008 # Reject names that are not valid shell variable names.
2009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2010 as_fn_error $? "invalid package name: $ac_useropt"
2011 ac_useropt_orig=$ac_useropt
2012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2013 case $ac_user_opts in
2015 "with_$ac_useropt"
2016 "*) ;;
2017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2018 ac_unrecognized_sep=', ';;
2019 esac
2020 eval with_$ac_useropt=no ;;
2022 --x)
2023 # Obsolete; use --with-x.
2024 with_x=yes ;;
2026 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2027 | --x-incl | --x-inc | --x-in | --x-i)
2028 ac_prev=x_includes ;;
2029 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2030 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2031 x_includes=$ac_optarg ;;
2033 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2034 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2035 ac_prev=x_libraries ;;
2036 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2037 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2038 x_libraries=$ac_optarg ;;
2040 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2041 Try \`$0 --help' for more information"
2044 *=*)
2045 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2046 # Reject names that are not valid shell variable names.
2047 case $ac_envvar in #(
2048 '' | [0-9]* | *[!_$as_cr_alnum]* )
2049 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2050 esac
2051 eval $ac_envvar=\$ac_optarg
2052 export $ac_envvar ;;
2055 # FIXME: should be removed in autoconf 3.0.
2056 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2057 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2058 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2059 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2062 esac
2063 done
2065 if test -n "$ac_prev"; then
2066 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2067 as_fn_error $? "missing argument to $ac_option"
2070 if test -n "$ac_unrecognized_opts"; then
2071 case $enable_option_checking in
2072 no) ;;
2073 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2074 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2075 esac
2078 # Check all directory arguments for consistency.
2079 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2080 datadir sysconfdir sharedstatedir localstatedir includedir \
2081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2082 libdir localedir mandir runstatedir
2084 eval ac_val=\$$ac_var
2085 # Remove trailing slashes.
2086 case $ac_val in
2087 */ )
2088 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2089 eval $ac_var=\$ac_val;;
2090 esac
2091 # Be sure to have absolute directory names.
2092 case $ac_val in
2093 [\\/$]* | ?:[\\/]* ) continue;;
2094 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2095 esac
2096 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2097 done
2099 # There might be people who depend on the old broken behavior: `$host'
2100 # used to hold the argument of --host etc.
2101 # FIXME: To remove some day.
2102 build=$build_alias
2103 host=$host_alias
2104 target=$target_alias
2106 # FIXME: To remove some day.
2107 if test "x$host_alias" != x; then
2108 if test "x$build_alias" = x; then
2109 cross_compiling=maybe
2110 elif test "x$build_alias" != "x$host_alias"; then
2111 cross_compiling=yes
2115 ac_tool_prefix=
2116 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2118 test "$silent" = yes && exec 6>/dev/null
2121 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2122 ac_ls_di=`ls -di .` &&
2123 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2124 as_fn_error $? "working directory cannot be determined"
2125 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2126 as_fn_error $? "pwd does not report name of working directory"
2129 # Find the source files, if location was not specified.
2130 if test -z "$srcdir"; then
2131 ac_srcdir_defaulted=yes
2132 # Try the directory containing this script, then the parent directory.
2133 ac_confdir=`$as_dirname -- "$as_myself" ||
2134 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2135 X"$as_myself" : 'X\(//\)[^/]' \| \
2136 X"$as_myself" : 'X\(//\)$' \| \
2137 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2138 $as_echo X"$as_myself" |
2139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2140 s//\1/
2143 /^X\(\/\/\)[^/].*/{
2144 s//\1/
2147 /^X\(\/\/\)$/{
2148 s//\1/
2151 /^X\(\/\).*/{
2152 s//\1/
2155 s/.*/./; q'`
2156 srcdir=$ac_confdir
2157 if test ! -r "$srcdir/$ac_unique_file"; then
2158 srcdir=..
2160 else
2161 ac_srcdir_defaulted=no
2163 if test ! -r "$srcdir/$ac_unique_file"; then
2164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2165 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2168 ac_abs_confdir=`(
2169 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2170 pwd)`
2171 # When building in place, set srcdir=.
2172 if test "$ac_abs_confdir" = "$ac_pwd"; then
2173 srcdir=.
2175 # Remove unnecessary trailing slashes from srcdir.
2176 # Double slashes in file names in object file debugging info
2177 # mess up M-x gdb in Emacs.
2178 case $srcdir in
2179 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2180 esac
2181 for ac_var in $ac_precious_vars; do
2182 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2183 eval ac_env_${ac_var}_value=\$${ac_var}
2184 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2185 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2186 done
2189 # Report the --help message.
2191 if test "$ac_init_help" = "long"; then
2192 # Omit some internal or obsolete options to make the list less imposing.
2193 # This message is too long to be a string in the A/UX 3.1 sh.
2194 cat <<_ACEOF
2195 \`configure' configures Wine 1.9.20 to adapt to many kinds of systems.
2197 Usage: $0 [OPTION]... [VAR=VALUE]...
2199 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2200 VAR=VALUE. See below for descriptions of some of the useful variables.
2202 Defaults for the options are specified in brackets.
2204 Configuration:
2205 -h, --help display this help and exit
2206 --help=short display options specific to this package
2207 --help=recursive display the short help of all the included packages
2208 -V, --version display version information and exit
2209 -q, --quiet, --silent do not print \`checking ...' messages
2210 --cache-file=FILE cache test results in FILE [disabled]
2211 -C, --config-cache alias for \`--cache-file=config.cache'
2212 -n, --no-create do not create output files
2213 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2215 Installation directories:
2216 --prefix=PREFIX install architecture-independent files in PREFIX
2217 [$ac_default_prefix]
2218 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2219 [PREFIX]
2221 By default, \`make install' will install all the files in
2222 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2223 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2224 for instance \`--prefix=\$HOME'.
2226 For better control, use the options below.
2228 Fine tuning of the installation directories:
2229 --bindir=DIR user executables [EPREFIX/bin]
2230 --sbindir=DIR system admin executables [EPREFIX/sbin]
2231 --libexecdir=DIR program executables [EPREFIX/libexec]
2232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2234 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2235 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2236 --libdir=DIR object code libraries [EPREFIX/lib]
2237 --includedir=DIR C header files [PREFIX/include]
2238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2241 --infodir=DIR info documentation [DATAROOTDIR/info]
2242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2243 --mandir=DIR man documentation [DATAROOTDIR/man]
2244 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2245 --htmldir=DIR html documentation [DOCDIR]
2246 --dvidir=DIR dvi documentation [DOCDIR]
2247 --pdfdir=DIR pdf documentation [DOCDIR]
2248 --psdir=DIR ps documentation [DOCDIR]
2249 _ACEOF
2251 cat <<\_ACEOF
2253 X features:
2254 --x-includes=DIR X include files are in DIR
2255 --x-libraries=DIR X library files are in DIR
2257 System types:
2258 --build=BUILD configure for building on BUILD [guessed]
2259 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2260 _ACEOF
2263 if test -n "$ac_init_help"; then
2264 case $ac_init_help in
2265 short | recursive ) echo "Configuration of Wine 1.9.20:";;
2266 esac
2267 cat <<\_ACEOF
2269 Optional Features:
2270 --disable-option-checking ignore unrecognized --enable/--with options
2271 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2272 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2273 --disable-win16 do not include Win16 support
2274 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2275 binaries)
2276 --disable-tests do not build the regression tests
2277 --enable-maintainer-mode
2278 enable maintainer-specific build rules
2279 --disable-largefile omit support for large files
2281 Optional Packages:
2282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2284 --without-alsa do not use the Alsa sound support
2285 --without-capi do not use CAPI (ISDN support)
2286 --without-cms do not use CMS (color management support)
2287 --without-coreaudio do not use the CoreAudio sound support
2288 --without-cups do not use CUPS
2289 --without-curses do not use (n)curses
2290 --without-dbus do not use DBus (dynamic device support)
2291 --without-fontconfig do not use fontconfig
2292 --without-freetype do not use the FreeType library
2293 --without-gettext do not use gettext
2294 --with-gettextpo use the GetTextPO library to rebuild po files
2295 --without-gphoto do not use gphoto (Digital Camera support)
2296 --without-glu do not use the GLU library
2297 --without-gnutls do not use GnuTLS (schannel support)
2298 --without-gsm do not use libgsm (GSM 06.10 codec support)
2299 --without-gstreamer do not use GStreamer (codecs support)
2300 --without-hal do not use HAL (dynamic device support)
2301 --without-jpeg do not use JPEG
2302 --without-ldap do not use LDAP
2303 --without-mpg123 do not use the mpg123 library
2304 --without-netapi do not use the Samba NetAPI library
2305 --without-openal do not use OpenAL
2306 --without-opencl do not use OpenCL
2307 --without-opengl do not use OpenGL
2308 --without-osmesa do not use the OSMesa library
2309 --without-oss do not use the OSS sound support
2310 --without-pcap do not use the Packet Capture library
2311 --without-png do not use PNG
2312 --without-pthread do not use the pthread library
2313 --without-pulse do not use PulseAudio sound support
2314 --without-sane do not use SANE (scanner support)
2315 --without-tiff do not use TIFF
2316 --without-udev do not use udev (plug and play support)
2317 --without-v4l do not use v4l1 (v4l support)
2318 --without-xcomposite do not use the Xcomposite extension
2319 --without-xcursor do not use the Xcursor extension
2320 --without-xinerama do not use Xinerama (multi-monitor support)
2321 --without-xinput do not use the Xinput extension
2322 --without-xinput2 do not use the Xinput 2 extension
2323 --without-xml do not use XML
2324 --without-xrandr do not use Xrandr (resolution changes)
2325 --without-xrender do not use the Xrender extension
2326 --without-xshape do not use the Xshape extension
2327 --without-xshm do not use XShm (shared memory extension)
2328 --without-xslt do not use XSLT
2329 --without-xxf86vm do not use XFree video mode extension
2330 --without-zlib do not use Zlib (data compression)
2331 --with-wine-tools=DIR use Wine tools from directory DIR
2332 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2333 --with-x use the X Window System
2335 Some influential environment variables:
2336 CC C compiler command
2337 CFLAGS C compiler flags
2338 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2339 nonstandard directory <lib dir>
2340 LIBS libraries to pass to the linker, e.g. -l<library>
2341 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2342 you have headers in a nonstandard directory <include dir>
2343 CXX C++ compiler command
2344 CXXFLAGS C++ compiler flags
2345 CPP C preprocessor
2346 XMKMF Path to xmkmf, Makefile generator for X Window System
2347 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2348 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2349 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2350 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2351 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2352 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2353 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2354 HAL_LIBS Linker flags for hal, overriding pkg-config
2355 GNUTLS_CFLAGS
2356 C compiler flags for gnutls, overriding pkg-config
2357 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2358 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2359 SANE_LIBS Linker flags for libsane, overriding pkg-config
2360 GPHOTO2_CFLAGS
2361 C compiler flags for libgphoto2, overriding pkg-config
2362 GPHOTO2_LIBS
2363 Linker flags for libgphoto2, overriding pkg-config
2364 GPHOTO2_PORT_CFLAGS
2365 C compiler flags for libgphoto2_port, overriding pkg-config
2366 GPHOTO2_PORT_LIBS
2367 Linker flags for libgphoto2_port, overriding pkg-config
2368 LCMS2_CFLAGS
2369 C compiler flags for lcms2, overriding pkg-config
2370 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2371 FREETYPE_CFLAGS
2372 C compiler flags for freetype2, overriding pkg-config
2373 FREETYPE_LIBS
2374 Linker flags for freetype2, overriding pkg-config
2375 PULSE_CFLAGS
2376 C compiler flags for libpulse, overriding pkg-config
2377 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2378 GSTREAMER_CFLAGS
2379 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2380 gstreamer-audio-1.0, overriding pkg-config
2381 GSTREAMER_LIBS
2382 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2383 gstreamer-audio-1.0, overriding pkg-config
2384 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2385 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2386 CAPI20_CFLAGS
2387 C compiler flags for capi20, overriding pkg-config
2388 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2389 FONTCONFIG_CFLAGS
2390 C compiler flags for fontconfig, overriding pkg-config
2391 FONTCONFIG_LIBS
2392 Linker flags for fontconfig, overriding pkg-config
2393 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2394 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2395 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2396 PNG_LIBS Linker flags for libpng, overriding pkg-config
2397 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2398 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2399 MPG123_CFLAGS
2400 C compiler flags for libmpg123, overriding pkg-config
2401 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2402 NETAPI_CFLAGS
2403 C compiler flags for netapi, overriding pkg-config
2404 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2406 Use these variables to override the choices made by `configure' or to help
2407 it to find libraries and programs with nonstandard names/locations.
2409 Report bugs to <wine-devel@winehq.org>.
2410 Wine home page: <http://www.winehq.org>.
2411 _ACEOF
2412 ac_status=$?
2415 if test "$ac_init_help" = "recursive"; then
2416 # If there are subdirs, report their specific --help.
2417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2418 test -d "$ac_dir" ||
2419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2420 continue
2421 ac_builddir=.
2423 case "$ac_dir" in
2424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2427 # A ".." for each directory in $ac_dir_suffix.
2428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2429 case $ac_top_builddir_sub in
2430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2432 esac ;;
2433 esac
2434 ac_abs_top_builddir=$ac_pwd
2435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2436 # for backward compatibility:
2437 ac_top_builddir=$ac_top_build_prefix
2439 case $srcdir in
2440 .) # We are building in place.
2441 ac_srcdir=.
2442 ac_top_srcdir=$ac_top_builddir_sub
2443 ac_abs_top_srcdir=$ac_pwd ;;
2444 [\\/]* | ?:[\\/]* ) # Absolute name.
2445 ac_srcdir=$srcdir$ac_dir_suffix;
2446 ac_top_srcdir=$srcdir
2447 ac_abs_top_srcdir=$srcdir ;;
2448 *) # Relative name.
2449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2450 ac_top_srcdir=$ac_top_build_prefix$srcdir
2451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2452 esac
2453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2455 cd "$ac_dir" || { ac_status=$?; continue; }
2456 # Check for guested configure.
2457 if test -f "$ac_srcdir/configure.gnu"; then
2458 echo &&
2459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2460 elif test -f "$ac_srcdir/configure"; then
2461 echo &&
2462 $SHELL "$ac_srcdir/configure" --help=recursive
2463 else
2464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2465 fi || ac_status=$?
2466 cd "$ac_pwd" || { ac_status=$?; break; }
2467 done
2470 test -n "$ac_init_help" && exit $ac_status
2471 if $ac_init_version; then
2472 cat <<\_ACEOF
2473 Wine configure 1.9.20
2474 generated by GNU Autoconf 2.69
2476 Copyright (C) 2012 Free Software Foundation, Inc.
2477 This configure script is free software; the Free Software Foundation
2478 gives unlimited permission to copy, distribute and modify it.
2479 _ACEOF
2480 exit
2483 ## ------------------------ ##
2484 ## Autoconf initialization. ##
2485 ## ------------------------ ##
2487 # ac_fn_c_try_compile LINENO
2488 # --------------------------
2489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2490 ac_fn_c_try_compile ()
2492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2493 rm -f conftest.$ac_objext
2494 if { { ac_try="$ac_compile"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_compile") 2>conftest.err
2502 ac_status=$?
2503 if test -s conftest.err; then
2504 grep -v '^ *+' conftest.err >conftest.er1
2505 cat conftest.er1 >&5
2506 mv -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; } && {
2510 test -z "$ac_c_werror_flag" ||
2511 test ! -s conftest.err
2512 } && test -s conftest.$ac_objext; then :
2513 ac_retval=0
2514 else
2515 $as_echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2518 ac_retval=1
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status $ac_retval
2523 } # ac_fn_c_try_compile
2525 # ac_fn_cxx_try_compile LINENO
2526 # ----------------------------
2527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2528 ac_fn_cxx_try_compile ()
2530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2531 rm -f conftest.$ac_objext
2532 if { { ac_try="$ac_compile"
2533 case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_compile") 2>conftest.err
2540 ac_status=$?
2541 if test -s conftest.err; then
2542 grep -v '^ *+' conftest.err >conftest.er1
2543 cat conftest.er1 >&5
2544 mv -f conftest.er1 conftest.err
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; } && {
2548 test -z "$ac_cxx_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then :
2551 ac_retval=0
2552 else
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 ac_retval=1
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_cxx_try_compile
2563 # ac_fn_c_try_link LINENO
2564 # -----------------------
2565 # Try to link conftest.$ac_ext, and return whether this succeeded.
2566 ac_fn_c_try_link ()
2568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2569 rm -f conftest.$ac_objext conftest$ac_exeext
2570 if { { ac_try="$ac_link"
2571 case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_link") 2>conftest.err
2578 ac_status=$?
2579 if test -s conftest.err; then
2580 grep -v '^ *+' conftest.err >conftest.er1
2581 cat conftest.er1 >&5
2582 mv -f conftest.er1 conftest.err
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && {
2586 test -z "$ac_c_werror_flag" ||
2587 test ! -s conftest.err
2588 } && test -s conftest$ac_exeext && {
2589 test "$cross_compiling" = yes ||
2590 test -x conftest$ac_exeext
2591 }; then :
2592 ac_retval=0
2593 else
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 ac_retval=1
2599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2601 # interfere with the next link command; also delete a directory that is
2602 # left behind by Apple's compiler. We do this before executing the actions.
2603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2607 } # ac_fn_c_try_link
2609 # ac_fn_c_try_cpp LINENO
2610 # ----------------------
2611 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_c_try_cpp ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 if { { ac_try="$ac_cpp conftest.$ac_ext"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2623 ac_status=$?
2624 if test -s conftest.err; then
2625 grep -v '^ *+' conftest.err >conftest.er1
2626 cat conftest.er1 >&5
2627 mv -f conftest.er1 conftest.err
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } > conftest.i && {
2631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 }; then :
2634 ac_retval=0
2635 else
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_retval=1
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 as_fn_set_status $ac_retval
2644 } # ac_fn_c_try_cpp
2646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2647 # -------------------------------------------------------
2648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2649 # the include files in INCLUDES and setting the cache variable VAR
2650 # accordingly.
2651 ac_fn_c_check_header_mongrel ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 if eval \${$3+:} false; then :
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \${$3+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 eval ac_res=\$$3
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2663 else
2664 # Is the header compilable?
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2666 $as_echo_n "checking $2 usability... " >&6; }
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2670 #include <$2>
2671 _ACEOF
2672 if ac_fn_c_try_compile "$LINENO"; then :
2673 ac_header_compiler=yes
2674 else
2675 ac_header_compiler=no
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2679 $as_echo "$ac_header_compiler" >&6; }
2681 # Is the header present?
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2683 $as_echo_n "checking $2 presence... " >&6; }
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2686 #include <$2>
2687 _ACEOF
2688 if ac_fn_c_try_cpp "$LINENO"; then :
2689 ac_header_preproc=yes
2690 else
2691 ac_header_preproc=no
2693 rm -f conftest.err conftest.i conftest.$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2695 $as_echo "$ac_header_preproc" >&6; }
2697 # So? What about this header?
2698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2699 yes:no: )
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2705 no:yes:* )
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 ( $as_echo "## ------------------------------------ ##
2717 ## Report this to wine-devel@winehq.org ##
2718 ## ------------------------------------ ##"
2719 ) | sed "s/^/$as_me: WARNING: /" >&2
2721 esac
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723 $as_echo_n "checking for $2... " >&6; }
2724 if eval \${$3+:} false; then :
2725 $as_echo_n "(cached) " >&6
2726 else
2727 eval "$3=\$ac_header_compiler"
2729 eval ac_res=\$$3
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2731 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_header_mongrel
2737 # ac_fn_c_try_run LINENO
2738 # ----------------------
2739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2740 # that executables *can* be run.
2741 ac_fn_c_try_run ()
2743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2744 if { { ac_try="$ac_link"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_link") 2>&5
2752 ac_status=$?
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2755 { { case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_try") 2>&5
2762 ac_status=$?
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; }; }; then :
2765 ac_retval=0
2766 else
2767 $as_echo "$as_me: program exited with status $ac_status" >&5
2768 $as_echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_retval=$ac_status
2773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2775 as_fn_set_status $ac_retval
2777 } # ac_fn_c_try_run
2779 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2780 # -------------------------------------------------------
2781 # Tests whether HEADER exists and can be compiled using the include files in
2782 # INCLUDES, setting the cache variable VAR accordingly.
2783 ac_fn_c_check_header_compile ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2787 $as_echo_n "checking for $2... " >&6; }
2788 if eval \${$3+:} false; then :
2789 $as_echo_n "(cached) " >&6
2790 else
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2794 #include <$2>
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797 eval "$3=yes"
2798 else
2799 eval "$3=no"
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 eval ac_res=\$$3
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_header_compile
2810 # ac_fn_c_check_func LINENO FUNC VAR
2811 # ----------------------------------
2812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2813 ac_fn_c_check_func ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 $as_echo_n "checking for $2... " >&6; }
2818 if eval \${$3+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2825 #define $2 innocuous_$2
2827 /* System header to define __stub macros and hopefully few prototypes,
2828 which can conflict with char $2 (); below.
2829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2830 <limits.h> exists even on freestanding compilers. */
2832 #ifdef __STDC__
2833 # include <limits.h>
2834 #else
2835 # include <assert.h>
2836 #endif
2838 #undef $2
2840 /* Override any GCC internal prototype to avoid an error.
2841 Use char because int might match the return type of a GCC
2842 builtin and then its argument prototype would still apply. */
2843 #ifdef __cplusplus
2844 extern "C"
2845 #endif
2846 char $2 ();
2847 /* The GNU C library defines this for functions which it implements
2848 to always fail with ENOSYS. Some functions are actually named
2849 something starting with __ and the normal name is an alias. */
2850 #if defined __stub_$2 || defined __stub___$2
2851 choke me
2852 #endif
2855 main ()
2857 return $2 ();
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_link "$LINENO"; then :
2863 eval "$3=yes"
2864 else
2865 eval "$3=no"
2867 rm -f core conftest.err conftest.$ac_objext \
2868 conftest$ac_exeext conftest.$ac_ext
2870 eval ac_res=\$$3
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 $as_echo "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_func
2877 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2878 # ----------------------------------------------------
2879 # Tries to find if the field MEMBER exists in type AGGR, after including
2880 # INCLUDES, setting cache variable VAR accordingly.
2881 ac_fn_c_check_member ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2885 $as_echo_n "checking for $2.$3... " >&6; }
2886 if eval \${$4+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 static $2 ac_aggr;
2896 if (ac_aggr.$3)
2897 return 0;
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2903 eval "$4=yes"
2904 else
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2911 static $2 ac_aggr;
2912 if (sizeof ac_aggr.$3)
2913 return 0;
2915 return 0;
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2919 eval "$4=yes"
2920 else
2921 eval "$4=no"
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 eval ac_res=\$$4
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 $as_echo "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_member
2934 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2935 # -------------------------------------------
2936 # Tests whether TYPE exists after having included INCLUDES, setting cache
2937 # variable VAR accordingly.
2938 ac_fn_c_check_type ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 eval "$3=no"
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 main ()
2953 if (sizeof ($2))
2954 return 0;
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2966 if (sizeof (($2)))
2967 return 0;
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2974 else
2975 eval "$3=yes"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 eval ac_res=\$$3
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2983 $as_echo "$ac_res" >&6; }
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 } # ac_fn_c_check_type
2987 cat >config.log <<_ACEOF
2988 This file contains any messages produced by compilers while
2989 running configure, to aid debugging if configure makes a mistake.
2991 It was created by Wine $as_me 1.9.20, which was
2992 generated by GNU Autoconf 2.69. Invocation command line was
2994 $ $0 $@
2996 _ACEOF
2997 exec 5>>config.log
2999 cat <<_ASUNAME
3000 ## --------- ##
3001 ## Platform. ##
3002 ## --------- ##
3004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3016 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3021 _ASUNAME
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 $as_echo "PATH: $as_dir"
3029 done
3030 IFS=$as_save_IFS
3032 } >&5
3034 cat >&5 <<_ACEOF
3037 ## ----------- ##
3038 ## Core tests. ##
3039 ## ----------- ##
3041 _ACEOF
3044 # Keep a trace of the command line.
3045 # Strip out --no-create and --no-recursion so they do not pile up.
3046 # Strip out --silent because we don't want to record it for future runs.
3047 # Also quote any args containing shell meta-characters.
3048 # Make two passes to allow for proper duplicate-argument suppression.
3049 ac_configure_args=
3050 ac_configure_args0=
3051 ac_configure_args1=
3052 ac_must_keep_next=false
3053 for ac_pass in 1 2
3055 for ac_arg
3057 case $ac_arg in
3058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3060 | -silent | --silent | --silen | --sile | --sil)
3061 continue ;;
3062 *\'*)
3063 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3064 esac
3065 case $ac_pass in
3066 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3068 as_fn_append ac_configure_args1 " '$ac_arg'"
3069 if test $ac_must_keep_next = true; then
3070 ac_must_keep_next=false # Got value, back to normal.
3071 else
3072 case $ac_arg in
3073 *=* | --config-cache | -C | -disable-* | --disable-* \
3074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3076 | -with-* | --with-* | -without-* | --without-* | --x)
3077 case "$ac_configure_args0 " in
3078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3079 esac
3081 -* ) ac_must_keep_next=true ;;
3082 esac
3084 as_fn_append ac_configure_args " '$ac_arg'"
3086 esac
3087 done
3088 done
3089 { ac_configure_args0=; unset ac_configure_args0;}
3090 { ac_configure_args1=; unset ac_configure_args1;}
3092 # When interrupted or exit'd, cleanup temporary files, and complete
3093 # config.log. We remove comments because anyway the quotes in there
3094 # would cause problems or look ugly.
3095 # WARNING: Use '\'' to represent an apostrophe within the trap.
3096 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3097 trap 'exit_status=$?
3098 # Save into config.log some information that might help in debugging.
3100 echo
3102 $as_echo "## ---------------- ##
3103 ## Cache variables. ##
3104 ## ---------------- ##"
3105 echo
3106 # The following way of writing the cache mishandles newlines in values,
3108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3109 eval ac_val=\$$ac_var
3110 case $ac_val in #(
3111 *${as_nl}*)
3112 case $ac_var in #(
3113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3115 esac
3116 case $ac_var in #(
3117 _ | IFS | as_nl) ;; #(
3118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3119 *) { eval $ac_var=; unset $ac_var;} ;;
3120 esac ;;
3121 esac
3122 done
3123 (set) 2>&1 |
3124 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3125 *${as_nl}ac_space=\ *)
3126 sed -n \
3127 "s/'\''/'\''\\\\'\'''\''/g;
3128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3129 ;; #(
3131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3133 esac |
3134 sort
3136 echo
3138 $as_echo "## ----------------- ##
3139 ## Output variables. ##
3140 ## ----------------- ##"
3141 echo
3142 for ac_var in $ac_subst_vars
3144 eval ac_val=\$$ac_var
3145 case $ac_val in
3146 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3147 esac
3148 $as_echo "$ac_var='\''$ac_val'\''"
3149 done | sort
3150 echo
3152 if test -n "$ac_subst_files"; then
3153 $as_echo "## ------------------- ##
3154 ## File substitutions. ##
3155 ## ------------------- ##"
3156 echo
3157 for ac_var in $ac_subst_files
3159 eval ac_val=\$$ac_var
3160 case $ac_val in
3161 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3162 esac
3163 $as_echo "$ac_var='\''$ac_val'\''"
3164 done | sort
3165 echo
3168 if test -s confdefs.h; then
3169 $as_echo "## ----------- ##
3170 ## confdefs.h. ##
3171 ## ----------- ##"
3172 echo
3173 cat confdefs.h
3174 echo
3176 test "$ac_signal" != 0 &&
3177 $as_echo "$as_me: caught signal $ac_signal"
3178 $as_echo "$as_me: exit $exit_status"
3179 } >&5
3180 rm -f core *.core core.conftest.* &&
3181 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3182 exit $exit_status
3184 for ac_signal in 1 2 13 15; do
3185 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3186 done
3187 ac_signal=0
3189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3190 rm -f -r conftest* confdefs.h
3192 $as_echo "/* confdefs.h */" > confdefs.h
3194 # Predefined preprocessor variables.
3196 cat >>confdefs.h <<_ACEOF
3197 #define PACKAGE_NAME "$PACKAGE_NAME"
3198 _ACEOF
3200 cat >>confdefs.h <<_ACEOF
3201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3202 _ACEOF
3204 cat >>confdefs.h <<_ACEOF
3205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3206 _ACEOF
3208 cat >>confdefs.h <<_ACEOF
3209 #define PACKAGE_STRING "$PACKAGE_STRING"
3210 _ACEOF
3212 cat >>confdefs.h <<_ACEOF
3213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3214 _ACEOF
3216 cat >>confdefs.h <<_ACEOF
3217 #define PACKAGE_URL "$PACKAGE_URL"
3218 _ACEOF
3221 # Let the site file select an alternate cache file if it wants to.
3222 # Prefer an explicitly selected file to automatically selected ones.
3223 ac_site_file1=NONE
3224 ac_site_file2=NONE
3225 if test -n "$CONFIG_SITE"; then
3226 # We do not want a PATH search for config.site.
3227 case $CONFIG_SITE in #((
3228 -*) ac_site_file1=./$CONFIG_SITE;;
3229 */*) ac_site_file1=$CONFIG_SITE;;
3230 *) ac_site_file1=./$CONFIG_SITE;;
3231 esac
3232 elif test "x$prefix" != xNONE; then
3233 ac_site_file1=$prefix/share/config.site
3234 ac_site_file2=$prefix/etc/config.site
3235 else
3236 ac_site_file1=$ac_default_prefix/share/config.site
3237 ac_site_file2=$ac_default_prefix/etc/config.site
3239 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3241 test "x$ac_site_file" = xNONE && continue
3242 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3244 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3245 sed 's/^/| /' "$ac_site_file" >&5
3246 . "$ac_site_file" \
3247 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $? "failed to load site script $ac_site_file
3250 See \`config.log' for more details" "$LINENO" 5; }
3252 done
3254 if test -r "$cache_file"; then
3255 # Some versions of bash will fail to source /dev/null (special files
3256 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3257 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3259 $as_echo "$as_me: loading cache $cache_file" >&6;}
3260 case $cache_file in
3261 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3262 *) . "./$cache_file";;
3263 esac
3265 else
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3267 $as_echo "$as_me: creating cache $cache_file" >&6;}
3268 >$cache_file
3271 # Check that the precious variables saved in the cache have kept the same
3272 # value.
3273 ac_cache_corrupted=false
3274 for ac_var in $ac_precious_vars; do
3275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3276 eval ac_new_set=\$ac_env_${ac_var}_set
3277 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3278 eval ac_new_val=\$ac_env_${ac_var}_value
3279 case $ac_old_set,$ac_new_set in
3280 set,)
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3282 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3283 ac_cache_corrupted=: ;;
3284 ,set)
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3286 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3287 ac_cache_corrupted=: ;;
3288 ,);;
3290 if test "x$ac_old_val" != "x$ac_new_val"; then
3291 # differences in whitespace do not lead to failure.
3292 ac_old_val_w=`echo x $ac_old_val`
3293 ac_new_val_w=`echo x $ac_new_val`
3294 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3296 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3297 ac_cache_corrupted=:
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3300 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3301 eval $ac_var=\$ac_old_val
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3304 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3306 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3307 fi;;
3308 esac
3309 # Pass precious variables to config.status.
3310 if test "$ac_new_set" = set; then
3311 case $ac_new_val in
3312 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3313 *) ac_arg=$ac_var=$ac_new_val ;;
3314 esac
3315 case " $ac_configure_args " in
3316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3317 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3318 esac
3320 done
3321 if $ac_cache_corrupted; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3325 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3326 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3328 ## -------------------- ##
3329 ## Main body of script. ##
3330 ## -------------------- ##
3332 ac_ext=c
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 ac_config_headers="$ac_config_headers include/config.h"
3342 ac_aux_dir=
3343 for ac_dir in tools "$srcdir"/tools; do
3344 if test -f "$ac_dir/install-sh"; then
3345 ac_aux_dir=$ac_dir
3346 ac_install_sh="$ac_aux_dir/install-sh -c"
3347 break
3348 elif test -f "$ac_dir/install.sh"; then
3349 ac_aux_dir=$ac_dir
3350 ac_install_sh="$ac_aux_dir/install.sh -c"
3351 break
3352 elif test -f "$ac_dir/shtool"; then
3353 ac_aux_dir=$ac_dir
3354 ac_install_sh="$ac_aux_dir/shtool install -c"
3355 break
3357 done
3358 if test -z "$ac_aux_dir"; then
3359 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3362 # These three variables are undocumented and unsupported,
3363 # and are intended to be withdrawn in a future Autoconf release.
3364 # They can cause serious problems if a builder's source tree is in a directory
3365 # whose full name contains unusual characters.
3366 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3367 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3368 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3372 libwine_version="1.0"
3376 # Check whether --enable-win16 was given.
3377 if test "${enable_win16+set}" = set; then :
3378 enableval=$enable_win16;
3381 # Check whether --enable-win64 was given.
3382 if test "${enable_win64+set}" = set; then :
3383 enableval=$enable_win64;
3386 # Check whether --enable-tests was given.
3387 if test "${enable_tests+set}" = set; then :
3388 enableval=$enable_tests;
3391 # Check whether --enable-maintainer-mode was given.
3392 if test "${enable_maintainer_mode+set}" = set; then :
3393 enableval=$enable_maintainer_mode;
3398 # Check whether --with-alsa was given.
3399 if test "${with_alsa+set}" = set; then :
3400 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3404 # Check whether --with-capi was given.
3405 if test "${with_capi+set}" = set; then :
3406 withval=$with_capi;
3410 # Check whether --with-cms was given.
3411 if test "${with_cms+set}" = set; then :
3412 withval=$with_cms;
3416 # Check whether --with-coreaudio was given.
3417 if test "${with_coreaudio+set}" = set; then :
3418 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3422 # Check whether --with-cups was given.
3423 if test "${with_cups+set}" = set; then :
3424 withval=$with_cups;
3428 # Check whether --with-curses was given.
3429 if test "${with_curses+set}" = set; then :
3430 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3434 # Check whether --with-dbus was given.
3435 if test "${with_dbus+set}" = set; then :
3436 withval=$with_dbus;
3440 # Check whether --with-fontconfig was given.
3441 if test "${with_fontconfig+set}" = set; then :
3442 withval=$with_fontconfig;
3446 # Check whether --with-freetype was given.
3447 if test "${with_freetype+set}" = set; then :
3448 withval=$with_freetype;
3452 # Check whether --with-gettext was given.
3453 if test "${with_gettext+set}" = set; then :
3454 withval=$with_gettext;
3458 # Check whether --with-gettextpo was given.
3459 if test "${with_gettextpo+set}" = set; then :
3460 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3464 # Check whether --with-gphoto was given.
3465 if test "${with_gphoto+set}" = set; then :
3466 withval=$with_gphoto;
3470 # Check whether --with-glu was given.
3471 if test "${with_glu+set}" = set; then :
3472 withval=$with_glu;
3476 # Check whether --with-gnutls was given.
3477 if test "${with_gnutls+set}" = set; then :
3478 withval=$with_gnutls;
3482 # Check whether --with-gsm was given.
3483 if test "${with_gsm+set}" = set; then :
3484 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3488 # Check whether --with-gstreamer was given.
3489 if test "${with_gstreamer+set}" = set; then :
3490 withval=$with_gstreamer;
3494 # Check whether --with-hal was given.
3495 if test "${with_hal+set}" = set; then :
3496 withval=$with_hal;
3500 # Check whether --with-jpeg was given.
3501 if test "${with_jpeg+set}" = set; then :
3502 withval=$with_jpeg;
3506 # Check whether --with-ldap was given.
3507 if test "${with_ldap+set}" = set; then :
3508 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3512 # Check whether --with-mpg123 was given.
3513 if test "${with_mpg123+set}" = set; then :
3514 withval=$with_mpg123;
3518 # Check whether --with-netapi was given.
3519 if test "${with_netapi+set}" = set; then :
3520 withval=$with_netapi;
3524 # Check whether --with-openal was given.
3525 if test "${with_openal+set}" = set; then :
3526 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3530 # Check whether --with-opencl was given.
3531 if test "${with_opencl+set}" = set; then :
3532 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3536 # Check whether --with-opengl was given.
3537 if test "${with_opengl+set}" = set; then :
3538 withval=$with_opengl;
3542 # Check whether --with-osmesa was given.
3543 if test "${with_osmesa+set}" = set; then :
3544 withval=$with_osmesa;
3548 # Check whether --with-oss was given.
3549 if test "${with_oss+set}" = set; then :
3550 withval=$with_oss;
3554 # Check whether --with-pcap was given.
3555 if test "${with_pcap+set}" = set; then :
3556 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3560 # Check whether --with-png was given.
3561 if test "${with_png+set}" = set; then :
3562 withval=$with_png;
3566 # Check whether --with-pthread was given.
3567 if test "${with_pthread+set}" = set; then :
3568 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3572 # Check whether --with-pulse was given.
3573 if test "${with_pulse+set}" = set; then :
3574 withval=$with_pulse;
3578 # Check whether --with-sane was given.
3579 if test "${with_sane+set}" = set; then :
3580 withval=$with_sane;
3584 # Check whether --with-tiff was given.
3585 if test "${with_tiff+set}" = set; then :
3586 withval=$with_tiff;
3590 # Check whether --with-udev was given.
3591 if test "${with_udev+set}" = set; then :
3592 withval=$with_udev;
3596 # Check whether --with-v4l was given.
3597 if test "${with_v4l+set}" = set; then :
3598 withval=$with_v4l;
3602 # Check whether --with-xcomposite was given.
3603 if test "${with_xcomposite+set}" = set; then :
3604 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3608 # Check whether --with-xcursor was given.
3609 if test "${with_xcursor+set}" = set; then :
3610 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3614 # Check whether --with-xinerama was given.
3615 if test "${with_xinerama+set}" = set; then :
3616 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3620 # Check whether --with-xinput was given.
3621 if test "${with_xinput+set}" = set; then :
3622 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3626 # Check whether --with-xinput2 was given.
3627 if test "${with_xinput2+set}" = set; then :
3628 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3632 # Check whether --with-xml was given.
3633 if test "${with_xml+set}" = set; then :
3634 withval=$with_xml;
3638 # Check whether --with-xrandr was given.
3639 if test "${with_xrandr+set}" = set; then :
3640 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3644 # Check whether --with-xrender was given.
3645 if test "${with_xrender+set}" = set; then :
3646 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3650 # Check whether --with-xshape was given.
3651 if test "${with_xshape+set}" = set; then :
3652 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3656 # Check whether --with-xshm was given.
3657 if test "${with_xshm+set}" = set; then :
3658 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3662 # Check whether --with-xslt was given.
3663 if test "${with_xslt+set}" = set; then :
3664 withval=$with_xslt;
3668 # Check whether --with-xxf86vm was given.
3669 if test "${with_xxf86vm+set}" = set; then :
3670 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
3674 # Check whether --with-zlib was given.
3675 if test "${with_zlib+set}" = set; then :
3676 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3681 # Check whether --with-wine-tools was given.
3682 if test "${with_wine_tools+set}" = set; then :
3683 withval=$with_wine_tools;
3687 # Check whether --with-wine64 was given.
3688 if test "${with_wine64+set}" = set; then :
3689 withval=$with_wine64;
3693 # Make sure we can run config.sub.
3694 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3695 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3698 $as_echo_n "checking build system type... " >&6; }
3699 if ${ac_cv_build+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 ac_build_alias=$build_alias
3703 test "x$ac_build_alias" = x &&
3704 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3705 test "x$ac_build_alias" = x &&
3706 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3707 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3708 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3712 $as_echo "$ac_cv_build" >&6; }
3713 case $ac_cv_build in
3714 *-*-*) ;;
3715 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3716 esac
3717 build=$ac_cv_build
3718 ac_save_IFS=$IFS; IFS='-'
3719 set x $ac_cv_build
3720 shift
3721 build_cpu=$1
3722 build_vendor=$2
3723 shift; shift
3724 # Remember, the first character of IFS is used to create $*,
3725 # except with old shells:
3726 build_os=$*
3727 IFS=$ac_save_IFS
3728 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3732 $as_echo_n "checking host system type... " >&6; }
3733 if ${ac_cv_host+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test "x$host_alias" = x; then
3737 ac_cv_host=$ac_cv_build
3738 else
3739 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3740 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3745 $as_echo "$ac_cv_host" >&6; }
3746 case $ac_cv_host in
3747 *-*-*) ;;
3748 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3749 esac
3750 host=$ac_cv_host
3751 ac_save_IFS=$IFS; IFS='-'
3752 set x $ac_cv_host
3753 shift
3754 host_cpu=$1
3755 host_vendor=$2
3756 shift; shift
3757 # Remember, the first character of IFS is used to create $*,
3758 # except with old shells:
3759 host_os=$*
3760 IFS=$ac_save_IFS
3761 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3765 case "$srcdir" in
3766 .) ;;
3767 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3768 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3769 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3770 fi ;;
3771 esac
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3775 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3776 set x ${MAKE-make}
3777 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3778 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 cat >conftest.make <<\_ACEOF
3782 SHELL = /bin/sh
3783 all:
3784 @echo '@@@%%%=$(MAKE)=@@@%%%'
3785 _ACEOF
3786 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3788 *@@@%%%=?*=@@@%%%*)
3789 eval ac_cv_prog_make_${ac_make}_set=yes;;
3791 eval ac_cv_prog_make_${ac_make}_set=no;;
3792 esac
3793 rm -f conftest.make
3795 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3797 $as_echo "yes" >&6; }
3798 SET_MAKE=
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3802 SET_MAKE="MAKE=${MAKE-make}"
3805 ac_ext=c
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC="$CC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3834 IFS=$as_save_IFS
3838 CC=$ac_cv_prog_CC
3839 if test -n "$CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3849 if test -z "$ac_cv_prog_CC"; then
3850 ac_ct_CC=$CC
3851 # Extract the first word of "gcc", so it can be a program name with args.
3852 set dummy gcc; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 if test -n "$ac_ct_CC"; then
3859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3860 else
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_CC="gcc"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 break 2
3872 done
3873 done
3874 IFS=$as_save_IFS
3878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3879 if test -n "$ac_ct_CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3881 $as_echo "$ac_ct_CC" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3887 if test "x$ac_ct_CC" = x; then
3888 CC=""
3889 else
3890 case $cross_compiling:$ac_tool_warned in
3891 yes:)
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned=yes ;;
3895 esac
3896 CC=$ac_ct_CC
3898 else
3899 CC="$ac_cv_prog_CC"
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3905 set dummy ${ac_tool_prefix}cc; ac_word=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_CC+:} false; then :
3909 $as_echo_n "(cached) " >&6
3910 else
3911 if test -n "$CC"; then
3912 ac_cv_prog_CC="$CC" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_CC="${ac_tool_prefix}cc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3927 IFS=$as_save_IFS
3931 CC=$ac_cv_prog_CC
3932 if test -n "$CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3934 $as_echo "$CC" >&6; }
3935 else
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3943 if test -z "$CC"; then
3944 # Extract the first word of "cc", so it can be a program name with args.
3945 set dummy cc; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 if test -n "$CC"; then
3952 ac_cv_prog_CC="$CC" # Let the user override the test.
3953 else
3954 ac_prog_rejected=no
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3963 ac_prog_rejected=yes
3964 continue
3966 ac_cv_prog_CC="cc"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 break 2
3970 done
3971 done
3972 IFS=$as_save_IFS
3974 if test $ac_prog_rejected = yes; then
3975 # We found a bogon in the path, so make sure we never use it.
3976 set dummy $ac_cv_prog_CC
3977 shift
3978 if test $# != 0; then
3979 # We chose a different compiler from the bogus one.
3980 # However, it has the same basename, so the bogon will be chosen
3981 # first if we set CC to just the basename; use the full file name.
3982 shift
3983 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3988 CC=$ac_cv_prog_CC
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3992 else
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 if test -z "$CC"; then
4000 if test -n "$ac_tool_prefix"; then
4001 for ac_prog in cl.exe
4003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CC+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009 else
4010 if test -n "$CC"; then
4011 ac_cv_prog_CC="$CC" # Let the user override the test.
4012 else
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4024 done
4025 done
4026 IFS=$as_save_IFS
4030 CC=$ac_cv_prog_CC
4031 if test -n "$CC"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4033 $as_echo "$CC" >&6; }
4034 else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4040 test -n "$CC" && break
4041 done
4043 if test -z "$CC"; then
4044 ac_ct_CC=$CC
4045 for ac_prog in cl.exe
4047 # Extract the first word of "$ac_prog", so it can be a program name with args.
4048 set dummy $ac_prog; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$ac_ct_CC"; then
4055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4056 else
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_ac_ct_CC="$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 break 2
4068 done
4069 done
4070 IFS=$as_save_IFS
4074 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4075 if test -n "$ac_ct_CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4077 $as_echo "$ac_ct_CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$ac_ct_CC" && break
4085 done
4087 if test "x$ac_ct_CC" = x; then
4088 CC=""
4089 else
4090 case $cross_compiling:$ac_tool_warned in
4091 yes:)
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4094 ac_tool_warned=yes ;;
4095 esac
4096 CC=$ac_ct_CC
4103 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105 as_fn_error $? "no acceptable C compiler found in \$PATH
4106 See \`config.log' for more details" "$LINENO" 5; }
4108 # Provide some information about the compiler.
4109 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4110 set X $ac_compile
4111 ac_compiler=$2
4112 for ac_option in --version -v -V -qversion; do
4113 { { ac_try="$ac_compiler $ac_option >&5"
4114 case "(($ac_try" in
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4117 esac
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4121 ac_status=$?
4122 if test -s conftest.err; then
4123 sed '10a\
4124 ... rest of stderr output deleted ...
4125 10q' conftest.err >conftest.er1
4126 cat conftest.er1 >&5
4128 rm -f conftest.er1 conftest.err
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }
4131 done
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 ac_clean_files_save=$ac_clean_files
4145 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4146 # Try to create an executable without -o first, disregard a.out.
4147 # It will help us diagnose broken compilers, and finding out an intuition
4148 # of exeext.
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4150 $as_echo_n "checking whether the C compiler works... " >&6; }
4151 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4153 # The possible output files:
4154 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4156 ac_rmfiles=
4157 for ac_file in $ac_files
4159 case $ac_file in
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4161 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4162 esac
4163 done
4164 rm -f $ac_rmfiles
4166 if { { ac_try="$ac_link_default"
4167 case "(($ac_try" in
4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4169 *) ac_try_echo=$ac_try;;
4170 esac
4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_link_default") 2>&5
4174 ac_status=$?
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }; then :
4177 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4178 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4179 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4180 # so that the user can short-circuit this test for compilers unknown to
4181 # Autoconf.
4182 for ac_file in $ac_files ''
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4188 [ab].out )
4189 # We found the default executable, but exeext='' is most
4190 # certainly right.
4191 break;;
4192 *.* )
4193 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4194 then :; else
4195 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4197 # We set ac_cv_exeext here because the later test for it is not
4198 # safe: cross compilers may not add the suffix if given an `-o'
4199 # argument, so we may need to know it at that point already.
4200 # Even if this section looks crufty: it has the advantage of
4201 # actually working.
4202 break;;
4204 break;;
4205 esac
4206 done
4207 test "$ac_cv_exeext" = no && ac_cv_exeext=
4209 else
4210 ac_file=''
4212 if test -z "$ac_file"; then :
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 $as_echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.$ac_ext >&5
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error 77 "C compiler cannot create executables
4221 See \`config.log' for more details" "$LINENO" 5; }
4222 else
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4227 $as_echo_n "checking for C compiler default output file name... " >&6; }
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4229 $as_echo "$ac_file" >&6; }
4230 ac_exeext=$ac_cv_exeext
4232 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4233 ac_clean_files=$ac_clean_files_save
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4235 $as_echo_n "checking for suffix of executables... " >&6; }
4236 if { { ac_try="$ac_link"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4244 ac_status=$?
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; then :
4247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4249 # work properly (i.e., refer to `conftest.exe'), while it won't with
4250 # `rm'.
4251 for ac_file in conftest.exe conftest conftest.*; do
4252 test -f "$ac_file" || continue
4253 case $ac_file in
4254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4255 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4256 break;;
4257 * ) break;;
4258 esac
4259 done
4260 else
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4264 See \`config.log' for more details" "$LINENO" 5; }
4266 rm -f conftest conftest$ac_cv_exeext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4268 $as_echo "$ac_cv_exeext" >&6; }
4270 rm -f conftest.$ac_ext
4271 EXEEXT=$ac_cv_exeext
4272 ac_exeext=$EXEEXT
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <stdio.h>
4277 main ()
4279 FILE *f = fopen ("conftest.out", "w");
4280 return ferror (f) || fclose (f) != 0;
4283 return 0;
4285 _ACEOF
4286 ac_clean_files="$ac_clean_files conftest.out"
4287 # Check that the compiler produces executables we can run. If not, either
4288 # the compiler is broken, or we cross compile.
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4290 $as_echo_n "checking whether we are cross compiling... " >&6; }
4291 if test "$cross_compiling" != yes; then
4292 { { ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_link") 2>&5
4300 ac_status=$?
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4303 if { ac_try='./conftest$ac_cv_exeext'
4304 { { case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_try") 2>&5
4311 ac_status=$?
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; }; then
4314 cross_compiling=no
4315 else
4316 if test "$cross_compiling" = maybe; then
4317 cross_compiling=yes
4318 else
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "cannot run C compiled programs.
4322 If you meant to cross compile, use \`--host'.
4323 See \`config.log' for more details" "$LINENO" 5; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4328 $as_echo "$cross_compiling" >&6; }
4330 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4331 ac_clean_files=$ac_clean_files_save
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4333 $as_echo_n "checking for suffix of object files... " >&6; }
4334 if ${ac_cv_objext+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 main ()
4345 return 0;
4347 _ACEOF
4348 rm -f conftest.o conftest.obj
4349 if { { ac_try="$ac_compile"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_compile") 2>&5
4357 ac_status=$?
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }; then :
4360 for ac_file in conftest.o conftest.obj conftest.*; do
4361 test -f "$ac_file" || continue;
4362 case $ac_file in
4363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4365 break;;
4366 esac
4367 done
4368 else
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of object files: cannot compile
4375 See \`config.log' for more details" "$LINENO" 5; }
4377 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4380 $as_echo "$ac_cv_objext" >&6; }
4381 OBJEXT=$ac_cv_objext
4382 ac_objext=$OBJEXT
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4384 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4385 if ${ac_cv_c_compiler_gnu+:} false; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4392 main ()
4394 #ifndef __GNUC__
4395 choke me
4396 #endif
4399 return 0;
4401 _ACEOF
4402 if ac_fn_c_try_compile "$LINENO"; then :
4403 ac_compiler_gnu=yes
4404 else
4405 ac_compiler_gnu=no
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4412 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4413 if test $ac_compiler_gnu = yes; then
4414 GCC=yes
4415 else
4416 GCC=
4418 ac_test_CFLAGS=${CFLAGS+set}
4419 ac_save_CFLAGS=$CFLAGS
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4421 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4422 if ${ac_cv_prog_cc_g+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 ac_save_c_werror_flag=$ac_c_werror_flag
4426 ac_c_werror_flag=yes
4427 ac_cv_prog_cc_g=no
4428 CFLAGS="-g"
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4433 main ()
4437 return 0;
4439 _ACEOF
4440 if ac_fn_c_try_compile "$LINENO"; then :
4441 ac_cv_prog_cc_g=yes
4442 else
4443 CFLAGS=""
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4448 main ()
4452 return 0;
4454 _ACEOF
4455 if ac_fn_c_try_compile "$LINENO"; then :
4457 else
4458 ac_c_werror_flag=$ac_save_c_werror_flag
4459 CFLAGS="-g"
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4464 main ()
4468 return 0;
4470 _ACEOF
4471 if ac_fn_c_try_compile "$LINENO"; then :
4472 ac_cv_prog_cc_g=yes
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 ac_c_werror_flag=$ac_save_c_werror_flag
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4482 $as_echo "$ac_cv_prog_cc_g" >&6; }
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS=$ac_save_CFLAGS
4485 elif test $ac_cv_prog_cc_g = yes; then
4486 if test "$GCC" = yes; then
4487 CFLAGS="-g -O2"
4488 else
4489 CFLAGS="-g"
4491 else
4492 if test "$GCC" = yes; then
4493 CFLAGS="-O2"
4494 else
4495 CFLAGS=
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4499 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4500 if ${ac_cv_prog_cc_c89+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 ac_cv_prog_cc_c89=no
4504 ac_save_CC=$CC
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4507 #include <stdarg.h>
4508 #include <stdio.h>
4509 struct stat;
4510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4511 struct buf { int x; };
4512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4513 static char *e (p, i)
4514 char **p;
4515 int i;
4517 return p[i];
4519 static char *f (char * (*g) (char **, int), char **p, ...)
4521 char *s;
4522 va_list v;
4523 va_start (v,p);
4524 s = g (p, va_arg (v,int));
4525 va_end (v);
4526 return s;
4529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4530 function prototypes and stuff, but not '\xHH' hex character constants.
4531 These don't provoke an error unfortunately, instead are silently treated
4532 as 'x'. The following induces an error, until -std is added to get
4533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4534 array size at least. It's necessary to write '\x00'==0 to get something
4535 that's true only with -std. */
4536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4539 inside strings and character constants. */
4540 #define FOO(x) 'x'
4541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4543 int test (int i, double x);
4544 struct s1 {int (*f) (int a);};
4545 struct s2 {int (*f) (double a);};
4546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4547 int argc;
4548 char **argv;
4550 main ()
4552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4554 return 0;
4556 _ACEOF
4557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4560 CC="$ac_save_CC $ac_arg"
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 ac_cv_prog_cc_c89=$ac_arg
4564 rm -f core conftest.err conftest.$ac_objext
4565 test "x$ac_cv_prog_cc_c89" != "xno" && break
4566 done
4567 rm -f conftest.$ac_ext
4568 CC=$ac_save_CC
4571 # AC_CACHE_VAL
4572 case "x$ac_cv_prog_cc_c89" in
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4575 $as_echo "none needed" >&6; } ;;
4576 xno)
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4578 $as_echo "unsupported" >&6; } ;;
4580 CC="$CC $ac_cv_prog_cc_c89"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4583 esac
4584 if test "x$ac_cv_prog_cc_c89" != xno; then :
4588 ac_ext=c
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 ac_ext=cpp
4595 ac_cpp='$CXXCPP $CPPFLAGS'
4596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4599 if test -z "$CXX"; then
4600 if test -n "$CCC"; then
4601 CXX=$CCC
4602 else
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_CXX+:} false; then :
4611 $as_echo_n "(cached) " >&6
4612 else
4613 if test -n "$CXX"; then
4614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4615 else
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4619 IFS=$as_save_IFS
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 break 2
4627 done
4628 done
4629 IFS=$as_save_IFS
4633 CXX=$ac_cv_prog_CXX
4634 if test -n "$CXX"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4636 $as_echo "$CXX" >&6; }
4637 else
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 test -n "$CXX" && break
4644 done
4646 if test -z "$CXX"; then
4647 ac_ct_CXX=$CXX
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy $ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$ac_ct_CXX"; then
4658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CXX="$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4678 if test -n "$ac_ct_CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4680 $as_echo "$ac_ct_CXX" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$ac_ct_CXX" && break
4688 done
4690 if test "x$ac_ct_CXX" = x; then
4691 CXX="g++"
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CXX=$ac_ct_CXX
4705 # Provide some information about the compiler.
4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4707 set X $ac_compile
4708 ac_compiler=$2
4709 for ac_option in --version -v -V -qversion; do
4710 { { ac_try="$ac_compiler $ac_option >&5"
4711 case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714 esac
4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 ac_status=$?
4719 if test -s conftest.err; then
4720 sed '10a\
4721 ... rest of stderr output deleted ...
4722 10q' conftest.err >conftest.er1
4723 cat conftest.er1 >&5
4725 rm -f conftest.er1 conftest.err
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4728 done
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4731 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4732 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4739 main ()
4741 #ifndef __GNUC__
4742 choke me
4743 #endif
4746 return 0;
4748 _ACEOF
4749 if ac_fn_cxx_try_compile "$LINENO"; then :
4750 ac_compiler_gnu=yes
4751 else
4752 ac_compiler_gnu=no
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4759 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4760 if test $ac_compiler_gnu = yes; then
4761 GXX=yes
4762 else
4763 GXX=
4765 ac_test_CXXFLAGS=${CXXFLAGS+set}
4766 ac_save_CXXFLAGS=$CXXFLAGS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4768 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4769 if ${ac_cv_prog_cxx_g+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4773 ac_cxx_werror_flag=yes
4774 ac_cv_prog_cxx_g=no
4775 CXXFLAGS="-g"
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4780 main ()
4784 return 0;
4786 _ACEOF
4787 if ac_fn_cxx_try_compile "$LINENO"; then :
4788 ac_cv_prog_cxx_g=yes
4789 else
4790 CXXFLAGS=""
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4795 main ()
4799 return 0;
4801 _ACEOF
4802 if ac_fn_cxx_try_compile "$LINENO"; then :
4804 else
4805 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4806 CXXFLAGS="-g"
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 if ac_fn_cxx_try_compile "$LINENO"; then :
4819 ac_cv_prog_cxx_g=yes
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4829 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4830 if test "$ac_test_CXXFLAGS" = set; then
4831 CXXFLAGS=$ac_save_CXXFLAGS
4832 elif test $ac_cv_prog_cxx_g = yes; then
4833 if test "$GXX" = yes; then
4834 CXXFLAGS="-g -O2"
4835 else
4836 CXXFLAGS="-g"
4838 else
4839 if test "$GXX" = yes; then
4840 CXXFLAGS="-O2"
4841 else
4842 CXXFLAGS=
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 if test -n "$ac_tool_prefix"; then
4852 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4853 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_CPPBIN+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 if test -n "$CPPBIN"; then
4860 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4861 else
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 for as_dir in $PATH
4865 IFS=$as_save_IFS
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 break 2
4873 done
4874 done
4875 IFS=$as_save_IFS
4879 CPPBIN=$ac_cv_prog_CPPBIN
4880 if test -n "$CPPBIN"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4882 $as_echo "$CPPBIN" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4890 if test -z "$ac_cv_prog_CPPBIN"; then
4891 ac_ct_CPPBIN=$CPPBIN
4892 # Extract the first word of "cpp", so it can be a program name with args.
4893 set dummy cpp; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$ac_ct_CPPBIN"; then
4900 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CPPBIN="cpp"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4920 if test -n "$ac_ct_CPPBIN"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4922 $as_echo "$ac_ct_CPPBIN" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4928 if test "x$ac_ct_CPPBIN" = x; then
4929 CPPBIN="cpp"
4930 else
4931 case $cross_compiling:$ac_tool_warned in
4932 yes:)
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4936 esac
4937 CPPBIN=$ac_ct_CPPBIN
4939 else
4940 CPPBIN="$ac_cv_prog_CPPBIN"
4944 cat >>confdefs.h <<_ACEOF
4945 #define EXEEXT "$ac_exeext"
4946 _ACEOF
4948 if test -n "$ac_tool_prefix"; then
4949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4950 set dummy ${ac_tool_prefix}ld; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_LD+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 if test -n "$LD"; then
4957 ac_cv_prog_LD="$LD" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4962 IFS=$as_save_IFS
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_LD="${ac_tool_prefix}ld"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 LD=$ac_cv_prog_LD
4977 if test -n "$LD"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4979 $as_echo "$LD" >&6; }
4980 else
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4987 if test -z "$ac_cv_prog_LD"; then
4988 ac_ct_LD=$LD
4989 # Extract the first word of "ld", so it can be a program name with args.
4990 set dummy ld; ac_word=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 if test -n "$ac_ct_LD"; then
4997 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5002 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_ac_ct_LD="ld"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5017 if test -n "$ac_ct_LD"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5019 $as_echo "$ac_ct_LD" >&6; }
5020 else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5025 if test "x$ac_ct_LD" = x; then
5026 LD=""
5027 else
5028 case $cross_compiling:$ac_tool_warned in
5029 yes:)
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned=yes ;;
5033 esac
5034 LD=$ac_ct_LD
5036 else
5037 LD="$ac_cv_prog_LD"
5041 case $host in
5042 *-darwin*)
5043 with_fontconfig=${with_fontconfig:-no}
5045 *-mingw32*|*-cygwin*)
5046 enable_win16=${enable_win16:-no}
5047 CFLAGS="$CFLAGS -D_WIN32"
5049 esac
5051 case $host in
5052 x86_64*|amd64*)
5053 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5054 then
5055 CC="$CC -m32"
5056 CXX="$CXX -m32"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5058 $as_echo_n "checking whether $CC works... " >&6; }
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main ()
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_link "$LINENO"; then :
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5073 $as_echo "yes" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5077 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5079 rm -f core conftest.err conftest.$ac_objext \
5080 conftest$ac_exeext conftest.$ac_ext
5081 host_cpu="i386"
5082 notice_platform="32-bit "
5083 TARGETFLAGS="-m32"
5085 enable_win16=${enable_win16:-yes}
5086 else
5087 if test "x${GCC}" = "xyes"
5088 then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5090 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5093 #include <stdarg.h>
5095 main ()
5097 void func(__builtin_ms_va_list *args);
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5112 CC="$CC -m64"
5113 CXX="$CXX -m64"
5114 host_cpu="x86_64"
5115 notice_platform="64-bit "
5116 TARGETFLAGS="-m64"
5120 arm*)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5122 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 int ac_test(int i) { return i; }
5127 main ()
5129 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5131 return 0;
5133 _ACEOF
5134 if ac_fn_c_try_link "$LINENO"; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5142 rm -f core conftest.err conftest.$ac_objext \
5143 conftest$ac_exeext conftest.$ac_ext
5144 CFLAGS="$CFLAGS -marm"
5145 TARGETFLAGS="-marm"
5148 i[3456789]86*)
5149 enable_win16=${enable_win16:-yes}
5151 esac
5153 enable_win16=${enable_win16:-no}
5154 enable_win64=${enable_win64:-no}
5156 enable_winetest=${enable_winetest:-$enable_tests}
5158 if test -n "$with_wine64"
5159 then
5160 if test "x$enable_win64" = "xyes"
5161 then
5162 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5163 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5165 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5166 You should create a separate build directory and run configure from there." "$LINENO" 5
5167 enable_fonts=${enable_fonts:-no}
5168 enable_server=${enable_server:-no}
5169 elif test "x$enable_win64" = "xyes"
5170 then
5171 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5175 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5176 if ${wine_cv_toolsdir+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 wine_cv_toolsdir="$with_wine_tools"
5180 if test -z "$with_wine_tools"; then
5181 if test "$cross_compiling" = "yes"; then
5182 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5183 elif test -n "$with_wine64"; then
5184 wine_cv_toolsdir="$with_wine64"
5187 if test -z "$wine_cv_toolsdir"; then
5188 wine_makedep=tools/makedep
5189 wine_cv_toolsdir="\$(top_builddir)"
5190 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5191 wine_makedep=$wine_cv_toolsdir/tools/makedep
5192 case "$wine_cv_toolsdir" in
5193 /*) ;;
5194 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5195 esac
5196 enable_tools=${enable_tools:-no}
5197 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5198 else
5199 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5203 $as_echo "$wine_cv_toolsdir" >&6; }
5204 TOOLSDIR=$wine_cv_toolsdir
5206 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5207 then
5208 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5212 for ac_prog in flex
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy $ac_prog; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_FLEX+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 if test -n "$FLEX"; then
5222 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_FLEX="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5237 IFS=$as_save_IFS
5241 FLEX=$ac_cv_prog_FLEX
5242 if test -n "$FLEX"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5244 $as_echo "$FLEX" >&6; }
5245 else
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$FLEX" && break
5252 done
5253 test -n "$FLEX" || FLEX="none"
5255 if test "$FLEX" = "none"
5256 then
5257 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5260 $as_echo_n "checking whether flex is recent enough... " >&6; }
5261 cat >conftest.l <<EOF
5262 %top{
5263 #include "prediluvian.h"
5267 if $FLEX -t conftest.l >/dev/null 2>&5
5268 then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5270 $as_echo "yes" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5274 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5277 for ac_prog in bison
5279 # Extract the first word of "$ac_prog", so it can be a program name with args.
5280 set dummy $ac_prog; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_BISON+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$BISON"; then
5287 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_BISON="$ac_prog"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 BISON=$ac_cv_prog_BISON
5307 if test -n "$BISON"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5309 $as_echo "$BISON" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5316 test -n "$BISON" && break
5317 done
5318 test -n "$BISON" || BISON="none"
5320 if test "$BISON" = "none"
5321 then
5322 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5325 if test -n "$ac_tool_prefix"; then
5326 for ac_prog in ar gar
5328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_AR+:} false; then :
5333 $as_echo_n "(cached) " >&6
5334 else
5335 if test -n "$AR"; then
5336 ac_cv_prog_AR="$AR" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5351 IFS=$as_save_IFS
5355 AR=$ac_cv_prog_AR
5356 if test -n "$AR"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5358 $as_echo "$AR" >&6; }
5359 else
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$AR" && break
5366 done
5368 if test -z "$AR"; then
5369 ac_ct_AR=$AR
5370 for ac_prog in ar gar
5372 # Extract the first word of "$ac_prog", so it can be a program name with args.
5373 set dummy $ac_prog; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$ac_ct_AR"; then
5380 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_AR="$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5400 if test -n "$ac_ct_AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5402 $as_echo "$ac_ct_AR" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$ac_ct_AR" && break
5410 done
5412 if test "x$ac_ct_AR" = x; then
5413 AR="ar"
5414 else
5415 case $cross_compiling:$ac_tool_warned in
5416 yes:)
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421 AR=$ac_ct_AR
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}strip; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_STRIP+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$STRIP"; then
5434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 STRIP=$ac_cv_prog_STRIP
5454 if test -n "$STRIP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5456 $as_echo "$STRIP" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_STRIP"; then
5465 ac_ct_STRIP=$STRIP
5466 # Extract the first word of "strip", so it can be a program name with args.
5467 set dummy strip; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$ac_ct_STRIP"; then
5474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_STRIP="strip"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5494 if test -n "$ac_ct_STRIP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5496 $as_echo "$ac_ct_STRIP" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_STRIP" = x; then
5503 STRIP="strip"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 STRIP=$ac_ct_STRIP
5513 else
5514 STRIP="$ac_cv_prog_STRIP"
5517 ARFLAGS=rc
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_RANLIB+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$RANLIB"; then
5528 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 RANLIB=$ac_cv_prog_RANLIB
5548 if test -n "$RANLIB"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5550 $as_echo "$RANLIB" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if test -z "$ac_cv_prog_RANLIB"; then
5559 ac_ct_RANLIB=$RANLIB
5560 # Extract the first word of "ranlib", so it can be a program name with args.
5561 set dummy ranlib; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$ac_ct_RANLIB"; then
5568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_RANLIB="ranlib"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5588 if test -n "$ac_ct_RANLIB"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5590 $as_echo "$ac_ct_RANLIB" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5596 if test "x$ac_ct_RANLIB" = x; then
5597 RANLIB=":"
5598 else
5599 case $cross_compiling:$ac_tool_warned in
5600 yes:)
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned=yes ;;
5604 esac
5605 RANLIB=$ac_ct_RANLIB
5607 else
5608 RANLIB="$ac_cv_prog_RANLIB"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5612 $as_echo_n "checking whether ln -s works... " >&6; }
5613 LN_S=$as_ln_s
5614 if test "$LN_S" = "ln -s"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5616 $as_echo "yes" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5619 $as_echo "no, using $LN_S" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5624 if ${ac_cv_path_GREP+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -z "$GREP"; then
5628 ac_path_GREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in grep ggrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_GREP" || continue
5639 # Check for GNU ac_path_GREP and select it if it is found.
5640 # Check for GNU $ac_path_GREP
5641 case `"$ac_path_GREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'GREP' >> "conftest.nl"
5653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_GREP="$ac_path_GREP"
5659 ac_path_GREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_GREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_GREP"; then
5673 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_GREP=$GREP
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5681 $as_echo "$ac_cv_path_GREP" >&6; }
5682 GREP="$ac_cv_path_GREP"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5686 $as_echo_n "checking for egrep... " >&6; }
5687 if ${ac_cv_path_EGREP+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5691 then ac_cv_path_EGREP="$GREP -E"
5692 else
5693 if test -z "$EGREP"; then
5694 ac_path_EGREP_found=false
5695 # Loop through the user's path and test for each of PROGNAME-LIST
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_prog in egrep; do
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5704 as_fn_executable_p "$ac_path_EGREP" || continue
5705 # Check for GNU ac_path_EGREP and select it if it is found.
5706 # Check for GNU $ac_path_EGREP
5707 case `"$ac_path_EGREP" --version 2>&1` in
5708 *GNU*)
5709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5711 ac_count=0
5712 $as_echo_n 0123456789 >"conftest.in"
5713 while :
5715 cat "conftest.in" "conftest.in" >"conftest.tmp"
5716 mv "conftest.tmp" "conftest.in"
5717 cp "conftest.in" "conftest.nl"
5718 $as_echo 'EGREP' >> "conftest.nl"
5719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5721 as_fn_arith $ac_count + 1 && ac_count=$as_val
5722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5723 # Best one so far, save it but keep looking for a better one
5724 ac_cv_path_EGREP="$ac_path_EGREP"
5725 ac_path_EGREP_max=$ac_count
5727 # 10*(2^10) chars as input seems more than enough
5728 test $ac_count -gt 10 && break
5729 done
5730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5731 esac
5733 $ac_path_EGREP_found && break 3
5734 done
5735 done
5736 done
5737 IFS=$as_save_IFS
5738 if test -z "$ac_cv_path_EGREP"; then
5739 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5741 else
5742 ac_cv_path_EGREP=$EGREP
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5748 $as_echo "$ac_cv_path_EGREP" >&6; }
5749 EGREP="$ac_cv_path_EGREP"
5752 # Extract the first word of "ldconfig", so it can be a program name with args.
5753 set dummy ldconfig; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_path_LDCONFIG+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 case $LDCONFIG in
5760 [\\/]* | ?:[\\/]*)
5761 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in /sbin /usr/sbin $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5779 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5781 esac
5783 LDCONFIG=$ac_cv_path_LDCONFIG
5784 if test -n "$LDCONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5786 $as_echo "$LDCONFIG" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5793 for ac_prog in msgfmt
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_MSGFMT+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 if test -n "$MSGFMT"; then
5803 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_MSGFMT="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 MSGFMT=$ac_cv_prog_MSGFMT
5823 if test -n "$MSGFMT"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5825 $as_echo "$MSGFMT" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$MSGFMT" && break
5833 done
5834 test -n "$MSGFMT" || MSGFMT="false"
5836 if ${ac_tool_prefix+:} false; then :
5837 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5838 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 if test -n "$PKG_CONFIG"; then
5845 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5860 IFS=$as_save_IFS
5864 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5865 if test -n "$PKG_CONFIG"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5867 $as_echo "$PKG_CONFIG" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5876 if test "x$cross_compiling" = xyes; then :
5878 else
5879 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5880 # Extract the first word of "pkg-config", so it can be a program name with args.
5881 set dummy pkg-config; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG="pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 else
5919 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5922 if test "x$enable_maintainer_mode" != "xyes"
5923 then
5924 FONTFORGE=""
5925 RSVG=""
5926 CONVERT=""
5927 ICOTOOL=""
5928 else
5929 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5930 for ac_prog in fontforge
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy $ac_prog; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_FONTFORGE+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -n "$FONTFORGE"; then
5940 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_FONTFORGE="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5955 IFS=$as_save_IFS
5959 FONTFORGE=$ac_cv_prog_FONTFORGE
5960 if test -n "$FONTFORGE"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5962 $as_echo "$FONTFORGE" >&6; }
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$FONTFORGE" && break
5970 done
5971 test -n "$FONTFORGE" || FONTFORGE="false"
5973 for ac_prog in rsvg-convert rsvg
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_RSVG+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$RSVG"; then
5983 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_RSVG="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 RSVG=$ac_cv_prog_RSVG
6003 if test -n "$RSVG"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6005 $as_echo "$RSVG" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$RSVG" && break
6013 done
6014 test -n "$RSVG" || RSVG="false"
6016 for ac_prog in convert
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_CONVERT+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$CONVERT"; then
6026 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CONVERT="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 CONVERT=$ac_cv_prog_CONVERT
6046 if test -n "$CONVERT"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6048 $as_echo "$CONVERT" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$CONVERT" && break
6056 done
6057 test -n "$CONVERT" || CONVERT="false"
6059 for ac_prog in icotool
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ICOTOOL+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$ICOTOOL"; then
6069 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ICOTOOL="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 ICOTOOL=$ac_cv_prog_ICOTOOL
6089 if test -n "$ICOTOOL"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6091 $as_echo "$ICOTOOL" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$ICOTOOL" && break
6099 done
6100 test -n "$ICOTOOL" || ICOTOOL="false"
6102 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6103 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6105 if test "$CONVERT" = false
6106 then
6107 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6110 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6111 convert_version=`convert --version | head -n1`
6112 if test "x$convert_version" != "x"
6113 then
6114 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6115 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6116 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6117 then
6118 CONVERT=false
6121 if test "$CONVERT" = false
6122 then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6124 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6125 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6128 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6132 if test "$ICOTOOL" = false
6133 then
6134 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6137 $as_echo_n "checking for recent enough icotool... " >&6; }
6138 icotool_version=`icotool --version | head -n1`
6139 if test "x$icotool_version" != "x"
6140 then
6141 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6142 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6143 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6144 then
6145 ICOTOOL=false
6146 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6149 if test "$ICOTOOL" = false
6150 then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6152 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6153 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6156 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6160 with_gettext=yes
6161 with_gettextpo=yes
6162 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6165 test "x$with_gettext" != xno || MSGFMT=false
6166 if test "$MSGFMT" != "false"
6167 then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6169 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6170 cat >conftest.po <<EOF
6171 # comment
6172 msgctxt "ctxt"
6173 msgid "id"
6174 msgstr "str"
6176 if $MSGFMT -o /dev/null conftest.po 2>&5
6177 then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6179 $as_echo "yes" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6183 MSGFMT=false
6186 if test "$MSGFMT" = false; then :
6187 case "x$with_gettext" in
6188 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6189 xno) ;;
6190 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6191 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6192 esac
6193 enable_po=${enable_po:-no}
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6198 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6199 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
6202 ac_check_lib_save_LIBS=$LIBS
6203 LIBS="-li386 $LIBS"
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6207 /* Override any GCC internal prototype to avoid an error.
6208 Use char because int might match the return type of a GCC
6209 builtin and then its argument prototype would still apply. */
6210 #ifdef __cplusplus
6211 extern "C"
6212 #endif
6213 char i386_set_ldt ();
6215 main ()
6217 return i386_set_ldt ();
6219 return 0;
6221 _ACEOF
6222 if ac_fn_c_try_link "$LINENO"; then :
6223 ac_cv_lib_i386_i386_set_ldt=yes
6224 else
6225 ac_cv_lib_i386_i386_set_ldt=no
6227 rm -f core conftest.err conftest.$ac_objext \
6228 conftest$ac_exeext conftest.$ac_ext
6229 LIBS=$ac_check_lib_save_LIBS
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6232 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6233 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6234 cat >>confdefs.h <<_ACEOF
6235 #define HAVE_LIBI386 1
6236 _ACEOF
6238 LIBS="-li386 $LIBS"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6243 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6244 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 ac_check_lib_save_LIBS=$LIBS
6248 LIBS="-lossaudio $LIBS"
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6252 /* Override any GCC internal prototype to avoid an error.
6253 Use char because int might match the return type of a GCC
6254 builtin and then its argument prototype would still apply. */
6255 #ifdef __cplusplus
6256 extern "C"
6257 #endif
6258 char _oss_ioctl ();
6260 main ()
6262 return _oss_ioctl ();
6264 return 0;
6266 _ACEOF
6267 if ac_fn_c_try_link "$LINENO"; then :
6268 ac_cv_lib_ossaudio__oss_ioctl=yes
6269 else
6270 ac_cv_lib_ossaudio__oss_ioctl=no
6272 rm -f core conftest.err conftest.$ac_objext \
6273 conftest$ac_exeext conftest.$ac_ext
6274 LIBS=$ac_check_lib_save_LIBS
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6277 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6278 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6279 cat >>confdefs.h <<_ACEOF
6280 #define HAVE_LIBOSSAUDIO 1
6281 _ACEOF
6283 LIBS="-lossaudio $LIBS"
6288 OPENGL_LIBS=""
6292 # Check whether --enable-largefile was given.
6293 if test "${enable_largefile+set}" = set; then :
6294 enableval=$enable_largefile;
6297 if test "$enable_largefile" != no; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6301 if ${ac_cv_sys_largefile_CC+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 ac_cv_sys_largefile_CC=no
6305 if test "$GCC" != yes; then
6306 ac_save_CC=$CC
6307 while :; do
6308 # IRIX 6.2 and later do not support large files by default,
6309 # so use the C compiler's -n32 option if that helps.
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #include <sys/types.h>
6313 /* Check that off_t can represent 2**63 - 1 correctly.
6314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6315 since some C++ compilers masquerading as C compilers
6316 incorrectly reject 9223372036854775807. */
6317 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6319 && LARGE_OFF_T % 2147483647 == 1)
6320 ? 1 : -1];
6322 main ()
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_compile "$LINENO"; then :
6330 break
6332 rm -f core conftest.err conftest.$ac_objext
6333 CC="$CC -n32"
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 ac_cv_sys_largefile_CC=' -n32'; break
6337 rm -f core conftest.err conftest.$ac_objext
6338 break
6339 done
6340 CC=$ac_save_CC
6341 rm -f conftest.$ac_ext
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6345 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6346 if test "$ac_cv_sys_largefile_CC" != no; then
6347 CC=$CC$ac_cv_sys_largefile_CC
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6351 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6352 if ${ac_cv_sys_file_offset_bits+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 while :; do
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_file_offset_bits=no; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _FILE_OFFSET_BITS 64
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6390 ? 1 : -1];
6392 main ()
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_sys_file_offset_bits=64; break
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 ac_cv_sys_file_offset_bits=unknown
6404 break
6405 done
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6408 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6409 case $ac_cv_sys_file_offset_bits in #(
6410 no | unknown) ;;
6412 cat >>confdefs.h <<_ACEOF
6413 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6414 _ACEOF
6416 esac
6417 rm -rf conftest*
6418 if test $ac_cv_sys_file_offset_bits = unknown; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6420 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6421 if ${ac_cv_sys_large_files+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 while :; do
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6435 ? 1 : -1];
6437 main ()
6441 return 0;
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_large_files=no; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _LARGE_FILES 1
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6459 ? 1 : -1];
6461 main ()
6465 return 0;
6467 _ACEOF
6468 if ac_fn_c_try_compile "$LINENO"; then :
6469 ac_cv_sys_large_files=1; break
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_sys_large_files=unknown
6473 break
6474 done
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6477 $as_echo "$ac_cv_sys_large_files" >&6; }
6478 case $ac_cv_sys_large_files in #(
6479 no | unknown) ;;
6481 cat >>confdefs.h <<_ACEOF
6482 #define _LARGE_FILES $ac_cv_sys_large_files
6483 _ACEOF
6485 esac
6486 rm -rf conftest*
6493 ac_ext=c
6494 ac_cpp='$CPP $CPPFLAGS'
6495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6499 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6500 # On Suns, sometimes $CPP names a directory.
6501 if test -n "$CPP" && test -d "$CPP"; then
6502 CPP=
6504 if test -z "$CPP"; then
6505 if ${ac_cv_prog_CPP+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 # Double quotes because CPP needs to be expanded
6509 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6511 ac_preproc_ok=false
6512 for ac_c_preproc_warn_flag in '' yes
6514 # Use a header file that comes with gcc, so configuring glibc
6515 # with a fresh cross-compiler works.
6516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6517 # <limits.h> exists even on freestanding compilers.
6518 # On the NeXT, cc -E runs the code through the compiler's parser,
6519 # not just through cpp. "Syntax error" is here to catch this case.
6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 #ifdef __STDC__
6523 # include <limits.h>
6524 #else
6525 # include <assert.h>
6526 #endif
6527 Syntax error
6528 _ACEOF
6529 if ac_fn_c_try_cpp "$LINENO"; then :
6531 else
6532 # Broken: fails on valid input.
6533 continue
6535 rm -f conftest.err conftest.i conftest.$ac_ext
6537 # OK, works on sane cases. Now check whether nonexistent headers
6538 # can be detected and how.
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <ac_nonexistent.h>
6542 _ACEOF
6543 if ac_fn_c_try_cpp "$LINENO"; then :
6544 # Broken: success on invalid input.
6545 continue
6546 else
6547 # Passes both tests.
6548 ac_preproc_ok=:
6549 break
6551 rm -f conftest.err conftest.i conftest.$ac_ext
6553 done
6554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6555 rm -f conftest.i conftest.err conftest.$ac_ext
6556 if $ac_preproc_ok; then :
6557 break
6560 done
6561 ac_cv_prog_CPP=$CPP
6564 CPP=$ac_cv_prog_CPP
6565 else
6566 ac_cv_prog_CPP=$CPP
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6569 $as_echo "$CPP" >&6; }
6570 ac_preproc_ok=false
6571 for ac_c_preproc_warn_flag in '' yes
6573 # Use a header file that comes with gcc, so configuring glibc
6574 # with a fresh cross-compiler works.
6575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6576 # <limits.h> exists even on freestanding compilers.
6577 # On the NeXT, cc -E runs the code through the compiler's parser,
6578 # not just through cpp. "Syntax error" is here to catch this case.
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6581 #ifdef __STDC__
6582 # include <limits.h>
6583 #else
6584 # include <assert.h>
6585 #endif
6586 Syntax error
6587 _ACEOF
6588 if ac_fn_c_try_cpp "$LINENO"; then :
6590 else
6591 # Broken: fails on valid input.
6592 continue
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 # OK, works on sane cases. Now check whether nonexistent headers
6597 # can be detected and how.
6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6600 #include <ac_nonexistent.h>
6601 _ACEOF
6602 if ac_fn_c_try_cpp "$LINENO"; then :
6603 # Broken: success on invalid input.
6604 continue
6605 else
6606 # Passes both tests.
6607 ac_preproc_ok=:
6608 break
6610 rm -f conftest.err conftest.i conftest.$ac_ext
6612 done
6613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6614 rm -f conftest.i conftest.err conftest.$ac_ext
6615 if $ac_preproc_ok; then :
6617 else
6618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6620 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6621 See \`config.log' for more details" "$LINENO" 5; }
6624 ac_ext=c
6625 ac_cpp='$CPP $CPPFLAGS'
6626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6632 $as_echo_n "checking for ANSI C header files... " >&6; }
6633 if ${ac_cv_header_stdc+:} false; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <stdlib.h>
6639 #include <stdarg.h>
6640 #include <string.h>
6641 #include <float.h>
6644 main ()
6648 return 0;
6650 _ACEOF
6651 if ac_fn_c_try_compile "$LINENO"; then :
6652 ac_cv_header_stdc=yes
6653 else
6654 ac_cv_header_stdc=no
6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6658 if test $ac_cv_header_stdc = yes; then
6659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <string.h>
6664 _ACEOF
6665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6666 $EGREP "memchr" >/dev/null 2>&1; then :
6668 else
6669 ac_cv_header_stdc=no
6671 rm -f conftest*
6675 if test $ac_cv_header_stdc = yes; then
6676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 #include <stdlib.h>
6681 _ACEOF
6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6683 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6694 if test "$cross_compiling" = yes; then :
6696 else
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <ctype.h>
6700 #include <stdlib.h>
6701 #if ((' ' & 0x0FF) == 0x020)
6702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6704 #else
6705 # define ISLOWER(c) \
6706 (('a' <= (c) && (c) <= 'i') \
6707 || ('j' <= (c) && (c) <= 'r') \
6708 || ('s' <= (c) && (c) <= 'z'))
6709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6710 #endif
6712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6714 main ()
6716 int i;
6717 for (i = 0; i < 256; i++)
6718 if (XOR (islower (i), ISLOWER (i))
6719 || toupper (i) != TOUPPER (i))
6720 return 2;
6721 return 0;
6723 _ACEOF
6724 if ac_fn_c_try_run "$LINENO"; then :
6726 else
6727 ac_cv_header_stdc=no
6729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6730 conftest.$ac_objext conftest.beam conftest.$ac_ext
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6736 $as_echo "$ac_cv_header_stdc" >&6; }
6737 if test $ac_cv_header_stdc = yes; then
6739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6744 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6745 inttypes.h stdint.h unistd.h
6746 do :
6747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6748 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 _ACEOF
6757 done
6760 for ac_header in \
6761 AL/al.h \
6762 ApplicationServices/ApplicationServices.h \
6763 AudioToolbox/AudioConverter.h \
6764 AudioUnit/AudioUnit.h \
6765 AudioUnit/AudioComponent.h \
6766 CL/cl.h \
6767 Carbon/Carbon.h \
6768 CommonCrypto/CommonDigest.h \
6769 CoreAudio/CoreAudio.h \
6770 CoreServices/CoreServices.h \
6771 DiskArbitration/DiskArbitration.h \
6772 IOKit/IOKitLib.h \
6773 IOKit/hid/IOHIDLib.h \
6774 OpenAL/al.h \
6775 OpenCL/opencl.h \
6776 QuickTime/ImageCompression.h \
6777 Security/Security.h \
6778 alias.h \
6779 alsa/asoundlib.h \
6780 arpa/inet.h \
6781 arpa/nameser.h \
6782 asm/types.h \
6783 asm/user.h \
6784 curses.h \
6785 direct.h \
6786 dirent.h \
6787 dlfcn.h \
6788 elf.h \
6789 float.h \
6790 fnmatch.h \
6791 getopt.h \
6792 gettext-po.h \
6793 grp.h \
6794 gsm.h \
6795 gsm/gsm.h \
6796 ieeefp.h \
6797 inet/mib2.h \
6798 io.h \
6799 kstat.h \
6800 lber.h \
6801 ldap.h \
6802 libproc.h \
6803 link.h \
6804 linux/cdrom.h \
6805 linux/compiler.h \
6806 linux/filter.h \
6807 linux/hdreg.h \
6808 linux/input.h \
6809 linux/ioctl.h \
6810 linux/joystick.h \
6811 linux/major.h \
6812 linux/param.h \
6813 linux/serial.h \
6814 linux/types.h \
6815 linux/ucdrom.h \
6816 lwp.h \
6817 mach-o/nlist.h \
6818 mach-o/loader.h \
6819 mach/mach.h \
6820 mach/machine.h \
6821 machine/cpu.h \
6822 machine/limits.h \
6823 machine/sysarch.h \
6824 mntent.h \
6825 ncurses.h \
6826 netdb.h \
6827 netinet/in.h \
6828 netinet/in_systm.h \
6829 netinet/tcp.h \
6830 netinet/tcp_fsm.h \
6831 pcap/pcap.h \
6832 poll.h \
6833 port.h \
6834 process.h \
6835 pthread.h \
6836 pwd.h \
6837 sched.h \
6838 scsi/scsi.h \
6839 scsi/scsi_ioctl.h \
6840 scsi/sg.h \
6841 stdbool.h \
6842 stdint.h \
6843 stropts.h \
6844 sys/asoundlib.h \
6845 sys/attr.h \
6846 sys/cdio.h \
6847 sys/elf32.h \
6848 sys/epoll.h \
6849 sys/event.h \
6850 sys/exec_elf.h \
6851 sys/filio.h \
6852 sys/inotify.h \
6853 sys/ioctl.h \
6854 sys/ipc.h \
6855 sys/limits.h \
6856 sys/link.h \
6857 sys/mman.h \
6858 sys/modem.h \
6859 sys/msg.h \
6860 sys/mtio.h \
6861 sys/param.h \
6862 sys/poll.h \
6863 sys/prctl.h \
6864 sys/protosw.h \
6865 sys/ptrace.h \
6866 sys/queue.h \
6867 sys/resource.h \
6868 sys/scsiio.h \
6869 sys/shm.h \
6870 sys/signal.h \
6871 sys/socket.h \
6872 sys/socketvar.h \
6873 sys/sockio.h \
6874 sys/statvfs.h \
6875 sys/strtio.h \
6876 sys/syscall.h \
6877 sys/sysinfo.h \
6878 sys/tihdr.h \
6879 sys/time.h \
6880 sys/timeout.h \
6881 sys/times.h \
6882 sys/uio.h \
6883 sys/user.h \
6884 sys/utsname.h \
6885 sys/vm86.h \
6886 sys/vnode.h \
6887 sys/wait.h \
6888 syscall.h \
6889 termios.h \
6890 unistd.h \
6891 utime.h \
6892 valgrind/memcheck.h \
6893 valgrind/valgrind.h \
6894 zlib.h
6896 do :
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6899 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6900 cat >>confdefs.h <<_ACEOF
6901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6902 _ACEOF
6906 done
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6909 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6910 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 #include <sys/types.h>
6917 main ()
6919 return makedev(0, 0);
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_link "$LINENO"; then :
6925 ac_cv_header_sys_types_h_makedev=yes
6926 else
6927 ac_cv_header_sys_types_h_makedev=no
6929 rm -f core conftest.err conftest.$ac_objext \
6930 conftest$ac_exeext conftest.$ac_ext
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6934 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6936 if test $ac_cv_header_sys_types_h_makedev = no; then
6937 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6938 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6940 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6946 if test $ac_cv_header_sys_mkdev_h = no; then
6947 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6948 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6950 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6959 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6960 if ${ac_cv_header_stat_broken+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <sys/types.h>
6966 #include <sys/stat.h>
6968 #if defined S_ISBLK && defined S_IFDIR
6969 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6970 #endif
6972 #if defined S_ISBLK && defined S_IFCHR
6973 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6974 #endif
6976 #if defined S_ISLNK && defined S_IFREG
6977 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6978 #endif
6980 #if defined S_ISSOCK && defined S_IFREG
6981 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6982 #endif
6984 _ACEOF
6985 if ac_fn_c_try_compile "$LINENO"; then :
6986 ac_cv_header_stat_broken=no
6987 else
6988 ac_cv_header_stat_broken=yes
6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6993 $as_echo "$ac_cv_header_stat_broken" >&6; }
6994 if test $ac_cv_header_stat_broken = yes; then
6996 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7002 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7003 do :
7004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7006 #ifdef HAVE_SYS_PARAM_H
7007 # include <sys/param.h>
7008 #endif
7010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013 _ACEOF
7017 done
7020 for ac_header in \
7021 netinet/ip.h \
7022 net/if.h \
7023 net/if_arp.h \
7024 net/if_dl.h \
7025 net/if_types.h \
7026 net/route.h \
7027 netinet/if_ether.h \
7028 netinet/if_inarp.h \
7029 netinet/in_pcb.h \
7030 netinet/ip_icmp.h \
7031 netinet/ip_var.h \
7032 netinet/udp.h \
7033 netipx/ipx.h \
7034 sys/un.h \
7036 do :
7037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7038 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7039 #ifdef HAVE_SYS_SOCKET_H
7040 # include <sys/socket.h>
7041 #endif
7042 #ifdef HAVE_SYS_SOCKETVAR_H
7043 # include <sys/socketvar.h>
7044 #endif
7045 #ifdef HAVE_NET_ROUTE_H
7046 # include <net/route.h>
7047 #endif
7048 #ifdef HAVE_NETINET_IN_H
7049 # include <netinet/in.h>
7050 #endif
7051 #ifdef HAVE_NETINET_IN_SYSTM_H
7052 # include <netinet/in_systm.h>
7053 #endif
7054 #ifdef HAVE_NET_IF_H
7055 # include <net/if.h>
7056 #endif
7057 #ifdef HAVE_NETINET_IP_H
7058 # include <netinet/ip.h>
7059 #endif
7061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7064 _ACEOF
7068 done
7071 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7072 do :
7073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7074 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7075 #ifdef HAVE_ALIAS_H
7076 # include <alias.h>
7077 #endif
7078 #ifdef HAVE_SYS_SOCKET_H
7079 # include <sys/socket.h>
7080 #endif
7081 #ifdef HAVE_SYS_SOCKETVAR_H
7082 # include <sys/socketvar.h>
7083 #endif
7084 #ifdef HAVE_SYS_TIMEOUT_H
7085 # include <sys/timeout.h>
7086 #endif
7087 #ifdef HAVE_NETINET_IN_H
7088 # include <netinet/in.h>
7089 #endif
7090 #ifdef HAVE_NETINET_IN_SYSTM_H
7091 # include <netinet/in_systm.h>
7092 #endif
7093 #ifdef HAVE_NETINET_IP_H
7094 # include <netinet/ip.h>
7095 #endif
7096 #ifdef HAVE_NETINET_IP_VAR_H
7097 # include <netinet/ip_var.h>
7098 #endif
7099 #ifdef HAVE_NETINET_IP_ICMP_H
7100 # include <netinet/ip_icmp.h>
7101 #endif
7102 #ifdef HAVE_NETINET_UDP_H
7103 # include <netinet/udp.h>
7104 #endif
7105 #ifdef HAVE_NETINET_TCP_H
7106 # include <netinet/tcp.h>
7107 #endif
7108 #ifdef HAVE_NETINET_TCP_TIMER_H
7109 #include <netinet/tcp_timer.h>
7110 #endif
7112 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7115 _ACEOF
7119 done
7122 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7123 do :
7124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7126 #ifdef HAVE_ASM_TYPES_H
7127 # include <asm/types.h>
7128 #endif
7129 #ifdef HAVE_SYS_SOCKET_H
7130 # include <sys/socket.h>
7131 #endif
7132 #ifdef HAVE_LINUX_TYPES_H
7133 # include <linux/types.h>
7134 #endif
7136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137 cat >>confdefs.h <<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139 _ACEOF
7143 done
7146 for ac_header in mach-o/dyld_images.h
7147 do :
7148 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7149 # include <stdbool.h>
7150 #endif
7151 #ifdef HAVE_STDINT_H
7152 # include <stdint.h>
7153 #endif
7155 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7158 _ACEOF
7162 done
7165 for ac_header in resolv.h
7166 do :
7167 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7168 #ifdef HAVE_SYS_SOCKET_H
7169 # include <sys/socket.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IN_H
7172 # include <netinet/in.h>
7173 #endif
7174 #ifdef HAVE_ARPA_NAMESER_H
7175 # include <arpa/nameser.h>
7176 #endif
7178 if test "x$ac_cv_header_resolv_h" = xyes; then :
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_RESOLV_H 1
7181 _ACEOF
7185 done
7188 for ac_header in ifaddrs.h
7189 do :
7190 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7192 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7193 cat >>confdefs.h <<_ACEOF
7194 #define HAVE_IFADDRS_H 1
7195 _ACEOF
7199 done
7202 for ac_header in sys/ucontext.h
7203 do :
7204 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7206 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7207 cat >>confdefs.h <<_ACEOF
7208 #define HAVE_SYS_UCONTEXT_H 1
7209 _ACEOF
7213 done
7216 for ac_header in sys/thr.h
7217 do :
7218 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7219 #ifdef HAVE_SYS_UCONTEXT_H
7220 #include <sys/ucontext.h>
7221 #endif
7223 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7224 cat >>confdefs.h <<_ACEOF
7225 #define HAVE_SYS_THR_H 1
7226 _ACEOF
7230 done
7233 for ac_header in pthread_np.h
7234 do :
7235 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7236 #include <pthread.h>
7237 #endif
7239 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_PTHREAD_NP_H 1
7242 _ACEOF
7246 done
7249 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7250 do :
7251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7253 #include <sys/time.h>
7254 #endif
7255 #include <sys/types.h>
7256 #ifdef HAVE_ASM_TYPES_H
7257 #include <asm/types.h>
7258 #endif
7260 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7261 cat >>confdefs.h <<_ACEOF
7262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7263 _ACEOF
7267 done
7270 for ac_header in libprocstat.h
7271 do :
7272 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7273 #include <sys/param.h>
7274 #endif
7275 #ifdef HAVE_SYS_QUEUE_H
7276 #include <sys/queue.h>
7277 #endif
7278 #ifdef HAVE_SYS_SOCKET_H
7279 #include <sys/socket.h>
7280 #endif
7282 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_LIBPROCSTAT_H 1
7285 _ACEOF
7289 done
7293 dlldir="\${libdir}/wine"
7295 DLLFLAGS="-D_REENTRANT"
7297 LDRPATH_INSTALL=""
7299 LDRPATH_LOCAL=""
7301 LDEXECFLAGS=""
7303 LIBEXT="so"
7304 DLLEXT=".so"
7305 IMPLIBEXT="def"
7306 # Extract the first word of "ldd", so it can be a program name with args.
7307 set dummy ldd; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_path_LDD+:} false; then :
7311 $as_echo_n "(cached) " >&6
7312 else
7313 case $LDD in
7314 [\\/]* | ?:[\\/]*)
7315 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 as_dummy="/sbin:/usr/sbin:$PATH"
7320 for as_dir in $as_dummy
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7334 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7336 esac
7338 LDD=$ac_cv_path_LDD
7339 if test -n "$LDD"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7341 $as_echo "$LDD" >&6; }
7342 else
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 $as_echo "no" >&6; }
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}otool; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_prog_OTOOL+:} false; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$OTOOL"; then
7357 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 OTOOL=$ac_cv_prog_OTOOL
7377 if test -n "$OTOOL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7379 $as_echo "$OTOOL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_OTOOL"; then
7388 ac_ct_OTOOL=$OTOOL
7389 # Extract the first word of "otool", so it can be a program name with args.
7390 set dummy otool; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_OTOOL"; then
7397 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ac_ct_OTOOL="otool"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7417 if test -n "$ac_ct_OTOOL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7419 $as_echo "$ac_ct_OTOOL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_OTOOL" = x; then
7426 OTOOL="otool"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 OTOOL=$ac_ct_OTOOL
7436 else
7437 OTOOL="$ac_cv_prog_OTOOL"
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_READELF+:} false; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$READELF"; then
7449 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 READELF=$ac_cv_prog_READELF
7469 if test -n "$READELF"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7471 $as_echo "$READELF" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7479 if test -z "$ac_cv_prog_READELF"; then
7480 ac_ct_READELF=$READELF
7481 # Extract the first word of "readelf", so it can be a program name with args.
7482 set dummy readelf; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_READELF"; then
7489 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7498 ac_cv_prog_ac_ct_READELF="readelf"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7502 done
7503 done
7504 IFS=$as_save_IFS
7508 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7509 if test -n "$ac_ct_READELF"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7511 $as_echo "$ac_ct_READELF" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7517 if test "x$ac_ct_READELF" = x; then
7518 READELF="true"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 READELF=$ac_ct_READELF
7528 else
7529 READELF="$ac_cv_prog_READELF"
7532 wine_rules_file=conf$$rules.make
7533 rm -f $wine_rules_file
7534 SUBDIRS=""
7536 DISABLED_SUBDIRS=""
7538 CONFIGURE_TARGETS=""
7540 ALL_TEST_RESOURCES=""
7543 wine_fn_append_file ()
7545 as_fn_append $1 " \\$as_nl $2"
7548 wine_fn_append_rule ()
7550 $as_echo "$1" >>$wine_rules_file
7553 wine_fn_has_flag ()
7555 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7558 wine_fn_all_rules ()
7560 wine_fn_append_file SUBDIRS $ac_dir
7561 wine_fn_append_rule \
7562 "all: $ac_dir
7563 .PHONY: $ac_dir
7564 $ac_dir: dummy
7565 @cd $ac_dir && \$(MAKE)"
7568 wine_fn_install_rules ()
7570 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7572 wine_fn_append_rule \
7573 ".PHONY: $ac_dir/install $ac_dir/uninstall
7574 $ac_dir/install:: $ac_dir
7575 @cd $ac_dir && \$(MAKE) install
7576 $ac_dir/uninstall::
7577 @cd $ac_dir && \$(MAKE) uninstall
7578 install:: $ac_dir/install
7579 __uninstall__: $ac_dir/uninstall"
7581 if wine_fn_has_flag install-lib
7582 then
7583 wine_fn_append_rule \
7584 ".PHONY: $ac_dir/install-lib
7585 $ac_dir/install-lib:: $ac_dir
7586 @cd $ac_dir && \$(MAKE) install-lib
7587 install-lib:: $ac_dir/install-lib"
7590 if wine_fn_has_flag install-dev
7591 then
7592 wine_fn_append_rule \
7593 ".PHONY: $ac_dir/install-dev
7594 $ac_dir/install-dev:: $ac_dir
7595 @cd $ac_dir && \$(MAKE) install-dev
7596 install-dev:: $ac_dir/install-dev"
7600 wine_fn_clean_rules ()
7602 ac_clean=$@
7604 if wine_fn_has_flag clean
7605 then
7606 wine_fn_append_rule \
7607 "$ac_dir/clean: dummy
7608 @cd $ac_dir && \$(MAKE) clean"
7609 else
7610 wine_fn_append_rule \
7611 "$ac_dir/clean: dummy
7612 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7614 wine_fn_append_rule \
7615 "__clean__: $ac_dir/clean
7616 .PHONY: $ac_dir/clean"
7619 wine_fn_disabled_rules ()
7621 ac_clean=$@
7623 wine_fn_append_file SUBDIRS $ac_dir
7624 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7625 wine_fn_append_rule \
7626 "__clean__: $ac_dir/clean
7627 .PHONY: $ac_dir/clean
7628 $ac_dir/clean: dummy
7629 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7632 wine_fn_config_makefile ()
7634 ac_dir=$1
7635 ac_enable=$2
7636 ac_flags=$3
7638 case $ac_dir in
7639 fonts|server) test -z "$with_wine64" || return ;;
7640 esac
7641 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7642 wine_fn_disabled_rules; return
7644 wine_fn_all_rules
7645 wine_fn_install_rules
7646 wine_fn_clean_rules
7649 wine_fn_config_lib ()
7651 ac_name=$1
7652 ac_flags=$2
7653 ac_dir=dlls/$ac_name
7654 ac_deps="include"
7656 if test "x$enable_tools" = xno; then :
7658 else
7659 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7661 wine_fn_all_rules
7662 wine_fn_clean_rules
7664 wine_fn_append_rule \
7665 ".PHONY: $ac_dir/install $ac_dir/uninstall
7666 $ac_dir/install:: $ac_dir
7667 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7668 $ac_dir/uninstall::
7669 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7670 install install-dev:: $ac_dir/install
7671 __uninstall__: $ac_dir/uninstall
7672 __builddeps__: $ac_dir
7673 $ac_dir: $ac_deps"
7676 wine_fn_config_dll ()
7678 ac_name=$1
7679 ac_dir=dlls/$ac_name
7680 ac_enable=$2
7681 ac_flags=$3
7682 ac_implib=${4:-$ac_name}
7683 ac_file=$ac_dir/lib$ac_implib
7684 ac_dll=$ac_name
7685 ac_deps="include"
7686 ac_implibflags=""
7688 if test "x$enable_tools" = xno; then :
7690 else
7691 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7693 case $ac_name in
7694 *16) ac_implibflags=" -m16" ;;
7695 *.*) ;;
7696 *) ac_dll=$ac_dll.dll ;;
7697 esac
7699 ac_clean=
7700 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7701 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7703 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7704 if test "$ac_enable" != enable_win16
7705 then
7706 wine_fn_clean_rules $ac_clean
7707 wine_fn_append_file SUBDIRS $ac_dir
7708 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7709 else
7710 wine_fn_disabled_rules $ac_clean
7711 return
7713 else
7714 wine_fn_all_rules
7715 wine_fn_clean_rules $ac_clean
7716 wine_fn_append_rule \
7717 "$ac_dir: __builddeps__
7718 manpages htmlpages sgmlpages xmlpages::
7719 @cd $ac_dir && \$(MAKE) \$@
7720 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7721 install install-lib:: $ac_dir/install-lib
7722 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$DLLEXT"
7724 then
7725 wine_fn_append_rule \
7726 "$ac_dir/install-lib:: $ac_dir
7727 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7728 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7729 $ac_dir/uninstall::
7730 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7731 else
7732 wine_fn_append_rule \
7733 "$ac_dir/install-lib:: $ac_dir
7734 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7735 $ac_dir/uninstall::
7736 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7740 if wine_fn_has_flag staticimplib
7741 then
7742 wine_fn_append_rule \
7743 "__builddeps__: $ac_file.a
7744 $ac_file.a $ac_file.cross.a: $ac_deps
7745 $ac_file.a: dummy
7746 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7747 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7748 $ac_dir/install-dev:: $ac_file.a
7749 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7750 $ac_dir/uninstall::
7751 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7752 install install-dev:: $ac_dir/install-dev
7753 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7756 then
7757 wine_fn_append_rule \
7758 "__builddeps__: $ac_file.cross.a
7759 $ac_file.cross.a: dummy
7760 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7763 elif wine_fn_has_flag implib
7764 then
7765 wine_fn_append_rule \
7766 "__builddeps__: $ac_file.$IMPLIBEXT
7767 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7768 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7769 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7770 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7771 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7772 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7773 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7776 install install-dev:: $ac_dir/install-dev
7777 __uninstall__: $ac_dir/uninstall"
7778 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7779 then
7780 wine_fn_append_rule \
7781 "__builddeps__: $ac_file.cross.a
7782 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7783 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7788 wine_fn_config_program ()
7790 ac_name=$1
7791 ac_dir=programs/$ac_name
7792 ac_enable=$2
7793 ac_flags=$3
7794 ac_program=$ac_name
7796 case $ac_name in
7797 *.*) ;;
7798 *) ac_program=$ac_program.exe ;;
7799 esac
7801 ac_clean=
7802 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7803 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7805 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7806 wine_fn_disabled_rules $ac_clean; return
7809 wine_fn_all_rules
7810 wine_fn_clean_rules $ac_clean
7811 wine_fn_append_rule "$ac_dir: __builddeps__"
7813 wine_fn_has_flag install || return
7814 wine_fn_append_rule \
7815 ".PHONY: $ac_dir/install $ac_dir/uninstall
7816 install install-lib:: $ac_dir/install
7817 __uninstall__: $ac_dir/uninstall"
7819 if test -n "$DLLEXT"
7820 then
7821 wine_fn_append_rule \
7822 "$ac_dir/install:: $ac_dir
7823 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7824 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7825 $ac_dir/uninstall::
7826 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7828 if test -z "$with_wine64" && wine_fn_has_flag installbin
7829 then
7830 wine_fn_append_rule \
7831 "$ac_dir/install:: __tooldeps__
7832 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7833 $ac_dir/uninstall::
7834 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7836 else
7837 wine_fn_append_rule \
7838 "$ac_dir/install:: $ac_dir
7839 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7840 $ac_dir/uninstall::
7841 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7844 if test -z "$with_wine64" && wine_fn_has_flag manpage
7845 then
7846 wine_fn_append_rule \
7847 "$ac_dir/install:: $ac_dir
7848 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7849 $ac_dir/uninstall::
7850 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7854 wine_fn_config_test ()
7856 ac_dir=$1
7857 ac_name=$2
7858 ac_flags=$3
7860 ac_clean=
7861 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7862 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7864 if test "x$enable_tests" = xno; then :
7865 wine_fn_disabled_rules $ac_clean; return
7868 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7869 wine_fn_all_rules
7870 wine_fn_clean_rules $ac_clean
7872 wine_fn_append_rule \
7873 "$ac_dir: __builddeps__
7874 programs/winetest: $ac_dir
7875 check test: $ac_dir/test
7876 .PHONY: $ac_dir/test
7877 $ac_dir/test: dummy
7878 @cd $ac_dir && \$(MAKE) test
7879 testclean::
7880 \$(RM) $ac_dir/*.ok"
7882 if test -n "$CROSSTARGET"
7883 then
7884 wine_fn_append_rule \
7885 "crosstest: $ac_dir/crosstest
7886 .PHONY: $ac_dir/crosstest
7887 $ac_dir/crosstest: __builddeps__ dummy
7888 @cd $ac_dir && \$(MAKE) crosstest"
7892 wine_fn_config_tool ()
7894 ac_dir=$1
7895 ac_flags=$2
7896 if test "x$enable_tools" = xno; then :
7897 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7900 wine_fn_all_rules
7901 wine_fn_install_rules
7902 wine_fn_clean_rules
7904 wine_fn_append_rule "__tooldeps__: $ac_dir"
7905 wine_fn_append_rule "$ac_dir: libs/port"
7906 case $ac_dir in
7907 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7908 esac
7911 wine_fn_config_symlink ()
7913 ac_linkdir=
7914 if test "x$1" = "x-d"
7915 then
7916 ac_linkdir=$2
7917 shift; shift
7919 ac_links=$@
7920 wine_fn_append_rule \
7921 "$ac_links:
7922 @./config.status \$@"
7923 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7924 test -n "$ac_linkdir" || return
7925 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7928 wine_binary="wine"
7929 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7930 WINELOADER_PROGRAMS="$wine_binary"
7932 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7934 case $host_os in
7935 cygwin*|mingw32*)
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DLLTOOL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$DLLTOOL"; then
7945 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 DLLTOOL=$ac_cv_prog_DLLTOOL
7965 if test -n "$DLLTOOL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7967 $as_echo "$DLLTOOL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DLLTOOL"; then
7976 ac_ct_DLLTOOL=$DLLTOOL
7977 # Extract the first word of "dlltool", so it can be a program name with args.
7978 set dummy dlltool; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_DLLTOOL"; then
7985 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7998 done
7999 done
8000 IFS=$as_save_IFS
8004 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8005 if test -n "$ac_ct_DLLTOOL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8007 $as_echo "$ac_ct_DLLTOOL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DLLTOOL" = x; then
8014 DLLTOOL="false"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 DLLTOOL=$ac_ct_DLLTOOL
8024 else
8025 DLLTOOL="$ac_cv_prog_DLLTOOL"
8028 LIBEXT="dll"
8029 DLLEXT=""
8030 IMPLIBEXT="a"
8031 enable_iphlpapi=${enable_iphlpapi:-no}
8032 enable_kernel32=${enable_kernel32:-no}
8033 enable_msvcrt=${enable_msvcrt:-no}
8034 enable_ntdll=${enable_ntdll:-no}
8035 enable_ws2_32=${enable_ws2_32:-no}
8036 enable_loader=${enable_loader:-no}
8037 enable_server=${enable_server:-no}
8038 with_x=${with_x:-no}
8039 with_pthread=${with_pthread:-no}
8041 crtlibs=""
8042 case $host_os in
8043 mingw32*)
8044 crtlibs="-lmsvcrt"
8045 SOCKET_LIBS="-lws2_32"
8047 esac
8049 LIBWINE_SHAREDLIB="libwine.dll"
8051 LIBWINE_IMPORTLIB="libwine.a"
8053 LIBWINE_INSTALL_LIB="libwine.dll"
8055 LIBWINE_INSTALL_DEV="libwine.a"
8057 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8059 LIBWINE_DEPENDS="wine.def"
8063 darwin*|macosx*)
8064 for ac_header in libunwind.h
8065 do :
8066 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_LIBUNWIND_H 1
8070 _ACEOF
8074 done
8076 LIBEXT="dylib"
8077 DLLFLAGS="$DLLFLAGS -fPIC"
8078 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8079 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8080 COREFOUNDATION_LIBS="-framework CoreFoundation"
8082 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8084 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8086 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8088 CORESERVICES_LIBS="-framework CoreServices"
8090 APPKIT_LIBS="-framework AppKit"
8092 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8094 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8095 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8096 $as_echo_n "(cached) " >&6
8097 else
8098 ac_wine_try_cflags_saved=$CFLAGS
8099 CFLAGS="$CFLAGS -Wl,-no_pie"
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8102 int main(int argc, char **argv) { return 0; }
8103 _ACEOF
8104 if ac_fn_c_try_link "$LINENO"; then :
8105 ac_cv_cflags__Wl__no_pie=yes
8106 else
8107 ac_cv_cflags__Wl__no_pie=no
8109 rm -f core conftest.err conftest.$ac_objext \
8110 conftest$ac_exeext conftest.$ac_ext
8111 CFLAGS=$ac_wine_try_cflags_saved
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8114 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8115 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8116 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8118 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8119 then
8120 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8123 if test "$ac_cv_header_Security_Security_h" = "yes"
8124 then
8125 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8127 ac_save_LIBS="$LIBS"
8128 LIBS="$LIBS $SECURITY_LIBS"
8129 for ac_func in SSLCopyPeerCertificates
8130 do :
8131 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8132 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8135 _ACEOF
8138 done
8140 LIBS="$ac_save_LIBS"
8141 with_gnutls=${with_gnutls:-no}
8143 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8144 then
8145 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8146 then
8147 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8149 else
8150 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8153 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8154 ac_save_LIBS="$LIBS"
8155 LIBS="$LIBS $COREAUDIO_LIBS"
8156 for ac_func in AUGraphAddNode
8157 do :
8158 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8159 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8160 cat >>confdefs.h <<_ACEOF
8161 #define HAVE_AUGRAPHADDNODE 1
8162 _ACEOF
8165 done
8167 LIBS="$ac_save_LIBS"
8169 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8170 then
8171 OPENAL_LIBS="-framework OpenAL"
8174 cat >>confdefs.h <<_ACEOF
8175 #define HAVE_OPENAL 1
8176 _ACEOF
8178 ac_cv_lib_openal=yes
8180 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8181 then
8182 OPENCL_LIBS="-framework OpenCL"
8184 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8186 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8187 then
8188 ac_save_LIBS="$LIBS"
8189 LIBS="$LIBS $IOKIT_LIBS"
8190 for ac_func in IOHIDManagerCreate
8191 do :
8192 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8193 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8194 cat >>confdefs.h <<_ACEOF
8195 #define HAVE_IOHIDMANAGERCREATE 1
8196 _ACEOF
8199 done
8201 LIBS="$ac_save_LIBS"
8203 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8204 then
8205 ac_save_LIBS="$LIBS"
8206 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8208 $as_echo_n "checking for the QuickTime framework... " >&6; }
8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 #include <QuickTime/ImageCompression.h>
8213 main ()
8215 CodecManagerVersion(NULL);
8217 return 0;
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8222 $as_echo "yes" >&6; }
8223 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8225 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8226 else
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8229 ac_cv_header_QuickTime_ImageCompression_h=no
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 LIBS="$ac_save_LIBS"
8235 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8236 then
8237 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8239 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8240 then
8241 CARBON_LIBS="-framework Carbon"
8245 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8246 then
8247 ac_save_LIBS="$LIBS"
8248 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8249 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8250 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8251 enable_winemac_drv=${enable_winemac_drv:-yes}
8254 LIBS="$ac_save_LIBS"
8257 if test "x$enable_win16" = "xyes"
8258 then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8260 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8261 if test "$cross_compiling" = yes; then :
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8263 $as_echo "cross-compiling, assuming yes" >&6; }
8264 else
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 asm(".text\n"
8268 "bad:\tnop;nop\n"
8269 "good:\tnop;nop\n\t"
8270 ".globl _testfunc\n"
8271 "_testfunc:\tcallw good");
8272 extern void testfunc();
8274 main ()
8276 unsigned short *p = (unsigned short *)testfunc;
8277 return p[0] != 0xe866 || p[1] != 0xfffa
8279 return 0;
8281 _ACEOF
8282 if ac_fn_c_try_run "$LINENO"; then :
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8284 $as_echo "yes" >&6; }
8285 else
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8288 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
8290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8291 conftest.$ac_objext conftest.beam conftest.$ac_ext
8296 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8298 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8300 LIBWINE_INSTALL_DEV="libwine.dylib"
8302 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8304 WINELOADER_DEPENDS="wine_info.plist"
8308 linux-android*)
8309 DLLFLAGS="$DLLFLAGS -fPIC"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8311 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8312 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 ac_wine_try_cflags_saved=$CFLAGS
8316 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8320 _ACEOF
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8323 else
8324 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8326 rm -f core conftest.err conftest.$ac_objext \
8327 conftest$ac_exeext conftest.$ac_ext
8328 CFLAGS=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8331 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8332 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8333 LDEXECFLAGS="-Wl,--export-dynamic"
8335 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8337 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8338 if eval \${$as_ac_var+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 eval "$as_ac_var=yes"
8349 else
8350 eval "$as_ac_var=no"
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 eval ac_res=\$$as_ac_var
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8358 $as_echo "$ac_res" >&6; }
8359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8360 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8361 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8362 else
8363 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8365 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8366 if eval \${$as_ac_var+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 eval "$as_ac_var=yes"
8377 else
8378 eval "$as_ac_var=no"
8380 rm -f core conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 CFLAGS=$ac_wine_try_cflags_saved
8384 eval ac_res=\$$as_ac_var
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8386 $as_echo "$ac_res" >&6; }
8387 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8388 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8389 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8394 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8395 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 ac_wine_try_cflags_saved=$CFLAGS
8399 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 int main(int argc, char **argv) { return 0; }
8403 _ACEOF
8404 if ac_fn_c_try_link "$LINENO"; then :
8405 ac_cv_cflags__Wl___enable_new_dtags=yes
8406 else
8407 ac_cv_cflags__Wl___enable_new_dtags=no
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 CFLAGS=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8414 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8415 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8416 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8419 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8420 if ${ac_cv_cflags__Wl__pie+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 ac_wine_try_cflags_saved=$CFLAGS
8424 CFLAGS="$CFLAGS -Wl,-pie"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 int main(int argc, char **argv) { return 0; }
8428 _ACEOF
8429 if ac_fn_c_try_link "$LINENO"; then :
8430 ac_cv_cflags__Wl__pie=yes
8431 else
8432 ac_cv_cflags__Wl__pie=no
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8439 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8440 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8441 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8444 LIBWINE_SHAREDLIB="libwine.so"
8446 LIBWINE_INSTALL_LIB="libwine.so"
8448 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8453 DLLFLAGS="$DLLFLAGS -fPIC"
8454 LDEXECFLAGS=""
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8456 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8457 if ${ac_cv_c_dll_gnuelf+:} false; then :
8458 $as_echo_n "(cached) " >&6
8459 else
8460 ac_wine_try_cflags_saved=$CFLAGS
8461 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 void myfunc() {}
8465 _ACEOF
8466 if ac_fn_c_try_link "$LINENO"; then :
8467 ac_cv_c_dll_gnuelf="yes"
8468 else
8469 ac_cv_c_dll_gnuelf="no"
8471 rm -f core conftest.err conftest.$ac_objext \
8472 conftest$ac_exeext conftest.$ac_ext
8473 CFLAGS=$ac_wine_try_cflags_saved
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8476 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8477 if test "$ac_cv_c_dll_gnuelf" = "yes"
8478 then
8479 LIBWINE_LDFLAGS="-shared"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8481 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8482 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8493 else
8494 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8501 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8502 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8503 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8504 else
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8506 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8507 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_wine_try_cflags_saved=$CFLAGS
8511 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 int main(int argc, char **argv) { return 0; }
8515 _ACEOF
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8518 else
8519 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 CFLAGS=$ac_wine_try_cflags_saved
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8526 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8527 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8528 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8532 echo '{ global: *; };' >conftest.map
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8534 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8535 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8536 $as_echo_n "(cached) " >&6
8537 else
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 int main(int argc, char **argv) { return 0; }
8543 _ACEOF
8544 if ac_fn_c_try_link "$LINENO"; then :
8545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8546 else
8547 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8549 rm -f core conftest.err conftest.$ac_objext \
8550 conftest$ac_exeext conftest.$ac_ext
8551 CFLAGS=$ac_wine_try_cflags_saved
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8554 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8555 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8556 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8558 rm -f conftest.map
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8562 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 ac_wine_try_cflags_saved=$CFLAGS
8566 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8573 else
8574 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8581 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8582 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8583 LDEXECFLAGS="-Wl,--export-dynamic"
8586 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8588 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8589 if eval \${$as_ac_var+:} false; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 int main(int argc, char **argv) { return 0; }
8597 _ACEOF
8598 if ac_fn_c_try_link "$LINENO"; then :
8599 eval "$as_ac_var=yes"
8600 else
8601 eval "$as_ac_var=no"
8603 rm -f core conftest.err conftest.$ac_objext \
8604 conftest$ac_exeext conftest.$ac_ext
8605 CFLAGS=$ac_wine_try_cflags_saved
8607 eval ac_res=\$$as_ac_var
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8609 $as_echo "$ac_res" >&6; }
8610 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8611 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8612 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8613 else
8614 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8616 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8617 if eval \${$as_ac_var+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_wine_try_cflags_saved=$CFLAGS
8621 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 int main(int argc, char **argv) { return 0; }
8625 _ACEOF
8626 if ac_fn_c_try_link "$LINENO"; then :
8627 eval "$as_ac_var=yes"
8628 else
8629 eval "$as_ac_var=no"
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 eval ac_res=\$$as_ac_var
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8637 $as_echo "$ac_res" >&6; }
8638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8639 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8640 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8645 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8646 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 ac_wine_try_cflags_saved=$CFLAGS
8650 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 int main(int argc, char **argv) { return 0; }
8654 _ACEOF
8655 if ac_fn_c_try_link "$LINENO"; then :
8656 ac_cv_cflags__Wl___enable_new_dtags=yes
8657 else
8658 ac_cv_cflags__Wl___enable_new_dtags=no
8660 rm -f core conftest.err conftest.$ac_objext \
8661 conftest$ac_exeext conftest.$ac_ext
8662 CFLAGS=$ac_wine_try_cflags_saved
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8665 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8666 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8667 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8670 case $host_cpu in
8671 *i[3456789]86* | x86_64)
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8673 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8674 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8682 _ACEOF
8683 if ac_fn_c_try_link "$LINENO"; then :
8684 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8685 else
8686 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 CFLAGS=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8693 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8694 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8695 case $host_os in
8696 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8697 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8698 esac
8699 else
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8701 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8702 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8703 $as_echo_n "(cached) " >&6
8704 else
8705 ac_wine_try_cflags_saved=$CFLAGS
8706 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8709 int main(int argc, char **argv) { return 0; }
8710 _ACEOF
8711 if ac_fn_c_try_link "$LINENO"; then :
8712 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8713 else
8714 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8716 rm -f core conftest.err conftest.$ac_objext \
8717 conftest$ac_exeext conftest.$ac_ext
8718 CFLAGS=$ac_wine_try_cflags_saved
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8721 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8722 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8723 case $host_os in
8724 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8725 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8726 esac
8728 # Extract the first word of "prelink", so it can be a program name with args.
8729 set dummy prelink; ac_word=$2
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8731 $as_echo_n "checking for $ac_word... " >&6; }
8732 if ${ac_cv_path_PRELINK+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 case $PRELINK in
8736 [\\/]* | ?:[\\/]*)
8737 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 for as_dir in /sbin /usr/sbin $PATH
8743 IFS=$as_save_IFS
8744 test -z "$as_dir" && as_dir=.
8745 for ac_exec_ext in '' $ac_executable_extensions; do
8746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8747 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8749 break 2
8751 done
8752 done
8753 IFS=$as_save_IFS
8755 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8757 esac
8759 PRELINK=$ac_cv_path_PRELINK
8760 if test -n "$PRELINK"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8762 $as_echo "$PRELINK" >&6; }
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8769 if test "x$PRELINK" = xfalse
8770 then
8771 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8775 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8776 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8787 else
8788 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8795 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8796 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8797 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8800 esac
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8804 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8805 if ${ac_cv_c_dll_unixware+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 void myfunc() {}
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_c_dll_unixware="yes"
8816 else
8817 ac_cv_c_dll_unixware="no"
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8824 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8825 if test "$ac_cv_c_dll_unixware" = "yes"
8826 then
8827 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8830 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8832 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8834 LIBWINE_INSTALL_DEV="libwine.so"
8836 LIBWINE_DEPENDS="wine.map"
8839 esac
8841 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8842 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8843 enable_winemac_drv=${enable_winemac_drv:-no}
8844 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8846 CROSSTARGET=""
8848 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8849 then
8850 case "$host_cpu" in
8851 arm*)
8852 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8853 i[3456789]86*)
8854 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
8855 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8856 mingw32-gcc" ;;
8857 x86_64)
8858 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
8859 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8861 ac_prefix_list="" ;;
8862 esac
8863 for ac_prog in $ac_prefix_list
8865 # Extract the first word of "$ac_prog", so it can be a program name with args.
8866 set dummy $ac_prog; ac_word=$2
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8868 $as_echo_n "checking for $ac_word... " >&6; }
8869 if ${ac_cv_prog_CROSSCC+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 if test -n "$CROSSCC"; then
8873 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8874 else
8875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876 for as_dir in $PATH
8878 IFS=$as_save_IFS
8879 test -z "$as_dir" && as_dir=.
8880 for ac_exec_ext in '' $ac_executable_extensions; do
8881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8882 ac_cv_prog_CROSSCC="$ac_prog"
8883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 break 2
8886 done
8887 done
8888 IFS=$as_save_IFS
8892 CROSSCC=$ac_cv_prog_CROSSCC
8893 if test -n "$CROSSCC"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8895 $as_echo "$CROSSCC" >&6; }
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8902 test -n "$CROSSCC" && break
8903 done
8904 test -n "$CROSSCC" || CROSSCC="false"
8906 if test "$CROSSCC" != "false"
8907 then
8908 ac_save_CC="$CC"
8909 CC="$CROSSCC"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8911 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8916 main ()
8920 return 0;
8922 _ACEOF
8923 if ac_fn_c_try_compile "$LINENO"; then :
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8925 $as_echo "yes" >&6; }
8926 set x $CROSSCC
8927 shift
8928 while test $# -ge 1
8930 case "$1" in
8931 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8932 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8933 esac
8934 shift
8935 done
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8941 CC="$ac_save_CC"
8946 if test "$ac_cv_header_pthread_h" = "yes"
8947 then
8948 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8949 if test "x$ac_cv_func_pthread_create" = xyes; then :
8951 else
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8953 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8954 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 ac_check_lib_save_LIBS=$LIBS
8958 LIBS="-lpthread $LIBS"
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8965 #ifdef __cplusplus
8966 extern "C"
8967 #endif
8968 char pthread_create ();
8970 main ()
8972 return pthread_create ();
8974 return 0;
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 ac_cv_lib_pthread_pthread_create=yes
8979 else
8980 ac_cv_lib_pthread_pthread_create=no
8982 rm -f core conftest.err conftest.$ac_objext \
8983 conftest$ac_exeext conftest.$ac_ext
8984 LIBS=$ac_check_lib_save_LIBS
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8987 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8988 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8989 PTHREAD_LIBS="-lpthread"
8996 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8997 case "x$with_pthread" in
8998 xno) ;;
8999 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9000 Wine cannot support threads without libpthread.
9001 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9002 esac
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9008 $as_echo_n "checking for X... " >&6; }
9011 # Check whether --with-x was given.
9012 if test "${with_x+set}" = set; then :
9013 withval=$with_x;
9016 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9017 if test "x$with_x" = xno; then
9018 # The user explicitly disabled X.
9019 have_x=disabled
9020 else
9021 case $x_includes,$x_libraries in #(
9022 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9023 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9024 $as_echo_n "(cached) " >&6
9025 else
9026 # One or both of the vars are not set, and there is no cached value.
9027 ac_x_includes=no ac_x_libraries=no
9028 rm -f -r conftest.dir
9029 if mkdir conftest.dir; then
9030 cd conftest.dir
9031 cat >Imakefile <<'_ACEOF'
9032 incroot:
9033 @echo incroot='${INCROOT}'
9034 usrlibdir:
9035 @echo usrlibdir='${USRLIBDIR}'
9036 libdir:
9037 @echo libdir='${LIBDIR}'
9038 _ACEOF
9039 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9040 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9041 for ac_var in incroot usrlibdir libdir; do
9042 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9043 done
9044 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9045 for ac_extension in a so sl dylib la dll; do
9046 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9047 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9048 ac_im_usrlibdir=$ac_im_libdir; break
9050 done
9051 # Screen out bogus values from the imake configuration. They are
9052 # bogus both because they are the default anyway, and because
9053 # using them would break gcc on systems where it needs fixed includes.
9054 case $ac_im_incroot in
9055 /usr/include) ac_x_includes= ;;
9056 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9057 esac
9058 case $ac_im_usrlibdir in
9059 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9060 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9061 esac
9063 cd ..
9064 rm -f -r conftest.dir
9067 # Standard set of common directories for X headers.
9068 # Check X11 before X11Rn because it is often a symlink to the current release.
9069 ac_x_header_dirs='
9070 /usr/X11/include
9071 /usr/X11R7/include
9072 /usr/X11R6/include
9073 /usr/X11R5/include
9074 /usr/X11R4/include
9076 /usr/include/X11
9077 /usr/include/X11R7
9078 /usr/include/X11R6
9079 /usr/include/X11R5
9080 /usr/include/X11R4
9082 /usr/local/X11/include
9083 /usr/local/X11R7/include
9084 /usr/local/X11R6/include
9085 /usr/local/X11R5/include
9086 /usr/local/X11R4/include
9088 /usr/local/include/X11
9089 /usr/local/include/X11R7
9090 /usr/local/include/X11R6
9091 /usr/local/include/X11R5
9092 /usr/local/include/X11R4
9094 /usr/X386/include
9095 /usr/x386/include
9096 /usr/XFree86/include/X11
9098 /usr/include
9099 /usr/local/include
9100 /usr/unsupported/include
9101 /usr/athena/include
9102 /usr/local/x11r5/include
9103 /usr/lpp/Xamples/include
9105 /usr/openwin/include
9106 /usr/openwin/share/include'
9108 if test "$ac_x_includes" = no; then
9109 # Guess where to find include files, by looking for Xlib.h.
9110 # First, try using that file with no special directory specified.
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 #include <X11/Xlib.h>
9114 _ACEOF
9115 if ac_fn_c_try_cpp "$LINENO"; then :
9116 # We can compile using X headers with no special include directory.
9117 ac_x_includes=
9118 else
9119 for ac_dir in $ac_x_header_dirs; do
9120 if test -r "$ac_dir/X11/Xlib.h"; then
9121 ac_x_includes=$ac_dir
9122 break
9124 done
9126 rm -f conftest.err conftest.i conftest.$ac_ext
9127 fi # $ac_x_includes = no
9129 if test "$ac_x_libraries" = no; then
9130 # Check for the libraries.
9131 # See if we find them without any special options.
9132 # Don't add to $LIBS permanently.
9133 ac_save_LIBS=$LIBS
9134 LIBS="-lX11 $LIBS"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9139 main ()
9141 XrmInitialize ()
9143 return 0;
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 LIBS=$ac_save_LIBS
9148 # We can link X programs with no special library path.
9149 ac_x_libraries=
9150 else
9151 LIBS=$ac_save_LIBS
9152 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9154 # Don't even attempt the hair of trying to link an X program!
9155 for ac_extension in a so sl dylib la dll; do
9156 if test -r "$ac_dir/libX11.$ac_extension"; then
9157 ac_x_libraries=$ac_dir
9158 break 2
9160 done
9161 done
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 fi # $ac_x_libraries = no
9167 case $ac_x_includes,$ac_x_libraries in #(
9168 no,* | *,no | *\'*)
9169 # Didn't find X, or a directory has "'" in its name.
9170 ac_cv_have_x="have_x=no";; #(
9172 # Record where we found X for the cache.
9173 ac_cv_have_x="have_x=yes\
9174 ac_x_includes='$ac_x_includes'\
9175 ac_x_libraries='$ac_x_libraries'"
9176 esac
9178 ;; #(
9179 *) have_x=yes;;
9180 esac
9181 eval "$ac_cv_have_x"
9182 fi # $with_x != no
9184 if test "$have_x" != yes; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9186 $as_echo "$have_x" >&6; }
9187 no_x=yes
9188 else
9189 # If each of the values was on the command line, it overrides each guess.
9190 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9191 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9192 # Update the cache value to reflect the command line values.
9193 ac_cv_have_x="have_x=yes\
9194 ac_x_includes='$x_includes'\
9195 ac_x_libraries='$x_libraries'"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9197 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9200 if test "$no_x" = yes; then
9201 # Not all programs may use this symbol, but it does not hurt to define it.
9203 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9205 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9206 else
9207 if test -n "$x_includes"; then
9208 X_CFLAGS="$X_CFLAGS -I$x_includes"
9211 # It would also be nice to do this for all -L options, not just this one.
9212 if test -n "$x_libraries"; then
9213 X_LIBS="$X_LIBS -L$x_libraries"
9214 # For Solaris; some versions of Sun CC require a space after -R and
9215 # others require no space. Words are not sufficient . . . .
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9217 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9218 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9219 ac_xsave_c_werror_flag=$ac_c_werror_flag
9220 ac_c_werror_flag=yes
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9225 main ()
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 $as_echo "no" >&6; }
9235 X_LIBS="$X_LIBS -R$x_libraries"
9236 else
9237 LIBS="$ac_xsave_LIBS -R $x_libraries"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9242 main ()
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9251 $as_echo "yes" >&6; }
9252 X_LIBS="$X_LIBS -R $x_libraries"
9253 else
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9255 $as_echo "neither works" >&6; }
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 ac_c_werror_flag=$ac_xsave_c_werror_flag
9263 LIBS=$ac_xsave_LIBS
9266 # Check for system-dependent libraries X programs must link with.
9267 # Do this before checking for the system-independent R6 libraries
9268 # (-lICE), since we may need -lsocket or whatever for X linking.
9270 if test "$ISC" = yes; then
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9272 else
9273 # Martyn Johnson says this is needed for Ultrix, if the X
9274 # libraries were built with DECnet support. And Karl Berry says
9275 # the Alpha needs dnet_stub (dnet does not exist).
9276 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9283 #ifdef __cplusplus
9284 extern "C"
9285 #endif
9286 char XOpenDisplay ();
9288 main ()
9290 return XOpenDisplay ();
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9297 else
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9299 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9300 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9301 $as_echo_n "(cached) " >&6
9302 else
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-ldnet $LIBS"
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9311 #ifdef __cplusplus
9312 extern "C"
9313 #endif
9314 char dnet_ntoa ();
9316 main ()
9318 return dnet_ntoa ();
9320 return 0;
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_lib_dnet_dnet_ntoa=yes
9325 else
9326 ac_cv_lib_dnet_dnet_ntoa=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS=$ac_check_lib_save_LIBS
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9333 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9334 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9335 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9338 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9340 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9341 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_check_lib_save_LIBS=$LIBS
9345 LIBS="-ldnet_stub $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9352 #ifdef __cplusplus
9353 extern "C"
9354 #endif
9355 char dnet_ntoa ();
9357 main ()
9359 return dnet_ntoa ();
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9366 else
9367 ac_cv_lib_dnet_stub_dnet_ntoa=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 LIBS=$ac_check_lib_save_LIBS
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9374 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9375 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9376 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS="$ac_xsave_LIBS"
9385 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9386 # to get the SysV transport functions.
9387 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9388 # needs -lnsl.
9389 # The nsl library prevents programs from opening the X display
9390 # on Irix 5.2, according to T.E. Dickey.
9391 # The functions gethostbyname, getservbyname, and inet_addr are
9392 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9393 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9394 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9398 if test $ac_cv_func_gethostbyname = no; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9400 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9401 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-lnsl $LIBS"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9412 #ifdef __cplusplus
9413 extern "C"
9414 #endif
9415 char gethostbyname ();
9417 main ()
9419 return gethostbyname ();
9421 return 0;
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_lib_nsl_gethostbyname=yes
9426 else
9427 ac_cv_lib_nsl_gethostbyname=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9434 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9435 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9436 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9439 if test $ac_cv_lib_nsl_gethostbyname = no; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9441 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9442 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_check_lib_save_LIBS=$LIBS
9446 LIBS="-lbsd $LIBS"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9453 #ifdef __cplusplus
9454 extern "C"
9455 #endif
9456 char gethostbyname ();
9458 main ()
9460 return gethostbyname ();
9462 return 0;
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 ac_cv_lib_bsd_gethostbyname=yes
9467 else
9468 ac_cv_lib_bsd_gethostbyname=no
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 LIBS=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9475 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9476 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9483 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9484 # socket/setsockopt and other routines are undefined under SCO ODT
9485 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9486 # on later versions), says Simon Leinen: it contains gethostby*
9487 # variants that don't use the name server (or something). -lsocket
9488 # must be given before -lnsl if both are needed. We assume that
9489 # if connect needs -lnsl, so does gethostbyname.
9490 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9491 if test "x$ac_cv_func_connect" = xyes; then :
9495 if test $ac_cv_func_connect = no; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9497 $as_echo_n "checking for connect in -lsocket... " >&6; }
9498 if ${ac_cv_lib_socket_connect+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_check_lib_save_LIBS=$LIBS
9502 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9509 #ifdef __cplusplus
9510 extern "C"
9511 #endif
9512 char connect ();
9514 main ()
9516 return connect ();
9518 return 0;
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522 ac_cv_lib_socket_connect=yes
9523 else
9524 ac_cv_lib_socket_connect=no
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LIBS=$ac_check_lib_save_LIBS
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9531 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9532 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9533 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9538 # Guillermo Gomez says -lposix is necessary on A/UX.
9539 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9540 if test "x$ac_cv_func_remove" = xyes; then :
9544 if test $ac_cv_func_remove = no; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9546 $as_echo_n "checking for remove in -lposix... " >&6; }
9547 if ${ac_cv_lib_posix_remove+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_check_lib_save_LIBS=$LIBS
9551 LIBS="-lposix $LIBS"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9558 #ifdef __cplusplus
9559 extern "C"
9560 #endif
9561 char remove ();
9563 main ()
9565 return remove ();
9567 return 0;
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 ac_cv_lib_posix_remove=yes
9572 else
9573 ac_cv_lib_posix_remove=no
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_lib_save_LIBS
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9580 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9581 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9582 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9587 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9588 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9589 if test "x$ac_cv_func_shmat" = xyes; then :
9593 if test $ac_cv_func_shmat = no; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9595 $as_echo_n "checking for shmat in -lipc... " >&6; }
9596 if ${ac_cv_lib_ipc_shmat+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lipc $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char shmat ();
9612 main ()
9614 return shmat ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_ipc_shmat=yes
9621 else
9622 ac_cv_lib_ipc_shmat=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9629 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9630 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9637 # Check for libraries that X11R6 Xt/Xaw programs need.
9638 ac_save_LDFLAGS=$LDFLAGS
9639 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9640 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9641 # check for ICE first), but we must link in the order -lSM -lICE or
9642 # we get undefined symbols. So assume we have SM if we have ICE.
9643 # These have to be linked with before -lX11, unlike the other
9644 # libraries we check for below, so use a different variable.
9645 # John Interrante, Karl Berry
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9647 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9648 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9656 /* Override any GCC internal prototype to avoid an error.
9657 Use char because int might match the return type of a GCC
9658 builtin and then its argument prototype would still apply. */
9659 #ifdef __cplusplus
9660 extern "C"
9661 #endif
9662 char IceConnectionNumber ();
9664 main ()
9666 return IceConnectionNumber ();
9668 return 0;
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 ac_cv_lib_ICE_IceConnectionNumber=yes
9673 else
9674 ac_cv_lib_ICE_IceConnectionNumber=no
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_lib_save_LIBS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9681 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9682 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9683 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9686 LDFLAGS=$ac_save_LDFLAGS
9691 if test "$have_x" = "yes"
9692 then
9693 ac_save_CPPFLAGS="$CPPFLAGS"
9694 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9697 $as_echo_n "checking for -lX11... " >&6; }
9698 if ${ac_cv_lib_soname_X11+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_soname_save_LIBS=$LIBS
9702 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char XCreateWindow ();
9714 main ()
9716 return XCreateWindow ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 case "$LIBEXT" in
9723 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9724 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'` ;;
9725 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9726 if ${ac_cv_lib_soname_X11:+false} :; then :
9727 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9728 fi ;;
9729 esac
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LIBS=$ac_check_soname_save_LIBS
9735 if ${ac_cv_lib_soname_X11:+false} :; then :
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9737 $as_echo "not found" >&6; }
9739 else
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9741 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9743 cat >>confdefs.h <<_ACEOF
9744 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9745 _ACEOF
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9750 $as_echo_n "checking for -lXext... " >&6; }
9751 if ${ac_cv_lib_soname_Xext+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 ac_check_soname_save_LIBS=$LIBS
9755 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9762 #ifdef __cplusplus
9763 extern "C"
9764 #endif
9765 char XextCreateExtension ();
9767 main ()
9769 return XextCreateExtension ();
9771 return 0;
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 case "$LIBEXT" in
9776 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9777 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'` ;;
9778 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9779 if ${ac_cv_lib_soname_Xext:+false} :; then :
9780 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9781 fi ;;
9782 esac
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 LIBS=$ac_check_soname_save_LIBS
9788 if ${ac_cv_lib_soname_Xext:+false} :; then :
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9790 $as_echo "not found" >&6; }
9792 else
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9794 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9796 cat >>confdefs.h <<_ACEOF
9797 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9798 _ACEOF
9800 X_LIBS="$X_LIBS -lXext"
9802 X_LIBS="$X_LIBS -lX11"
9804 for ac_header in X11/Xlib.h \
9805 X11/XKBlib.h \
9806 X11/Xutil.h \
9807 X11/Xcursor/Xcursor.h \
9808 X11/extensions/shape.h \
9809 X11/extensions/XInput.h \
9810 X11/extensions/XInput2.h \
9811 X11/extensions/XShm.h \
9812 X11/extensions/Xcomposite.h \
9813 X11/extensions/Xinerama.h \
9814 X11/extensions/Xrandr.h \
9815 X11/extensions/Xrender.h \
9816 X11/extensions/xf86vmode.h \
9817 X11/extensions/xf86vmproto.h
9818 do :
9819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9821 # include <X11/Xlib.h>
9822 #endif
9823 #ifdef HAVE_X11_XUTIL_H
9824 # include <X11/Xutil.h>
9825 #endif
9827 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9828 cat >>confdefs.h <<_ACEOF
9829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9830 _ACEOF
9834 done
9837 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9838 then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9840 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9841 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 ac_check_lib_save_LIBS=$LIBS
9845 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9852 #ifdef __cplusplus
9853 extern "C"
9854 #endif
9855 char XkbQueryExtension ();
9857 main ()
9859 return XkbQueryExtension ();
9861 return 0;
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_lib_X11_XkbQueryExtension=yes
9866 else
9867 ac_cv_lib_X11_XkbQueryExtension=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_lib_save_LIBS
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9874 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9875 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9877 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9883 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9884 then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9886 $as_echo_n "checking for -lXcursor... " >&6; }
9887 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_check_soname_save_LIBS=$LIBS
9891 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9898 #ifdef __cplusplus
9899 extern "C"
9900 #endif
9901 char XcursorImageLoadCursor ();
9903 main ()
9905 return XcursorImageLoadCursor ();
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 case "$LIBEXT" in
9912 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9916 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9917 fi ;;
9918 esac
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9928 else
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9930 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9932 cat >>confdefs.h <<_ACEOF
9933 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9934 _ACEOF
9939 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9940 case "x$with_xcursor" in
9941 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9944 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9945 esac
9949 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9950 then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9952 $as_echo_n "checking for -lXi... " >&6; }
9953 if ${ac_cv_lib_soname_Xi+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_check_soname_save_LIBS=$LIBS
9957 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 char XOpenDevice ();
9969 main ()
9971 return XOpenDevice ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 case "$LIBEXT" in
9978 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9979 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'` ;;
9980 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9981 if ${ac_cv_lib_soname_Xi:+false} :; then :
9982 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9983 fi ;;
9984 esac
9986 rm -f core conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_soname_save_LIBS
9990 if ${ac_cv_lib_soname_Xi:+false} :; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9992 $as_echo "not found" >&6; }
9994 else
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9996 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9998 cat >>confdefs.h <<_ACEOF
9999 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10000 _ACEOF
10005 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10006 case "x$with_xinput" in
10007 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10008 xno) ;;
10009 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10010 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10011 esac
10015 if test "x$ac_cv_lib_soname_Xi" != x
10016 then
10017 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10018 case "x$with_xinput2" in
10019 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10020 xno) ;;
10021 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10022 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10023 esac
10028 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10029 then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10031 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10032 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_check_lib_save_LIBS=$LIBS
10036 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 #ifdef __cplusplus
10044 extern "C"
10045 #endif
10046 char XShmQueryExtension ();
10048 main ()
10050 return XShmQueryExtension ();
10052 return 0;
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 ac_cv_lib_Xext_XShmQueryExtension=yes
10057 else
10058 ac_cv_lib_Xext_XShmQueryExtension=no
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_lib_save_LIBS
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10065 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10066 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10068 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10073 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10074 case "x$with_xshm" in
10075 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10076 xno) ;;
10077 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10078 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10079 esac
10083 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10084 then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10086 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10087 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10098 #ifdef __cplusplus
10099 extern "C"
10100 #endif
10101 char XShapeQueryExtension ();
10103 main ()
10105 return XShapeQueryExtension ();
10107 return 0;
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_lib_Xext_XShapeQueryExtension=yes
10112 else
10113 ac_cv_lib_Xext_XShapeQueryExtension=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_lib_save_LIBS
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10120 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10121 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10123 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10128 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10129 case "x$with_xshape" in
10130 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10131 xno) ;;
10132 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10133 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10134 esac
10138 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10139 then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10141 $as_echo_n "checking for -lXxf86vm... " >&6; }
10142 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10153 #ifdef __cplusplus
10154 extern "C"
10155 #endif
10156 char XF86VidModeQueryExtension ();
10158 main ()
10160 return XF86VidModeQueryExtension ();
10162 return 0;
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 case "$LIBEXT" in
10167 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10171 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10172 fi ;;
10173 esac
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10183 else
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10185 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10189 _ACEOF
10194 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10195 case "x$with_xxf86vm" in
10196 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10197 xno) ;;
10198 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10199 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10200 esac
10204 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10205 then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10207 $as_echo_n "checking for -lXrender... " >&6; }
10208 if ${ac_cv_lib_soname_Xrender+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_check_soname_save_LIBS=$LIBS
10212 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10219 #ifdef __cplusplus
10220 extern "C"
10221 #endif
10222 char XRenderQueryExtension ();
10224 main ()
10226 return XRenderQueryExtension ();
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 case "$LIBEXT" in
10233 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10236 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10237 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10238 fi ;;
10239 esac
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 LIBS=$ac_check_soname_save_LIBS
10245 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10247 $as_echo "not found" >&6; }
10249 else
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10251 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10253 cat >>confdefs.h <<_ACEOF
10254 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10255 _ACEOF
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10258 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10259 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_lib_save_LIBS=$LIBS
10263 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRenderSetPictureTransform ();
10275 main ()
10277 return XRenderSetPictureTransform ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10284 else
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_lib_save_LIBS
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10292 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10293 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10295 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10300 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10301 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_lib_save_LIBS=$LIBS
10305 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10312 #ifdef __cplusplus
10313 extern "C"
10314 #endif
10315 char XRenderCreateLinearGradient ();
10317 main ()
10319 return XRenderCreateLinearGradient ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10326 else
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10334 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10335 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10337 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10344 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10345 case "x$with_xrender" in
10346 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10347 xno) ;;
10348 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10349 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10350 esac
10354 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10355 then
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10361 main ()
10363 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_compile "$LINENO"; then :
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10370 $as_echo_n "checking for -lXrandr... " >&6; }
10371 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10372 $as_echo_n "(cached) " >&6
10373 else
10374 ac_check_soname_save_LIBS=$LIBS
10375 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10379 /* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10382 #ifdef __cplusplus
10383 extern "C"
10384 #endif
10385 char XRRQueryExtension ();
10387 main ()
10389 return XRRQueryExtension ();
10391 return 0;
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 case "$LIBEXT" in
10396 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10397 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'` ;;
10398 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10399 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10400 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10401 fi ;;
10402 esac
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 LIBS=$ac_check_soname_save_LIBS
10408 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10410 $as_echo "not found" >&6; }
10412 else
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10414 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10416 cat >>confdefs.h <<_ACEOF
10417 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10418 _ACEOF
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #include <X11/Xlib.h>
10423 #include <X11/extensions/Xrandr.h>
10425 main ()
10427 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_compile "$LINENO"; then :
10434 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10442 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10443 case "x$with_xrandr" in
10444 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10445 xno) ;;
10446 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10447 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10448 esac
10452 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10453 then
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xinerama.h>
10459 main ()
10461 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_compile "$LINENO"; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10468 $as_echo_n "checking for -lXinerama... " >&6; }
10469 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_check_soname_save_LIBS=$LIBS
10473 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10480 #ifdef __cplusplus
10481 extern "C"
10482 #endif
10483 char XineramaQueryScreens ();
10485 main ()
10487 return XineramaQueryScreens ();
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 case "$LIBEXT" in
10494 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 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'` ;;
10496 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10498 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10499 fi ;;
10500 esac
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10510 else
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10512 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10514 cat >>confdefs.h <<_ACEOF
10515 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10516 _ACEOF
10521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10523 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10524 case "x$with_xinerama" in
10525 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10526 xno) ;;
10527 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10528 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10529 esac
10533 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10534 then
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10536 $as_echo_n "checking for -lXcomposite... " >&6; }
10537 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10538 $as_echo_n "(cached) " >&6
10539 else
10540 ac_check_soname_save_LIBS=$LIBS
10541 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10545 /* Override any GCC internal prototype to avoid an error.
10546 Use char because int might match the return type of a GCC
10547 builtin and then its argument prototype would still apply. */
10548 #ifdef __cplusplus
10549 extern "C"
10550 #endif
10551 char XCompositeRedirectWindow ();
10553 main ()
10555 return XCompositeRedirectWindow ();
10557 return 0;
10559 _ACEOF
10560 if ac_fn_c_try_link "$LINENO"; then :
10561 case "$LIBEXT" in
10562 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10563 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'` ;;
10564 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10565 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10566 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10567 fi ;;
10568 esac
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 LIBS=$ac_check_soname_save_LIBS
10574 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10576 $as_echo "not found" >&6; }
10578 else
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10580 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10582 cat >>confdefs.h <<_ACEOF
10583 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10584 _ACEOF
10589 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10590 case "x$with_xcomposite" in
10591 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10592 xno) ;;
10593 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10594 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10595 esac
10599 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10600 #include <X11/Xlib.h>
10601 #endif
10603 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10605 cat >>confdefs.h <<_ACEOF
10606 #define HAVE_XICCALLBACK_CALLBACK 1
10607 _ACEOF
10611 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10612 #include <X11/Xlib.h>
10613 #endif
10615 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10617 cat >>confdefs.h <<_ACEOF
10618 #define HAVE_XEVENT_XCOOKIE 1
10619 _ACEOF
10626 opengl_msg=""
10627 if test "x$with_opengl" != "xno"
10628 then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10630 $as_echo_n "checking for -lGL... " >&6; }
10631 if ${ac_cv_lib_soname_GL+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_check_soname_save_LIBS=$LIBS
10635 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 char glXCreateContext ();
10647 main ()
10649 return glXCreateContext ();
10651 return 0;
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 case "$LIBEXT" in
10656 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10657 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'` ;;
10658 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10659 if ${ac_cv_lib_soname_GL:+false} :; then :
10660 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10661 fi ;;
10662 esac
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_soname_save_LIBS
10668 if ${ac_cv_lib_soname_GL:+false} :; then :
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10670 $as_echo "not found" >&6; }
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10672 $as_echo_n "checking for -lGL... " >&6; }
10673 if ${ac_cv_lib_soname_GL+:} false; then :
10674 $as_echo_n "(cached) " >&6
10675 else
10676 ac_check_soname_save_LIBS=$LIBS
10677 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"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char glXCreateContext ();
10689 main ()
10691 return glXCreateContext ();
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 case "$LIBEXT" in
10698 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10699 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'` ;;
10700 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10701 if ${ac_cv_lib_soname_GL:+false} :; then :
10702 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10703 fi ;;
10704 esac
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_soname_save_LIBS
10710 if ${ac_cv_lib_soname_GL:+false} :; then :
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10712 $as_echo "not found" >&6; }
10713 if test -f /usr/X11R6/lib/libGL.a
10714 then
10715 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10716 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10717 else
10718 opengl_msg="No OpenGL library found on this system."
10720 else
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10722 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10724 cat >>confdefs.h <<_ACEOF
10725 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10726 _ACEOF
10728 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"
10730 else
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10732 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10734 cat >>confdefs.h <<_ACEOF
10735 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10736 _ACEOF
10738 OPENGL_LIBS="-lGL"
10740 if test "x$with_glu" != "xno"
10741 then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10743 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10744 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char gluLookAt ();
10760 main ()
10762 return gluLookAt ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_GLU_gluLookAt=yes
10769 else
10770 ac_cv_lib_GLU_gluLookAt=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10777 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10778 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10782 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10783 case "x$with_glu" in
10784 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10787 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10788 esac
10793 if test "x$with_osmesa" != "xno"
10794 then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10796 $as_echo_n "checking for -lOSMesa... " >&6; }
10797 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10798 $as_echo_n "(cached) " >&6
10799 else
10800 ac_check_soname_save_LIBS=$LIBS
10801 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 char glAccum ();
10813 main ()
10815 return glAccum ();
10817 return 0;
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"; then :
10821 case "$LIBEXT" in
10822 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10823 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'` ;;
10824 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10825 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10826 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10827 fi ;;
10828 esac
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_soname_save_LIBS
10834 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10836 $as_echo "not found" >&6; }
10838 else
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10840 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10842 cat >>confdefs.h <<_ACEOF
10843 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10844 _ACEOF
10848 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10849 case "x$with_osmesa" in
10850 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10851 xno) ;;
10852 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10853 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10854 esac
10859 if test -n "$opengl_msg"; then :
10860 case "x$with_opengl" in
10861 x) as_fn_append wine_warnings "|$opengl_msg
10862 OpenGL and Direct3D won't be supported." ;;
10863 xno) ;;
10864 *) as_fn_error $? "$opengl_msg
10865 OpenGL and Direct3D won't be supported.
10866 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10867 esac
10871 CPPFLAGS="$ac_save_CPPFLAGS"
10872 else
10873 X_CFLAGS=""
10874 X_LIBS=""
10876 if test "x$X_LIBS" = "x"; then :
10877 case "x$with_x" in
10878 xno) ;;
10879 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10880 without X support, which probably isn't what you want. You will need
10881 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10882 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10883 esac
10884 enable_winex11_drv=${enable_winex11_drv:-no}
10887 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10889 if test "$ac_cv_header_CL_cl_h" = "yes"
10890 then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10892 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10893 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10894 $as_echo_n "(cached) " >&6
10895 else
10896 ac_check_lib_save_LIBS=$LIBS
10897 LIBS="-lOpenCL $LIBS"
10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10904 #ifdef __cplusplus
10905 extern "C"
10906 #endif
10907 char clGetPlatformInfo ();
10909 main ()
10911 return clGetPlatformInfo ();
10913 return 0;
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"; then :
10917 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10918 else
10919 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10921 rm -f core conftest.err conftest.$ac_objext \
10922 conftest$ac_exeext conftest.$ac_ext
10923 LIBS=$ac_check_lib_save_LIBS
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10926 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10927 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10928 OPENCL_LIBS="-lOpenCL"
10933 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10934 case "x$with_opencl" in
10935 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10936 xno) ;;
10937 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10938 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10939 esac
10940 enable_opencl=${enable_opencl:-no}
10943 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10944 then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10946 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10947 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10948 $as_echo_n "(cached) " >&6
10949 else
10950 ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lpcap $LIBS"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10958 #ifdef __cplusplus
10959 extern "C"
10960 #endif
10961 char pcap_create ();
10963 main ()
10965 return pcap_create ();
10967 return 0;
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"; then :
10971 ac_cv_lib_pcap_pcap_create=yes
10972 else
10973 ac_cv_lib_pcap_pcap_create=no
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_lib_save_LIBS
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10980 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10981 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10982 PCAP_LIBS="-lpcap"
10987 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10988 case "x$with_pcap" in
10989 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10990 xno) ;;
10991 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10992 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10993 esac
10994 enable_wpcap=${enable_wpcap:-no}
10998 if test "x$with_xml" != "xno"
10999 then
11000 if ${XML2_CFLAGS:+false} :; then :
11001 if ${PKG_CONFIG+:} false; then :
11002 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11005 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11006 if ${XML2_LIBS:+false} :; then :
11007 if ${PKG_CONFIG+:} false; then :
11008 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11011 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11012 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11013 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11014 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11015 ac_save_CPPFLAGS=$CPPFLAGS
11016 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11017 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11018 do :
11019 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11020 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11022 cat >>confdefs.h <<_ACEOF
11023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11024 _ACEOF
11028 done
11030 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"
11031 then
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11033 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11034 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11035 $as_echo_n "(cached) " >&6
11036 else
11037 ac_check_lib_save_LIBS=$LIBS
11038 LIBS="-lxml2 $XML2_LIBS $LIBS"
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11045 #ifdef __cplusplus
11046 extern "C"
11047 #endif
11048 char xmlParseMemory ();
11050 main ()
11052 return xmlParseMemory ();
11054 return 0;
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"; then :
11058 ac_cv_lib_xml2_xmlParseMemory=yes
11059 else
11060 ac_cv_lib_xml2_xmlParseMemory=no
11062 rm -f core conftest.err conftest.$ac_objext \
11063 conftest$ac_exeext conftest.$ac_ext
11064 LIBS=$ac_check_lib_save_LIBS
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11067 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11068 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11070 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11072 else
11073 XML2_LIBS=""
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11077 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11078 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_lib_save_LIBS=$LIBS
11082 LIBS="-lxml2 $XML2_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char xmlReadMemory ();
11094 main ()
11096 return xmlReadMemory ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 ac_cv_lib_xml2_xmlReadMemory=yes
11103 else
11104 ac_cv_lib_xml2_xmlReadMemory=no
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11111 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11112 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11114 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11119 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11120 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11121 $as_echo_n "(cached) " >&6
11122 else
11123 ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-lxml2 $XML2_LIBS $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char xmlNewDocPI ();
11136 main ()
11138 return xmlNewDocPI ();
11140 return 0;
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 ac_cv_lib_xml2_xmlNewDocPI=yes
11145 else
11146 ac_cv_lib_xml2_xmlNewDocPI=no
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11153 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11154 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11156 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11161 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11162 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11163 $as_echo_n "(cached) " >&6
11164 else
11165 ac_check_lib_save_LIBS=$LIBS
11166 LIBS="-lxml2 $XML2_LIBS $LIBS"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11173 #ifdef __cplusplus
11174 extern "C"
11175 #endif
11176 char xmlSchemaSetParserStructuredErrors ();
11178 main ()
11180 return xmlSchemaSetParserStructuredErrors ();
11182 return 0;
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11187 else
11188 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11190 rm -f core conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11195 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11196 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11198 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11203 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11204 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11205 $as_echo_n "(cached) " >&6
11206 else
11207 ac_check_lib_save_LIBS=$LIBS
11208 LIBS="-lxml2 $XML2_LIBS $LIBS"
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11215 #ifdef __cplusplus
11216 extern "C"
11217 #endif
11218 char xmlSchemaSetValidStructuredErrors ();
11220 main ()
11222 return xmlSchemaSetValidStructuredErrors ();
11224 return 0;
11226 _ACEOF
11227 if ac_fn_c_try_link "$LINENO"; then :
11228 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11229 else
11230 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS=$ac_check_lib_save_LIBS
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11237 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11238 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11240 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11245 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11246 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lxml2 $XML2_LIBS $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char xmlFirstElementChild ();
11262 main ()
11264 return xmlFirstElementChild ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_xml2_xmlFirstElementChild=yes
11271 else
11272 ac_cv_lib_xml2_xmlFirstElementChild=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11279 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11280 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11282 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11286 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11288 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11290 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11294 else
11295 XML2_CFLAGS=""
11296 XML2_LIBS=""
11298 CPPFLAGS=$ac_save_CPPFLAGS
11299 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11300 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11303 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11304 case "x$with_xml" in
11305 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11306 xno) ;;
11307 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11308 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11309 esac
11313 if test "x$with_xslt" != "xno"
11314 then
11315 if ${XSLT_CFLAGS:+false} :; then :
11316 if ${PKG_CONFIG+:} false; then :
11317 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11320 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11321 if ${XSLT_LIBS:+false} :; then :
11322 if ${PKG_CONFIG+:} false; then :
11323 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11326 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11327 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11328 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11330 ac_save_CPPFLAGS=$CPPFLAGS
11331 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11332 for ac_header in libxslt/pattern.h libxslt/transform.h
11333 do :
11334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11335 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11336 # include <libxslt/pattern.h>
11337 #endif
11339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11340 cat >>confdefs.h <<_ACEOF
11341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11342 _ACEOF
11346 done
11348 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11349 then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11351 $as_echo_n "checking for -lxslt... " >&6; }
11352 if ${ac_cv_lib_soname_xslt+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_soname_save_LIBS=$LIBS
11356 LIBS="-lxslt $XSLT_LIBS $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char xsltCompilePattern ();
11368 main ()
11370 return xsltCompilePattern ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 case "$LIBEXT" in
11377 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11378 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'` ;;
11379 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11380 if ${ac_cv_lib_soname_xslt:+false} :; then :
11381 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11382 fi ;;
11383 esac
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_soname_save_LIBS
11389 if ${ac_cv_lib_soname_xslt:+false} :; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11391 $as_echo "not found" >&6; }
11393 else
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11395 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11397 cat >>confdefs.h <<_ACEOF
11398 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11399 _ACEOF
11403 else
11404 XSLT_CFLAGS=""
11406 CPPFLAGS=$ac_save_CPPFLAGS
11407 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11408 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11411 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11412 case "x$with_xslt" in
11413 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11414 xno) ;;
11415 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11416 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11417 esac
11421 if test "x$with_dbus" != "xno"
11422 then
11423 if ${DBUS_CFLAGS:+false} :; then :
11424 if ${PKG_CONFIG+:} false; then :
11425 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11429 if ${DBUS_LIBS:+false} :; then :
11430 if ${PKG_CONFIG+:} false; then :
11431 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11437 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11438 ac_save_CPPFLAGS=$CPPFLAGS
11439 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11440 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11441 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11443 $as_echo_n "checking for -ldbus-1... " >&6; }
11444 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11445 $as_echo_n "(cached) " >&6
11446 else
11447 ac_check_soname_save_LIBS=$LIBS
11448 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 #endif
11458 char dbus_connection_close ();
11460 main ()
11462 return dbus_connection_close ();
11464 return 0;
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"; then :
11468 case "$LIBEXT" in
11469 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11470 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'` ;;
11471 *) 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'`
11472 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11473 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11474 fi ;;
11475 esac
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_soname_save_LIBS
11481 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11483 $as_echo "not found" >&6; }
11484 DBUS_CFLAGS=""
11485 else
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11487 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11489 cat >>confdefs.h <<_ACEOF
11490 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11491 _ACEOF
11495 else
11496 DBUS_CFLAGS=""
11500 CPPFLAGS=$ac_save_CPPFLAGS
11501 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11502 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11505 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11507 case "x$with_dbus" in
11508 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11509 xno) ;;
11510 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11511 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11512 esac
11516 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11517 then
11518 if ${HAL_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false; then :
11520 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11524 if ${HAL_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false; then :
11526 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11530 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11531 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11533 ac_save_CPPFLAGS=$CPPFLAGS
11534 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11535 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11538 $as_echo_n "checking for -lhal... " >&6; }
11539 if ${ac_cv_lib_soname_hal+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_soname_save_LIBS=$LIBS
11543 LIBS="-lhal $HAL_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char libhal_ctx_new ();
11555 main ()
11557 return libhal_ctx_new ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 case "$LIBEXT" in
11564 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11567 if ${ac_cv_lib_soname_hal:+false} :; then :
11568 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11569 fi ;;
11570 esac
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_hal:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11579 HAL_CFLAGS=""
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11582 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11584 cat >>confdefs.h <<_ACEOF
11585 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11586 _ACEOF
11590 else
11591 HAL_CFLAGS=""
11595 CPPFLAGS=$ac_save_CPPFLAGS
11596 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11597 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11599 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11600 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11601 case "x$with_hal" in
11602 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11603 xno) ;;
11604 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11605 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11606 esac
11611 if test "x$with_gnutls" != "xno"
11612 then
11613 if ${GNUTLS_CFLAGS:+false} :; then :
11614 if ${PKG_CONFIG+:} false; then :
11615 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11619 if ${GNUTLS_LIBS:+false} :; then :
11620 if ${PKG_CONFIG+:} false; then :
11621 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11627 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11628 ac_save_CPPFLAGS=$CPPFLAGS
11629 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11630 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11631 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 #include <gnutls/gnutls.h>
11635 #include <gnutls/crypto.h>
11637 main ()
11639 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11641 return 0;
11643 _ACEOF
11644 if ac_fn_c_try_compile "$LINENO"; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11646 $as_echo_n "checking for -lgnutls... " >&6; }
11647 if ${ac_cv_lib_soname_gnutls+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 ac_check_soname_save_LIBS=$LIBS
11651 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char gnutls_global_init ();
11663 main ()
11665 return gnutls_global_init ();
11667 return 0;
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 case "$LIBEXT" in
11672 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11673 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'` ;;
11674 *) 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'`
11675 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11676 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'`
11677 fi ;;
11678 esac
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11687 GNUTLS_CFLAGS=""
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11690 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11694 _ACEOF
11698 ac_wine_check_funcs_save_LIBS="$LIBS"
11699 LIBS="$LIBS $GNUTLS_LIBS"
11700 for ac_func in gnutls_hash
11701 do :
11702 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11703 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11704 cat >>confdefs.h <<_ACEOF
11705 #define HAVE_GNUTLS_HASH 1
11706 _ACEOF
11708 else
11709 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11711 done
11713 LIBS="$ac_wine_check_funcs_save_LIBS"
11715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11716 else
11717 GNUTLS_CFLAGS=""
11721 CPPFLAGS=$ac_save_CPPFLAGS
11722 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11723 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11726 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11727 case "x$with_gnutls" in
11728 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11729 xno) ;;
11730 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11731 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11732 esac
11736 CURSES_LIBS=""
11737 if test "$ac_cv_header_ncurses_h" = "yes"
11738 then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11740 $as_echo_n "checking for -lncurses... " >&6; }
11741 if ${ac_cv_lib_soname_ncurses+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_soname_save_LIBS=$LIBS
11745 LIBS="-lncurses $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char waddch ();
11757 main ()
11759 return waddch ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 case "$LIBEXT" in
11766 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11767 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'` ;;
11768 *) 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'`
11769 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11770 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11771 fi ;;
11772 esac
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_soname_save_LIBS
11778 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11780 $as_echo "not found" >&6; }
11782 else
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11784 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11786 cat >>confdefs.h <<_ACEOF
11787 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11788 _ACEOF
11790 CURSES_LIBS="-lncurses"
11792 elif test "$ac_cv_header_curses_h" = "yes"
11793 then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11795 $as_echo_n "checking for -lcurses... " >&6; }
11796 if ${ac_cv_lib_soname_curses+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lcurses $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char waddch ();
11812 main ()
11814 return waddch ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 case "$LIBEXT" in
11821 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11824 if ${ac_cv_lib_soname_curses:+false} :; then :
11825 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11826 fi ;;
11827 esac
11829 rm -f core conftest.err conftest.$ac_objext \
11830 conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_curses:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11837 else
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11839 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11843 _ACEOF
11845 CURSES_LIBS="-lcurses"
11848 ac_save_LIBS="$LIBS"
11849 LIBS="$LIBS $CURSES_LIBS"
11850 for ac_func in mousemask
11851 do :
11852 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11853 if test "x$ac_cv_func_mousemask" = xyes; then :
11854 cat >>confdefs.h <<_ACEOF
11855 #define HAVE_MOUSEMASK 1
11856 _ACEOF
11859 done
11861 LIBS="$ac_save_LIBS"
11862 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11863 case "x$with_curses" in
11864 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11865 xno) ;;
11866 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11867 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11868 esac
11872 if test "x$with_sane" != "xno"
11873 then
11874 if ${SANE_CFLAGS:+false} :; then :
11875 if ${PKG_CONFIG+:} false; then :
11876 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11879 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11880 if ${SANE_LIBS:+false} :; then :
11881 if ${PKG_CONFIG+:} false; then :
11882 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11885 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11887 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11888 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11889 ac_save_CPPFLAGS=$CPPFLAGS
11890 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11891 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11892 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11894 $as_echo_n "checking for -lsane... " >&6; }
11895 if ${ac_cv_lib_soname_sane+:} false; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 ac_check_soname_save_LIBS=$LIBS
11899 LIBS="-lsane $SANE_LIBS $LIBS"
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 char sane_init ();
11911 main ()
11913 return sane_init ();
11915 return 0;
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 case "$LIBEXT" in
11920 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11923 if ${ac_cv_lib_soname_sane:+false} :; then :
11924 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11925 fi ;;
11926 esac
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_soname_save_LIBS
11932 if ${ac_cv_lib_soname_sane:+false} :; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11935 SANE_CFLAGS=""
11936 else
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11938 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11940 cat >>confdefs.h <<_ACEOF
11941 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11942 _ACEOF
11946 else
11947 SANE_CFLAGS=""
11951 CPPFLAGS=$ac_save_CPPFLAGS
11952 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11953 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11956 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11957 case "x$with_sane" in
11958 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11959 xno) ;;
11960 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11961 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11962 esac
11966 if test "x$with_v4l" != "xno"
11967 then
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11969 $as_echo_n "checking for -lv4l1... " >&6; }
11970 if ${ac_cv_lib_soname_v4l1+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_check_soname_save_LIBS=$LIBS
11974 LIBS="-lv4l1 $LIBS"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 char v4l1_open ();
11986 main ()
11988 return v4l1_open ();
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 case "$LIBEXT" in
11995 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11996 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'` ;;
11997 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11998 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11999 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12000 fi ;;
12001 esac
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_soname_save_LIBS
12007 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12011 else
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12013 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12015 cat >>confdefs.h <<_ACEOF
12016 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12017 _ACEOF
12022 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12023 case "x$with_v4l" in
12024 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12025 xno) ;;
12026 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12027 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12028 esac
12032 if test "x$with_gphoto" != "xno"
12033 then
12034 if ${GPHOTO2_CFLAGS:+false} :; then :
12035 if ${PKG_CONFIG+:} false; then :
12036 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12039 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12040 if ${GPHOTO2_LIBS:+false} :; then :
12041 if ${PKG_CONFIG+:} false; then :
12042 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12045 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12046 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12049 ac_save_CPPFLAGS=$CPPFLAGS
12050 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12051 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12052 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12054 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12055 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12056 $as_echo_n "(cached) " >&6
12057 else
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12066 #ifdef __cplusplus
12067 extern "C"
12068 #endif
12069 char gp_camera_new ();
12071 main ()
12073 return gp_camera_new ();
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_link "$LINENO"; then :
12079 ac_cv_lib_gphoto2_gp_camera_new=yes
12080 else
12081 ac_cv_lib_gphoto2_gp_camera_new=no
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_lib_save_LIBS
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12088 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12089 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12091 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12093 else
12094 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12097 else
12098 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12102 CPPFLAGS=$ac_save_CPPFLAGS
12103 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12104 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12106 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12107 if ${PKG_CONFIG+:} false; then :
12108 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12111 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12112 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12113 if ${PKG_CONFIG+:} false; then :
12114 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12117 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12118 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12121 ac_save_CPPFLAGS=$CPPFLAGS
12122 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12123 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12126 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12127 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 ac_check_lib_save_LIBS=$LIBS
12131 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 #ifdef __cplusplus
12139 extern "C"
12140 #endif
12141 char gp_port_info_list_new ();
12143 main ()
12145 return gp_port_info_list_new ();
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_link "$LINENO"; then :
12151 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12152 else
12153 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12160 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12161 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12163 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12165 else
12166 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12169 else
12170 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12174 CPPFLAGS=$ac_save_CPPFLAGS
12175 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12176 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12179 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12180 case "x$with_gphoto" in
12181 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12182 xno) ;;
12183 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12184 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12185 esac
12188 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12189 case "x$with_gphoto" in
12190 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12191 xno) ;;
12192 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12193 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12194 esac
12199 if test "$ac_cv_header_resolv_h" = "yes"
12200 then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12202 $as_echo_n "checking for resolver library... " >&6; }
12203 if ${ac_cv_have_resolv+:} false; then :
12204 $as_echo_n "(cached) " >&6
12205 else
12206 ac_save_LIBS="$LIBS"
12207 for lib in '' -lresolv
12209 LIBS="$lib $ac_save_LIBS"
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #ifdef HAVE_NETINET_IN_H
12213 #include <netinet/in.h>
12214 #endif
12215 #include <resolv.h>
12217 main ()
12219 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"; then :
12225 ac_cv_have_resolv=${lib:-"none required"}
12226 else
12227 ac_cv_have_resolv="not found"
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 test "x$ac_cv_have_resolv" = "xnot found" || break
12232 done
12233 LIBS="$ac_save_LIBS"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12236 $as_echo "$ac_cv_have_resolv" >&6; }
12238 case "$ac_cv_have_resolv" in
12239 "not found") ;;
12240 "none required")
12242 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12245 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12247 RESOLV_LIBS=$ac_cv_have_resolv
12249 esac
12252 if test "x$with_cms" != "xno"
12253 then
12254 if ${LCMS2_CFLAGS:+false} :; then :
12255 if ${PKG_CONFIG+:} false; then :
12256 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12260 if ${LCMS2_LIBS:+false} :; then :
12261 if ${PKG_CONFIG+:} false; then :
12262 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12266 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12267 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12268 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12269 ac_save_CPPFLAGS=$CPPFLAGS
12270 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12271 for ac_header in lcms2.h
12272 do :
12273 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12274 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12275 cat >>confdefs.h <<_ACEOF
12276 #define HAVE_LCMS2_H 1
12277 _ACEOF
12281 done
12283 if test "$ac_cv_header_lcms2_h" = "yes"
12284 then
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12286 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12287 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char cmsOpenProfileFromFile ();
12303 main ()
12305 return cmsOpenProfileFromFile ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12312 else
12313 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12320 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12321 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12323 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12325 else
12326 LCMS2_LIBS=""
12329 else
12330 LCMS2_CFLAGS=""
12331 LCMS2_LIBS=""
12333 CPPFLAGS=$ac_save_CPPFLAGS
12334 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12335 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12338 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12339 case "x$with_cms" in
12340 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12341 xno) ;;
12342 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12343 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12344 esac
12348 if test "x$with_freetype" != "xno"
12349 then
12350 if ${FREETYPE_CFLAGS:+false} :; then :
12351 if ${PKG_CONFIG+:} false; then :
12352 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12355 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12356 if ${FREETYPE_LIBS:+false} :; then :
12357 if ${PKG_CONFIG+:} false; then :
12358 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12361 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12362 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12363 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12365 ac_save_CPPFLAGS=$CPPFLAGS
12366 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12367 for ac_header in ft2build.h
12368 do :
12369 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12370 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define HAVE_FT2BUILD_H 1
12373 _ACEOF
12377 done
12379 if test "$ac_cv_header_ft2build_h" = "yes"
12380 then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12382 $as_echo_n "checking for -lfreetype... " >&6; }
12383 if ${ac_cv_lib_soname_freetype+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_check_soname_save_LIBS=$LIBS
12387 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char FT_Init_FreeType ();
12399 main ()
12401 return FT_Init_FreeType ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"; then :
12407 case "$LIBEXT" in
12408 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12409 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'` ;;
12410 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12411 if ${ac_cv_lib_soname_freetype:+false} :; then :
12412 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12413 fi ;;
12414 esac
12416 rm -f core conftest.err conftest.$ac_objext \
12417 conftest$ac_exeext conftest.$ac_ext
12418 LIBS=$ac_check_soname_save_LIBS
12420 if ${ac_cv_lib_soname_freetype:+false} :; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12422 $as_echo "not found" >&6; }
12423 FREETYPE_LIBS=""
12424 else
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12426 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12428 cat >>confdefs.h <<_ACEOF
12429 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12430 _ACEOF
12433 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12435 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12436 #include FT_MODULE_H
12438 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12440 cat >>confdefs.h <<_ACEOF
12441 #define HAVE_FT_TRUETYPEENGINETYPE 1
12442 _ACEOF
12448 else
12449 FREETYPE_CFLAGS=""
12450 FREETYPE_LIBS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12453 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12457 if test "x$ac_cv_lib_soname_freetype" = x; then :
12458 case "x$with_freetype" in
12459 xno) ;;
12460 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12461 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12462 esac
12463 enable_fonts=${enable_fonts:-no}
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12467 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12468 if ${ac_cv_c_ppdev+:} false; then :
12469 $as_echo_n "(cached) " >&6
12470 else
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12473 #ifdef HAVE_SYS_IOCTL_H
12474 # include <sys/ioctl.h>
12475 #endif
12476 #include <linux/ppdev.h>
12478 main ()
12480 ioctl (1,PPCLAIM,0)
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_compile "$LINENO"; then :
12486 ac_cv_c_ppdev="yes"
12487 else
12488 ac_cv_c_ppdev="no"
12490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12493 $as_echo "$ac_cv_c_ppdev" >&6; }
12494 if test "$ac_cv_c_ppdev" = "yes"
12495 then
12497 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12501 ac_wine_check_funcs_save_LIBS="$LIBS"
12502 LIBS="$LIBS $PTHREAD_LIBS"
12503 for ac_func in \
12504 pthread_attr_get_np \
12505 pthread_getattr_np \
12506 pthread_getthreadid_np \
12507 pthread_get_stackaddr_np \
12508 pthread_get_stacksize_np
12509 do :
12510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12512 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12513 cat >>confdefs.h <<_ACEOF
12514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12515 _ACEOF
12518 done
12520 LIBS="$ac_wine_check_funcs_save_LIBS"
12522 if test "$ac_cv_header_zlib_h" = "yes"
12523 then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12525 $as_echo_n "checking for inflate in -lz... " >&6; }
12526 if ${ac_cv_lib_z_inflate+:} false; then :
12527 $as_echo_n "(cached) " >&6
12528 else
12529 ac_check_lib_save_LIBS=$LIBS
12530 LIBS="-lz $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12537 #ifdef __cplusplus
12538 extern "C"
12539 #endif
12540 char inflate ();
12542 main ()
12544 return inflate ();
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 ac_cv_lib_z_inflate=yes
12551 else
12552 ac_cv_lib_z_inflate=no
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12559 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12560 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12562 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12564 Z_LIBS="-lz"
12569 if test "x$Z_LIBS" = "x"; then :
12570 case "x$with_zlib" in
12571 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12572 xno) ;;
12573 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12574 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12575 esac
12579 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12580 then
12581 if test "$ac_cv_header_gettext_po_h" = "yes"
12582 then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12584 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12585 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12586 $as_echo_n "(cached) " >&6
12587 else
12588 ac_check_lib_save_LIBS=$LIBS
12589 LIBS="-lgettextpo $LIBS"
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char po_message_msgctxt ();
12601 main ()
12603 return po_message_msgctxt ();
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12610 else
12611 ac_cv_lib_gettextpo_po_message_msgctxt=no
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 LIBS=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12618 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12619 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12621 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12623 GETTEXTPO_LIBS="-lgettextpo"
12628 if test "x$GETTEXTPO_LIBS" = "x"; then :
12629 case "x$with_gettextpo" in
12630 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12631 xno) ;;
12632 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12633 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12634 esac
12637 if test "$srcdir" != .; then :
12638 case "x$with_gettextpo" in
12639 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12640 xno) ;;
12641 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12642 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12643 esac
12648 if test "x$with_pulse" != "xno";
12649 then
12650 if ${PULSE_CFLAGS:+false} :; then :
12651 if ${PKG_CONFIG+:} false; then :
12652 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12656 if ${PULSE_LIBS:+false} :; then :
12657 if ${PKG_CONFIG+:} false; then :
12658 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12663 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12664 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12665 ac_save_CPPFLAGS=$CPPFLAGS
12666 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12667 for ac_header in pulse/pulseaudio.h
12668 do :
12669 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12670 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12671 cat >>confdefs.h <<_ACEOF
12672 #define HAVE_PULSE_PULSEAUDIO_H 1
12673 _ACEOF
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12675 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12676 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12677 $as_echo_n "(cached) " >&6
12678 else
12679 ac_check_lib_save_LIBS=$LIBS
12680 LIBS="-lpulse $PULSE_LIBS $LIBS"
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 char pa_stream_is_corked ();
12692 main ()
12694 return pa_stream_is_corked ();
12696 return 0;
12698 _ACEOF
12699 if ac_fn_c_try_link "$LINENO"; then :
12700 ac_cv_lib_pulse_pa_stream_is_corked=yes
12701 else
12702 ac_cv_lib_pulse_pa_stream_is_corked=no
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_lib_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12709 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12710 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12712 else
12713 PULSE_LIBS=""
12716 else
12717 PULSE_LIBS=""
12720 done
12722 CPPFLAGS=$ac_save_CPPFLAGS
12723 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12724 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12727 if test -z "$PULSE_LIBS"; then :
12728 case "x$with_pulse" in
12729 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12730 xno) ;;
12731 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12732 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12733 esac
12734 enable_winepulse_drv=${enable_winepulse_drv:-no}
12737 if test "x$with_gstreamer" != "xno"
12738 then
12739 if ${GSTREAMER_CFLAGS:+false} :; then :
12740 if ${PKG_CONFIG+:} false; then :
12741 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12745 if ${GSTREAMER_LIBS:+false} :; then :
12746 if ${PKG_CONFIG+:} false; then :
12747 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12752 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12753 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12754 ac_save_CPPFLAGS=$CPPFLAGS
12755 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12756 ac_gst_incl=""
12757 for i in $GSTREAMER_CFLAGS
12759 case "$i" in
12760 -I*) ac_gst_incl="$ac_gst_incl $i";;
12761 esac
12762 done
12763 GSTREAMER_CFLAGS=$ac_gst_incl
12764 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12765 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12766 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12768 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12771 #include <gst/gst.h>
12773 main ()
12775 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_compile "$LINENO"; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12782 $as_echo "yes" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12784 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12785 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12786 $as_echo_n "(cached) " >&6
12787 else
12788 ac_check_lib_save_LIBS=$LIBS
12789 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12796 #ifdef __cplusplus
12797 extern "C"
12798 #endif
12799 char gst_pad_new ();
12801 main ()
12803 return gst_pad_new ();
12805 return 0;
12807 _ACEOF
12808 if ac_fn_c_try_link "$LINENO"; then :
12809 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12810 else
12811 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12813 rm -f core conftest.err conftest.$ac_objext \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_lib_save_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12818 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12819 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12823 else
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12826 ac_glib2_broken=yes
12827 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12833 CPPFLAGS=$ac_save_CPPFLAGS
12834 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12835 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12838 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 :
12839 case "x$with_gstreamer" in
12840 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12841 xno) ;;
12842 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12843 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12844 esac
12847 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12849 ALSA_LIBS=""
12851 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12852 then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12854 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12855 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_lib_save_LIBS=$LIBS
12859 LIBS="-lasound $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char snd_pcm_hw_params_get_access_mask ();
12871 main ()
12873 return snd_pcm_hw_params_get_access_mask ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12880 else
12881 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12888 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12889 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12892 #ifdef HAVE_ALSA_ASOUNDLIB_H
12893 #include <alsa/asoundlib.h>
12894 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12895 #include <sys/asoundlib.h>
12896 #endif
12898 main ()
12900 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12902 return 0;
12904 _ACEOF
12905 if ac_fn_c_try_compile "$LINENO"; then :
12906 ALSA_LIBS="-lasound"
12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12914 if test "x$with_oss" != xno
12915 then
12916 ac_save_CPPFLAGS="$CPPFLAGS"
12917 if test -f /etc/oss.conf
12918 then
12919 . /etc/oss.conf
12921 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12922 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12923 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12925 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12927 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12929 cat >>confdefs.h <<_ACEOF
12930 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12931 _ACEOF
12933 OSS4_CFLAGS="$ac_oss_incl"
12940 CPPFLAGS="$ac_save_CPPFLAGS"
12942 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12943 case "x$with_oss" in
12944 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12945 xno) ;;
12946 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12947 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12948 esac
12949 enable_wineoss_drv=${enable_wineoss_drv:-no}
12952 if test "x$with_udev" != "xno"
12953 then
12954 if ${UDEV_CFLAGS:+false} :; then :
12955 if ${PKG_CONFIG+:} false; then :
12956 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12960 if ${UDEV_LIBS:+false} :; then :
12961 if ${PKG_CONFIG+:} false; then :
12962 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12968 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12969 ac_save_CPPFLAGS=$CPPFLAGS
12970 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12971 for ac_header in libudev.h
12972 do :
12973 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12974 if test "x$ac_cv_header_libudev_h" = xyes; then :
12975 cat >>confdefs.h <<_ACEOF
12976 #define HAVE_LIBUDEV_H 1
12977 _ACEOF
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12979 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12980 if ${ac_cv_lib_udev_udev_new+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-ludev $UDEV_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char udev_new ();
12996 main ()
12998 return udev_new ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_udev_udev_new=yes
13005 else
13006 ac_cv_lib_udev_udev_new=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13013 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13014 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13016 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13018 else
13019 UDEV_LIBS=""
13022 else
13023 UDEV_LIBS=""
13026 done
13028 CPPFLAGS=$ac_save_CPPFLAGS
13029 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13030 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13033 if test "x$UDEV_LIBS" = "x"; then :
13034 case "x$with_udev" in
13035 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13036 xno) ;;
13037 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13038 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13039 esac
13043 if test "x$with_capi" != "xno"
13044 then
13045 if ${CAPI20_CFLAGS:+false} :; then :
13046 if ${PKG_CONFIG+:} false; then :
13047 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13051 if ${CAPI20_LIBS:+false} :; then :
13052 if ${PKG_CONFIG+:} false; then :
13053 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13058 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13059 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13060 ac_save_CPPFLAGS=$CPPFLAGS
13061 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13062 for ac_header in capi20.h linux/capi.h
13063 do :
13064 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13068 cat >>confdefs.h <<_ACEOF
13069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13070 _ACEOF
13074 done
13076 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13077 then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13079 $as_echo_n "checking for -lcapi20... " >&6; }
13080 if ${ac_cv_lib_soname_capi20+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_soname_save_LIBS=$LIBS
13084 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char capi20_register ();
13096 main ()
13098 return capi20_register ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 case "$LIBEXT" in
13105 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13106 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'` ;;
13107 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13108 if ${ac_cv_lib_soname_capi20:+false} :; then :
13109 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13110 fi ;;
13111 esac
13113 rm -f core conftest.err conftest.$ac_objext \
13114 conftest$ac_exeext conftest.$ac_ext
13115 LIBS=$ac_check_soname_save_LIBS
13117 if ${ac_cv_lib_soname_capi20:+false} :; then :
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13119 $as_echo "not found" >&6; }
13121 else
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13123 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13125 cat >>confdefs.h <<_ACEOF
13126 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13127 _ACEOF
13132 CPPFLAGS=$ac_save_CPPFLAGS
13133 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13138 case "x$with_capi" in
13139 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13140 xno) ;;
13141 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13142 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13143 esac
13147 CUPS_CFLAGS=""
13149 if test "x$with_cups" != "xno"
13150 then
13151 ac_save_CPPFLAGS="$CPPFLAGS"
13152 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13153 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13154 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13155 for ac_header in cups/cups.h
13156 do :
13157 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13158 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13159 cat >>confdefs.h <<_ACEOF
13160 #define HAVE_CUPS_CUPS_H 1
13161 _ACEOF
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13163 $as_echo_n "checking for -lcups... " >&6; }
13164 if ${ac_cv_lib_soname_cups+:} false; then :
13165 $as_echo_n "(cached) " >&6
13166 else
13167 ac_check_soname_save_LIBS=$LIBS
13168 LIBS="-lcups $ac_cups_libs $LIBS"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13175 #ifdef __cplusplus
13176 extern "C"
13177 #endif
13178 char cupsGetDefault ();
13180 main ()
13182 return cupsGetDefault ();
13184 return 0;
13186 _ACEOF
13187 if ac_fn_c_try_link "$LINENO"; then :
13188 case "$LIBEXT" in
13189 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13190 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'` ;;
13191 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13192 if ${ac_cv_lib_soname_cups:+false} :; then :
13193 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13194 fi ;;
13195 esac
13197 rm -f core conftest.err conftest.$ac_objext \
13198 conftest$ac_exeext conftest.$ac_ext
13199 LIBS=$ac_check_soname_save_LIBS
13201 if ${ac_cv_lib_soname_cups:+false} :; then :
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13203 $as_echo "not found" >&6; }
13205 else
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13207 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13209 cat >>confdefs.h <<_ACEOF
13210 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13211 _ACEOF
13213 CUPS_CFLAGS="$ac_cups_cflags"
13215 for ac_header in cups/ppd.h
13216 do :
13217 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13218 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13219 cat >>confdefs.h <<_ACEOF
13220 #define HAVE_CUPS_PPD_H 1
13221 _ACEOF
13225 done
13229 done
13231 CPPFLAGS="$ac_save_CPPFLAGS"
13233 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13234 case "x$with_cups" in
13235 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13236 xno) ;;
13237 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13238 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13239 esac
13243 if test "x$with_fontconfig" != "xno"
13244 then
13245 if ${FONTCONFIG_CFLAGS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13250 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13251 if ${FONTCONFIG_LIBS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13256 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13258 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13259 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13260 ac_save_CPPFLAGS=$CPPFLAGS
13261 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13262 for ac_header in fontconfig/fontconfig.h
13263 do :
13264 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13265 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13266 cat >>confdefs.h <<_ACEOF
13267 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13268 _ACEOF
13272 done
13274 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13275 then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13277 $as_echo_n "checking for -lfontconfig... " >&6; }
13278 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13279 $as_echo_n "(cached) " >&6
13280 else
13281 ac_check_soname_save_LIBS=$LIBS
13282 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 #ifdef __cplusplus
13290 extern "C"
13291 #endif
13292 char FcInit ();
13294 main ()
13296 return FcInit ();
13298 return 0;
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"; then :
13302 case "$LIBEXT" in
13303 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13304 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'` ;;
13305 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13306 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13307 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13308 fi ;;
13309 esac
13311 rm -f core conftest.err conftest.$ac_objext \
13312 conftest$ac_exeext conftest.$ac_ext
13313 LIBS=$ac_check_soname_save_LIBS
13315 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13317 $as_echo "not found" >&6; }
13318 FONTCONFIG_CFLAGS=""
13319 else
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13321 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13323 cat >>confdefs.h <<_ACEOF
13324 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13325 _ACEOF
13329 else
13330 FONTCONFIG_CFLAGS=""
13332 CPPFLAGS=$ac_save_CPPFLAGS
13333 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13334 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13337 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13338 case "x$with_fontconfig" in
13339 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13340 xno) ;;
13341 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13342 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13343 esac
13347 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13348 then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13350 $as_echo_n "checking for -lgsm... " >&6; }
13351 if ${ac_cv_lib_soname_gsm+:} false; then :
13352 $as_echo_n "(cached) " >&6
13353 else
13354 ac_check_soname_save_LIBS=$LIBS
13355 LIBS="-lgsm $LIBS"
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13362 #ifdef __cplusplus
13363 extern "C"
13364 #endif
13365 char gsm_create ();
13367 main ()
13369 return gsm_create ();
13371 return 0;
13373 _ACEOF
13374 if ac_fn_c_try_link "$LINENO"; then :
13375 case "$LIBEXT" in
13376 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13377 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'` ;;
13378 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13379 if ${ac_cv_lib_soname_gsm:+false} :; then :
13380 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13381 fi ;;
13382 esac
13384 rm -f core conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 LIBS=$ac_check_soname_save_LIBS
13388 if ${ac_cv_lib_soname_gsm:+false} :; then :
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13390 $as_echo "not found" >&6; }
13392 else
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13394 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13396 cat >>confdefs.h <<_ACEOF
13397 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13398 _ACEOF
13403 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13404 case "x$with_gsm" in
13405 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13406 xno) ;;
13407 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13408 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13409 esac
13413 if test "x$with_jpeg" != "xno"
13414 then
13415 if ${JPEG_CFLAGS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13421 if ${JPEG_LIBS:+false} :; then :
13422 if ${PKG_CONFIG+:} false; then :
13423 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13428 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13429 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13430 ac_save_CPPFLAGS=$CPPFLAGS
13431 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13432 for ac_header in jpeglib.h
13433 do :
13434 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13435 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13436 cat >>confdefs.h <<_ACEOF
13437 #define HAVE_JPEGLIB_H 1
13438 _ACEOF
13442 done
13444 if test "$ac_cv_header_jpeglib_h" = "yes"
13445 then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13447 $as_echo_n "checking for -ljpeg... " >&6; }
13448 if ${ac_cv_lib_soname_jpeg+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 ac_check_soname_save_LIBS=$LIBS
13452 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 #ifdef __cplusplus
13460 extern "C"
13461 #endif
13462 char jpeg_start_decompress ();
13464 main ()
13466 return jpeg_start_decompress ();
13468 return 0;
13470 _ACEOF
13471 if ac_fn_c_try_link "$LINENO"; then :
13472 case "$LIBEXT" in
13473 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13474 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'` ;;
13475 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13476 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13477 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13478 fi ;;
13479 esac
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_soname_save_LIBS
13485 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13487 $as_echo "not found" >&6; }
13488 JPEG_CFLAGS=""
13489 else
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13491 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13493 cat >>confdefs.h <<_ACEOF
13494 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13495 _ACEOF
13499 else
13500 JPEG_CFLAGS=""
13502 CPPFLAGS=$ac_save_CPPFLAGS
13503 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13504 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13507 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13508 case "x$with_jpeg" in
13509 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13510 xno) ;;
13511 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13512 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13513 esac
13517 if test "x$with_png" != "xno"
13518 then
13519 if ${PNG_CFLAGS:+false} :; then :
13520 if ${PKG_CONFIG+:} false; then :
13521 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13524 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13525 if ${PNG_LIBS:+false} :; then :
13526 if ${PKG_CONFIG+:} false; then :
13527 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13530 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13532 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13533 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13534 ac_save_CPPFLAGS=$CPPFLAGS
13535 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13536 for ac_header in png.h
13537 do :
13538 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13539 if test "x$ac_cv_header_png_h" = xyes; then :
13540 cat >>confdefs.h <<_ACEOF
13541 #define HAVE_PNG_H 1
13542 _ACEOF
13546 done
13548 if test "$ac_cv_header_png_h" = "yes"
13549 then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13551 $as_echo_n "checking for -lpng... " >&6; }
13552 if ${ac_cv_lib_soname_png+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 ac_check_soname_save_LIBS=$LIBS
13556 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13563 #ifdef __cplusplus
13564 extern "C"
13565 #endif
13566 char png_create_read_struct ();
13568 main ()
13570 return png_create_read_struct ();
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 case "$LIBEXT" in
13577 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13578 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'` ;;
13579 *) 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'`
13580 if ${ac_cv_lib_soname_png:+false} :; then :
13581 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13582 fi ;;
13583 esac
13585 rm -f core conftest.err conftest.$ac_objext \
13586 conftest$ac_exeext conftest.$ac_ext
13587 LIBS=$ac_check_soname_save_LIBS
13589 if ${ac_cv_lib_soname_png:+false} :; then :
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13591 $as_echo "not found" >&6; }
13592 PNG_CFLAGS=""
13593 else
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13595 $as_echo "$ac_cv_lib_soname_png" >&6; }
13597 cat >>confdefs.h <<_ACEOF
13598 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13599 _ACEOF
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <png.h>
13605 main ()
13607 typeof(png_set_expand_gray_1_2_4_to_8) *p
13609 return 0;
13611 _ACEOF
13612 if ac_fn_c_try_compile "$LINENO"; then :
13614 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13619 else
13620 PNG_CFLAGS=""
13622 CPPFLAGS=$ac_save_CPPFLAGS
13623 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13624 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13627 if test "x$ac_cv_lib_soname_png" = "x"; then :
13628 case "x$with_png" in
13629 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13630 xno) ;;
13631 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13632 This is an error since --with-png was requested." "$LINENO" 5 ;;
13633 esac
13637 if test "x$with_tiff" != "xno"
13638 then
13639 if ${TIFF_CFLAGS:+false} :; then :
13640 if ${PKG_CONFIG+:} false; then :
13641 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13645 if ${TIFF_LIBS:+false} :; then :
13646 if ${PKG_CONFIG+:} false; then :
13647 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13652 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13653 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13654 ac_save_CPPFLAGS=$CPPFLAGS
13655 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13656 for ac_header in tiffio.h
13657 do :
13658 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13659 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13660 cat >>confdefs.h <<_ACEOF
13661 #define HAVE_TIFFIO_H 1
13662 _ACEOF
13666 done
13668 if test "$ac_cv_header_tiffio_h" = "yes"
13669 then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13671 $as_echo_n "checking for -ltiff... " >&6; }
13672 if ${ac_cv_lib_soname_tiff+:} false; then :
13673 $as_echo_n "(cached) " >&6
13674 else
13675 ac_check_soname_save_LIBS=$LIBS
13676 LIBS="-ltiff $TIFF_LIBS $LIBS"
13677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13680 /* Override any GCC internal prototype to avoid an error.
13681 Use char because int might match the return type of a GCC
13682 builtin and then its argument prototype would still apply. */
13683 #ifdef __cplusplus
13684 extern "C"
13685 #endif
13686 char TIFFClientOpen ();
13688 main ()
13690 return TIFFClientOpen ();
13692 return 0;
13694 _ACEOF
13695 if ac_fn_c_try_link "$LINENO"; then :
13696 case "$LIBEXT" in
13697 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13698 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'` ;;
13699 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13700 if ${ac_cv_lib_soname_tiff:+false} :; then :
13701 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13702 fi ;;
13703 esac
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13707 LIBS=$ac_check_soname_save_LIBS
13709 if ${ac_cv_lib_soname_tiff:+false} :; then :
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13711 $as_echo "not found" >&6; }
13713 else
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13715 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13717 cat >>confdefs.h <<_ACEOF
13718 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13719 _ACEOF
13724 CPPFLAGS=$ac_save_CPPFLAGS
13725 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13726 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13729 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13730 case "x$with_tiff" in
13731 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13732 xno) ;;
13733 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13734 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13735 esac
13739 if test "x$with_mpg123" != "xno"
13740 then
13741 if ${MPG123_CFLAGS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13747 if ${MPG123_LIBS:+false} :; then :
13748 if ${PKG_CONFIG+:} false; then :
13749 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13753 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13754 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13755 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13756 ac_save_CPPFLAGS=$CPPFLAGS
13757 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13758 for ac_header in mpg123.h
13759 do :
13760 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13761 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13762 cat >>confdefs.h <<_ACEOF
13763 #define HAVE_MPG123_H 1
13764 _ACEOF
13768 done
13770 if test "$ac_cv_header_mpg123_h" = "yes"
13771 then
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13773 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13774 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 ac_check_lib_save_LIBS=$LIBS
13778 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13785 #ifdef __cplusplus
13786 extern "C"
13787 #endif
13788 char mpg123_feed ();
13790 main ()
13792 return mpg123_feed ();
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_cv_lib_mpg123_mpg123_feed=yes
13799 else
13800 ac_cv_lib_mpg123_mpg123_feed=no
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 LIBS=$ac_check_lib_save_LIBS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13807 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13808 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13810 else
13811 MPG123_LIBS=""
13814 else
13815 MPG123_CFLAGS=""
13816 MPG123_LIBS=""
13818 CPPFLAGS=$ac_save_CPPFLAGS
13819 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13820 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13823 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13824 case "x$with_mpg123" in
13825 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13826 xno) ;;
13827 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13828 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13829 esac
13830 enable_winemp3_acm=${enable_winemp3_acm:-no}
13833 if test "$ac_cv_header_AL_al_h" = "yes"
13834 then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13836 $as_echo_n "checking for -lopenal... " >&6; }
13837 if ${ac_cv_lib_soname_openal+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-lopenal $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char alGetSource3i ();
13853 main ()
13855 return alGetSource3i ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 case "$LIBEXT" in
13862 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13865 if ${ac_cv_lib_soname_openal:+false} :; then :
13866 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13867 fi ;;
13868 esac
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_openal:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13878 else
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13880 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13882 cat >>confdefs.h <<_ACEOF
13883 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13884 _ACEOF
13886 OPENAL_LIBS="-lopenal"
13888 ac_cv_lib_openal=yes
13890 cat >>confdefs.h <<_ACEOF
13891 #define HAVE_OPENAL 1
13892 _ACEOF
13896 if test "x$ac_cv_lib_openal" != xyes; then :
13897 case "x$with_openal" in
13898 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13899 xno) ;;
13900 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13901 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13902 esac
13903 enable_openal32=${enable_openal32:-no}
13906 if test "x$ac_cv_lib_openal" = xyes
13907 then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13909 $as_echo_n "checking for openal-soft... " >&6; }
13910 if ${ac_cv_have_openalsoft+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <AL/al.h>
13916 #include <AL/alc.h>
13917 #include <AL/alext.h>
13918 LPALCRENDERSAMPLESSOFT x;
13920 main ()
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_compile "$LINENO"; then :
13928 ac_cv_have_openalsoft=yes
13929 else
13930 ac_cv_have_openalsoft=no
13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13935 $as_echo "$ac_cv_have_openalsoft" >&6; }
13937 if test "x$ac_cv_have_openalsoft" != xyes
13938 then
13939 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13940 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13941 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13942 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13943 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13944 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13945 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13946 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13947 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13948 enable_xapofx1_1=${enable_xapofx1_1:-no}
13949 enable_xapofx1_2=${enable_xapofx1_2:-no}
13950 enable_xapofx1_3=${enable_xapofx1_3:-no}
13951 enable_xapofx1_4=${enable_xapofx1_4:-no}
13952 enable_xapofx1_5=${enable_xapofx1_5:-no}
13953 enable_xaudio2_0=${enable_xaudio2_0:-no}
13954 enable_xaudio2_1=${enable_xaudio2_1:-no}
13955 enable_xaudio2_2=${enable_xaudio2_2:-no}
13956 enable_xaudio2_3=${enable_xaudio2_3:-no}
13957 enable_xaudio2_4=${enable_xaudio2_4:-no}
13958 enable_xaudio2_5=${enable_xaudio2_5:-no}
13959 enable_xaudio2_6=${enable_xaudio2_6:-no}
13960 enable_xaudio2_7=${enable_xaudio2_7:-no}
13961 enable_xaudio2_8=${enable_xaudio2_8:-no}
13962 enable_xaudio2_9=${enable_xaudio2_9:-no}
13965 if test "$ac_cv_header_kstat_h" = "yes"
13966 then
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13968 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13969 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_check_lib_save_LIBS=$LIBS
13973 LIBS="-lkstat $LIBS"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13977 /* Override any GCC internal prototype to avoid an error.
13978 Use char because int might match the return type of a GCC
13979 builtin and then its argument prototype would still apply. */
13980 #ifdef __cplusplus
13981 extern "C"
13982 #endif
13983 char kstat_open ();
13985 main ()
13987 return kstat_open ();
13989 return 0;
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"; then :
13993 ac_cv_lib_kstat_kstat_open=yes
13994 else
13995 ac_cv_lib_kstat_kstat_open=no
13997 rm -f core conftest.err conftest.$ac_objext \
13998 conftest$ac_exeext conftest.$ac_ext
13999 LIBS=$ac_check_lib_save_LIBS
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14002 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14003 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14005 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14007 KSTAT_LIBS="-lkstat"
14013 if test "$ac_cv_header_libprocstat_h" = "yes"
14014 then
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14016 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14017 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14018 $as_echo_n "(cached) " >&6
14019 else
14020 ac_check_lib_save_LIBS=$LIBS
14021 LIBS="-lprocstat $LIBS"
14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14025 /* Override any GCC internal prototype to avoid an error.
14026 Use char because int might match the return type of a GCC
14027 builtin and then its argument prototype would still apply. */
14028 #ifdef __cplusplus
14029 extern "C"
14030 #endif
14031 char procstat_open_sysctl ();
14033 main ()
14035 return procstat_open_sysctl ();
14037 return 0;
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_lib_procstat_procstat_open_sysctl=yes
14042 else
14043 ac_cv_lib_procstat_procstat_open_sysctl=no
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 LIBS=$ac_check_lib_save_LIBS
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14050 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14051 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14053 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14055 PROCSTAT_LIBS="-lprocstat"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14062 $as_echo_n "checking for -lodbc... " >&6; }
14063 if ${ac_cv_lib_soname_odbc+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_check_soname_save_LIBS=$LIBS
14067 LIBS="-lodbc $LIBS"
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14071 /* Override any GCC internal prototype to avoid an error.
14072 Use char because int might match the return type of a GCC
14073 builtin and then its argument prototype would still apply. */
14074 #ifdef __cplusplus
14075 extern "C"
14076 #endif
14077 char SQLConnect ();
14079 main ()
14081 return SQLConnect ();
14083 return 0;
14085 _ACEOF
14086 if ac_fn_c_try_link "$LINENO"; then :
14087 case "$LIBEXT" in
14088 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14089 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'` ;;
14090 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14091 if ${ac_cv_lib_soname_odbc:+false} :; then :
14092 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14093 fi ;;
14094 esac
14096 rm -f core conftest.err conftest.$ac_objext \
14097 conftest$ac_exeext conftest.$ac_ext
14098 LIBS=$ac_check_soname_save_LIBS
14100 if ${ac_cv_lib_soname_odbc:+false} :; then :
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14102 $as_echo "not found" >&6; }
14103 cat >>confdefs.h <<_ACEOF
14104 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14105 _ACEOF
14107 else
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14109 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14111 cat >>confdefs.h <<_ACEOF
14112 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14113 _ACEOF
14118 if test "x$with_netapi" != "xno"
14119 then
14120 if ${NETAPI_CFLAGS:+false} :; then :
14121 if ${PKG_CONFIG+:} false; then :
14122 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14126 if ${NETAPI_LIBS:+false} :; then :
14127 if ${PKG_CONFIG+:} false; then :
14128 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14133 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14135 ac_save_CPPFLAGS=$CPPFLAGS
14136 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14138 $as_echo_n "checking for -lnetapi... " >&6; }
14139 if ${ac_cv_lib_soname_netapi+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_check_soname_save_LIBS=$LIBS
14143 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 #ifdef __cplusplus
14151 extern "C"
14152 #endif
14153 char libnetapi_init ();
14155 main ()
14157 return libnetapi_init ();
14159 return 0;
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 case "$LIBEXT" in
14164 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14165 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'` ;;
14166 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14167 if ${ac_cv_lib_soname_netapi:+false} :; then :
14168 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14169 fi ;;
14170 esac
14172 rm -f core conftest.err conftest.$ac_objext \
14173 conftest$ac_exeext conftest.$ac_ext
14174 LIBS=$ac_check_soname_save_LIBS
14176 if ${ac_cv_lib_soname_netapi:+false} :; then :
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14178 $as_echo "not found" >&6; }
14179 cat >>confdefs.h <<_ACEOF
14180 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14181 _ACEOF
14183 else
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14185 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14187 cat >>confdefs.h <<_ACEOF
14188 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14189 _ACEOF
14193 CPPFLAGS=$ac_save_CPPFLAGS
14194 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14195 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14199 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14200 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14201 then
14202 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14206 EXTRACFLAGS=""
14208 if test "x${GCC}" = "xyes"
14209 then
14210 EXTRACFLAGS="-Wall -pipe"
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14213 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14214 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 if test "$cross_compiling" = yes; then :
14218 ac_cv_c_gcc_strength_bug="no"
14219 else
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 int L[4] = {0,1,2,3};
14224 main ()
14226 static int Array[3];
14227 unsigned int B = 3;
14228 int i;
14229 for(i=0; i<B; i++) Array[i] = i - 3;
14230 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14231 L[i] = 4;
14232 return (Array[1] != -2 || L[2] != 3)
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_run "$LINENO"; then :
14238 ac_cv_c_gcc_strength_bug="no"
14239 else
14240 ac_cv_c_gcc_strength_bug="yes"
14242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14243 conftest.$ac_objext conftest.beam conftest.$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14248 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14249 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14250 then
14251 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14255 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14256 if ${ac_cv_cflags__fno_builtin+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 ac_wine_try_cflags_saved=$CFLAGS
14260 CFLAGS="$CFLAGS -fno-builtin"
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14263 int main(int argc, char **argv) { return 0; }
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"; then :
14266 ac_cv_cflags__fno_builtin=yes
14267 else
14268 ac_cv_cflags__fno_builtin=no
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14272 CFLAGS=$ac_wine_try_cflags_saved
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14275 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14276 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14277 BUILTINFLAG="-fno-builtin"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14281 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14282 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 ac_wine_try_cflags_saved=$CFLAGS
14286 CFLAGS="$CFLAGS -fno-strict-aliasing"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_cflags__fno_strict_aliasing=yes
14293 else
14294 ac_cv_cflags__fno_strict_aliasing=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14301 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14302 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14303 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14306 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14307 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 ac_wine_try_cflags_saved=$CFLAGS
14311 CFLAGS="$CFLAGS -fexcess-precision=standard"
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_cflags__fexcess_precision_standard=yes
14318 else
14319 ac_cv_cflags__fexcess_precision_standard=no
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 CFLAGS=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14326 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14327 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14328 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14331 saved_CFLAGS=$CFLAGS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14333 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14334 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 ac_wine_try_cflags_saved=$CFLAGS
14338 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 int main(int argc, char **argv) { return 0; }
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"; then :
14344 ac_cv_cflags__Werror_unknown_warning_option=yes
14345 else
14346 ac_cv_cflags__Werror_unknown_warning_option=no
14348 rm -f core conftest.err conftest.$ac_objext \
14349 conftest$ac_exeext conftest.$ac_ext
14350 CFLAGS=$ac_wine_try_cflags_saved
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14353 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14354 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14355 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14358 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14359 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 ac_wine_try_cflags_saved=$CFLAGS
14363 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 int main(int argc, char **argv) { return 0; }
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_cflags__Wdeclaration_after_statement=yes
14370 else
14371 ac_cv_cflags__Wdeclaration_after_statement=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 CFLAGS=$ac_wine_try_cflags_saved
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14378 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14379 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14380 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14383 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14384 if ${ac_cv_cflags__Wempty_body+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 ac_wine_try_cflags_saved=$CFLAGS
14388 CFLAGS="$CFLAGS -Wempty-body"
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 int main(int argc, char **argv) { return 0; }
14392 _ACEOF
14393 if ac_fn_c_try_link "$LINENO"; then :
14394 ac_cv_cflags__Wempty_body=yes
14395 else
14396 ac_cv_cflags__Wempty_body=no
14398 rm -f core conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14400 CFLAGS=$ac_wine_try_cflags_saved
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14403 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14404 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14405 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14408 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14409 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 ac_wine_try_cflags_saved=$CFLAGS
14413 CFLAGS="$CFLAGS -Wignored-qualifiers"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 int main(int argc, char **argv) { return 0; }
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_cflags__Wignored_qualifiers=yes
14420 else
14421 ac_cv_cflags__Wignored_qualifiers=no
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14425 CFLAGS=$ac_wine_try_cflags_saved
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14428 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14429 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14430 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14433 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14434 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 ac_wine_try_cflags_saved=$CFLAGS
14438 CFLAGS="$CFLAGS -Wshift-overflow=2"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 int main(int argc, char **argv) { return 0; }
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_cflags__Wshift_overflow_2=yes
14445 else
14446 ac_cv_cflags__Wshift_overflow_2=no
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 CFLAGS=$ac_wine_try_cflags_saved
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14453 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14454 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14455 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14458 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14459 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_wine_try_cflags_saved=$CFLAGS
14463 CFLAGS="$CFLAGS -Wstrict-prototypes"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 int main(int argc, char **argv) { return 0; }
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"; then :
14469 ac_cv_cflags__Wstrict_prototypes=yes
14470 else
14471 ac_cv_cflags__Wstrict_prototypes=no
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 CFLAGS=$ac_wine_try_cflags_saved
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14478 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14479 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14480 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14483 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14484 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14485 $as_echo_n "(cached) " >&6
14486 else
14487 ac_wine_try_cflags_saved=$CFLAGS
14488 CFLAGS="$CFLAGS -Wtype-limits"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 int main(int argc, char **argv) { return 0; }
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_cflags__Wtype_limits=yes
14495 else
14496 ac_cv_cflags__Wtype_limits=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 CFLAGS=$ac_wine_try_cflags_saved
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14503 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14504 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14505 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14508 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14509 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 ac_wine_try_cflags_saved=$CFLAGS
14513 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516 int main(int argc, char **argv) { return 0; }
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 ac_cv_cflags__Wunused_but_set_parameter=yes
14520 else
14521 ac_cv_cflags__Wunused_but_set_parameter=no
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14525 CFLAGS=$ac_wine_try_cflags_saved
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14528 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14529 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14530 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14533 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14534 if ${ac_cv_cflags__Wvla+:} false; then :
14535 $as_echo_n "(cached) " >&6
14536 else
14537 ac_wine_try_cflags_saved=$CFLAGS
14538 CFLAGS="$CFLAGS -Wvla"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 int main(int argc, char **argv) { return 0; }
14542 _ACEOF
14543 if ac_fn_c_try_link "$LINENO"; then :
14544 ac_cv_cflags__Wvla=yes
14545 else
14546 ac_cv_cflags__Wvla=no
14548 rm -f core conftest.err conftest.$ac_objext \
14549 conftest$ac_exeext conftest.$ac_ext
14550 CFLAGS=$ac_wine_try_cflags_saved
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14553 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14554 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14555 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14558 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14559 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 ac_wine_try_cflags_saved=$CFLAGS
14563 CFLAGS="$CFLAGS -Wwrite-strings"
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 int main(int argc, char **argv) { return 0; }
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_cflags__Wwrite_strings=yes
14570 else
14571 ac_cv_cflags__Wwrite_strings=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 CFLAGS=$ac_wine_try_cflags_saved
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14578 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14579 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14580 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14584 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14585 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_wine_try_cflags_saved=$CFLAGS
14589 CFLAGS="$CFLAGS -Wpointer-arith"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 int main(int argc, char **argv) { return 0; }
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"; then :
14595 ac_cv_cflags__Wpointer_arith=yes
14596 else
14597 ac_cv_cflags__Wpointer_arith=no
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 CFLAGS=$ac_wine_try_cflags_saved
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14604 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14605 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14606 saved_string_h_CFLAGS=$CFLAGS
14607 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14609 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14610 if ${ac_cv_c_string_h_warnings+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 #include <string.h>
14617 main ()
14621 return 0;
14623 _ACEOF
14624 if ac_fn_c_try_compile "$LINENO"; then :
14625 ac_cv_c_string_h_warnings=no
14626 else
14627 ac_cv_c_string_h_warnings=yes
14629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14632 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14633 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14634 CFLAGS=$saved_string_h_CFLAGS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14638 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14639 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 ac_wine_try_cflags_saved=$CFLAGS
14643 CFLAGS="$CFLAGS -Wlogical-op"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 int main(int argc, char **argv) { return 0; }
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 ac_cv_cflags__Wlogical_op=yes
14650 else
14651 ac_cv_cflags__Wlogical_op=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 CFLAGS=$ac_wine_try_cflags_saved
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14658 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14659 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14660 saved_string_h_CFLAGS=$CFLAGS
14661 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14663 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14664 if ${ac_cv_c_logicalop_noisy+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669 #include <string.h>
14670 char*f(const char *h,char n) {return strchr(h,n);}
14672 main ()
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_compile "$LINENO"; then :
14680 ac_cv_c_logicalop_noisy=no
14681 else
14682 ac_cv_c_logicalop_noisy=yes
14684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14687 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14688 CFLAGS=$saved_string_h_CFLAGS
14689 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14692 CFLAGS=$saved_CFLAGS
14694 for ac_flag in $CFLAGS; do
14695 case $ac_flag in
14696 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14697 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14698 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_wine_try_cflags_saved=$CFLAGS
14702 CFLAGS="$CFLAGS -gdwarf-2"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 int main(int argc, char **argv) { return 0; }
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_cflags__gdwarf_2=yes
14709 else
14710 ac_cv_cflags__gdwarf_2=no
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 CFLAGS=$ac_wine_try_cflags_saved
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14717 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14718 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14719 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14722 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14723 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_wine_try_cflags_saved=$CFLAGS
14727 CFLAGS="$CFLAGS -gstrict-dwarf"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14730 int main(int argc, char **argv) { return 0; }
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_cflags__gstrict_dwarf=yes
14734 else
14735 ac_cv_cflags__gstrict_dwarf=no
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 CFLAGS=$ac_wine_try_cflags_saved
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14742 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14743 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14744 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14745 fi ;;
14746 esac
14747 done
14749 case $host_cpu in
14750 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14751 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14752 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_wine_try_cflags_saved=$CFLAGS
14756 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 int main(int argc, char **argv) { return 0; }
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_cflags__fno_omit_frame_pointer=yes
14763 else
14764 ac_cv_cflags__fno_omit_frame_pointer=no
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14768 CFLAGS=$ac_wine_try_cflags_saved
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14771 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14772 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14773 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14774 fi ;;
14775 esac
14777 case $host in
14778 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14779 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14780 if ${ac_cv_cflags__Wno_format+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 ac_wine_try_cflags_saved=$CFLAGS
14784 CFLAGS="$CFLAGS -Wno-format"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 int main(int argc, char **argv) { return 0; }
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_cflags__Wno_format=yes
14791 else
14792 ac_cv_cflags__Wno_format=no
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14796 CFLAGS=$ac_wine_try_cflags_saved
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14799 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14800 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14801 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14802 fi ;;
14803 esac
14805 if test "x$enable_maintainer_mode" = "xyes"
14806 then
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14808 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14809 if ${ac_cv_cflags__Werror+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_wine_try_cflags_saved=$CFLAGS
14813 CFLAGS="$CFLAGS -Werror"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_cflags__Werror=yes
14820 else
14821 ac_cv_cflags__Werror=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 CFLAGS=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14828 $as_echo "$ac_cv_cflags__Werror" >&6; }
14829 if test "x$ac_cv_cflags__Werror" = xyes; then :
14830 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14834 saved_CFLAGS="$CFLAGS"
14835 CFLAGS="$CFLAGS -Werror"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14837 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14838 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14845 main ()
14849 return 0;
14851 _ACEOF
14852 if ac_fn_c_try_compile "$LINENO"; then :
14853 ac_cv_have_ms_hook_prologue="yes"
14854 else
14855 ac_cv_have_ms_hook_prologue="no"
14857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14860 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14861 CFLAGS="$saved_CFLAGS"
14862 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14863 then
14865 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14867 else
14868 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14875 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14876 if ${ac_cv_c_fortify_enabled+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 #include <string.h>
14883 main ()
14885 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14886 #error Fortify enabled
14887 #endif
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_compile "$LINENO"; then :
14893 ac_cv_c_fortify_enabled=no
14894 else
14895 ac_cv_c_fortify_enabled=yes
14897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14900 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14901 if test "$ac_cv_c_fortify_enabled" = yes
14902 then
14903 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14908 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14909 if ${ac_cv_c_extern_prefix+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 extern int ac_test;
14916 main ()
14918 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"; then :
14924 ac_cv_c_extern_prefix="yes"
14925 else
14926 ac_cv_c_extern_prefix="no"
14928 rm -f core conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14932 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14934 case $host_cpu in
14935 *i[3456789]86*)
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14937 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14938 if ${ac_cv_c_stdcall_suffix+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14943 #ifndef _MSC_VER
14944 #define __stdcall __attribute__((__stdcall__))
14945 #endif
14946 int __stdcall ac_test(int i) { return i; }
14948 main ()
14950 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_c_stdcall_suffix="yes"
14957 else
14958 ac_cv_c_stdcall_suffix="no"
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14964 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14965 *) ac_cv_c_stdcall_suffix="no" ;;
14966 esac
14969 if test "$ac_cv_c_extern_prefix" = "yes"
14970 then
14971 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14973 asm_name_prefix="_"
14974 else
14975 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14977 asm_name_prefix=""
14981 if test "$ac_cv_c_stdcall_suffix" = "yes"
14982 then
14983 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14985 else
14986 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14992 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14993 if ${ac_cv_asm_func_def+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
15000 main ()
15002 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 ac_cv_asm_func_def=".def"
15009 else
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15014 main ()
15016 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 ac_cv_asm_func_def=".type @function"
15023 else
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15028 main ()
15030 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_asm_func_def=".type 2"
15037 else
15038 ac_cv_asm_func_def="unknown"
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15050 $as_echo "$ac_cv_asm_func_def" >&6; }
15053 case "$ac_cv_asm_func_def" in
15054 ".def")
15055 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15057 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15058 ".type @function")
15059 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15061 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15062 ".type 2")
15063 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15065 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15067 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15069 asm_func_header="" ;;
15070 esac
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15073 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15074 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15075 $as_echo_n "(cached) " >&6
15076 else
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 asm(".text\n\t.long 0");
15081 main ()
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_compile "$LINENO"; then :
15089 ac_cv_c_asm_outside_funcs="yes"
15090 else
15091 ac_cv_c_asm_outside_funcs="no"
15093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15096 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15099 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15100 if ${ac_cv_c_dot_previous+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15107 main ()
15109 asm(".text\nac_test:\t.long 0\n\t.previous");
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_link "$LINENO"; then :
15115 ac_cv_c_dot_previous="yes"
15116 else
15117 ac_cv_c_dot_previous="no"
15119 rm -f core conftest.err conftest.$ac_objext \
15120 conftest$ac_exeext conftest.$ac_ext
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15123 $as_echo "$ac_cv_c_dot_previous" >&6; }
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15126 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15127 if ${ac_cv_c_cfi_support+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15134 main ()
15138 return 0;
15140 _ACEOF
15141 if ac_fn_c_try_compile "$LINENO"; then :
15142 ac_cv_c_cfi_support="yes"
15143 else
15144 ac_cv_c_cfi_support="no"
15146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15149 $as_echo "$ac_cv_c_cfi_support" >&6; }
15151 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15152 asm_func_trailer=""
15153 if test "$ac_cv_c_dot_previous" = "yes"
15154 then
15155 asm_func_trailer="\\n\\t.previous"
15157 if test "$ac_cv_c_cfi_support" = "yes"
15158 then
15159 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15160 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15162 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15164 UNWINDFLAGS=-fasynchronous-unwind-tables
15166 else
15167 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15169 if test "x$enable_win64" = "xyes"
15170 then
15171 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15175 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15178 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15179 then
15180 cat >>confdefs.h <<_ACEOF
15181 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15182 _ACEOF
15184 else
15185 cat >>confdefs.h <<_ACEOF
15186 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15187 _ACEOF
15191 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15194 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15198 case $build_os in
15199 cygwin*|mingw32*) TOOLSEXT=".exe"
15201 esac
15203 case $host_os in
15204 linux-android*) ;;
15205 linux*)
15206 case $host_cpu in
15207 *i[3456789]86*|x86_64*)
15208 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15209 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15211 esac
15213 esac
15216 ac_save_CFLAGS="$CFLAGS"
15217 CFLAGS="$CFLAGS $BUILTINFLAG"
15218 for ac_func in \
15219 __res_get_state \
15220 __res_getservers \
15221 _finite \
15222 _isnan \
15223 _pclose \
15224 _popen \
15225 _snprintf \
15226 _spawnvp \
15227 _strdup \
15228 _stricmp \
15229 _strnicmp \
15230 _strtoi64 \
15231 _strtoui64 \
15232 _vsnprintf \
15233 asctime_r \
15234 chsize \
15235 dlopen \
15236 epoll_create \
15237 ffs \
15238 finitef \
15239 fnmatch \
15240 fork \
15241 fpclass \
15242 fstatfs \
15243 fstatvfs \
15244 ftruncate \
15245 futimens \
15246 futimes \
15247 futimesat \
15248 getattrlist \
15249 getopt_long_only \
15250 getpwuid \
15251 gettimeofday \
15252 getuid \
15253 if_nameindex \
15254 isnanf \
15255 kqueue \
15256 lstat \
15257 memmove \
15258 mmap \
15259 pclose \
15260 pipe2 \
15261 poll \
15262 popen \
15263 port_create \
15264 prctl \
15265 pread \
15266 proc_pidinfo \
15267 pwrite \
15268 readdir \
15269 readlink \
15270 sched_yield \
15271 select \
15272 setproctitle \
15273 setprogname \
15274 setrlimit \
15275 settimeofday \
15276 sigaltstack \
15277 sigprocmask \
15278 snprintf \
15279 statfs \
15280 statvfs \
15281 strcasecmp \
15282 strdup \
15283 strerror \
15284 strncasecmp \
15285 strtold \
15286 strtoll \
15287 strtoull \
15288 symlink \
15289 sysinfo \
15290 tcdrain \
15291 thr_kill2 \
15292 timegm \
15293 usleep \
15294 vsnprintf
15296 do :
15297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15299 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15302 _ACEOF
15305 done
15307 CFLAGS="$ac_save_CFLAGS"
15309 if test "$ac_cv_func_dlopen" = no
15310 then
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15312 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15313 if ${ac_cv_lib_dl_dlopen+:} false; then :
15314 $as_echo_n "(cached) " >&6
15315 else
15316 ac_check_lib_save_LIBS=$LIBS
15317 LIBS="-ldl $LIBS"
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15321 /* Override any GCC internal prototype to avoid an error.
15322 Use char because int might match the return type of a GCC
15323 builtin and then its argument prototype would still apply. */
15324 #ifdef __cplusplus
15325 extern "C"
15326 #endif
15327 char dlopen ();
15329 main ()
15331 return dlopen ();
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 ac_cv_lib_dl_dlopen=yes
15338 else
15339 ac_cv_lib_dl_dlopen=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15343 LIBS=$ac_check_lib_save_LIBS
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15346 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15347 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15348 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15349 DL_LIBS="-ldl"
15354 ac_wine_check_funcs_save_LIBS="$LIBS"
15355 LIBS="$LIBS $DL_LIBS"
15356 for ac_func in dladdr
15357 do :
15358 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15359 if test "x$ac_cv_func_dladdr" = xyes; then :
15360 cat >>confdefs.h <<_ACEOF
15361 #define HAVE_DLADDR 1
15362 _ACEOF
15365 done
15367 LIBS="$ac_wine_check_funcs_save_LIBS"
15369 if test "$ac_cv_func_poll" = no
15370 then
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15372 $as_echo_n "checking for poll in -lpoll... " >&6; }
15373 if ${ac_cv_lib_poll_poll+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_lib_save_LIBS=$LIBS
15377 LIBS="-lpoll $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char poll ();
15389 main ()
15391 return poll ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 ac_cv_lib_poll_poll=yes
15398 else
15399 ac_cv_lib_poll_poll=no
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_lib_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15406 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15407 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15408 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15409 POLL_LIBS="-lpoll"
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15416 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15417 if ${ac_cv_search_gethostbyname+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 ac_func_search_save_LIBS=$LIBS
15421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15424 /* Override any GCC internal prototype to avoid an error.
15425 Use char because int might match the return type of a GCC
15426 builtin and then its argument prototype would still apply. */
15427 #ifdef __cplusplus
15428 extern "C"
15429 #endif
15430 char gethostbyname ();
15432 main ()
15434 return gethostbyname ();
15436 return 0;
15438 _ACEOF
15439 for ac_lib in '' nsl; do
15440 if test -z "$ac_lib"; then
15441 ac_res="none required"
15442 else
15443 ac_res=-l$ac_lib
15444 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 ac_cv_search_gethostbyname=$ac_res
15449 rm -f core conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext
15451 if ${ac_cv_search_gethostbyname+:} false; then :
15452 break
15454 done
15455 if ${ac_cv_search_gethostbyname+:} false; then :
15457 else
15458 ac_cv_search_gethostbyname=no
15460 rm conftest.$ac_ext
15461 LIBS=$ac_func_search_save_LIBS
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15464 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15465 ac_res=$ac_cv_search_gethostbyname
15466 if test "$ac_res" != no; then :
15467 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15473 $as_echo_n "checking for library containing connect... " >&6; }
15474 if ${ac_cv_search_connect+:} false; then :
15475 $as_echo_n "(cached) " >&6
15476 else
15477 ac_func_search_save_LIBS=$LIBS
15478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15484 #ifdef __cplusplus
15485 extern "C"
15486 #endif
15487 char connect ();
15489 main ()
15491 return connect ();
15493 return 0;
15495 _ACEOF
15496 for ac_lib in '' socket; do
15497 if test -z "$ac_lib"; then
15498 ac_res="none required"
15499 else
15500 ac_res=-l$ac_lib
15501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15503 if ac_fn_c_try_link "$LINENO"; then :
15504 ac_cv_search_connect=$ac_res
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext
15508 if ${ac_cv_search_connect+:} false; then :
15509 break
15511 done
15512 if ${ac_cv_search_connect+:} false; then :
15514 else
15515 ac_cv_search_connect=no
15517 rm conftest.$ac_ext
15518 LIBS=$ac_func_search_save_LIBS
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15521 $as_echo "$ac_cv_search_connect" >&6; }
15522 ac_res=$ac_cv_search_connect
15523 if test "$ac_res" != no; then :
15524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15530 $as_echo_n "checking for library containing inet_aton... " >&6; }
15531 if ${ac_cv_search_inet_aton+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 ac_func_search_save_LIBS=$LIBS
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char inet_aton ();
15546 main ()
15548 return inet_aton ();
15550 return 0;
15552 _ACEOF
15553 for ac_lib in '' resolv; do
15554 if test -z "$ac_lib"; then
15555 ac_res="none required"
15556 else
15557 ac_res=-l$ac_lib
15558 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15560 if ac_fn_c_try_link "$LINENO"; then :
15561 ac_cv_search_inet_aton=$ac_res
15563 rm -f core conftest.err conftest.$ac_objext \
15564 conftest$ac_exeext
15565 if ${ac_cv_search_inet_aton+:} false; then :
15566 break
15568 done
15569 if ${ac_cv_search_inet_aton+:} false; then :
15571 else
15572 ac_cv_search_inet_aton=no
15574 rm conftest.$ac_ext
15575 LIBS=$ac_func_search_save_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15578 $as_echo "$ac_cv_search_inet_aton" >&6; }
15579 ac_res=$ac_cv_search_inet_aton
15580 if test "$ac_res" != no; then :
15581 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15586 for ac_func in \
15587 getaddrinfo \
15588 getnameinfo \
15589 getnetbyname \
15590 getprotobyname \
15591 getprotobynumber \
15592 getservbyport \
15593 inet_addr \
15594 inet_network \
15595 inet_ntop \
15596 inet_pton \
15597 sendmsg \
15598 socketpair \
15600 do :
15601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15604 cat >>confdefs.h <<_ACEOF
15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15606 _ACEOF
15609 done
15612 ac_save_LIBS=$LIBS
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15614 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15615 if ${ac_cv_search_clock_gettime+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 ac_func_search_save_LIBS=$LIBS
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15625 #ifdef __cplusplus
15626 extern "C"
15627 #endif
15628 char clock_gettime ();
15630 main ()
15632 return clock_gettime ();
15634 return 0;
15636 _ACEOF
15637 for ac_lib in '' rt; do
15638 if test -z "$ac_lib"; then
15639 ac_res="none required"
15640 else
15641 ac_res=-l$ac_lib
15642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15644 if ac_fn_c_try_link "$LINENO"; then :
15645 ac_cv_search_clock_gettime=$ac_res
15647 rm -f core conftest.err conftest.$ac_objext \
15648 conftest$ac_exeext
15649 if ${ac_cv_search_clock_gettime+:} false; then :
15650 break
15652 done
15653 if ${ac_cv_search_clock_gettime+:} false; then :
15655 else
15656 ac_cv_search_clock_gettime=no
15658 rm conftest.$ac_ext
15659 LIBS=$ac_func_search_save_LIBS
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15662 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15663 ac_res=$ac_cv_search_clock_gettime
15664 if test "$ac_res" != no; then :
15665 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15667 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15669 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15673 LIBS=$ac_save_LIBS
15675 LDAP_LIBS=""
15677 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15678 then
15679 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15681 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15683 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15684 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_check_lib_save_LIBS=$LIBS
15688 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char ldap_initialize ();
15700 main ()
15702 return ldap_initialize ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 ac_cv_lib_ldap_r_ldap_initialize=yes
15709 else
15710 ac_cv_lib_ldap_r_ldap_initialize=no
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_lib_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15717 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15718 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15720 $as_echo_n "checking for ber_init in -llber... " >&6; }
15721 if ${ac_cv_lib_lber_ber_init+:} false; then :
15722 $as_echo_n "(cached) " >&6
15723 else
15724 ac_check_lib_save_LIBS=$LIBS
15725 LIBS="-llber $PTHREAD_LIBS $LIBS"
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15729 /* Override any GCC internal prototype to avoid an error.
15730 Use char because int might match the return type of a GCC
15731 builtin and then its argument prototype would still apply. */
15732 #ifdef __cplusplus
15733 extern "C"
15734 #endif
15735 char ber_init ();
15737 main ()
15739 return ber_init ();
15741 return 0;
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 ac_cv_lib_lber_ber_init=yes
15746 else
15747 ac_cv_lib_lber_ber_init=no
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 LIBS=$ac_check_lib_save_LIBS
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15754 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15755 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15757 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15759 LDAP_LIBS="-lldap_r -llber"
15766 ac_wine_check_funcs_save_LIBS="$LIBS"
15767 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15768 for ac_func in \
15769 ldap_count_references \
15770 ldap_first_reference \
15771 ldap_next_reference \
15772 ldap_parse_reference \
15773 ldap_parse_sort_control \
15774 ldap_parse_sortresponse_control \
15775 ldap_parse_vlv_control \
15776 ldap_parse_vlvresponse_control
15777 do :
15778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15783 _ACEOF
15786 done
15788 LIBS="$ac_wine_check_funcs_save_LIBS"
15790 if test "x$LDAP_LIBS" = "x"; then :
15791 case "x$with_ldap" in
15792 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15793 xno) ;;
15794 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15795 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15796 esac
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15801 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15802 if ${wine_cv_one_arg_mkdir+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <sys/stat.h>
15809 main ()
15811 mkdir("foo");
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817 wine_cv_one_arg_mkdir=yes
15818 else
15819 wine_cv_one_arg_mkdir=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15824 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15825 if test "$wine_cv_one_arg_mkdir" = "yes"
15826 then
15828 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15833 $as_echo_n "checking for sched_setaffinity... " >&6; }
15834 if ${wine_cv_have_sched_setaffinity+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15839 #define _GNU_SOURCE
15840 #include <sched.h>
15842 main ()
15844 sched_setaffinity(0, 0, 0);
15846 return 0;
15848 _ACEOF
15849 if ac_fn_c_try_link "$LINENO"; then :
15850 wine_cv_have_sched_setaffinity=yes
15851 else
15852 wine_cv_have_sched_setaffinity=no
15854 rm -f core conftest.err conftest.$ac_objext \
15855 conftest$ac_exeext conftest.$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15858 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15859 if test "$wine_cv_have_sched_setaffinity" = "yes"
15860 then
15862 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15867 $as_echo_n "checking for fallocate... " >&6; }
15868 if ${wine_cv_have_fallocate+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE
15874 #include <fcntl.h>
15876 main ()
15878 fallocate(-1, 0, 0, 0);
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"; then :
15884 wine_cv_have_fallocate=yes
15885 else
15886 wine_cv_have_fallocate=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15892 $as_echo "$wine_cv_have_fallocate" >&6; }
15893 if test "$wine_cv_have_fallocate" = "yes"
15894 then
15896 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15902 $as_echo_n "checking for inline... " >&6; }
15903 if ${ac_cv_c_inline+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 ac_cv_c_inline=no
15907 for ac_kw in inline __inline__ __inline; do
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #ifndef __cplusplus
15911 typedef int foo_t;
15912 static $ac_kw foo_t static_foo () {return 0; }
15913 $ac_kw foo_t foo () {return 0; }
15914 #endif
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15918 ac_cv_c_inline=$ac_kw
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 test "$ac_cv_c_inline" != no && break
15922 done
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15926 $as_echo "$ac_cv_c_inline" >&6; }
15928 case $ac_cv_c_inline in
15929 inline | yes) ;;
15931 case $ac_cv_c_inline in
15932 no) ac_val=;;
15933 *) ac_val=$ac_cv_c_inline;;
15934 esac
15935 cat >>confdefs.h <<_ACEOF
15936 #ifndef __cplusplus
15937 #define inline $ac_val
15938 #endif
15939 _ACEOF
15941 esac
15943 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_mode_t" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_MODE_T 1
15948 _ACEOF
15952 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_off_t" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_OFF_T 1
15957 _ACEOF
15961 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_pid_t" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_PID_T 1
15966 _ACEOF
15970 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15971 if test "x$ac_cv_type_size_t" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_SIZE_T 1
15975 _ACEOF
15979 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_ssize_t" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_SSIZE_T 1
15984 _ACEOF
15988 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15989 if test "x$ac_cv_type_long_long" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_LONG_LONG 1
15993 _ACEOF
15997 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15998 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_FSBLKCNT_T 1
16002 _ACEOF
16006 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16007 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_FSFILCNT_T 1
16011 _ACEOF
16016 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16017 #include <signal.h>
16019 if test "x$ac_cv_type_sigset_t" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_SIGSET_T 1
16023 _ACEOF
16028 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16030 if test "x$ac_cv_type_request_sense" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_REQUEST_SENSE 1
16034 _ACEOF
16040 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16041 #ifdef HAVE_SYS_SOCKET_H
16042 #include <sys/socket.h>
16043 #endif
16044 #ifdef HAVE_SYS_SOCKETVAR_H
16045 #include <sys/socketvar.h>
16046 #endif
16047 #ifdef HAVE_NET_ROUTE_H
16048 #include <net/route.h>
16049 #endif
16050 #ifdef HAVE_NETINET_IN_H
16051 #include <netinet/in.h>
16052 #endif
16053 #ifdef HAVE_NETINET_IN_SYSTM_H
16054 #include <netinet/in_systm.h>
16055 #endif
16056 #ifdef HAVE_NETINET_IP_H
16057 #include <netinet/ip.h>
16058 #endif
16059 #ifdef HAVE_NETINET_IN_PCB_H
16060 #include <netinet/in_pcb.h>
16061 #endif
16063 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_XINPGEN 1
16067 _ACEOF
16073 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16074 #include <link.h>
16075 #endif
16076 #ifdef HAVE_SYS_LINK_H
16077 #include <sys/link.h>
16078 #endif
16080 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_R_DEBUG 1
16084 _ACEOF
16088 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16089 #include <link.h>
16090 #endif
16091 #ifdef HAVE_SYS_LINK_H
16092 #include <sys/link.h>
16093 #endif
16095 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_LINK_MAP 1
16099 _ACEOF
16105 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16106 #include <linux/input.h>
16107 #endif
16109 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16113 _ACEOF
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16120 $as_echo_n "checking for sigaddset... " >&6; }
16121 if ${wine_cv_have_sigaddset+:} false; then :
16122 $as_echo_n "(cached) " >&6
16123 else
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <signal.h>
16128 main ()
16130 sigset_t set; sigaddset(&set,SIGTERM);
16132 return 0;
16134 _ACEOF
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 wine_cv_have_sigaddset=yes
16137 else
16138 wine_cv_have_sigaddset=no
16140 rm -f core conftest.err conftest.$ac_objext \
16141 conftest$ac_exeext conftest.$ac_ext
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16144 $as_echo "$wine_cv_have_sigaddset" >&6; }
16145 if test "$wine_cv_have_sigaddset" = "yes"
16146 then
16148 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16154 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16155 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <netdb.h>
16162 main ()
16165 char *name=0;
16166 struct hostent he;
16167 struct hostent *result;
16168 char *buf=0;
16169 int bufsize=0;
16170 int errnr;
16171 char *addr=0;
16172 int addrlen=0;
16173 int addrtype=0;
16174 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16175 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16178 return 0;
16180 _ACEOF
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 wine_cv_linux_gethostbyname_r_6=yes
16183 else
16184 wine_cv_linux_gethostbyname_r_6=no
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16192 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16193 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16194 then
16196 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16200 if test "$ac_cv_header_linux_joystick_h" = "yes"
16201 then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16203 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16204 if ${wine_cv_linux_joystick_22_api+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16210 #include <sys/ioctl.h>
16211 #include <sys/types.h>
16212 #include <linux/joystick.h>
16214 struct js_event blub;
16215 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16216 #error "no 2.2 header"
16217 #endif
16220 main ()
16222 /*empty*/
16224 return 0;
16226 _ACEOF
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228 wine_cv_linux_joystick_22_api=yes
16229 else
16230 wine_cv_linux_joystick_22_api=no
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16236 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16237 if test "$wine_cv_linux_joystick_22_api" = "yes"
16238 then
16240 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16246 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16247 #ifdef HAVE_SYS_PARAM_H
16248 # include <sys/param.h>
16249 #endif
16250 #ifdef HAVE_SYS_MOUNT_H
16251 # include <sys/mount.h>
16252 #endif
16253 #ifdef HAVE_SYS_VFS_H
16254 # include <sys/vfs.h>
16255 #endif
16256 #ifdef HAVE_SYS_STATFS_H
16257 # include <sys/statfs.h>
16258 #endif
16260 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_STATFS_F_BFREE 1
16264 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_PARAM_H
16270 # include <sys/param.h>
16271 #endif
16272 #ifdef HAVE_SYS_MOUNT_H
16273 # include <sys/mount.h>
16274 #endif
16275 #ifdef HAVE_SYS_VFS_H
16276 # include <sys/vfs.h>
16277 #endif
16278 #ifdef HAVE_SYS_STATFS_H
16279 # include <sys/statfs.h>
16280 #endif
16282 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16286 _ACEOF
16290 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16291 #ifdef HAVE_SYS_PARAM_H
16292 # include <sys/param.h>
16293 #endif
16294 #ifdef HAVE_SYS_MOUNT_H
16295 # include <sys/mount.h>
16296 #endif
16297 #ifdef HAVE_SYS_VFS_H
16298 # include <sys/vfs.h>
16299 #endif
16300 #ifdef HAVE_SYS_STATFS_H
16301 # include <sys/statfs.h>
16302 #endif
16304 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16308 _ACEOF
16312 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16313 #ifdef HAVE_SYS_PARAM_H
16314 # include <sys/param.h>
16315 #endif
16316 #ifdef HAVE_SYS_MOUNT_H
16317 # include <sys/mount.h>
16318 #endif
16319 #ifdef HAVE_SYS_VFS_H
16320 # include <sys/vfs.h>
16321 #endif
16322 #ifdef HAVE_SYS_STATFS_H
16323 # include <sys/statfs.h>
16324 #endif
16326 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_STRUCT_STATFS_F_FFREE 1
16330 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16335 #ifdef HAVE_SYS_PARAM_H
16336 # include <sys/param.h>
16337 #endif
16338 #ifdef HAVE_SYS_MOUNT_H
16339 # include <sys/mount.h>
16340 #endif
16341 #ifdef HAVE_SYS_VFS_H
16342 # include <sys/vfs.h>
16343 #endif
16344 #ifdef HAVE_SYS_STATFS_H
16345 # include <sys/statfs.h>
16346 #endif
16348 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16357 #ifdef HAVE_SYS_PARAM_H
16358 # include <sys/param.h>
16359 #endif
16360 #ifdef HAVE_SYS_MOUNT_H
16361 # include <sys/mount.h>
16362 #endif
16363 #ifdef HAVE_SYS_VFS_H
16364 # include <sys/vfs.h>
16365 #endif
16366 #ifdef HAVE_SYS_STATFS_H
16367 # include <sys/statfs.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16374 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16381 #include <sys/statvfs.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16388 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16395 #include <dirent.h>
16396 #endif
16398 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16402 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16411 #endif
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16420 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16425 #ifdef HAVE_SYS_SOCKET_H
16426 # include <sys/socket.h>
16427 #endif
16428 #ifdef HAVE_SYS_UN_H
16429 # include <sys/un.h>
16430 #endif
16432 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16436 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16441 #ifdef HAVE_SYS_SOCKET_H
16442 # include <sys/socket.h>
16443 #endif
16444 #ifdef HAVE_SYS_UN_H
16445 # include <sys/un.h>
16446 #endif
16448 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16452 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16459 #ifdef HAVE_SCSI_SG_H
16460 #include <scsi/sg.h>
16461 #endif
16463 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_SCSIREQ_T_CMD 1
16467 _ACEOF
16471 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>
16472 #ifdef HAVE_SCSI_SG_H
16473 #include <scsi/sg.h>
16474 #endif
16476 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16480 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16488 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_SIGINFO_T_SI_FD 1
16492 _ACEOF
16498 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16499 #ifdef HAVE_SYS_MTIO_H
16500 #include <sys/mtio.h>
16501 #endif
16503 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16507 _ACEOF
16511 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16512 #ifdef HAVE_SYS_MTIO_H
16513 #include <sys/mtio.h>
16514 #endif
16516 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16520 _ACEOF
16524 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16525 #ifdef HAVE_SYS_MTIO_H
16526 #include <sys/mtio.h>
16527 #endif
16529 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16533 _ACEOF
16539 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16540 #include <getopt.h>
16541 #endif
16543 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_OPTION_NAME 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16558 _ACEOF
16562 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_MTIM 1
16567 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16576 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_CTIM 1
16585 _ACEOF
16589 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16594 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_ATIM 1
16603 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16621 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16639 _ACEOF
16643 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16644 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16648 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16653 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16657 _ACEOF
16663 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
16664 #include <sys/types.h>
16665 #endif
16666 #ifdef HAVE_NETINET_IN_H
16667 #include <netinet/in.h>
16668 #endif
16670 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16674 _ACEOF
16680 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16681 #include <resolv.h>
16682 #endif
16684 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT___RES_STATE 1
16688 _ACEOF
16694 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
16695 #include <resolv.h>
16696 #endif
16698 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16700 cat >>confdefs.h <<_ACEOF
16701 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16702 _ACEOF
16708 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16709 #include <sys/types.h>
16710 #endif
16711 #ifdef HAVE_NETINET_IN_H
16712 # include <netinet/in.h>
16713 #endif
16714 #ifdef HAVE_ARPA_NAMESER_H
16715 # include <arpa/nameser.h>
16716 #endif
16718 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_NS_MSG__MSG_PTR 1
16722 _ACEOF
16728 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16729 #include <sys/types.h>
16730 #endif
16731 #ifdef HAVE_NETINET_IP_H
16732 #include <netinet/ip.h>
16733 #endif
16734 #ifdef HAVE_NETINET_IP_ICMP_H
16735 #include <netinet/ip_icmp.h>
16736 #endif
16737 #ifdef HAVE_NETINET_ICMP_VAR_H
16738 #include <netinet/icmp_var.h>
16739 #endif
16741 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16743 cat >>confdefs.h <<_ACEOF
16744 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16745 _ACEOF
16751 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16752 #include <sys/types.h>
16753 #endif
16754 #ifdef HAVE_ALIAS_H
16755 #include <alias.h>
16756 #endif
16757 #ifdef HAVE_SYS_SOCKET_H
16758 #include <sys/socket.h>
16759 #endif
16760 #ifdef HAVE_SYS_SOCKETVAR_H
16761 #include <sys/socketvar.h>
16762 #endif
16763 #ifdef HAVE_SYS_TIMEOUT_H
16764 #include <sys/timeout.h>
16765 #endif
16766 #ifdef HAVE_NETINET_IN_H
16767 #include <netinet/in.h>
16768 #endif
16769 #ifdef HAVE_NETINET_IN_SYSTM_H
16770 #include <netinet/in_systm.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IP_H
16773 #include <netinet/ip.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IP_VAR_H
16776 #include <netinet/ip_var.h>
16777 #endif
16778 #ifdef HAVE_NETINET_IP_ICMP_H
16779 #include <netinet/ip_icmp.h>
16780 #endif
16781 #ifdef HAVE_NETINET_ICMP_VAR_H
16782 #include <netinet/icmp_var.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16789 _ACEOF
16795 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16796 #include <sys/types.h>
16797 #endif
16798 #ifdef HAVE_SYS_SOCKETVAR_H
16799 #include <sys/socketvar.h>
16800 #endif
16801 #ifdef HAVE_NETINET_IN_H
16802 #include <netinet/in.h>
16803 #endif
16804 #ifdef HAVE_NETINET_IP_VAR_H
16805 #include <netinet/ip_var.h>
16806 #endif
16808 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16810 cat >>confdefs.h <<_ACEOF
16811 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16812 _ACEOF
16818 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
16819 #include <netinet/ip_var.h>
16820 #endif
16822 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16826 _ACEOF
16832 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16833 #include <sys/types.h>
16834 #endif
16835 #ifdef HAVE_SYS_SOCKETVAR_H
16836 #include <sys/socketvar.h>
16837 #endif
16838 #ifdef HAVE_NETINET_IN_H
16839 #include <netinet/in.h>
16840 #endif
16841 #ifdef HAVE_NETINET_TCP_H
16842 #include <netinet/tcp.h>
16843 #endif
16844 #ifdef HAVE_NETINET_TCP_VAR_H
16845 #include <netinet/tcp_var.h>
16846 #endif
16848 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16852 _ACEOF
16858 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
16859 #include <netinet/tcp_var.h>
16860 #endif
16862 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16864 cat >>confdefs.h <<_ACEOF
16865 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16866 _ACEOF
16872 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16873 #include <sys/types.h>
16874 #endif
16875 #ifdef HAVE_NETINET_IN_H
16876 #include <netinet/in.h>
16877 #endif
16878 #ifdef HAVE_NETINET_IP_VAR_H
16879 #include <netinet/ip_var.h>
16880 #endif
16881 #ifdef HAVE_NETINET_UDP_H
16882 #include <netinet/udp.h>
16883 #endif
16884 #ifdef HAVE_NETINET_UDP_VAR_H
16885 #include <netinet/udp_var.h>
16886 #endif
16888 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16892 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16899 #include <sys/types.h>
16900 #endif
16901 #ifdef HAVE_NET_IF_H
16902 # include <net/if.h>
16903 #endif
16905 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16909 _ACEOF
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16916 $as_echo_n "checking for timezone variable... " >&6; }
16917 if ${ac_cv_have_timezone+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #include <time.h>
16924 main ()
16926 timezone = 1
16928 return 0;
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_have_timezone="yes"
16933 else
16934 ac_cv_have_timezone="no"
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16940 $as_echo "$ac_cv_have_timezone" >&6; }
16941 if test "$ac_cv_have_timezone" = "yes"
16942 then
16944 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16948 $as_echo_n "checking for daylight variable... " >&6; }
16949 if ${ac_cv_have_daylight+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <time.h>
16956 main ()
16958 daylight = 1
16960 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_have_daylight="yes"
16965 else
16966 ac_cv_have_daylight="no"
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16972 $as_echo "$ac_cv_have_daylight" >&6; }
16973 if test "$ac_cv_have_daylight" = "yes"
16974 then
16976 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16980 ac_save_LIBS="$LIBS"
16981 LIBS="$LIBS -lm"
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16983 $as_echo_n "checking for isfinite... " >&6; }
16984 if ${ac_cv_have_isfinite+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #define _GNU_SOURCE
16990 #include <math.h>
16992 main ()
16994 float f = 0.0; return isfinite(f)
16996 return 0;
16998 _ACEOF
16999 if ac_fn_c_try_link "$LINENO"; then :
17000 ac_cv_have_isfinite="yes"
17001 else
17002 ac_cv_have_isfinite="no"
17004 rm -f core conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17008 $as_echo "$ac_cv_have_isfinite" >&6; }
17009 if test "$ac_cv_have_isfinite" = "yes"
17010 then
17012 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17017 $as_echo_n "checking for isinf... " >&6; }
17018 if ${ac_cv_have_isinf+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <math.h>
17025 main ()
17027 float f = 0.0; return isinf(f)
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_have_isinf="yes"
17034 else
17035 ac_cv_have_isinf="no"
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17041 $as_echo "$ac_cv_have_isinf" >&6; }
17042 if test "$ac_cv_have_isinf" = "yes"
17043 then
17045 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17050 $as_echo_n "checking for isnan... " >&6; }
17051 if ${ac_cv_have_isnan+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <math.h>
17058 main ()
17060 float f = 0.0; return isnan(f)
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_have_isnan="yes"
17067 else
17068 ac_cv_have_isnan="no"
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17074 $as_echo "$ac_cv_have_isnan" >&6; }
17075 if test "$ac_cv_have_isnan" = "yes"
17076 then
17078 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17082 for ac_func in \
17083 asinh \
17084 asinhf \
17085 cbrt \
17086 cbrtf \
17087 erf \
17088 erff \
17089 exp2 \
17090 exp2f \
17091 lgamma \
17092 lgammaf \
17093 llrint \
17094 llrintf \
17095 llround \
17096 llroundf \
17097 log2 \
17098 log2f \
17099 lrint \
17100 lrintf \
17101 lround \
17102 lroundf \
17103 powl \
17104 remainder \
17105 remainderf \
17106 rint \
17107 rintf \
17108 round \
17109 roundf \
17110 trunc \
17111 truncf
17113 do :
17114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17117 cat >>confdefs.h <<_ACEOF
17118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17119 _ACEOF
17122 done
17124 LIBS="$ac_save_LIBS"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17127 $as_echo_n "checking for __builtin_clz... " >&6; }
17128 if ${ac_cv_have___builtin_clz+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17135 main ()
17137 return __builtin_clz(1)
17139 return 0;
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_have___builtin_clz="yes"
17144 else
17145 ac_cv_have___builtin_clz="no"
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17151 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17152 if test "$ac_cv_have___builtin_clz" = "yes"
17153 then
17155 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17160 $as_echo_n "checking for __builtin_popcount... " >&6; }
17161 if ${ac_cv_have___builtin_popcount+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17168 main ()
17170 return __builtin_popcount(1)
17172 return 0;
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_have___builtin_popcount="yes"
17177 else
17178 ac_cv_have___builtin_popcount="no"
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17184 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17185 if test "$ac_cv_have___builtin_popcount" = "yes"
17186 then
17188 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17193 case $host_cpu in
17194 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17195 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17196 if ${ac_cv_cpp_def___i386__+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17201 #ifndef __i386__
17203 #endif
17204 _ACEOF
17205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17206 $EGREP "yes" >/dev/null 2>&1; then :
17207 ac_cv_cpp_def___i386__=yes
17208 else
17209 ac_cv_cpp_def___i386__=no
17211 rm -f conftest*
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17215 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17216 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17217 CFLAGS="$CFLAGS -D__i386__"
17218 LINTFLAGS="$LINTFLAGS -D__i386__"
17219 fi ;;
17220 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17221 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17222 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17227 #ifndef __x86_64__
17229 #endif
17230 _ACEOF
17231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17232 $EGREP "yes" >/dev/null 2>&1; then :
17233 ac_cv_cpp_def___x86_64__=yes
17234 else
17235 ac_cv_cpp_def___x86_64__=no
17237 rm -f conftest*
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17241 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17242 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17243 CFLAGS="$CFLAGS -D__x86_64__"
17244 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17245 fi ;;
17246 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17247 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17248 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #ifndef __sparc64__
17255 #endif
17256 _ACEOF
17257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17258 $EGREP "yes" >/dev/null 2>&1; then :
17259 ac_cv_cpp_def___sparc64__=yes
17260 else
17261 ac_cv_cpp_def___sparc64__=no
17263 rm -f conftest*
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17267 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17268 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17269 CFLAGS="$CFLAGS -D__sparc64__"
17270 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17271 fi ;;
17272 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17273 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17274 if ${ac_cv_cpp_def___sparc__+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 #ifndef __sparc__
17281 #endif
17282 _ACEOF
17283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17284 $EGREP "yes" >/dev/null 2>&1; then :
17285 ac_cv_cpp_def___sparc__=yes
17286 else
17287 ac_cv_cpp_def___sparc__=no
17289 rm -f conftest*
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17293 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17294 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17295 CFLAGS="$CFLAGS -D__sparc__"
17296 LINTFLAGS="$LINTFLAGS -D__sparc__"
17297 fi ;;
17298 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17299 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17300 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #ifndef __powerpc64__
17307 #endif
17308 _ACEOF
17309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17310 $EGREP "yes" >/dev/null 2>&1; then :
17311 ac_cv_cpp_def___powerpc64__=yes
17312 else
17313 ac_cv_cpp_def___powerpc64__=no
17315 rm -f conftest*
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17319 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17320 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17321 CFLAGS="$CFLAGS -D__powerpc64__"
17322 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17323 fi ;;
17324 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17325 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17326 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #ifndef __powerpc__
17333 #endif
17334 _ACEOF
17335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17336 $EGREP "yes" >/dev/null 2>&1; then :
17337 ac_cv_cpp_def___powerpc__=yes
17338 else
17339 ac_cv_cpp_def___powerpc__=no
17341 rm -f conftest*
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17345 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17346 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17347 CFLAGS="$CFLAGS -D__powerpc__"
17348 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17349 fi ;;
17350 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17351 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17352 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #ifndef __aarch64__
17359 #endif
17360 _ACEOF
17361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17362 $EGREP "yes" >/dev/null 2>&1; then :
17363 ac_cv_cpp_def___aarch64__=yes
17364 else
17365 ac_cv_cpp_def___aarch64__=no
17367 rm -f conftest*
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17371 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17372 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17373 CFLAGS="$CFLAGS -D__aarch64__"
17374 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17375 fi ;;
17376 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17377 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17378 if ${ac_cv_cpp_def___arm__+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #ifndef __arm__
17385 #endif
17386 _ACEOF
17387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17388 $EGREP "yes" >/dev/null 2>&1; then :
17389 ac_cv_cpp_def___arm__=yes
17390 else
17391 ac_cv_cpp_def___arm__=no
17393 rm -f conftest*
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17397 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17398 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17399 CFLAGS="$CFLAGS -D__arm__"
17400 LINTFLAGS="$LINTFLAGS -D__arm__"
17401 fi ;;
17402 esac
17404 case $host_vendor in
17405 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17406 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17407 if ${ac_cv_cpp_def___sun__+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #ifndef __sun__
17414 #endif
17415 _ACEOF
17416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17417 $EGREP "yes" >/dev/null 2>&1; then :
17418 ac_cv_cpp_def___sun__=yes
17419 else
17420 ac_cv_cpp_def___sun__=no
17422 rm -f conftest*
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17426 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17427 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17428 CFLAGS="$CFLAGS -D__sun__"
17429 LINTFLAGS="$LINTFLAGS -D__sun__"
17430 fi ;;
17431 esac
17437 ac_config_commands="$ac_config_commands include/stamp-h"
17439 $as_echo_n "creating Makefile rules..." >&6
17441 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17442 SOCKET_LIBS = $SOCKET_LIBS
17443 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17444 IOKIT_LIBS = $IOKIT_LIBS
17445 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17446 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17447 CORESERVICES_LIBS = $CORESERVICES_LIBS
17448 APPKIT_LIBS = $APPKIT_LIBS
17449 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17450 SECURITY_LIBS = $SECURITY_LIBS
17451 COREAUDIO_LIBS = $COREAUDIO_LIBS
17452 OPENAL_LIBS = $OPENAL_LIBS
17453 OPENCL_LIBS = $OPENCL_LIBS
17454 QUICKTIME_LIBS = $QUICKTIME_LIBS
17455 CARBON_LIBS = $CARBON_LIBS
17456 PTHREAD_LIBS = $PTHREAD_LIBS
17457 X_CFLAGS = $X_CFLAGS
17458 X_PRE_LIBS = $X_PRE_LIBS
17459 X_LIBS = $X_LIBS
17460 X_EXTRA_LIBS = $X_EXTRA_LIBS
17461 PCAP_LIBS = $PCAP_LIBS
17462 XML2_CFLAGS = $XML2_CFLAGS
17463 XML2_LIBS = $XML2_LIBS
17464 XSLT_CFLAGS = $XSLT_CFLAGS
17465 XSLT_LIBS = $XSLT_LIBS
17466 DBUS_CFLAGS = $DBUS_CFLAGS
17467 DBUS_LIBS = $DBUS_LIBS
17468 HAL_CFLAGS = $HAL_CFLAGS
17469 HAL_LIBS = $HAL_LIBS
17470 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17471 GNUTLS_LIBS = $GNUTLS_LIBS
17472 SANE_CFLAGS = $SANE_CFLAGS
17473 SANE_LIBS = $SANE_LIBS
17474 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17475 GPHOTO2_LIBS = $GPHOTO2_LIBS
17476 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17477 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17478 RESOLV_LIBS = $RESOLV_LIBS
17479 LCMS2_CFLAGS = $LCMS2_CFLAGS
17480 LCMS2_LIBS = $LCMS2_LIBS
17481 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17482 FREETYPE_LIBS = $FREETYPE_LIBS
17483 Z_LIBS = $Z_LIBS
17484 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17485 PULSE_CFLAGS = $PULSE_CFLAGS
17486 PULSE_LIBS = $PULSE_LIBS
17487 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17488 GSTREAMER_LIBS = $GSTREAMER_LIBS
17489 ALSA_LIBS = $ALSA_LIBS
17490 OSS4_CFLAGS = $OSS4_CFLAGS
17491 UDEV_CFLAGS = $UDEV_CFLAGS
17492 UDEV_LIBS = $UDEV_LIBS
17493 CAPI20_CFLAGS = $CAPI20_CFLAGS
17494 CAPI20_LIBS = $CAPI20_LIBS
17495 CUPS_CFLAGS = $CUPS_CFLAGS
17496 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17497 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17498 JPEG_CFLAGS = $JPEG_CFLAGS
17499 JPEG_LIBS = $JPEG_LIBS
17500 PNG_CFLAGS = $PNG_CFLAGS
17501 PNG_LIBS = $PNG_LIBS
17502 TIFF_CFLAGS = $TIFF_CFLAGS
17503 TIFF_LIBS = $TIFF_LIBS
17504 MPG123_CFLAGS = $MPG123_CFLAGS
17505 MPG123_LIBS = $MPG123_LIBS
17506 KSTAT_LIBS = $KSTAT_LIBS
17507 PROCSTAT_LIBS = $PROCSTAT_LIBS
17508 NETAPI_CFLAGS = $NETAPI_CFLAGS
17509 NETAPI_LIBS = $NETAPI_LIBS
17510 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17511 DL_LIBS = $DL_LIBS
17512 POLL_LIBS = $POLL_LIBS
17513 RT_LIBS = $RT_LIBS
17514 LDAP_LIBS = $LDAP_LIBS
17519 wine_fn_append_rule "
17520 # Rules automatically generated by configure
17522 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17524 .INIT: Makefile
17525 .MAKEFILEDEPS:
17526 all: Makefile
17527 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17528 @./config.status Make.tmp Makefile
17529 depend: \$(MAKEDEP) dummy
17530 \$(MAKEDEP)"
17532 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17533 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17535 if test "x$enable_fonts" != xno; then
17536 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17537 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17538 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17539 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17540 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17541 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17543 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17544 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17545 ac_config_links="$ac_config_links wine:tools/winewrapper"
17546 wine_fn_config_symlink wine
17547 if test "x$enable_win64" != xno; then
17548 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17549 wine_fn_config_symlink wine64
17552 wine_fn_config_dll acledit enable_acledit
17553 wine_fn_config_dll aclui enable_aclui implib
17554 wine_fn_config_dll activeds enable_activeds implib
17555 wine_fn_config_dll actxprxy enable_actxprxy clean
17556 wine_fn_config_lib adsiid
17557 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17558 wine_fn_config_test dlls/advapi32/tests advapi32_test
17559 wine_fn_config_dll advpack enable_advpack implib
17560 wine_fn_config_test dlls/advpack/tests advpack_test
17561 wine_fn_config_dll amstream enable_amstream clean
17562 wine_fn_config_test dlls/amstream/tests amstream_test
17563 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17565 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17572 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17581 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17585 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17586 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17587 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17588 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17591 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17594 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17605 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17607 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17608 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17616 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17628 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17635 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17640 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17644 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17647 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17667 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17691 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17692 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17695 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17696 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17697 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17698 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17699 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17700 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17701 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17702 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17704 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17705 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17706 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17707 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17708 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17709 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17710 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17711 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17712 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17713 wine_fn_config_dll apphelp enable_apphelp
17714 wine_fn_config_test dlls/apphelp/tests apphelp_test
17715 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17716 wine_fn_config_dll atl enable_atl clean,implib
17717 wine_fn_config_test dlls/atl/tests atl_test
17718 wine_fn_config_dll atl100 enable_atl100 clean,implib
17719 wine_fn_config_test dlls/atl100/tests atl100_test
17720 wine_fn_config_dll atl110 enable_atl110 clean
17721 wine_fn_config_dll atl80 enable_atl80 clean,implib
17722 wine_fn_config_test dlls/atl80/tests atl80_test
17723 wine_fn_config_dll atl90 enable_atl90 clean
17724 wine_fn_config_dll authz enable_authz
17725 wine_fn_config_dll avicap32 enable_avicap32 implib
17726 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17727 wine_fn_config_test dlls/avifil32/tests avifil32_test
17728 wine_fn_config_dll avifile.dll16 enable_win16
17729 wine_fn_config_dll avrt enable_avrt implib
17730 wine_fn_config_dll bcrypt enable_bcrypt implib
17731 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17732 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17733 wine_fn_config_dll browseui enable_browseui clean
17734 wine_fn_config_test dlls/browseui/tests browseui_test
17735 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17736 wine_fn_config_dll cabinet enable_cabinet implib
17737 wine_fn_config_test dlls/cabinet/tests cabinet_test
17738 wine_fn_config_dll capi2032 enable_capi2032 implib
17739 wine_fn_config_dll cards enable_cards implib
17740 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17741 wine_fn_config_dll clusapi enable_clusapi implib
17742 wine_fn_config_dll combase enable_combase
17743 wine_fn_config_test dlls/combase/tests combase_test
17744 wine_fn_config_dll comcat enable_comcat
17745 wine_fn_config_test dlls/comcat/tests comcat_test
17746 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17747 wine_fn_config_test dlls/comctl32/tests comctl32_test
17748 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17749 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17750 wine_fn_config_dll comm.drv16 enable_win16
17751 wine_fn_config_dll commdlg.dll16 enable_win16
17752 wine_fn_config_dll compobj.dll16 enable_win16
17753 wine_fn_config_dll compstui enable_compstui implib
17754 wine_fn_config_dll comsvcs enable_comsvcs implib
17755 wine_fn_config_dll concrt140 enable_concrt140
17756 wine_fn_config_dll connect enable_connect
17757 wine_fn_config_dll credui enable_credui clean,implib
17758 wine_fn_config_test dlls/credui/tests credui_test
17759 wine_fn_config_dll crtdll enable_crtdll
17760 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17761 wine_fn_config_test dlls/crypt32/tests crypt32_test
17762 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17763 wine_fn_config_dll cryptdll enable_cryptdll implib
17764 wine_fn_config_dll cryptext enable_cryptext
17765 wine_fn_config_dll cryptnet enable_cryptnet implib
17766 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17767 wine_fn_config_dll cryptui enable_cryptui clean,implib
17768 wine_fn_config_test dlls/cryptui/tests cryptui_test
17769 wine_fn_config_dll ctapi32 enable_ctapi32
17770 wine_fn_config_dll ctl3d.dll16 enable_win16
17771 wine_fn_config_dll ctl3d32 enable_ctl3d32
17772 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17773 wine_fn_config_dll d2d1 enable_d2d1 implib
17774 wine_fn_config_test dlls/d2d1/tests d2d1_test
17775 wine_fn_config_dll d3d10 enable_d3d10 implib
17776 wine_fn_config_test dlls/d3d10/tests d3d10_test
17777 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17778 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17779 wine_fn_config_dll d3d10core enable_d3d10core implib
17780 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17781 wine_fn_config_dll d3d11 enable_d3d11 implib
17782 wine_fn_config_test dlls/d3d11/tests d3d11_test
17783 wine_fn_config_dll d3d8 enable_d3d8 implib
17784 wine_fn_config_test dlls/d3d8/tests d3d8_test
17785 wine_fn_config_dll d3d9 enable_d3d9 implib
17786 wine_fn_config_test dlls/d3d9/tests d3d9_test
17787 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17788 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17789 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17790 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17791 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17792 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17793 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17794 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17795 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17796 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17797 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17798 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17799 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17800 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17801 wine_fn_config_dll d3dim enable_d3dim
17802 wine_fn_config_dll d3drm enable_d3drm implib
17803 wine_fn_config_test dlls/d3drm/tests d3drm_test
17804 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17805 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17806 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17807 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17808 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17809 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17810 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17811 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17812 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17813 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17814 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17815 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17816 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17817 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17818 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17819 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17820 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17821 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17822 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17823 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17824 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17825 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17826 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17827 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17828 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17829 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17830 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17831 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17832 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17833 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17834 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17835 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17836 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17837 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17838 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17839 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17840 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17841 wine_fn_config_dll davclnt enable_davclnt
17842 wine_fn_config_dll dbgeng enable_dbgeng implib
17843 wine_fn_config_dll dbghelp enable_dbghelp implib
17844 wine_fn_config_dll dciman32 enable_dciman32 implib
17845 wine_fn_config_dll ddeml.dll16 enable_win16
17846 wine_fn_config_dll ddraw enable_ddraw clean,implib
17847 wine_fn_config_test dlls/ddraw/tests ddraw_test
17848 wine_fn_config_dll ddrawex enable_ddrawex clean
17849 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17850 wine_fn_config_dll devenum enable_devenum clean
17851 wine_fn_config_test dlls/devenum/tests devenum_test
17852 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17853 wine_fn_config_dll difxapi enable_difxapi
17854 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17855 wine_fn_config_test dlls/dinput/tests dinput_test
17856 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17857 wine_fn_config_test dlls/dinput8/tests dinput8_test
17858 wine_fn_config_dll dispdib.dll16 enable_win16
17859 wine_fn_config_dll dispex enable_dispex clean
17860 wine_fn_config_test dlls/dispex/tests dispex_test
17861 wine_fn_config_dll display.drv16 enable_win16
17862 wine_fn_config_dll dmband enable_dmband clean
17863 wine_fn_config_test dlls/dmband/tests dmband_test
17864 wine_fn_config_dll dmcompos enable_dmcompos clean
17865 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17866 wine_fn_config_dll dmime enable_dmime clean
17867 wine_fn_config_test dlls/dmime/tests dmime_test
17868 wine_fn_config_dll dmloader enable_dmloader clean
17869 wine_fn_config_test dlls/dmloader/tests dmloader_test
17870 wine_fn_config_dll dmscript enable_dmscript clean
17871 wine_fn_config_test dlls/dmscript/tests dmscript_test
17872 wine_fn_config_dll dmstyle enable_dmstyle clean
17873 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17874 wine_fn_config_dll dmsynth enable_dmsynth clean
17875 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17876 wine_fn_config_dll dmusic enable_dmusic clean
17877 wine_fn_config_test dlls/dmusic/tests dmusic_test
17878 wine_fn_config_dll dmusic32 enable_dmusic32
17879 wine_fn_config_dll dnsapi enable_dnsapi implib
17880 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17881 wine_fn_config_dll dplay enable_dplay
17882 wine_fn_config_dll dplayx enable_dplayx clean,implib
17883 wine_fn_config_test dlls/dplayx/tests dplayx_test
17884 wine_fn_config_dll dpnaddr enable_dpnaddr
17885 wine_fn_config_dll dpnet enable_dpnet clean,implib
17886 wine_fn_config_test dlls/dpnet/tests dpnet_test
17887 wine_fn_config_dll dpnhpast enable_dpnhpast
17888 wine_fn_config_dll dpnlobby enable_dpnlobby
17889 wine_fn_config_dll dpvoice enable_dpvoice clean
17890 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17891 wine_fn_config_dll dpwsockx enable_dpwsockx
17892 wine_fn_config_dll drmclien enable_drmclien
17893 wine_fn_config_dll dsound enable_dsound clean,implib
17894 wine_fn_config_test dlls/dsound/tests dsound_test
17895 wine_fn_config_dll dssenh enable_dssenh
17896 wine_fn_config_test dlls/dssenh/tests dssenh_test
17897 wine_fn_config_dll dswave enable_dswave clean
17898 wine_fn_config_test dlls/dswave/tests dswave_test
17899 wine_fn_config_dll dwmapi enable_dwmapi implib
17900 wine_fn_config_dll dwrite enable_dwrite implib
17901 wine_fn_config_test dlls/dwrite/tests dwrite_test
17902 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17903 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17904 wine_fn_config_lib dxerr8
17905 wine_fn_config_lib dxerr9
17906 wine_fn_config_dll dxgi enable_dxgi implib
17907 wine_fn_config_test dlls/dxgi/tests dxgi_test
17908 wine_fn_config_lib dxguid
17909 wine_fn_config_dll dxva2 enable_dxva2
17910 wine_fn_config_dll esent enable_esent
17911 wine_fn_config_dll evr enable_evr
17912 wine_fn_config_dll explorerframe enable_explorerframe clean
17913 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17914 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17915 wine_fn_config_dll faultrep enable_faultrep implib
17916 wine_fn_config_test dlls/faultrep/tests faultrep_test
17917 wine_fn_config_dll fltlib enable_fltlib
17918 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17919 wine_fn_config_dll fntcache enable_fntcache
17920 wine_fn_config_dll fontsub enable_fontsub
17921 wine_fn_config_dll fusion enable_fusion
17922 wine_fn_config_test dlls/fusion/tests fusion_test
17923 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17924 wine_fn_config_dll gameux enable_gameux clean
17925 wine_fn_config_test dlls/gameux/tests gameux_test
17926 wine_fn_config_dll gdi.exe16 enable_win16
17927 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17928 wine_fn_config_test dlls/gdi32/tests gdi32_test
17929 wine_fn_config_dll gdiplus enable_gdiplus implib
17930 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17931 wine_fn_config_dll glu32 enable_glu32 implib
17932 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17933 wine_fn_config_dll gpkcsp enable_gpkcsp
17934 wine_fn_config_dll hal enable_hal
17935 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17936 wine_fn_config_dll hid enable_hid implib
17937 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17938 wine_fn_config_dll hlink enable_hlink clean,implib
17939 wine_fn_config_test dlls/hlink/tests hlink_test
17940 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17941 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17942 wine_fn_config_dll httpapi enable_httpapi
17943 wine_fn_config_dll iccvid enable_iccvid clean
17944 wine_fn_config_dll icmp enable_icmp
17945 wine_fn_config_dll ieframe enable_ieframe clean,implib
17946 wine_fn_config_test dlls/ieframe/tests ieframe_test
17947 wine_fn_config_dll ifsmgr.vxd enable_win16
17948 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17949 wine_fn_config_dll imagehlp enable_imagehlp implib
17950 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17951 wine_fn_config_dll imm.dll16 enable_win16
17952 wine_fn_config_dll imm32 enable_imm32 implib
17953 wine_fn_config_test dlls/imm32/tests imm32_test
17954 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17955 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17956 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17957 wine_fn_config_dll inetmib1 enable_inetmib1
17958 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17959 wine_fn_config_dll infosoft enable_infosoft clean
17960 wine_fn_config_test dlls/infosoft/tests infosoft_test
17961 wine_fn_config_dll initpki enable_initpki
17962 wine_fn_config_dll inkobj enable_inkobj
17963 wine_fn_config_dll inseng enable_inseng clean
17964 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17965 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17966 wine_fn_config_dll iprop enable_iprop
17967 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17968 wine_fn_config_dll itircl enable_itircl
17969 wine_fn_config_dll itss enable_itss clean
17970 wine_fn_config_test dlls/itss/tests itss_test
17971 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17972 wine_fn_config_dll jscript enable_jscript clean
17973 wine_fn_config_test dlls/jscript/tests jscript_test
17974 wine_fn_config_dll jsproxy enable_jsproxy implib
17975 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17976 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17977 wine_fn_config_test dlls/kernel32/tests kernel32_test
17978 wine_fn_config_dll kernelbase enable_kernelbase
17979 wine_fn_config_dll keyboard.drv16 enable_win16
17980 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17981 wine_fn_config_dll ksuser enable_ksuser
17982 wine_fn_config_dll ktmw32 enable_ktmw32
17983 wine_fn_config_dll loadperf enable_loadperf implib
17984 wine_fn_config_dll localspl enable_localspl clean
17985 wine_fn_config_test dlls/localspl/tests localspl_test
17986 wine_fn_config_dll localui enable_localui clean
17987 wine_fn_config_test dlls/localui/tests localui_test
17988 wine_fn_config_dll lz32 enable_lz32 implib
17989 wine_fn_config_test dlls/lz32/tests lz32_test
17990 wine_fn_config_dll lzexpand.dll16 enable_win16
17991 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17992 wine_fn_config_test dlls/mapi32/tests mapi32_test
17993 wine_fn_config_dll mapistub enable_mapistub
17994 wine_fn_config_dll mciavi32 enable_mciavi32
17995 wine_fn_config_dll mcicda enable_mcicda
17996 wine_fn_config_dll mciqtz32 enable_mciqtz32
17997 wine_fn_config_dll mciseq enable_mciseq
17998 wine_fn_config_dll mciwave enable_mciwave
17999 wine_fn_config_dll mf enable_mf
18000 wine_fn_config_dll mfplat enable_mfplat
18001 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18002 wine_fn_config_dll mgmtapi enable_mgmtapi
18003 wine_fn_config_dll midimap enable_midimap
18004 wine_fn_config_dll mlang enable_mlang clean,implib
18005 wine_fn_config_test dlls/mlang/tests mlang_test
18006 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18007 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18008 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18009 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18010 wine_fn_config_dll mmdevldr.vxd enable_win16
18011 wine_fn_config_dll mmsystem.dll16 enable_win16
18012 wine_fn_config_dll monodebg.vxd enable_win16
18013 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18014 wine_fn_config_dll mouse.drv16 enable_win16
18015 wine_fn_config_dll mpr enable_mpr clean,implib
18016 wine_fn_config_test dlls/mpr/tests mpr_test
18017 wine_fn_config_dll mprapi enable_mprapi implib
18018 wine_fn_config_dll msacm.dll16 enable_win16
18019 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18020 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18021 wine_fn_config_test dlls/msacm32/tests msacm32_test
18022 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18023 wine_fn_config_dll msasn1 enable_msasn1 implib
18024 wine_fn_config_dll mscat32 enable_mscat32
18025 wine_fn_config_dll mscms enable_mscms implib
18026 wine_fn_config_test dlls/mscms/tests mscms_test
18027 wine_fn_config_dll mscoree enable_mscoree clean
18028 wine_fn_config_test dlls/mscoree/tests mscoree_test
18029 wine_fn_config_dll msctf enable_msctf clean
18030 wine_fn_config_test dlls/msctf/tests msctf_test
18031 wine_fn_config_dll msctfp enable_msctfp clean
18032 wine_fn_config_dll msdaps enable_msdaps clean
18033 wine_fn_config_dll msdelta enable_msdelta
18034 wine_fn_config_dll msdmo enable_msdmo implib
18035 wine_fn_config_test dlls/msdmo/tests msdmo_test
18036 wine_fn_config_dll msdrm enable_msdrm
18037 wine_fn_config_dll msftedit enable_msftedit
18038 wine_fn_config_dll msg711.acm enable_msg711_acm
18039 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18040 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18041 wine_fn_config_dll mshtml enable_mshtml clean,implib
18042 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18043 wine_fn_config_dll msi enable_msi clean,implib
18044 wine_fn_config_test dlls/msi/tests msi_test
18045 wine_fn_config_dll msident enable_msident clean
18046 wine_fn_config_dll msimg32 enable_msimg32 implib
18047 wine_fn_config_dll msimsg enable_msimsg
18048 wine_fn_config_dll msimtf enable_msimtf clean
18049 wine_fn_config_dll msisip enable_msisip
18050 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18051 wine_fn_config_dll msls31 enable_msls31
18052 wine_fn_config_dll msnet32 enable_msnet32
18053 wine_fn_config_dll mspatcha enable_mspatcha implib
18054 wine_fn_config_dll msports enable_msports
18055 wine_fn_config_dll msrle32 enable_msrle32 clean
18056 wine_fn_config_test dlls/msrle32/tests msrle32_test
18057 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18058 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18059 wine_fn_config_dll mssign32 enable_mssign32
18060 wine_fn_config_dll mssip32 enable_mssip32
18061 wine_fn_config_dll mstask enable_mstask clean
18062 wine_fn_config_test dlls/mstask/tests mstask_test
18063 wine_fn_config_dll msvcirt enable_msvcirt
18064 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18065 wine_fn_config_dll msvcm80 enable_msvcm80
18066 wine_fn_config_dll msvcm90 enable_msvcm90
18067 wine_fn_config_dll msvcp100 enable_msvcp100
18068 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18069 wine_fn_config_dll msvcp110 enable_msvcp110
18070 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18071 wine_fn_config_dll msvcp120 enable_msvcp120
18072 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18073 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18074 wine_fn_config_dll msvcp140 enable_msvcp140
18075 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18076 wine_fn_config_dll msvcp60 enable_msvcp60
18077 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18078 wine_fn_config_dll msvcp70 enable_msvcp70
18079 wine_fn_config_dll msvcp71 enable_msvcp71
18080 wine_fn_config_dll msvcp80 enable_msvcp80
18081 wine_fn_config_dll msvcp90 enable_msvcp90
18082 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18083 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18084 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18085 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18086 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18087 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18088 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18089 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18090 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18091 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18092 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18093 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18094 wine_fn_config_dll msvcrt enable_msvcrt implib
18095 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18096 wine_fn_config_dll msvcrt20 enable_msvcrt20
18097 wine_fn_config_dll msvcrt40 enable_msvcrt40
18098 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18099 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18100 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18101 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18102 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18103 wine_fn_config_dll msvideo.dll16 enable_win16
18104 wine_fn_config_dll mswsock enable_mswsock implib
18105 wine_fn_config_dll msxml enable_msxml clean
18106 wine_fn_config_dll msxml2 enable_msxml2 clean
18107 wine_fn_config_dll msxml3 enable_msxml3 clean
18108 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18109 wine_fn_config_dll msxml4 enable_msxml4 clean
18110 wine_fn_config_dll msxml6 enable_msxml6 clean
18111 wine_fn_config_dll ncrypt enable_ncrypt
18112 wine_fn_config_dll nddeapi enable_nddeapi implib
18113 wine_fn_config_dll ndis.sys enable_ndis_sys
18114 wine_fn_config_dll netapi32 enable_netapi32 implib
18115 wine_fn_config_test dlls/netapi32/tests netapi32_test
18116 wine_fn_config_dll netcfgx enable_netcfgx clean
18117 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18118 wine_fn_config_dll netprofm enable_netprofm clean
18119 wine_fn_config_test dlls/netprofm/tests netprofm_test
18120 wine_fn_config_dll newdev enable_newdev implib
18121 wine_fn_config_dll normaliz enable_normaliz implib
18122 wine_fn_config_dll npmshtml enable_npmshtml
18123 wine_fn_config_dll npptools enable_npptools
18124 wine_fn_config_dll ntdll enable_ntdll implib
18125 wine_fn_config_test dlls/ntdll/tests ntdll_test
18126 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18127 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18128 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18129 wine_fn_config_dll ntprint enable_ntprint
18130 wine_fn_config_test dlls/ntprint/tests ntprint_test
18131 wine_fn_config_dll objsel enable_objsel clean
18132 wine_fn_config_dll odbc32 enable_odbc32 implib
18133 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18134 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18135 wine_fn_config_dll odbccu32 enable_odbccu32
18136 wine_fn_config_dll ole2.dll16 enable_win16
18137 wine_fn_config_dll ole2conv.dll16 enable_win16
18138 wine_fn_config_dll ole2disp.dll16 enable_win16
18139 wine_fn_config_dll ole2nls.dll16 enable_win16
18140 wine_fn_config_dll ole2prox.dll16 enable_win16
18141 wine_fn_config_dll ole2thk.dll16 enable_win16
18142 wine_fn_config_dll ole32 enable_ole32 clean,implib
18143 wine_fn_config_test dlls/ole32/tests ole32_test
18144 wine_fn_config_dll oleacc enable_oleacc clean,implib
18145 wine_fn_config_test dlls/oleacc/tests oleacc_test
18146 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18147 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18148 wine_fn_config_dll olecli.dll16 enable_win16
18149 wine_fn_config_dll olecli32 enable_olecli32 implib
18150 wine_fn_config_dll oledb32 enable_oledb32 clean
18151 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18152 wine_fn_config_dll oledlg enable_oledlg clean,implib
18153 wine_fn_config_test dlls/oledlg/tests oledlg_test
18154 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18155 wine_fn_config_dll olesvr.dll16 enable_win16
18156 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18157 wine_fn_config_dll olethk32 enable_olethk32
18158 wine_fn_config_dll openal32 enable_openal32
18159 wine_fn_config_dll opencl enable_opencl
18160 wine_fn_config_dll opengl32 enable_opengl32 implib
18161 wine_fn_config_test dlls/opengl32/tests opengl32_test
18162 wine_fn_config_dll packager enable_packager clean
18163 wine_fn_config_test dlls/packager/tests packager_test
18164 wine_fn_config_dll pdh enable_pdh implib
18165 wine_fn_config_test dlls/pdh/tests pdh_test
18166 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18167 wine_fn_config_dll pidgen enable_pidgen
18168 wine_fn_config_dll powrprof enable_powrprof implib
18169 wine_fn_config_dll printui enable_printui
18170 wine_fn_config_dll prntvpt enable_prntvpt
18171 wine_fn_config_dll propsys enable_propsys clean,implib
18172 wine_fn_config_test dlls/propsys/tests propsys_test
18173 wine_fn_config_dll psapi enable_psapi implib
18174 wine_fn_config_test dlls/psapi/tests psapi_test
18175 wine_fn_config_dll pstorec enable_pstorec clean
18176 wine_fn_config_dll qcap enable_qcap
18177 wine_fn_config_test dlls/qcap/tests qcap_test
18178 wine_fn_config_dll qedit enable_qedit clean
18179 wine_fn_config_test dlls/qedit/tests qedit_test
18180 wine_fn_config_dll qmgr enable_qmgr clean
18181 wine_fn_config_test dlls/qmgr/tests qmgr_test
18182 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18183 wine_fn_config_dll quartz enable_quartz clean,implib
18184 wine_fn_config_test dlls/quartz/tests quartz_test clean
18185 wine_fn_config_dll query enable_query
18186 wine_fn_config_dll rasapi16.dll16 enable_win16
18187 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18188 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18189 wine_fn_config_dll rasdlg enable_rasdlg implib
18190 wine_fn_config_dll regapi enable_regapi
18191 wine_fn_config_dll resutils enable_resutils implib
18192 wine_fn_config_dll riched20 enable_riched20 clean,implib
18193 wine_fn_config_test dlls/riched20/tests riched20_test
18194 wine_fn_config_dll riched32 enable_riched32
18195 wine_fn_config_test dlls/riched32/tests riched32_test
18196 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18197 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18198 wine_fn_config_dll rsabase enable_rsabase
18199 wine_fn_config_dll rsaenh enable_rsaenh implib
18200 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18201 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18202 wine_fn_config_dll rtutils enable_rtutils implib
18203 wine_fn_config_dll samlib enable_samlib
18204 wine_fn_config_dll sane.ds enable_sane_ds clean
18205 wine_fn_config_dll scarddlg enable_scarddlg
18206 wine_fn_config_dll sccbase enable_sccbase
18207 wine_fn_config_dll schannel enable_schannel
18208 wine_fn_config_test dlls/schannel/tests schannel_test
18209 wine_fn_config_dll schedsvc enable_schedsvc clean
18210 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18211 wine_fn_config_dll scrrun enable_scrrun clean
18212 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18213 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18214 wine_fn_config_dll secur32 enable_secur32 implib
18215 wine_fn_config_test dlls/secur32/tests secur32_test
18216 wine_fn_config_dll security enable_security
18217 wine_fn_config_dll sensapi enable_sensapi implib
18218 wine_fn_config_dll serialui enable_serialui clean
18219 wine_fn_config_test dlls/serialui/tests serialui_test
18220 wine_fn_config_dll setupapi enable_setupapi clean,implib
18221 wine_fn_config_test dlls/setupapi/tests setupapi_test
18222 wine_fn_config_dll setupx.dll16 enable_win16
18223 wine_fn_config_dll sfc enable_sfc implib
18224 wine_fn_config_dll sfc_os enable_sfc_os implib
18225 wine_fn_config_dll shdoclc enable_shdoclc clean
18226 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18227 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18228 wine_fn_config_dll shell.dll16 enable_win16
18229 wine_fn_config_dll shell32 enable_shell32 clean,implib
18230 wine_fn_config_test dlls/shell32/tests shell32_test
18231 wine_fn_config_dll shfolder enable_shfolder implib
18232 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18233 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18234 wine_fn_config_dll slbcsp enable_slbcsp
18235 wine_fn_config_dll slc enable_slc implib
18236 wine_fn_config_test dlls/slc/tests slc_test
18237 wine_fn_config_dll snmpapi enable_snmpapi implib
18238 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18239 wine_fn_config_dll softpub enable_softpub
18240 wine_fn_config_dll sound.drv16 enable_win16
18241 wine_fn_config_dll spoolss enable_spoolss implib
18242 wine_fn_config_test dlls/spoolss/tests spoolss_test
18243 wine_fn_config_dll sspicli enable_sspicli
18244 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18245 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18246 wine_fn_config_dll sti enable_sti clean,implib
18247 wine_fn_config_test dlls/sti/tests sti_test
18248 wine_fn_config_dll storage.dll16 enable_win16
18249 wine_fn_config_dll stress.dll16 enable_win16
18250 wine_fn_config_lib strmbase
18251 wine_fn_config_lib strmiids
18252 wine_fn_config_dll svrapi enable_svrapi
18253 wine_fn_config_dll sxs enable_sxs implib
18254 wine_fn_config_test dlls/sxs/tests sxs_test
18255 wine_fn_config_dll system.drv16 enable_win16
18256 wine_fn_config_dll t2embed enable_t2embed implib
18257 wine_fn_config_test dlls/t2embed/tests t2embed_test
18258 wine_fn_config_dll tapi32 enable_tapi32 implib
18259 wine_fn_config_dll taskschd enable_taskschd clean
18260 wine_fn_config_test dlls/taskschd/tests taskschd_test
18261 wine_fn_config_dll tdi.sys enable_tdi_sys
18262 wine_fn_config_dll toolhelp.dll16 enable_win16
18263 wine_fn_config_dll traffic enable_traffic
18264 wine_fn_config_dll twain.dll16 enable_win16
18265 wine_fn_config_dll twain_32 enable_twain_32
18266 wine_fn_config_test dlls/twain_32/tests twain_32_test
18267 wine_fn_config_dll typelib.dll16 enable_win16
18268 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18269 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18270 wine_fn_config_dll unicows enable_unicows implib
18271 wine_fn_config_dll updspapi enable_updspapi
18272 wine_fn_config_dll url enable_url implib
18273 wine_fn_config_dll urlmon enable_urlmon clean,implib
18274 wine_fn_config_test dlls/urlmon/tests urlmon_test
18275 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18276 wine_fn_config_dll user.exe16 enable_win16
18277 wine_fn_config_dll user32 enable_user32 clean,implib
18278 wine_fn_config_test dlls/user32/tests user32_test
18279 wine_fn_config_dll userenv enable_userenv implib
18280 wine_fn_config_test dlls/userenv/tests userenv_test
18281 wine_fn_config_dll usp10 enable_usp10 implib
18282 wine_fn_config_test dlls/usp10/tests usp10_test
18283 wine_fn_config_lib uuid
18284 wine_fn_config_dll uxtheme enable_uxtheme implib
18285 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18286 wine_fn_config_dll vbscript enable_vbscript clean
18287 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18288 wine_fn_config_dll vcomp enable_vcomp
18289 wine_fn_config_test dlls/vcomp/tests vcomp_test
18290 wine_fn_config_dll vcomp100 enable_vcomp100
18291 wine_fn_config_dll vcomp110 enable_vcomp110
18292 wine_fn_config_dll vcomp120 enable_vcomp120
18293 wine_fn_config_dll vcomp140 enable_vcomp140
18294 wine_fn_config_dll vcomp90 enable_vcomp90
18295 wine_fn_config_dll vcruntime140 enable_vcruntime140
18296 wine_fn_config_dll vdhcp.vxd enable_win16
18297 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18298 wine_fn_config_dll ver.dll16 enable_win16
18299 wine_fn_config_dll version enable_version implib
18300 wine_fn_config_test dlls/version/tests version_test
18301 wine_fn_config_dll vmm.vxd enable_win16
18302 wine_fn_config_dll vnbt.vxd enable_win16
18303 wine_fn_config_dll vnetbios.vxd enable_win16
18304 wine_fn_config_dll vssapi enable_vssapi
18305 wine_fn_config_dll vtdapi.vxd enable_win16
18306 wine_fn_config_dll vwin32.vxd enable_win16
18307 wine_fn_config_dll w32skrnl enable_win16
18308 wine_fn_config_dll w32sys.dll16 enable_win16
18309 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18310 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18311 wine_fn_config_dll wbemprox enable_wbemprox clean
18312 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18313 wine_fn_config_dll webservices enable_webservices implib
18314 wine_fn_config_test dlls/webservices/tests webservices_test
18315 wine_fn_config_dll wer enable_wer implib
18316 wine_fn_config_test dlls/wer/tests wer_test
18317 wine_fn_config_dll wevtapi enable_wevtapi
18318 wine_fn_config_dll wiaservc enable_wiaservc clean
18319 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18320 wine_fn_config_dll wimgapi enable_wimgapi
18321 wine_fn_config_dll win32s16.dll16 enable_win16
18322 wine_fn_config_dll win87em.dll16 enable_win16
18323 wine_fn_config_dll winaspi.dll16 enable_win16
18324 wine_fn_config_dll windebug.dll16 enable_win16
18325 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18326 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18327 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18328 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18329 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18330 wine_fn_config_dll winebus.sys enable_winebus_sys
18331 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18332 wine_fn_config_lib winecrt0
18333 wine_fn_config_dll wined3d enable_wined3d implib
18334 wine_fn_config_dll winegstreamer enable_winegstreamer
18335 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18336 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18337 wine_fn_config_dll winemapi enable_winemapi
18338 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18339 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18340 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18341 wine_fn_config_dll wineps16.drv16 enable_win16
18342 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18343 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18344 wine_fn_config_dll winex11.drv enable_winex11_drv
18345 wine_fn_config_dll wing.dll16 enable_win16
18346 wine_fn_config_dll wing32 enable_wing32
18347 wine_fn_config_dll winhttp enable_winhttp clean,implib
18348 wine_fn_config_test dlls/winhttp/tests winhttp_test
18349 wine_fn_config_dll wininet enable_wininet clean,implib
18350 wine_fn_config_test dlls/wininet/tests wininet_test
18351 wine_fn_config_dll winmm enable_winmm clean,implib
18352 wine_fn_config_test dlls/winmm/tests winmm_test
18353 wine_fn_config_dll winnls.dll16 enable_win16
18354 wine_fn_config_dll winnls32 enable_winnls32 implib
18355 wine_fn_config_dll winscard enable_winscard implib
18356 wine_fn_config_dll winsock.dll16 enable_win16
18357 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18358 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18359 wine_fn_config_dll winsta enable_winsta
18360 wine_fn_config_dll wintab.dll16 enable_win16
18361 wine_fn_config_dll wintab32 enable_wintab32 implib
18362 wine_fn_config_test dlls/wintab32/tests wintab32_test
18363 wine_fn_config_dll wintrust enable_wintrust implib
18364 wine_fn_config_test dlls/wintrust/tests wintrust_test
18365 wine_fn_config_dll wlanapi enable_wlanapi
18366 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18367 wine_fn_config_test dlls/wldap32/tests wldap32_test
18368 wine_fn_config_dll wmasf enable_wmasf
18369 wine_fn_config_dll wmi enable_wmi
18370 wine_fn_config_dll wmiutils enable_wmiutils clean
18371 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18372 wine_fn_config_dll wmp enable_wmp clean
18373 wine_fn_config_test dlls/wmp/tests wmp_test
18374 wine_fn_config_dll wmvcore enable_wmvcore
18375 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18376 wine_fn_config_dll wow32 enable_win16 implib
18377 wine_fn_config_dll wpc enable_wpc clean
18378 wine_fn_config_test dlls/wpc/tests wpc_test
18379 wine_fn_config_dll wpcap enable_wpcap
18380 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18381 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18382 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18383 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18384 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18385 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18386 wine_fn_config_dll wsock32 enable_wsock32 implib
18387 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18388 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18389 wine_fn_config_dll wuapi enable_wuapi clean
18390 wine_fn_config_dll wuaueng enable_wuaueng
18391 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18392 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18393 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18394 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18395 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18396 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18397 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18398 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18399 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18400 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18401 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18402 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18403 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18404 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18405 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18406 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18407 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18408 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18409 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18410 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18411 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18412 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18413 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18414 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18415 wine_fn_config_dll xinput1_1 enable_xinput1_1
18416 wine_fn_config_dll xinput1_2 enable_xinput1_2
18417 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18418 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18419 wine_fn_config_dll xinput1_4 enable_xinput1_4
18420 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18421 wine_fn_config_dll xmllite enable_xmllite implib
18422 wine_fn_config_test dlls/xmllite/tests xmllite_test
18423 wine_fn_config_dll xolehlp enable_xolehlp
18424 wine_fn_config_dll xpsprint enable_xpsprint
18425 wine_fn_config_dll xpssvcs enable_xpssvcs
18426 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18427 wine_fn_config_makefile include enable_include clean,install-dev
18428 wine_fn_config_makefile libs/port enable_libs_port
18429 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18430 wine_fn_config_makefile libs/wpp enable_libs_wpp
18431 wine_fn_config_makefile loader enable_loader clean,install-lib
18432 wine_fn_config_makefile po enable_po clean
18433 wine_fn_config_program arp enable_arp install
18434 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18435 wine_fn_config_program attrib enable_attrib clean,install
18436 wine_fn_config_program cabarc enable_cabarc install
18437 wine_fn_config_program cacls enable_cacls install
18438 wine_fn_config_program clock enable_clock clean,install
18439 wine_fn_config_program cmd enable_cmd clean,install
18440 wine_fn_config_test programs/cmd/tests cmd.exe_test
18441 wine_fn_config_program conhost enable_conhost install
18442 wine_fn_config_program control enable_control install
18443 wine_fn_config_program cscript enable_cscript clean,install
18444 wine_fn_config_program dpnsvr enable_dpnsvr install
18445 wine_fn_config_program dxdiag enable_dxdiag clean,install
18446 wine_fn_config_program eject enable_eject install
18447 wine_fn_config_program expand enable_expand install
18448 wine_fn_config_program explorer enable_explorer clean,install
18449 wine_fn_config_program extrac32 enable_extrac32 install
18450 wine_fn_config_program findstr enable_findstr install
18451 wine_fn_config_program fsutil enable_fsutil install
18452 wine_fn_config_program hh enable_hh install
18453 wine_fn_config_program hostname enable_hostname clean,install
18454 wine_fn_config_program icacls enable_icacls install
18455 wine_fn_config_program icinfo enable_icinfo install
18456 wine_fn_config_program iexplore enable_iexplore install
18457 wine_fn_config_program ipconfig enable_ipconfig clean,install
18458 wine_fn_config_program lodctr enable_lodctr install
18459 wine_fn_config_program mofcomp enable_mofcomp install
18460 wine_fn_config_program mshta enable_mshta install
18461 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18462 wine_fn_config_program msinfo32 enable_msinfo32 install
18463 wine_fn_config_program net enable_net clean,install
18464 wine_fn_config_program netsh enable_netsh install
18465 wine_fn_config_program netstat enable_netstat clean,install
18466 wine_fn_config_program ngen enable_ngen install
18467 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18468 wine_fn_config_program oleview enable_oleview clean,install
18469 wine_fn_config_program ping enable_ping install
18470 wine_fn_config_program plugplay enable_plugplay install
18471 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18472 wine_fn_config_program progman enable_progman clean,install
18473 wine_fn_config_program reg enable_reg clean,install
18474 wine_fn_config_test programs/reg/tests reg.exe_test
18475 wine_fn_config_program regasm enable_regasm install
18476 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18477 wine_fn_config_test programs/regedit/tests regedit.exe_test
18478 wine_fn_config_program regsvcs enable_regsvcs install
18479 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18480 wine_fn_config_program rpcss enable_rpcss clean,install
18481 wine_fn_config_program rundll.exe16 enable_win16 install
18482 wine_fn_config_program rundll32 enable_rundll32 install
18483 wine_fn_config_program sc enable_sc install
18484 wine_fn_config_program schtasks enable_schtasks install
18485 wine_fn_config_program sdbinst enable_sdbinst install
18486 wine_fn_config_program secedit enable_secedit install
18487 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18488 wine_fn_config_program services enable_services clean,install
18489 wine_fn_config_test programs/services/tests services.exe_test
18490 wine_fn_config_program shutdown enable_shutdown install
18491 wine_fn_config_program spoolsv enable_spoolsv install
18492 wine_fn_config_program start enable_start clean,install
18493 wine_fn_config_program subst enable_subst install
18494 wine_fn_config_program svchost enable_svchost install
18495 wine_fn_config_program systeminfo enable_systeminfo install
18496 wine_fn_config_program taskkill enable_taskkill clean,install
18497 wine_fn_config_program tasklist enable_tasklist install
18498 wine_fn_config_program taskmgr enable_taskmgr clean,install
18499 wine_fn_config_program termsv enable_termsv install
18500 wine_fn_config_program uninstaller enable_uninstaller clean,install
18501 wine_fn_config_program unlodctr enable_unlodctr install
18502 wine_fn_config_program view enable_view clean,install
18503 wine_fn_config_program wevtutil enable_wevtutil install
18504 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18505 wine_fn_config_program winebrowser enable_winebrowser install
18506 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18507 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18508 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18509 wine_fn_config_program winedevice enable_winedevice install
18510 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18511 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18512 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18513 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18514 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18515 wine_fn_config_program winetest enable_winetest clean
18516 wine_fn_config_program winevdm enable_win16 install
18517 wine_fn_config_program winhelp.exe16 enable_win16 install
18518 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18519 wine_fn_config_program winoldap.mod16 enable_win16 install
18520 wine_fn_config_program winver enable_winver install
18521 wine_fn_config_program wmic enable_wmic clean,install
18522 wine_fn_config_program wmplayer enable_wmplayer install
18523 wine_fn_config_program wordpad enable_wordpad clean,install
18524 wine_fn_config_program write enable_write clean,install
18525 wine_fn_config_program wscript enable_wscript clean,install
18526 wine_fn_config_test programs/wscript/tests wscript.exe_test
18527 wine_fn_config_program wusa enable_wusa install
18528 wine_fn_config_program xcopy enable_xcopy clean,install
18529 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18530 wine_fn_config_makefile server enable_server clean,install-lib
18531 wine_fn_config_tool tools clean
18532 wine_fn_config_tool tools/sfnt2fon clean
18533 wine_fn_config_tool tools/widl clean,install-dev
18534 wine_fn_config_tool tools/winebuild clean,install-dev
18535 wine_fn_config_tool tools/winedump clean,install-dev
18536 wine_fn_config_tool tools/winegcc clean,install-dev
18537 wine_fn_config_tool tools/winemaker clean,install-dev
18538 wine_fn_config_tool tools/wmc clean,install-dev
18539 wine_fn_config_tool tools/wrc clean,install-dev
18542 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18543 wine_fn_append_file CONFIGURE_TARGETS "tags"
18544 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18545 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18546 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18547 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18548 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18549 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18551 if test "x$enable_tools" != xno
18552 then
18553 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18554 ac_config_commands="$ac_config_commands tools/makedep"
18558 ac_config_commands="$ac_config_commands Makefile"
18561 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18565 if test "x$enable_maintainer_mode" = xyes
18566 then
18567 wine_fn_append_rule "configure: configure.ac aclocal.m4
18568 autoconf --warnings=all
18569 include/config.h.in: include/stamp-h.in
18570 include/stamp-h.in: configure.ac aclocal.m4
18571 autoheader --warnings=all
18572 @echo timestamp > \$@"
18575 if test "x$enable_tools" != xno
18576 then
18577 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18578 @./config.status tools/makedep
18579 Makefile: tools/makedep$ac_exeext"
18580 else
18581 wine_fn_append_rule "\$(MAKEDEP):
18582 @echo \"You need to run make in $TOOLSDIR first\" && false"
18585 if test -n "$with_wine64"
18586 then
18587 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18588 fonts server:
18589 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18590 $with_wine64/loader/wine:
18591 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18592 $with_wine64/loader/wine-preloader:
18593 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18594 clean::
18595 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18596 else
18597 WINELOADER_INSTALL="wine.inf"
18599 wine_fn_append_rule "install install-lib::
18600 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18601 uninstall::
18602 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18603 case $host_os in
18604 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18605 *) wine_fn_append_rule "install install-lib::
18606 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18607 uninstall::
18608 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18609 esac
18612 $as_echo " done" >&6
18613 cat >confcache <<\_ACEOF
18614 # This file is a shell script that caches the results of configure
18615 # tests run on this system so they can be shared between configure
18616 # scripts and configure runs, see configure's option --config-cache.
18617 # It is not useful on other systems. If it contains results you don't
18618 # want to keep, you may remove or edit it.
18620 # config.status only pays attention to the cache file if you give it
18621 # the --recheck option to rerun configure.
18623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18625 # following values.
18627 _ACEOF
18629 # The following way of writing the cache mishandles newlines in values,
18630 # but we know of no workaround that is simple, portable, and efficient.
18631 # So, we kill variables containing newlines.
18632 # Ultrix sh set writes to stderr and can't be redirected directly,
18633 # and sets the high bit in the cache file unless we assign to the vars.
18635 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18636 eval ac_val=\$$ac_var
18637 case $ac_val in #(
18638 *${as_nl}*)
18639 case $ac_var in #(
18640 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18641 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18642 esac
18643 case $ac_var in #(
18644 _ | IFS | as_nl) ;; #(
18645 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18646 *) { eval $ac_var=; unset $ac_var;} ;;
18647 esac ;;
18648 esac
18649 done
18651 (set) 2>&1 |
18652 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18653 *${as_nl}ac_space=\ *)
18654 # `set' does not quote correctly, so add quotes: double-quote
18655 # substitution turns \\\\ into \\, and sed turns \\ into \.
18656 sed -n \
18657 "s/'/'\\\\''/g;
18658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18659 ;; #(
18661 # `set' quotes correctly as required by POSIX, so do not add quotes.
18662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18664 esac |
18665 sort
18667 sed '
18668 /^ac_cv_env_/b end
18669 t clear
18670 :clear
18671 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18672 t end
18673 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18674 :end' >>confcache
18675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18676 if test -w "$cache_file"; then
18677 if test "x$cache_file" != "x/dev/null"; then
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18679 $as_echo "$as_me: updating cache $cache_file" >&6;}
18680 if test ! -f "$cache_file" || test -h "$cache_file"; then
18681 cat confcache >"$cache_file"
18682 else
18683 case $cache_file in #(
18684 */* | ?:*)
18685 mv -f confcache "$cache_file"$$ &&
18686 mv -f "$cache_file"$$ "$cache_file" ;; #(
18688 mv -f confcache "$cache_file" ;;
18689 esac
18692 else
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18694 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18697 rm -f confcache
18699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18700 # Let make expand exec_prefix.
18701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18703 DEFS=-DHAVE_CONFIG_H
18705 ac_libobjs=
18706 ac_ltlibobjs=
18708 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18709 # 1. Remove the extension, and $U if already installed.
18710 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18711 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18712 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18713 # will be set to the directory where LIBOBJS objects are built.
18714 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18715 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18716 done
18717 LIBOBJS=$ac_libobjs
18719 LTLIBOBJS=$ac_ltlibobjs
18723 : "${CONFIG_STATUS=./config.status}"
18724 ac_write_fail=0
18725 ac_clean_files_save=$ac_clean_files
18726 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18728 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18729 as_write_fail=0
18730 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18731 #! $SHELL
18732 # Generated by $as_me.
18733 # Run this file to recreate the current configuration.
18734 # Compiler output produced by configure, useful for debugging
18735 # configure, is in config.log if it exists.
18737 debug=false
18738 ac_cs_recheck=false
18739 ac_cs_silent=false
18741 SHELL=\${CONFIG_SHELL-$SHELL}
18742 export SHELL
18743 _ASEOF
18744 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18745 ## -------------------- ##
18746 ## M4sh Initialization. ##
18747 ## -------------------- ##
18749 # Be more Bourne compatible
18750 DUALCASE=1; export DUALCASE # for MKS sh
18751 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18752 emulate sh
18753 NULLCMD=:
18754 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18755 # is contrary to our usage. Disable this feature.
18756 alias -g '${1+"$@"}'='"$@"'
18757 setopt NO_GLOB_SUBST
18758 else
18759 case `(set -o) 2>/dev/null` in #(
18760 *posix*) :
18761 set -o posix ;; #(
18762 *) :
18764 esac
18768 as_nl='
18770 export as_nl
18771 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18772 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18775 # Prefer a ksh shell builtin over an external printf program on Solaris,
18776 # but without wasting forks for bash or zsh.
18777 if test -z "$BASH_VERSION$ZSH_VERSION" \
18778 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18779 as_echo='print -r --'
18780 as_echo_n='print -rn --'
18781 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18782 as_echo='printf %s\n'
18783 as_echo_n='printf %s'
18784 else
18785 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18786 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18787 as_echo_n='/usr/ucb/echo -n'
18788 else
18789 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18790 as_echo_n_body='eval
18791 arg=$1;
18792 case $arg in #(
18793 *"$as_nl"*)
18794 expr "X$arg" : "X\\(.*\\)$as_nl";
18795 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18796 esac;
18797 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18799 export as_echo_n_body
18800 as_echo_n='sh -c $as_echo_n_body as_echo'
18802 export as_echo_body
18803 as_echo='sh -c $as_echo_body as_echo'
18806 # The user is always right.
18807 if test "${PATH_SEPARATOR+set}" != set; then
18808 PATH_SEPARATOR=:
18809 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18810 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18811 PATH_SEPARATOR=';'
18816 # IFS
18817 # We need space, tab and new line, in precisely that order. Quoting is
18818 # there to prevent editors from complaining about space-tab.
18819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18820 # splitting by setting IFS to empty value.)
18821 IFS=" "" $as_nl"
18823 # Find who we are. Look in the path if we contain no directory separator.
18824 as_myself=
18825 case $0 in #((
18826 *[\\/]* ) as_myself=$0 ;;
18827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18828 for as_dir in $PATH
18830 IFS=$as_save_IFS
18831 test -z "$as_dir" && as_dir=.
18832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18833 done
18834 IFS=$as_save_IFS
18837 esac
18838 # We did not find ourselves, most probably we were run as `sh COMMAND'
18839 # in which case we are not to be found in the path.
18840 if test "x$as_myself" = x; then
18841 as_myself=$0
18843 if test ! -f "$as_myself"; then
18844 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18845 exit 1
18848 # Unset variables that we do not need and which cause bugs (e.g. in
18849 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18850 # suppresses any "Segmentation fault" message there. '((' could
18851 # trigger a bug in pdksh 5.2.14.
18852 for as_var in BASH_ENV ENV MAIL MAILPATH
18853 do eval test x\${$as_var+set} = xset \
18854 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18855 done
18856 PS1='$ '
18857 PS2='> '
18858 PS4='+ '
18860 # NLS nuisances.
18861 LC_ALL=C
18862 export LC_ALL
18863 LANGUAGE=C
18864 export LANGUAGE
18866 # CDPATH.
18867 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18870 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18871 # ----------------------------------------
18872 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18873 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18874 # script with STATUS, using 1 if that was 0.
18875 as_fn_error ()
18877 as_status=$1; test $as_status -eq 0 && as_status=1
18878 if test "$4"; then
18879 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18880 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18882 $as_echo "$as_me: error: $2" >&2
18883 as_fn_exit $as_status
18884 } # as_fn_error
18887 # as_fn_set_status STATUS
18888 # -----------------------
18889 # Set $? to STATUS, without forking.
18890 as_fn_set_status ()
18892 return $1
18893 } # as_fn_set_status
18895 # as_fn_exit STATUS
18896 # -----------------
18897 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18898 as_fn_exit ()
18900 set +e
18901 as_fn_set_status $1
18902 exit $1
18903 } # as_fn_exit
18905 # as_fn_unset VAR
18906 # ---------------
18907 # Portably unset VAR.
18908 as_fn_unset ()
18910 { eval $1=; unset $1;}
18912 as_unset=as_fn_unset
18913 # as_fn_append VAR VALUE
18914 # ----------------------
18915 # Append the text in VALUE to the end of the definition contained in VAR. Take
18916 # advantage of any shell optimizations that allow amortized linear growth over
18917 # repeated appends, instead of the typical quadratic growth present in naive
18918 # implementations.
18919 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18920 eval 'as_fn_append ()
18922 eval $1+=\$2
18924 else
18925 as_fn_append ()
18927 eval $1=\$$1\$2
18929 fi # as_fn_append
18931 # as_fn_arith ARG...
18932 # ------------------
18933 # Perform arithmetic evaluation on the ARGs, and store the result in the
18934 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18935 # must be portable across $(()) and expr.
18936 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18937 eval 'as_fn_arith ()
18939 as_val=$(( $* ))
18941 else
18942 as_fn_arith ()
18944 as_val=`expr "$@" || test $? -eq 1`
18946 fi # as_fn_arith
18949 if expr a : '\(a\)' >/dev/null 2>&1 &&
18950 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18951 as_expr=expr
18952 else
18953 as_expr=false
18956 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18957 as_basename=basename
18958 else
18959 as_basename=false
18962 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18963 as_dirname=dirname
18964 else
18965 as_dirname=false
18968 as_me=`$as_basename -- "$0" ||
18969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18970 X"$0" : 'X\(//\)$' \| \
18971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18972 $as_echo X/"$0" |
18973 sed '/^.*\/\([^/][^/]*\)\/*$/{
18974 s//\1/
18977 /^X\/\(\/\/\)$/{
18978 s//\1/
18981 /^X\/\(\/\).*/{
18982 s//\1/
18985 s/.*/./; q'`
18987 # Avoid depending upon Character Ranges.
18988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18991 as_cr_digits='0123456789'
18992 as_cr_alnum=$as_cr_Letters$as_cr_digits
18994 ECHO_C= ECHO_N= ECHO_T=
18995 case `echo -n x` in #(((((
18996 -n*)
18997 case `echo 'xy\c'` in
18998 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18999 xy) ECHO_C='\c';;
19000 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19001 ECHO_T=' ';;
19002 esac;;
19004 ECHO_N='-n';;
19005 esac
19007 rm -f conf$$ conf$$.exe conf$$.file
19008 if test -d conf$$.dir; then
19009 rm -f conf$$.dir/conf$$.file
19010 else
19011 rm -f conf$$.dir
19012 mkdir conf$$.dir 2>/dev/null
19014 if (echo >conf$$.file) 2>/dev/null; then
19015 if ln -s conf$$.file conf$$ 2>/dev/null; then
19016 as_ln_s='ln -s'
19017 # ... but there are two gotchas:
19018 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19019 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19020 # In both cases, we have to default to `cp -pR'.
19021 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19022 as_ln_s='cp -pR'
19023 elif ln conf$$.file conf$$ 2>/dev/null; then
19024 as_ln_s=ln
19025 else
19026 as_ln_s='cp -pR'
19028 else
19029 as_ln_s='cp -pR'
19031 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19032 rmdir conf$$.dir 2>/dev/null
19035 # as_fn_mkdir_p
19036 # -------------
19037 # Create "$as_dir" as a directory, including parents if necessary.
19038 as_fn_mkdir_p ()
19041 case $as_dir in #(
19042 -*) as_dir=./$as_dir;;
19043 esac
19044 test -d "$as_dir" || eval $as_mkdir_p || {
19045 as_dirs=
19046 while :; do
19047 case $as_dir in #(
19048 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19049 *) as_qdir=$as_dir;;
19050 esac
19051 as_dirs="'$as_qdir' $as_dirs"
19052 as_dir=`$as_dirname -- "$as_dir" ||
19053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19054 X"$as_dir" : 'X\(//\)[^/]' \| \
19055 X"$as_dir" : 'X\(//\)$' \| \
19056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19057 $as_echo X"$as_dir" |
19058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19059 s//\1/
19062 /^X\(\/\/\)[^/].*/{
19063 s//\1/
19066 /^X\(\/\/\)$/{
19067 s//\1/
19070 /^X\(\/\).*/{
19071 s//\1/
19074 s/.*/./; q'`
19075 test -d "$as_dir" && break
19076 done
19077 test -z "$as_dirs" || eval "mkdir $as_dirs"
19078 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19081 } # as_fn_mkdir_p
19082 if mkdir -p . 2>/dev/null; then
19083 as_mkdir_p='mkdir -p "$as_dir"'
19084 else
19085 test -d ./-p && rmdir ./-p
19086 as_mkdir_p=false
19090 # as_fn_executable_p FILE
19091 # -----------------------
19092 # Test if FILE is an executable regular file.
19093 as_fn_executable_p ()
19095 test -f "$1" && test -x "$1"
19096 } # as_fn_executable_p
19097 as_test_x='test -x'
19098 as_executable_p=as_fn_executable_p
19100 # Sed expression to map a string onto a valid CPP name.
19101 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19103 # Sed expression to map a string onto a valid variable name.
19104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19107 exec 6>&1
19108 ## ----------------------------------- ##
19109 ## Main body of $CONFIG_STATUS script. ##
19110 ## ----------------------------------- ##
19111 _ASEOF
19112 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19115 # Save the log message, to keep $0 and so on meaningful, and to
19116 # report actual input values of CONFIG_FILES etc. instead of their
19117 # values after options handling.
19118 ac_log="
19119 This file was extended by Wine $as_me 1.9.20, which was
19120 generated by GNU Autoconf 2.69. Invocation command line was
19122 CONFIG_FILES = $CONFIG_FILES
19123 CONFIG_HEADERS = $CONFIG_HEADERS
19124 CONFIG_LINKS = $CONFIG_LINKS
19125 CONFIG_COMMANDS = $CONFIG_COMMANDS
19126 $ $0 $@
19128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19131 _ACEOF
19133 case $ac_config_files in *"
19134 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19135 esac
19137 case $ac_config_headers in *"
19138 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19139 esac
19142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19143 # Files that config.status was made for.
19144 config_files="$ac_config_files"
19145 config_headers="$ac_config_headers"
19146 config_links="$ac_config_links"
19147 config_commands="$ac_config_commands"
19149 _ACEOF
19151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19152 ac_cs_usage="\
19153 \`$as_me' instantiates files and other configuration actions
19154 from templates according to the current configuration. Unless the files
19155 and actions are specified as TAGs, all are instantiated by default.
19157 Usage: $0 [OPTION]... [TAG]...
19159 -h, --help print this help, then exit
19160 -V, --version print version number and configuration settings, then exit
19161 --config print configuration, then exit
19162 -q, --quiet, --silent
19163 do not print progress messages
19164 -d, --debug don't remove temporary files
19165 --recheck update $as_me by reconfiguring in the same conditions
19166 --file=FILE[:TEMPLATE]
19167 instantiate the configuration file FILE
19168 --header=FILE[:TEMPLATE]
19169 instantiate the configuration header FILE
19171 Configuration files:
19172 $config_files
19174 Configuration headers:
19175 $config_headers
19177 Configuration links:
19178 $config_links
19180 Configuration commands:
19181 $config_commands
19183 Report bugs to <wine-devel@winehq.org>.
19184 Wine home page: <http://www.winehq.org>."
19186 _ACEOF
19187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19188 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19189 ac_cs_version="\\
19190 Wine config.status 1.9.20
19191 configured by $0, generated by GNU Autoconf 2.69,
19192 with options \\"\$ac_cs_config\\"
19194 Copyright (C) 2012 Free Software Foundation, Inc.
19195 This config.status script is free software; the Free Software Foundation
19196 gives unlimited permission to copy, distribute and modify it."
19198 ac_pwd='$ac_pwd'
19199 srcdir='$srcdir'
19200 test -n "\$AWK" || AWK=awk
19201 _ACEOF
19203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19204 # The default lists apply if the user does not specify any file.
19205 ac_need_defaults=:
19206 while test $# != 0
19208 case $1 in
19209 --*=?*)
19210 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19211 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19212 ac_shift=:
19214 --*=)
19215 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19216 ac_optarg=
19217 ac_shift=:
19220 ac_option=$1
19221 ac_optarg=$2
19222 ac_shift=shift
19224 esac
19226 case $ac_option in
19227 # Handling of the options.
19228 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19229 ac_cs_recheck=: ;;
19230 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19231 $as_echo "$ac_cs_version"; exit ;;
19232 --config | --confi | --conf | --con | --co | --c )
19233 $as_echo "$ac_cs_config"; exit ;;
19234 --debug | --debu | --deb | --de | --d | -d )
19235 debug=: ;;
19236 --file | --fil | --fi | --f )
19237 $ac_shift
19238 case $ac_optarg in
19239 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19240 '') as_fn_error $? "missing file argument" ;;
19241 esac
19242 as_fn_append CONFIG_FILES " '$ac_optarg'"
19243 ac_need_defaults=false;;
19244 --header | --heade | --head | --hea )
19245 $ac_shift
19246 case $ac_optarg in
19247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19248 esac
19249 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19250 ac_need_defaults=false;;
19251 --he | --h)
19252 # Conflict between --help and --header
19253 as_fn_error $? "ambiguous option: \`$1'
19254 Try \`$0 --help' for more information.";;
19255 --help | --hel | -h )
19256 $as_echo "$ac_cs_usage"; exit ;;
19257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19258 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19259 ac_cs_silent=: ;;
19261 # This is an error.
19262 -*) as_fn_error $? "unrecognized option: \`$1'
19263 Try \`$0 --help' for more information." ;;
19265 *) as_fn_append ac_config_targets " $1"
19266 ac_need_defaults=false ;;
19268 esac
19269 shift
19270 done
19272 ac_configure_extra_args=
19274 if $ac_cs_silent; then
19275 exec 6>/dev/null
19276 ac_configure_extra_args="$ac_configure_extra_args --silent"
19279 _ACEOF
19280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19281 if \$ac_cs_recheck; then
19282 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19283 shift
19284 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19285 CONFIG_SHELL='$SHELL'
19286 export CONFIG_SHELL
19287 exec "\$@"
19290 _ACEOF
19291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19292 exec 5>>config.log
19294 echo
19295 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19296 ## Running $as_me. ##
19297 _ASBOX
19298 $as_echo "$ac_log"
19299 } >&5
19301 _ACEOF
19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19304 # INIT-COMMANDS
19306 wine_fn_output_makedep ()
19308 as_dir=tools; as_fn_mkdir_p
19309 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19311 wine_fn_output_makefile ()
19313 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19314 `cat $wine_rules_file`
19315 _WINE_EOF
19316 as_fn_error $? "could not create Makefile" "$LINENO" 5
19319 _ACEOF
19321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19323 # Handling of arguments.
19324 for ac_config_target in $ac_config_targets
19326 case $ac_config_target in
19327 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19328 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19329 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19330 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19331 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19332 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19333 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19334 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19335 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19336 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19337 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19338 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19339 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19341 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19342 esac
19343 done
19346 # If the user did not use the arguments to specify the items to instantiate,
19347 # then the envvar interface is used. Set only those that are not.
19348 # We use the long form for the default assignment because of an extremely
19349 # bizarre bug on SunOS 4.1.3.
19350 if $ac_need_defaults; then
19351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19353 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19354 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19357 # Have a temporary directory for convenience. Make it in the build tree
19358 # simply because there is no reason against having it here, and in addition,
19359 # creating and moving files from /tmp can sometimes cause problems.
19360 # Hook for its removal unless debugging.
19361 # Note that there is a small window in which the directory will not be cleaned:
19362 # after its creation but before its name has been assigned to `$tmp'.
19363 $debug ||
19365 tmp= ac_tmp=
19366 trap 'exit_status=$?
19367 : "${ac_tmp:=$tmp}"
19368 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19370 trap 'as_fn_exit 1' 1 2 13 15
19372 # Create a (secure) tmp directory for tmp files.
19375 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19376 test -d "$tmp"
19377 } ||
19379 tmp=./conf$$-$RANDOM
19380 (umask 077 && mkdir "$tmp")
19381 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19382 ac_tmp=$tmp
19384 # Set up the scripts for CONFIG_FILES section.
19385 # No need to generate them if there are no CONFIG_FILES.
19386 # This happens for instance with `./config.status config.h'.
19387 if test -n "$CONFIG_FILES"; then
19390 ac_cr=`echo X | tr X '\015'`
19391 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19392 # But we know of no other shell where ac_cr would be empty at this
19393 # point, so we can use a bashism as a fallback.
19394 if test "x$ac_cr" = x; then
19395 eval ac_cr=\$\'\\r\'
19397 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19399 ac_cs_awk_cr='\\r'
19400 else
19401 ac_cs_awk_cr=$ac_cr
19404 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19405 _ACEOF
19409 echo "cat >conf$$subs.awk <<_ACEOF" &&
19410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19411 echo "_ACEOF"
19412 } >conf$$subs.sh ||
19413 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19414 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19415 ac_delim='%!_!# '
19416 for ac_last_try in false false false false false :; do
19417 . ./conf$$subs.sh ||
19418 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19420 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19421 if test $ac_delim_n = $ac_delim_num; then
19422 break
19423 elif $ac_last_try; then
19424 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19425 else
19426 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19428 done
19429 rm -f conf$$subs.sh
19431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19432 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19433 _ACEOF
19434 sed -n '
19436 s/^/S["/; s/!.*/"]=/
19439 s/^[^!]*!//
19440 :repl
19441 t repl
19442 s/'"$ac_delim"'$//
19443 t delim
19446 s/\(.\{148\}\)..*/\1/
19447 t more1
19448 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19451 b repl
19452 :more1
19453 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19456 s/.\{148\}//
19457 t nl
19458 :delim
19460 s/\(.\{148\}\)..*/\1/
19461 t more2
19462 s/["\\]/\\&/g; s/^/"/; s/$/"/
19465 :more2
19466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19469 s/.\{148\}//
19470 t delim
19471 ' <conf$$subs.awk | sed '
19472 /^[^""]/{
19474 s/\n//
19476 ' >>$CONFIG_STATUS || ac_write_fail=1
19477 rm -f conf$$subs.awk
19478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19479 _ACAWK
19480 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19481 for (key in S) S_is_set[key] = 1
19482 FS = "\a"
19486 line = $ 0
19487 nfields = split(line, field, "@")
19488 substed = 0
19489 len = length(field[1])
19490 for (i = 2; i < nfields; i++) {
19491 key = field[i]
19492 keylen = length(key)
19493 if (S_is_set[key]) {
19494 value = S[key]
19495 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19496 len += length(value) + length(field[++i])
19497 substed = 1
19498 } else
19499 len += 1 + keylen
19502 print line
19505 _ACAWK
19506 _ACEOF
19507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19508 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19509 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19510 else
19512 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19513 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19514 _ACEOF
19516 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19517 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19518 # trailing colons and then remove the whole line if VPATH becomes empty
19519 # (actually we leave an empty line to preserve line numbers).
19520 if test "x$srcdir" = x.; then
19521 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19523 s///
19524 s/^/:/
19525 s/[ ]*$/:/
19526 s/:\$(srcdir):/:/g
19527 s/:\${srcdir}:/:/g
19528 s/:@srcdir@:/:/g
19529 s/^:*//
19530 s/:*$//
19532 s/\(=[ ]*\).*/\1/
19534 s/\n//
19535 s/^[^=]*=[ ]*$//
19539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19540 fi # test -n "$CONFIG_FILES"
19542 # Set up the scripts for CONFIG_HEADERS section.
19543 # No need to generate them if there are no CONFIG_HEADERS.
19544 # This happens for instance with `./config.status Makefile'.
19545 if test -n "$CONFIG_HEADERS"; then
19546 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19547 BEGIN {
19548 _ACEOF
19550 # Transform confdefs.h into an awk script `defines.awk', embedded as
19551 # here-document in config.status, that substitutes the proper values into
19552 # config.h.in to produce config.h.
19554 # Create a delimiter string that does not exist in confdefs.h, to ease
19555 # handling of long lines.
19556 ac_delim='%!_!# '
19557 for ac_last_try in false false :; do
19558 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19559 if test -z "$ac_tt"; then
19560 break
19561 elif $ac_last_try; then
19562 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19563 else
19564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19566 done
19568 # For the awk script, D is an array of macro values keyed by name,
19569 # likewise P contains macro parameters if any. Preserve backslash
19570 # newline sequences.
19572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19573 sed -n '
19574 s/.\{148\}/&'"$ac_delim"'/g
19575 t rset
19576 :rset
19577 s/^[ ]*#[ ]*define[ ][ ]*/ /
19578 t def
19580 :def
19581 s/\\$//
19582 t bsnl
19583 s/["\\]/\\&/g
19584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19585 D["\1"]=" \3"/p
19586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19588 :bsnl
19589 s/["\\]/\\&/g
19590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19591 D["\1"]=" \3\\\\\\n"\\/p
19592 t cont
19593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19594 t cont
19596 :cont
19598 s/.\{148\}/&'"$ac_delim"'/g
19599 t clear
19600 :clear
19601 s/\\$//
19602 t bsnlc
19603 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19605 :bsnlc
19606 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19607 b cont
19608 ' <confdefs.h | sed '
19609 s/'"$ac_delim"'/"\\\
19610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19613 for (key in D) D_is_set[key] = 1
19614 FS = "\a"
19616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19617 line = \$ 0
19618 split(line, arg, " ")
19619 if (arg[1] == "#") {
19620 defundef = arg[2]
19621 mac1 = arg[3]
19622 } else {
19623 defundef = substr(arg[1], 2)
19624 mac1 = arg[2]
19626 split(mac1, mac2, "(") #)
19627 macro = mac2[1]
19628 prefix = substr(line, 1, index(line, defundef) - 1)
19629 if (D_is_set[macro]) {
19630 # Preserve the white space surrounding the "#".
19631 print prefix "define", macro P[macro] D[macro]
19632 next
19633 } else {
19634 # Replace #undef with comments. This is necessary, for example,
19635 # in the case of _POSIX_SOURCE, which is predefined and required
19636 # on some systems where configure will not decide to define it.
19637 if (defundef == "undef") {
19638 print "/*", prefix defundef, macro, "*/"
19639 next
19643 { print }
19644 _ACAWK
19645 _ACEOF
19646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19647 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19648 fi # test -n "$CONFIG_HEADERS"
19651 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19652 shift
19653 for ac_tag
19655 case $ac_tag in
19656 :[FHLC]) ac_mode=$ac_tag; continue;;
19657 esac
19658 case $ac_mode$ac_tag in
19659 :[FHL]*:*);;
19660 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19661 :[FH]-) ac_tag=-:-;;
19662 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19663 esac
19664 ac_save_IFS=$IFS
19665 IFS=:
19666 set x $ac_tag
19667 IFS=$ac_save_IFS
19668 shift
19669 ac_file=$1
19670 shift
19672 case $ac_mode in
19673 :L) ac_source=$1;;
19674 :[FH])
19675 ac_file_inputs=
19676 for ac_f
19678 case $ac_f in
19679 -) ac_f="$ac_tmp/stdin";;
19680 *) # Look for the file first in the build tree, then in the source tree
19681 # (if the path is not absolute). The absolute path cannot be DOS-style,
19682 # because $ac_f cannot contain `:'.
19683 test -f "$ac_f" ||
19684 case $ac_f in
19685 [\\/$]*) false;;
19686 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19687 esac ||
19688 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19689 esac
19690 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19691 as_fn_append ac_file_inputs " '$ac_f'"
19692 done
19694 # Let's still pretend it is `configure' which instantiates (i.e., don't
19695 # use $as_me), people would be surprised to read:
19696 # /* config.h. Generated by config.status. */
19697 configure_input='Generated from '`
19698 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19699 `' by configure.'
19700 if test x"$ac_file" != x-; then
19701 configure_input="$ac_file. $configure_input"
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19703 $as_echo "$as_me: creating $ac_file" >&6;}
19705 # Neutralize special characters interpreted by sed in replacement strings.
19706 case $configure_input in #(
19707 *\&* | *\|* | *\\* )
19708 ac_sed_conf_input=`$as_echo "$configure_input" |
19709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19710 *) ac_sed_conf_input=$configure_input;;
19711 esac
19713 case $ac_tag in
19714 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19715 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19716 esac
19718 esac
19720 ac_dir=`$as_dirname -- "$ac_file" ||
19721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19722 X"$ac_file" : 'X\(//\)[^/]' \| \
19723 X"$ac_file" : 'X\(//\)$' \| \
19724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19725 $as_echo X"$ac_file" |
19726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19727 s//\1/
19730 /^X\(\/\/\)[^/].*/{
19731 s//\1/
19734 /^X\(\/\/\)$/{
19735 s//\1/
19738 /^X\(\/\).*/{
19739 s//\1/
19742 s/.*/./; q'`
19743 as_dir="$ac_dir"; as_fn_mkdir_p
19744 ac_builddir=.
19746 case "$ac_dir" in
19747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19749 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19750 # A ".." for each directory in $ac_dir_suffix.
19751 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19752 case $ac_top_builddir_sub in
19753 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19754 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19755 esac ;;
19756 esac
19757 ac_abs_top_builddir=$ac_pwd
19758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19759 # for backward compatibility:
19760 ac_top_builddir=$ac_top_build_prefix
19762 case $srcdir in
19763 .) # We are building in place.
19764 ac_srcdir=.
19765 ac_top_srcdir=$ac_top_builddir_sub
19766 ac_abs_top_srcdir=$ac_pwd ;;
19767 [\\/]* | ?:[\\/]* ) # Absolute name.
19768 ac_srcdir=$srcdir$ac_dir_suffix;
19769 ac_top_srcdir=$srcdir
19770 ac_abs_top_srcdir=$srcdir ;;
19771 *) # Relative name.
19772 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19773 ac_top_srcdir=$ac_top_build_prefix$srcdir
19774 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19775 esac
19776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19779 case $ac_mode in
19782 # CONFIG_FILE
19785 _ACEOF
19787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19788 # If the template does not know about datarootdir, expand it.
19789 # FIXME: This hack should be removed a few years after 2.60.
19790 ac_datarootdir_hack=; ac_datarootdir_seen=
19791 ac_sed_dataroot='
19792 /datarootdir/ {
19796 /@datadir@/p
19797 /@docdir@/p
19798 /@infodir@/p
19799 /@localedir@/p
19800 /@mandir@/p'
19801 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19802 *datarootdir*) ac_datarootdir_seen=yes;;
19803 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19805 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19806 _ACEOF
19807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19808 ac_datarootdir_hack='
19809 s&@datadir@&$datadir&g
19810 s&@docdir@&$docdir&g
19811 s&@infodir@&$infodir&g
19812 s&@localedir@&$localedir&g
19813 s&@mandir@&$mandir&g
19814 s&\\\${datarootdir}&$datarootdir&g' ;;
19815 esac
19816 _ACEOF
19818 # Neutralize VPATH when `$srcdir' = `.'.
19819 # Shell code in configure.ac might set extrasub.
19820 # FIXME: do we really want to maintain this feature?
19821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19822 ac_sed_extra="$ac_vpsub
19823 $extrasub
19824 _ACEOF
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19827 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19828 s|@configure_input@|$ac_sed_conf_input|;t t
19829 s&@top_builddir@&$ac_top_builddir_sub&;t t
19830 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19831 s&@srcdir@&$ac_srcdir&;t t
19832 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19833 s&@top_srcdir@&$ac_top_srcdir&;t t
19834 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19835 s&@builddir@&$ac_builddir&;t t
19836 s&@abs_builddir@&$ac_abs_builddir&;t t
19837 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19838 $ac_datarootdir_hack
19840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19841 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19846 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19848 which seems to be undefined. Please make sure it is defined" >&5
19849 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19850 which seems to be undefined. Please make sure it is defined" >&2;}
19852 rm -f "$ac_tmp/stdin"
19853 case $ac_file in
19854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19856 esac \
19857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19861 # CONFIG_HEADER
19863 if test x"$ac_file" != x-; then
19865 $as_echo "/* $configure_input */" \
19866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19867 } >"$ac_tmp/config.h" \
19868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19871 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19872 else
19873 rm -f "$ac_file"
19874 mv "$ac_tmp/config.h" "$ac_file" \
19875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19877 else
19878 $as_echo "/* $configure_input */" \
19879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19880 || as_fn_error $? "could not create -" "$LINENO" 5
19885 # CONFIG_LINK
19888 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19890 else
19891 # Prefer the file from the source tree if names are identical.
19892 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19893 ac_source=$srcdir/$ac_source
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19897 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19899 if test ! -r "$ac_source"; then
19900 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19902 rm -f "$ac_file"
19904 # Try a relative symlink, then a hard link, then a copy.
19905 case $ac_source in
19906 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19907 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19908 esac
19909 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19910 ln "$ac_source" "$ac_file" 2>/dev/null ||
19911 cp -p "$ac_source" "$ac_file" ||
19912 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19915 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19916 $as_echo "$as_me: executing $ac_file commands" >&6;}
19918 esac
19921 case $ac_file$ac_mode in
19922 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19923 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19924 "Makefile":C) wine_fn_output_makefile Makefile ;;
19926 esac
19927 done # for ac_tag
19930 as_fn_exit 0
19931 _ACEOF
19932 ac_clean_files=$ac_clean_files_save
19934 test $ac_write_fail = 0 ||
19935 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19938 # configure is writing to config.log, and then calls config.status.
19939 # config.status does its own redirection, appending to config.log.
19940 # Unfortunately, on DOS this fails, as config.log is still kept open
19941 # by configure, so config.status won't be able to write to it; its
19942 # output is simply discarded. So we exec the FD to /dev/null,
19943 # effectively closing config.log, so it can be properly (re)opened and
19944 # appended to by config.status. When coming back to configure, we
19945 # need to make the FD available again.
19946 if test "$no_create" != yes; then
19947 ac_cs_success=:
19948 ac_config_status_args=
19949 test "$silent" = yes &&
19950 ac_config_status_args="$ac_config_status_args --quiet"
19951 exec 5>/dev/null
19952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19953 exec 5>>config.log
19954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19955 # would make configure fail if this is the last instruction.
19956 $ac_cs_success || as_fn_exit 1
19958 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19960 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19964 if test "$no_create" = "yes"
19965 then
19966 exit 0
19969 ac_save_IFS="$IFS"
19970 if test "x$wine_notices" != x; then
19971 echo >&6
19972 IFS="|"
19973 for msg in $wine_notices; do
19974 IFS="$ac_save_IFS"
19975 if ${msg:+false} :; then :
19977 else
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19979 $as_echo "$as_me: $msg" >&6;}
19981 done
19983 IFS="|"
19984 for msg in $wine_warnings; do
19985 IFS="$ac_save_IFS"
19986 if ${msg:+false} :; then :
19988 else
19989 echo >&2
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19991 $as_echo "$as_me: WARNING: $msg" >&2;}
19993 done
19994 IFS="$ac_save_IFS"
19996 $as_echo "
19997 $as_me: Finished. Do '${ac_make}' to compile Wine.
19998 " >&6