setupapi/tests: Try to delete pre-existing key.
[wine.git] / configure
blob0bda5d3d9ea87556b27a2a879323d668c2868080
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.18.
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.18'
584 PACKAGE_STRING='Wine 1.9.18'
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_com_l1_1_0
878 enable_api_ms_win_core_com_l1_1_1
879 enable_api_ms_win_core_console_l1_1_0
880 enable_api_ms_win_core_console_l2_1_0
881 enable_api_ms_win_core_datetime_l1_1_0
882 enable_api_ms_win_core_datetime_l1_1_1
883 enable_api_ms_win_core_debug_l1_1_0
884 enable_api_ms_win_core_debug_l1_1_1
885 enable_api_ms_win_core_delayload_l1_1_1
886 enable_api_ms_win_core_errorhandling_l1_1_0
887 enable_api_ms_win_core_errorhandling_l1_1_1
888 enable_api_ms_win_core_errorhandling_l1_1_2
889 enable_api_ms_win_core_fibers_l1_1_0
890 enable_api_ms_win_core_fibers_l1_1_1
891 enable_api_ms_win_core_file_l1_1_0
892 enable_api_ms_win_core_file_l1_2_0
893 enable_api_ms_win_core_file_l1_2_1
894 enable_api_ms_win_core_file_l2_1_0
895 enable_api_ms_win_core_file_l2_1_1
896 enable_api_ms_win_core_handle_l1_1_0
897 enable_api_ms_win_core_heap_l1_1_0
898 enable_api_ms_win_core_heap_l1_2_0
899 enable_api_ms_win_core_heap_obsolete_l1_1_0
900 enable_api_ms_win_core_interlocked_l1_1_0
901 enable_api_ms_win_core_interlocked_l1_2_0
902 enable_api_ms_win_core_io_l1_1_1
903 enable_api_ms_win_core_job_l1_1_0
904 enable_api_ms_win_core_job_l2_1_0
905 enable_api_ms_win_core_kernel32_legacy_l1_1_0
906 enable_api_ms_win_core_kernel32_legacy_l1_1_1
907 enable_api_ms_win_core_libraryloader_l1_1_0
908 enable_api_ms_win_core_libraryloader_l1_1_1
909 enable_api_ms_win_core_libraryloader_l1_2_0
910 enable_api_ms_win_core_localization_l1_1_0
911 enable_api_ms_win_core_localization_l1_2_0
912 enable_api_ms_win_core_localization_l1_2_1
913 enable_api_ms_win_core_localization_obsolete_l1_1_0
914 enable_api_ms_win_core_localization_obsolete_l1_2_0
915 enable_api_ms_win_core_localregistry_l1_1_0
916 enable_api_ms_win_core_memory_l1_1_0
917 enable_api_ms_win_core_memory_l1_1_1
918 enable_api_ms_win_core_memory_l1_1_2
919 enable_api_ms_win_core_misc_l1_1_0
920 enable_api_ms_win_core_namedpipe_l1_1_0
921 enable_api_ms_win_core_namedpipe_l1_2_0
922 enable_api_ms_win_core_namespace_l1_1_0
923 enable_api_ms_win_core_normalization_l1_1_0
924 enable_api_ms_win_core_path_l1_1_0
925 enable_api_ms_win_core_privateprofile_l1_1_1
926 enable_api_ms_win_core_processenvironment_l1_1_0
927 enable_api_ms_win_core_processenvironment_l1_2_0
928 enable_api_ms_win_core_processthreads_l1_1_0
929 enable_api_ms_win_core_processthreads_l1_1_1
930 enable_api_ms_win_core_processthreads_l1_1_2
931 enable_api_ms_win_core_profile_l1_1_0
932 enable_api_ms_win_core_psapi_l1_1_0
933 enable_api_ms_win_core_registry_l1_1_0
934 enable_api_ms_win_core_registryuserspecific_l1_1_0
935 enable_api_ms_win_core_rtlsupport_l1_1_0
936 enable_api_ms_win_core_rtlsupport_l1_2_0
937 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
938 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
939 enable_api_ms_win_core_sidebyside_l1_1_0
940 enable_api_ms_win_core_string_l1_1_0
941 enable_api_ms_win_core_string_l2_1_0
942 enable_api_ms_win_core_string_obsolete_l1_1_0
943 enable_api_ms_win_core_stringansi_l1_1_0
944 enable_api_ms_win_core_synch_l1_1_0
945 enable_api_ms_win_core_synch_l1_2_0
946 enable_api_ms_win_core_sysinfo_l1_1_0
947 enable_api_ms_win_core_sysinfo_l1_2_0
948 enable_api_ms_win_core_sysinfo_l1_2_1
949 enable_api_ms_win_core_threadpool_l1_2_0
950 enable_api_ms_win_core_threadpool_legacy_l1_1_0
951 enable_api_ms_win_core_timezone_l1_1_0
952 enable_api_ms_win_core_toolhelp_l1_1_0
953 enable_api_ms_win_core_url_l1_1_0
954 enable_api_ms_win_core_util_l1_1_0
955 enable_api_ms_win_core_version_l1_1_0
956 enable_api_ms_win_core_versionansi_l1_1_0
957 enable_api_ms_win_core_winrt_error_l1_1_0
958 enable_api_ms_win_core_winrt_error_l1_1_1
959 enable_api_ms_win_core_winrt_l1_1_0
960 enable_api_ms_win_core_winrt_registration_l1_1_0
961 enable_api_ms_win_core_winrt_string_l1_1_0
962 enable_api_ms_win_core_wow64_l1_1_0
963 enable_api_ms_win_core_xstate_l2_1_0
964 enable_api_ms_win_crt_conio_l1_1_0
965 enable_api_ms_win_crt_convert_l1_1_0
966 enable_api_ms_win_crt_environment_l1_1_0
967 enable_api_ms_win_crt_filesystem_l1_1_0
968 enable_api_ms_win_crt_heap_l1_1_0
969 enable_api_ms_win_crt_locale_l1_1_0
970 enable_api_ms_win_crt_math_l1_1_0
971 enable_api_ms_win_crt_multibyte_l1_1_0
972 enable_api_ms_win_crt_private_l1_1_0
973 enable_api_ms_win_crt_process_l1_1_0
974 enable_api_ms_win_crt_runtime_l1_1_0
975 enable_api_ms_win_crt_stdio_l1_1_0
976 enable_api_ms_win_crt_string_l1_1_0
977 enable_api_ms_win_crt_time_l1_1_0
978 enable_api_ms_win_crt_utility_l1_1_0
979 enable_api_ms_win_downlevel_advapi32_l1_1_0
980 enable_api_ms_win_downlevel_advapi32_l2_1_0
981 enable_api_ms_win_downlevel_normaliz_l1_1_0
982 enable_api_ms_win_downlevel_ole32_l1_1_0
983 enable_api_ms_win_downlevel_shell32_l1_1_0
984 enable_api_ms_win_downlevel_shlwapi_l1_1_0
985 enable_api_ms_win_downlevel_shlwapi_l2_1_0
986 enable_api_ms_win_downlevel_user32_l1_1_0
987 enable_api_ms_win_downlevel_version_l1_1_0
988 enable_api_ms_win_eventing_classicprovider_l1_1_0
989 enable_api_ms_win_eventing_provider_l1_1_0
990 enable_api_ms_win_eventlog_legacy_l1_1_0
991 enable_api_ms_win_ntuser_dc_access_l1_1_0
992 enable_api_ms_win_security_base_l1_1_0
993 enable_api_ms_win_security_base_l1_2_0
994 enable_api_ms_win_security_lsalookup_l1_1_0
995 enable_api_ms_win_security_lsalookup_l1_1_1
996 enable_api_ms_win_security_sddl_l1_1_0
997 enable_api_ms_win_service_core_l1_1_1
998 enable_api_ms_win_service_management_l1_1_0
999 enable_api_ms_win_service_winsvc_l1_2_0
1000 enable_api_ms_win_shell_shellfolders_l1_1_0
1001 enable_apphelp
1002 enable_appwiz_cpl
1003 enable_atl
1004 enable_atl100
1005 enable_atl110
1006 enable_atl80
1007 enable_atl90
1008 enable_authz
1009 enable_avicap32
1010 enable_avifil32
1011 enable_avrt
1012 enable_bcrypt
1013 enable_bluetoothapis
1014 enable_browseui
1015 enable_bthprops_cpl
1016 enable_cabinet
1017 enable_capi2032
1018 enable_cards
1019 enable_cfgmgr32
1020 enable_clusapi
1021 enable_combase
1022 enable_comcat
1023 enable_comctl32
1024 enable_comdlg32
1025 enable_compstui
1026 enable_comsvcs
1027 enable_concrt140
1028 enable_connect
1029 enable_credui
1030 enable_crtdll
1031 enable_crypt32
1032 enable_cryptdlg
1033 enable_cryptdll
1034 enable_cryptext
1035 enable_cryptnet
1036 enable_cryptui
1037 enable_ctapi32
1038 enable_ctl3d32
1039 enable_d2d1
1040 enable_d3d10
1041 enable_d3d10_1
1042 enable_d3d10core
1043 enable_d3d11
1044 enable_d3d8
1045 enable_d3d9
1046 enable_d3dcompiler_33
1047 enable_d3dcompiler_34
1048 enable_d3dcompiler_35
1049 enable_d3dcompiler_36
1050 enable_d3dcompiler_37
1051 enable_d3dcompiler_38
1052 enable_d3dcompiler_39
1053 enable_d3dcompiler_40
1054 enable_d3dcompiler_41
1055 enable_d3dcompiler_42
1056 enable_d3dcompiler_43
1057 enable_d3dcompiler_46
1058 enable_d3dcompiler_47
1059 enable_d3dim
1060 enable_d3drm
1061 enable_d3dx10_33
1062 enable_d3dx10_34
1063 enable_d3dx10_35
1064 enable_d3dx10_36
1065 enable_d3dx10_37
1066 enable_d3dx10_38
1067 enable_d3dx10_39
1068 enable_d3dx10_40
1069 enable_d3dx10_41
1070 enable_d3dx10_42
1071 enable_d3dx10_43
1072 enable_d3dx11_42
1073 enable_d3dx11_43
1074 enable_d3dx9_24
1075 enable_d3dx9_25
1076 enable_d3dx9_26
1077 enable_d3dx9_27
1078 enable_d3dx9_28
1079 enable_d3dx9_29
1080 enable_d3dx9_30
1081 enable_d3dx9_31
1082 enable_d3dx9_32
1083 enable_d3dx9_33
1084 enable_d3dx9_34
1085 enable_d3dx9_35
1086 enable_d3dx9_36
1087 enable_d3dx9_37
1088 enable_d3dx9_38
1089 enable_d3dx9_39
1090 enable_d3dx9_40
1091 enable_d3dx9_41
1092 enable_d3dx9_42
1093 enable_d3dx9_43
1094 enable_d3dxof
1095 enable_davclnt
1096 enable_dbgeng
1097 enable_dbghelp
1098 enable_dciman32
1099 enable_ddraw
1100 enable_ddrawex
1101 enable_devenum
1102 enable_dhcpcsvc
1103 enable_difxapi
1104 enable_dinput
1105 enable_dinput8
1106 enable_dispex
1107 enable_dmband
1108 enable_dmcompos
1109 enable_dmime
1110 enable_dmloader
1111 enable_dmscript
1112 enable_dmstyle
1113 enable_dmsynth
1114 enable_dmusic
1115 enable_dmusic32
1116 enable_dnsapi
1117 enable_dplay
1118 enable_dplayx
1119 enable_dpnaddr
1120 enable_dpnet
1121 enable_dpnhpast
1122 enable_dpnlobby
1123 enable_dpvoice
1124 enable_dpwsockx
1125 enable_drmclien
1126 enable_dsound
1127 enable_dssenh
1128 enable_dswave
1129 enable_dwmapi
1130 enable_dwrite
1131 enable_dxdiagn
1132 enable_dxgi
1133 enable_dxva2
1134 enable_esent
1135 enable_evr
1136 enable_explorerframe
1137 enable_ext_ms_win_gdi_devcaps_l1_1_0
1138 enable_faultrep
1139 enable_fltlib
1140 enable_fltmgr_sys
1141 enable_fntcache
1142 enable_fontsub
1143 enable_fusion
1144 enable_fwpuclnt
1145 enable_gameux
1146 enable_gdi32
1147 enable_gdiplus
1148 enable_glu32
1149 enable_gphoto2_ds
1150 enable_gpkcsp
1151 enable_hal
1152 enable_hhctrl_ocx
1153 enable_hid
1154 enable_hidclass_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_httpapi
1158 enable_iccvid
1159 enable_icmp
1160 enable_ieframe
1161 enable_imaadp32_acm
1162 enable_imagehlp
1163 enable_imm32
1164 enable_inetcomm
1165 enable_inetcpl_cpl
1166 enable_inetmib1
1167 enable_infosoft
1168 enable_initpki
1169 enable_inkobj
1170 enable_inseng
1171 enable_iphlpapi
1172 enable_irprops_cpl
1173 enable_itircl
1174 enable_itss
1175 enable_joy_cpl
1176 enable_jscript
1177 enable_jsproxy
1178 enable_kernel32
1179 enable_kernelbase
1180 enable_ksuser
1181 enable_ktmw32
1182 enable_loadperf
1183 enable_localspl
1184 enable_localui
1185 enable_lz32
1186 enable_mapi32
1187 enable_mapistub
1188 enable_mciavi32
1189 enable_mcicda
1190 enable_mciqtz32
1191 enable_mciseq
1192 enable_mciwave
1193 enable_mf
1194 enable_mfplat
1195 enable_mfreadwrite
1196 enable_mgmtapi
1197 enable_midimap
1198 enable_mlang
1199 enable_mmcndmgr
1200 enable_mmdevapi
1201 enable_mountmgr_sys
1202 enable_mpr
1203 enable_mprapi
1204 enable_msacm32_drv
1205 enable_msacm32
1206 enable_msadp32_acm
1207 enable_msasn1
1208 enable_mscat32
1209 enable_mscms
1210 enable_mscoree
1211 enable_msctf
1212 enable_msctfp
1213 enable_msdaps
1214 enable_msdelta
1215 enable_msdmo
1216 enable_msdrm
1217 enable_msftedit
1218 enable_msg711_acm
1219 enable_msgsm32_acm
1220 enable_mshtml_tlb
1221 enable_mshtml
1222 enable_msi
1223 enable_msident
1224 enable_msimg32
1225 enable_msimsg
1226 enable_msimtf
1227 enable_msisip
1228 enable_msisys_ocx
1229 enable_msls31
1230 enable_msnet32
1231 enable_mspatcha
1232 enable_msports
1233 enable_msrle32
1234 enable_msscript_ocx
1235 enable_mssign32
1236 enable_mssip32
1237 enable_mstask
1238 enable_msvcirt
1239 enable_msvcm80
1240 enable_msvcm90
1241 enable_msvcp100
1242 enable_msvcp110
1243 enable_msvcp120
1244 enable_msvcp120_app
1245 enable_msvcp140
1246 enable_msvcp60
1247 enable_msvcp70
1248 enable_msvcp71
1249 enable_msvcp80
1250 enable_msvcp90
1251 enable_msvcr100
1252 enable_msvcr110
1253 enable_msvcr120
1254 enable_msvcr120_app
1255 enable_msvcr70
1256 enable_msvcr71
1257 enable_msvcr80
1258 enable_msvcr90
1259 enable_msvcrt
1260 enable_msvcrt20
1261 enable_msvcrt40
1262 enable_msvcrtd
1263 enable_msvfw32
1264 enable_msvidc32
1265 enable_mswsock
1266 enable_msxml
1267 enable_msxml2
1268 enable_msxml3
1269 enable_msxml4
1270 enable_msxml6
1271 enable_ncrypt
1272 enable_nddeapi
1273 enable_ndis_sys
1274 enable_netapi32
1275 enable_netcfgx
1276 enable_netprofm
1277 enable_newdev
1278 enable_normaliz
1279 enable_npmshtml
1280 enable_npptools
1281 enable_ntdll
1282 enable_ntdsapi
1283 enable_ntoskrnl_exe
1284 enable_ntprint
1285 enable_objsel
1286 enable_odbc32
1287 enable_odbccp32
1288 enable_odbccu32
1289 enable_ole32
1290 enable_oleacc
1291 enable_oleaut32
1292 enable_olecli32
1293 enable_oledb32
1294 enable_oledlg
1295 enable_olepro32
1296 enable_olesvr32
1297 enable_olethk32
1298 enable_openal32
1299 enable_opencl
1300 enable_opengl32
1301 enable_packager
1302 enable_pdh
1303 enable_photometadatahandler
1304 enable_pidgen
1305 enable_powrprof
1306 enable_printui
1307 enable_prntvpt
1308 enable_propsys
1309 enable_psapi
1310 enable_pstorec
1311 enable_qcap
1312 enable_qedit
1313 enable_qmgr
1314 enable_qmgrprxy
1315 enable_quartz
1316 enable_query
1317 enable_rasapi32
1318 enable_rasdlg
1319 enable_regapi
1320 enable_resutils
1321 enable_riched20
1322 enable_riched32
1323 enable_rpcrt4
1324 enable_rsabase
1325 enable_rsaenh
1326 enable_rstrtmgr
1327 enable_rtutils
1328 enable_samlib
1329 enable_sane_ds
1330 enable_scarddlg
1331 enable_sccbase
1332 enable_schannel
1333 enable_schedsvc
1334 enable_scrrun
1335 enable_scsiport_sys
1336 enable_secur32
1337 enable_security
1338 enable_sensapi
1339 enable_serialui
1340 enable_setupapi
1341 enable_sfc
1342 enable_sfc_os
1343 enable_shdoclc
1344 enable_shdocvw
1345 enable_shell32
1346 enable_shfolder
1347 enable_shlwapi
1348 enable_slbcsp
1349 enable_slc
1350 enable_snmpapi
1351 enable_softpub
1352 enable_spoolss
1353 enable_sspicli
1354 enable_stdole2_tlb
1355 enable_stdole32_tlb
1356 enable_sti
1357 enable_svrapi
1358 enable_sxs
1359 enable_t2embed
1360 enable_tapi32
1361 enable_taskschd
1362 enable_tdi_sys
1363 enable_traffic
1364 enable_twain_32
1365 enable_ucrtbase
1366 enable_unicows
1367 enable_updspapi
1368 enable_url
1369 enable_urlmon
1370 enable_usbd_sys
1371 enable_user32
1372 enable_userenv
1373 enable_usp10
1374 enable_uxtheme
1375 enable_vbscript
1376 enable_vcomp
1377 enable_vcomp100
1378 enable_vcomp110
1379 enable_vcomp120
1380 enable_vcomp140
1381 enable_vcomp90
1382 enable_vcruntime140
1383 enable_vdmdbg
1384 enable_version
1385 enable_vssapi
1386 enable_wbemdisp
1387 enable_wbemprox
1388 enable_webservices
1389 enable_wer
1390 enable_wevtapi
1391 enable_wiaservc
1392 enable_wimgapi
1393 enable_windowscodecs
1394 enable_windowscodecsext
1395 enable_winealsa_drv
1396 enable_winebus_sys
1397 enable_winecoreaudio_drv
1398 enable_wined3d
1399 enable_winegstreamer
1400 enable_winejoystick_drv
1401 enable_winemac_drv
1402 enable_winemapi
1403 enable_winemp3_acm
1404 enable_wineoss_drv
1405 enable_wineps_drv
1406 enable_winepulse_drv
1407 enable_wineqtdecoder
1408 enable_winex11_drv
1409 enable_wing32
1410 enable_winhttp
1411 enable_wininet
1412 enable_winmm
1413 enable_winnls32
1414 enable_winscard
1415 enable_winspool_drv
1416 enable_winsta
1417 enable_wintab32
1418 enable_wintrust
1419 enable_wlanapi
1420 enable_wldap32
1421 enable_wmasf
1422 enable_wmi
1423 enable_wmiutils
1424 enable_wmp
1425 enable_wmvcore
1426 enable_wnaspi32
1427 enable_wpc
1428 enable_wpcap
1429 enable_ws2_32
1430 enable_wshom_ocx
1431 enable_wsnmp32
1432 enable_wsock32
1433 enable_wtsapi32
1434 enable_wuapi
1435 enable_wuaueng
1436 enable_x3daudio1_0
1437 enable_x3daudio1_1
1438 enable_x3daudio1_2
1439 enable_x3daudio1_3
1440 enable_x3daudio1_4
1441 enable_x3daudio1_5
1442 enable_x3daudio1_6
1443 enable_x3daudio1_7
1444 enable_xapofx1_1
1445 enable_xapofx1_2
1446 enable_xapofx1_3
1447 enable_xapofx1_4
1448 enable_xapofx1_5
1449 enable_xaudio2_0
1450 enable_xaudio2_1
1451 enable_xaudio2_2
1452 enable_xaudio2_3
1453 enable_xaudio2_4
1454 enable_xaudio2_5
1455 enable_xaudio2_6
1456 enable_xaudio2_7
1457 enable_xaudio2_8
1458 enable_xaudio2_9
1459 enable_xinput1_1
1460 enable_xinput1_2
1461 enable_xinput1_3
1462 enable_xinput1_4
1463 enable_xinput9_1_0
1464 enable_xmllite
1465 enable_xolehlp
1466 enable_xpsprint
1467 enable_xpssvcs
1468 enable_fonts
1469 enable_include
1470 enable_libs_port
1471 enable_libs_wine
1472 enable_libs_wpp
1473 enable_loader
1474 enable_po
1475 enable_arp
1476 enable_aspnet_regiis
1477 enable_attrib
1478 enable_cabarc
1479 enable_cacls
1480 enable_clock
1481 enable_cmd
1482 enable_conhost
1483 enable_control
1484 enable_cscript
1485 enable_dpnsvr
1486 enable_dxdiag
1487 enable_eject
1488 enable_expand
1489 enable_explorer
1490 enable_extrac32
1491 enable_findstr
1492 enable_fsutil
1493 enable_hh
1494 enable_hostname
1495 enable_icacls
1496 enable_icinfo
1497 enable_iexplore
1498 enable_ipconfig
1499 enable_lodctr
1500 enable_mofcomp
1501 enable_mshta
1502 enable_msiexec
1503 enable_net
1504 enable_netsh
1505 enable_netstat
1506 enable_ngen
1507 enable_notepad
1508 enable_oleview
1509 enable_ping
1510 enable_plugplay
1511 enable_presentationfontcache
1512 enable_progman
1513 enable_reg
1514 enable_regasm
1515 enable_regedit
1516 enable_regsvcs
1517 enable_regsvr32
1518 enable_rpcss
1519 enable_rundll32
1520 enable_sc
1521 enable_schtasks
1522 enable_sdbinst
1523 enable_secedit
1524 enable_servicemodelreg
1525 enable_services
1526 enable_shutdown
1527 enable_spoolsv
1528 enable_start
1529 enable_svchost
1530 enable_systeminfo
1531 enable_taskkill
1532 enable_tasklist
1533 enable_taskmgr
1534 enable_termsv
1535 enable_uninstaller
1536 enable_unlodctr
1537 enable_view
1538 enable_wevtutil
1539 enable_wineboot
1540 enable_winebrowser
1541 enable_winecfg
1542 enable_wineconsole
1543 enable_winedbg
1544 enable_winedevice
1545 enable_winefile
1546 enable_winemenubuilder
1547 enable_winemine
1548 enable_winemsibuilder
1549 enable_winepath
1550 enable_winetest
1551 enable_winhlp32
1552 enable_winver
1553 enable_wmic
1554 enable_wmplayer
1555 enable_wordpad
1556 enable_write
1557 enable_wscript
1558 enable_wusa
1559 enable_xcopy
1560 enable_server
1561 enable_tools
1563 ac_precious_vars='build_alias
1564 host_alias
1565 target_alias
1567 CFLAGS
1568 LDFLAGS
1569 LIBS
1570 CPPFLAGS
1572 CXXFLAGS
1575 XMKMF
1576 XML2_CFLAGS
1577 XML2_LIBS
1578 XSLT_CFLAGS
1579 XSLT_LIBS
1580 DBUS_CFLAGS
1581 DBUS_LIBS
1582 HAL_CFLAGS
1583 HAL_LIBS
1584 GNUTLS_CFLAGS
1585 GNUTLS_LIBS
1586 SANE_CFLAGS
1587 SANE_LIBS
1588 GPHOTO2_CFLAGS
1589 GPHOTO2_LIBS
1590 GPHOTO2_PORT_CFLAGS
1591 GPHOTO2_PORT_LIBS
1592 LCMS2_CFLAGS
1593 LCMS2_LIBS
1594 FREETYPE_CFLAGS
1595 FREETYPE_LIBS
1596 PULSE_CFLAGS
1597 PULSE_LIBS
1598 GSTREAMER_CFLAGS
1599 GSTREAMER_LIBS
1600 UDEV_CFLAGS
1601 UDEV_LIBS
1602 CAPI20_CFLAGS
1603 CAPI20_LIBS
1604 FONTCONFIG_CFLAGS
1605 FONTCONFIG_LIBS
1606 JPEG_CFLAGS
1607 JPEG_LIBS
1608 PNG_CFLAGS
1609 PNG_LIBS
1610 TIFF_CFLAGS
1611 TIFF_LIBS
1612 MPG123_CFLAGS
1613 MPG123_LIBS
1614 NETAPI_CFLAGS
1615 NETAPI_LIBS'
1618 # Initialize some variables set by options.
1619 ac_init_help=
1620 ac_init_version=false
1621 ac_unrecognized_opts=
1622 ac_unrecognized_sep=
1623 # The variables have the same names as the options, with
1624 # dashes changed to underlines.
1625 cache_file=/dev/null
1626 exec_prefix=NONE
1627 no_create=
1628 no_recursion=
1629 prefix=NONE
1630 program_prefix=NONE
1631 program_suffix=NONE
1632 program_transform_name=s,x,x,
1633 silent=
1634 site=
1635 srcdir=
1636 verbose=
1637 x_includes=NONE
1638 x_libraries=NONE
1640 # Installation directory options.
1641 # These are left unexpanded so users can "make install exec_prefix=/foo"
1642 # and all the variables that are supposed to be based on exec_prefix
1643 # by default will actually change.
1644 # Use braces instead of parens because sh, perl, etc. also accept them.
1645 # (The list follows the same order as the GNU Coding Standards.)
1646 bindir='${exec_prefix}/bin'
1647 sbindir='${exec_prefix}/sbin'
1648 libexecdir='${exec_prefix}/libexec'
1649 datarootdir='${prefix}/share'
1650 datadir='${datarootdir}'
1651 sysconfdir='${prefix}/etc'
1652 sharedstatedir='${prefix}/com'
1653 localstatedir='${prefix}/var'
1654 runstatedir='${localstatedir}/run'
1655 includedir='${prefix}/include'
1656 oldincludedir='/usr/include'
1657 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1658 infodir='${datarootdir}/info'
1659 htmldir='${docdir}'
1660 dvidir='${docdir}'
1661 pdfdir='${docdir}'
1662 psdir='${docdir}'
1663 libdir='${exec_prefix}/lib'
1664 localedir='${datarootdir}/locale'
1665 mandir='${datarootdir}/man'
1667 ac_prev=
1668 ac_dashdash=
1669 for ac_option
1671 # If the previous option needs an argument, assign it.
1672 if test -n "$ac_prev"; then
1673 eval $ac_prev=\$ac_option
1674 ac_prev=
1675 continue
1678 case $ac_option in
1679 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1680 *=) ac_optarg= ;;
1681 *) ac_optarg=yes ;;
1682 esac
1684 # Accept the important Cygnus configure options, so we can diagnose typos.
1686 case $ac_dashdash$ac_option in
1688 ac_dashdash=yes ;;
1690 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1691 ac_prev=bindir ;;
1692 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1693 bindir=$ac_optarg ;;
1695 -build | --build | --buil | --bui | --bu)
1696 ac_prev=build_alias ;;
1697 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1698 build_alias=$ac_optarg ;;
1700 -cache-file | --cache-file | --cache-fil | --cache-fi \
1701 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1702 ac_prev=cache_file ;;
1703 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1704 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1705 cache_file=$ac_optarg ;;
1707 --config-cache | -C)
1708 cache_file=config.cache ;;
1710 -datadir | --datadir | --datadi | --datad)
1711 ac_prev=datadir ;;
1712 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1713 datadir=$ac_optarg ;;
1715 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1716 | --dataroo | --dataro | --datar)
1717 ac_prev=datarootdir ;;
1718 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1719 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1720 datarootdir=$ac_optarg ;;
1722 -disable-* | --disable-*)
1723 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1724 # Reject names that are not valid shell variable names.
1725 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1726 as_fn_error $? "invalid feature name: $ac_useropt"
1727 ac_useropt_orig=$ac_useropt
1728 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1729 case $ac_user_opts in
1731 "enable_$ac_useropt"
1732 "*) ;;
1733 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1734 ac_unrecognized_sep=', ';;
1735 esac
1736 eval enable_$ac_useropt=no ;;
1738 -docdir | --docdir | --docdi | --doc | --do)
1739 ac_prev=docdir ;;
1740 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1741 docdir=$ac_optarg ;;
1743 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1744 ac_prev=dvidir ;;
1745 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1746 dvidir=$ac_optarg ;;
1748 -enable-* | --enable-*)
1749 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1750 # Reject names that are not valid shell variable names.
1751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1752 as_fn_error $? "invalid feature name: $ac_useropt"
1753 ac_useropt_orig=$ac_useropt
1754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1755 case $ac_user_opts in
1757 "enable_$ac_useropt"
1758 "*) ;;
1759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1760 ac_unrecognized_sep=', ';;
1761 esac
1762 eval enable_$ac_useropt=\$ac_optarg ;;
1764 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1765 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1766 | --exec | --exe | --ex)
1767 ac_prev=exec_prefix ;;
1768 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1769 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1770 | --exec=* | --exe=* | --ex=*)
1771 exec_prefix=$ac_optarg ;;
1773 -gas | --gas | --ga | --g)
1774 # Obsolete; use --with-gas.
1775 with_gas=yes ;;
1777 -help | --help | --hel | --he | -h)
1778 ac_init_help=long ;;
1779 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1780 ac_init_help=recursive ;;
1781 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1782 ac_init_help=short ;;
1784 -host | --host | --hos | --ho)
1785 ac_prev=host_alias ;;
1786 -host=* | --host=* | --hos=* | --ho=*)
1787 host_alias=$ac_optarg ;;
1789 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1790 ac_prev=htmldir ;;
1791 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1792 | --ht=*)
1793 htmldir=$ac_optarg ;;
1795 -includedir | --includedir | --includedi | --included | --include \
1796 | --includ | --inclu | --incl | --inc)
1797 ac_prev=includedir ;;
1798 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1799 | --includ=* | --inclu=* | --incl=* | --inc=*)
1800 includedir=$ac_optarg ;;
1802 -infodir | --infodir | --infodi | --infod | --info | --inf)
1803 ac_prev=infodir ;;
1804 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1805 infodir=$ac_optarg ;;
1807 -libdir | --libdir | --libdi | --libd)
1808 ac_prev=libdir ;;
1809 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1810 libdir=$ac_optarg ;;
1812 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1813 | --libexe | --libex | --libe)
1814 ac_prev=libexecdir ;;
1815 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1816 | --libexe=* | --libex=* | --libe=*)
1817 libexecdir=$ac_optarg ;;
1819 -localedir | --localedir | --localedi | --localed | --locale)
1820 ac_prev=localedir ;;
1821 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1822 localedir=$ac_optarg ;;
1824 -localstatedir | --localstatedir | --localstatedi | --localstated \
1825 | --localstate | --localstat | --localsta | --localst | --locals)
1826 ac_prev=localstatedir ;;
1827 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1828 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1829 localstatedir=$ac_optarg ;;
1831 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1832 ac_prev=mandir ;;
1833 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1834 mandir=$ac_optarg ;;
1836 -nfp | --nfp | --nf)
1837 # Obsolete; use --without-fp.
1838 with_fp=no ;;
1840 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1841 | --no-cr | --no-c | -n)
1842 no_create=yes ;;
1844 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1845 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1846 no_recursion=yes ;;
1848 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1849 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1850 | --oldin | --oldi | --old | --ol | --o)
1851 ac_prev=oldincludedir ;;
1852 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1853 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1854 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1855 oldincludedir=$ac_optarg ;;
1857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1858 ac_prev=prefix ;;
1859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1860 prefix=$ac_optarg ;;
1862 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1863 | --program-pre | --program-pr | --program-p)
1864 ac_prev=program_prefix ;;
1865 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1866 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1867 program_prefix=$ac_optarg ;;
1869 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1870 | --program-suf | --program-su | --program-s)
1871 ac_prev=program_suffix ;;
1872 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1873 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1874 program_suffix=$ac_optarg ;;
1876 -program-transform-name | --program-transform-name \
1877 | --program-transform-nam | --program-transform-na \
1878 | --program-transform-n | --program-transform- \
1879 | --program-transform | --program-transfor \
1880 | --program-transfo | --program-transf \
1881 | --program-trans | --program-tran \
1882 | --progr-tra | --program-tr | --program-t)
1883 ac_prev=program_transform_name ;;
1884 -program-transform-name=* | --program-transform-name=* \
1885 | --program-transform-nam=* | --program-transform-na=* \
1886 | --program-transform-n=* | --program-transform-=* \
1887 | --program-transform=* | --program-transfor=* \
1888 | --program-transfo=* | --program-transf=* \
1889 | --program-trans=* | --program-tran=* \
1890 | --progr-tra=* | --program-tr=* | --program-t=*)
1891 program_transform_name=$ac_optarg ;;
1893 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1894 ac_prev=pdfdir ;;
1895 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1896 pdfdir=$ac_optarg ;;
1898 -psdir | --psdir | --psdi | --psd | --ps)
1899 ac_prev=psdir ;;
1900 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1901 psdir=$ac_optarg ;;
1903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1904 | -silent | --silent | --silen | --sile | --sil)
1905 silent=yes ;;
1907 -runstatedir | --runstatedir | --runstatedi | --runstated \
1908 | --runstate | --runstat | --runsta | --runst | --runs \
1909 | --run | --ru | --r)
1910 ac_prev=runstatedir ;;
1911 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1912 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1913 | --run=* | --ru=* | --r=*)
1914 runstatedir=$ac_optarg ;;
1916 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1917 ac_prev=sbindir ;;
1918 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1919 | --sbi=* | --sb=*)
1920 sbindir=$ac_optarg ;;
1922 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1923 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1924 | --sharedst | --shareds | --shared | --share | --shar \
1925 | --sha | --sh)
1926 ac_prev=sharedstatedir ;;
1927 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1928 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1929 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1930 | --sha=* | --sh=*)
1931 sharedstatedir=$ac_optarg ;;
1933 -site | --site | --sit)
1934 ac_prev=site ;;
1935 -site=* | --site=* | --sit=*)
1936 site=$ac_optarg ;;
1938 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1939 ac_prev=srcdir ;;
1940 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1941 srcdir=$ac_optarg ;;
1943 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1944 | --syscon | --sysco | --sysc | --sys | --sy)
1945 ac_prev=sysconfdir ;;
1946 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1947 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1948 sysconfdir=$ac_optarg ;;
1950 -target | --target | --targe | --targ | --tar | --ta | --t)
1951 ac_prev=target_alias ;;
1952 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1953 target_alias=$ac_optarg ;;
1955 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1956 verbose=yes ;;
1958 -version | --version | --versio | --versi | --vers | -V)
1959 ac_init_version=: ;;
1961 -with-* | --with-*)
1962 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1963 # Reject names that are not valid shell variable names.
1964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1965 as_fn_error $? "invalid package name: $ac_useropt"
1966 ac_useropt_orig=$ac_useropt
1967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1968 case $ac_user_opts in
1970 "with_$ac_useropt"
1971 "*) ;;
1972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1973 ac_unrecognized_sep=', ';;
1974 esac
1975 eval with_$ac_useropt=\$ac_optarg ;;
1977 -without-* | --without-*)
1978 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1979 # Reject names that are not valid shell variable names.
1980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1981 as_fn_error $? "invalid package name: $ac_useropt"
1982 ac_useropt_orig=$ac_useropt
1983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1984 case $ac_user_opts in
1986 "with_$ac_useropt"
1987 "*) ;;
1988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1989 ac_unrecognized_sep=', ';;
1990 esac
1991 eval with_$ac_useropt=no ;;
1993 --x)
1994 # Obsolete; use --with-x.
1995 with_x=yes ;;
1997 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1998 | --x-incl | --x-inc | --x-in | --x-i)
1999 ac_prev=x_includes ;;
2000 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2001 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2002 x_includes=$ac_optarg ;;
2004 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2005 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2006 ac_prev=x_libraries ;;
2007 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2008 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2009 x_libraries=$ac_optarg ;;
2011 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2012 Try \`$0 --help' for more information"
2015 *=*)
2016 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2017 # Reject names that are not valid shell variable names.
2018 case $ac_envvar in #(
2019 '' | [0-9]* | *[!_$as_cr_alnum]* )
2020 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2021 esac
2022 eval $ac_envvar=\$ac_optarg
2023 export $ac_envvar ;;
2026 # FIXME: should be removed in autoconf 3.0.
2027 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2028 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2029 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2030 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2033 esac
2034 done
2036 if test -n "$ac_prev"; then
2037 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2038 as_fn_error $? "missing argument to $ac_option"
2041 if test -n "$ac_unrecognized_opts"; then
2042 case $enable_option_checking in
2043 no) ;;
2044 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2045 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2046 esac
2049 # Check all directory arguments for consistency.
2050 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2051 datadir sysconfdir sharedstatedir localstatedir includedir \
2052 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2053 libdir localedir mandir runstatedir
2055 eval ac_val=\$$ac_var
2056 # Remove trailing slashes.
2057 case $ac_val in
2058 */ )
2059 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2060 eval $ac_var=\$ac_val;;
2061 esac
2062 # Be sure to have absolute directory names.
2063 case $ac_val in
2064 [\\/$]* | ?:[\\/]* ) continue;;
2065 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2066 esac
2067 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2068 done
2070 # There might be people who depend on the old broken behavior: `$host'
2071 # used to hold the argument of --host etc.
2072 # FIXME: To remove some day.
2073 build=$build_alias
2074 host=$host_alias
2075 target=$target_alias
2077 # FIXME: To remove some day.
2078 if test "x$host_alias" != x; then
2079 if test "x$build_alias" = x; then
2080 cross_compiling=maybe
2081 elif test "x$build_alias" != "x$host_alias"; then
2082 cross_compiling=yes
2086 ac_tool_prefix=
2087 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2089 test "$silent" = yes && exec 6>/dev/null
2092 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2093 ac_ls_di=`ls -di .` &&
2094 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2095 as_fn_error $? "working directory cannot be determined"
2096 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2097 as_fn_error $? "pwd does not report name of working directory"
2100 # Find the source files, if location was not specified.
2101 if test -z "$srcdir"; then
2102 ac_srcdir_defaulted=yes
2103 # Try the directory containing this script, then the parent directory.
2104 ac_confdir=`$as_dirname -- "$as_myself" ||
2105 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2106 X"$as_myself" : 'X\(//\)[^/]' \| \
2107 X"$as_myself" : 'X\(//\)$' \| \
2108 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2109 $as_echo X"$as_myself" |
2110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2111 s//\1/
2114 /^X\(\/\/\)[^/].*/{
2115 s//\1/
2118 /^X\(\/\/\)$/{
2119 s//\1/
2122 /^X\(\/\).*/{
2123 s//\1/
2126 s/.*/./; q'`
2127 srcdir=$ac_confdir
2128 if test ! -r "$srcdir/$ac_unique_file"; then
2129 srcdir=..
2131 else
2132 ac_srcdir_defaulted=no
2134 if test ! -r "$srcdir/$ac_unique_file"; then
2135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2136 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2139 ac_abs_confdir=`(
2140 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2141 pwd)`
2142 # When building in place, set srcdir=.
2143 if test "$ac_abs_confdir" = "$ac_pwd"; then
2144 srcdir=.
2146 # Remove unnecessary trailing slashes from srcdir.
2147 # Double slashes in file names in object file debugging info
2148 # mess up M-x gdb in Emacs.
2149 case $srcdir in
2150 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2151 esac
2152 for ac_var in $ac_precious_vars; do
2153 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2154 eval ac_env_${ac_var}_value=\$${ac_var}
2155 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2156 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2157 done
2160 # Report the --help message.
2162 if test "$ac_init_help" = "long"; then
2163 # Omit some internal or obsolete options to make the list less imposing.
2164 # This message is too long to be a string in the A/UX 3.1 sh.
2165 cat <<_ACEOF
2166 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2168 Usage: $0 [OPTION]... [VAR=VALUE]...
2170 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2171 VAR=VALUE. See below for descriptions of some of the useful variables.
2173 Defaults for the options are specified in brackets.
2175 Configuration:
2176 -h, --help display this help and exit
2177 --help=short display options specific to this package
2178 --help=recursive display the short help of all the included packages
2179 -V, --version display version information and exit
2180 -q, --quiet, --silent do not print \`checking ...' messages
2181 --cache-file=FILE cache test results in FILE [disabled]
2182 -C, --config-cache alias for \`--cache-file=config.cache'
2183 -n, --no-create do not create output files
2184 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2186 Installation directories:
2187 --prefix=PREFIX install architecture-independent files in PREFIX
2188 [$ac_default_prefix]
2189 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2190 [PREFIX]
2192 By default, \`make install' will install all the files in
2193 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2194 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2195 for instance \`--prefix=\$HOME'.
2197 For better control, use the options below.
2199 Fine tuning of the installation directories:
2200 --bindir=DIR user executables [EPREFIX/bin]
2201 --sbindir=DIR system admin executables [EPREFIX/sbin]
2202 --libexecdir=DIR program executables [EPREFIX/libexec]
2203 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2204 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2205 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2206 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2207 --libdir=DIR object code libraries [EPREFIX/lib]
2208 --includedir=DIR C header files [PREFIX/include]
2209 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2210 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2211 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2212 --infodir=DIR info documentation [DATAROOTDIR/info]
2213 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2214 --mandir=DIR man documentation [DATAROOTDIR/man]
2215 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2216 --htmldir=DIR html documentation [DOCDIR]
2217 --dvidir=DIR dvi documentation [DOCDIR]
2218 --pdfdir=DIR pdf documentation [DOCDIR]
2219 --psdir=DIR ps documentation [DOCDIR]
2220 _ACEOF
2222 cat <<\_ACEOF
2224 X features:
2225 --x-includes=DIR X include files are in DIR
2226 --x-libraries=DIR X library files are in DIR
2228 System types:
2229 --build=BUILD configure for building on BUILD [guessed]
2230 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2231 _ACEOF
2234 if test -n "$ac_init_help"; then
2235 case $ac_init_help in
2236 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2237 esac
2238 cat <<\_ACEOF
2240 Optional Features:
2241 --disable-option-checking ignore unrecognized --enable/--with options
2242 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2243 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2244 --disable-win16 do not include Win16 support
2245 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2246 binaries)
2247 --disable-tests do not build the regression tests
2248 --enable-maintainer-mode
2249 enable maintainer-specific build rules
2250 --disable-largefile omit support for large files
2252 Optional Packages:
2253 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2254 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2255 --without-alsa do not use the Alsa sound support
2256 --without-capi do not use CAPI (ISDN support)
2257 --without-cms do not use CMS (color management support)
2258 --without-coreaudio do not use the CoreAudio sound support
2259 --without-cups do not use CUPS
2260 --without-curses do not use (n)curses
2261 --without-dbus do not use DBus (dynamic device support)
2262 --without-fontconfig do not use fontconfig
2263 --without-freetype do not use the FreeType library
2264 --without-gettext do not use gettext
2265 --with-gettextpo use the GetTextPO library to rebuild po files
2266 --without-gphoto do not use gphoto (Digital Camera support)
2267 --without-glu do not use the GLU library
2268 --without-gnutls do not use GnuTLS (schannel support)
2269 --without-gsm do not use libgsm (GSM 06.10 codec support)
2270 --without-gstreamer do not use GStreamer (codecs support)
2271 --without-hal do not use HAL (dynamic device support)
2272 --without-jpeg do not use JPEG
2273 --without-ldap do not use LDAP
2274 --without-mpg123 do not use the mpg123 library
2275 --without-netapi do not use the Samba NetAPI library
2276 --without-openal do not use OpenAL
2277 --without-opencl do not use OpenCL
2278 --without-opengl do not use OpenGL
2279 --without-osmesa do not use the OSMesa library
2280 --without-oss do not use the OSS sound support
2281 --without-pcap do not use the Packet Capture library
2282 --without-png do not use PNG
2283 --without-pthread do not use the pthread library
2284 --without-pulse do not use PulseAudio sound support
2285 --without-sane do not use SANE (scanner support)
2286 --without-tiff do not use TIFF
2287 --without-udev do not use udev (plug and play support)
2288 --without-v4l do not use v4l1 (v4l support)
2289 --without-xcomposite do not use the Xcomposite extension
2290 --without-xcursor do not use the Xcursor extension
2291 --without-xinerama do not use Xinerama (multi-monitor support)
2292 --without-xinput do not use the Xinput extension
2293 --without-xinput2 do not use the Xinput 2 extension
2294 --without-xml do not use XML
2295 --without-xrandr do not use Xrandr (resolution changes)
2296 --without-xrender do not use the Xrender extension
2297 --without-xshape do not use the Xshape extension
2298 --without-xshm do not use XShm (shared memory extension)
2299 --without-xslt do not use XSLT
2300 --without-xxf86vm do not use XFree video mode extension
2301 --without-zlib do not use Zlib (data compression)
2302 --with-wine-tools=DIR use Wine tools from directory DIR
2303 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2304 --with-x use the X Window System
2306 Some influential environment variables:
2307 CC C compiler command
2308 CFLAGS C compiler flags
2309 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2310 nonstandard directory <lib dir>
2311 LIBS libraries to pass to the linker, e.g. -l<library>
2312 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2313 you have headers in a nonstandard directory <include dir>
2314 CXX C++ compiler command
2315 CXXFLAGS C++ compiler flags
2316 CPP C preprocessor
2317 XMKMF Path to xmkmf, Makefile generator for X Window System
2318 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2319 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2320 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2321 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2322 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2323 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2324 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2325 HAL_LIBS Linker flags for hal, overriding pkg-config
2326 GNUTLS_CFLAGS
2327 C compiler flags for gnutls, overriding pkg-config
2328 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2329 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2330 SANE_LIBS Linker flags for libsane, overriding pkg-config
2331 GPHOTO2_CFLAGS
2332 C compiler flags for libgphoto2, overriding pkg-config
2333 GPHOTO2_LIBS
2334 Linker flags for libgphoto2, overriding pkg-config
2335 GPHOTO2_PORT_CFLAGS
2336 C compiler flags for libgphoto2_port, overriding pkg-config
2337 GPHOTO2_PORT_LIBS
2338 Linker flags for libgphoto2_port, overriding pkg-config
2339 LCMS2_CFLAGS
2340 C compiler flags for lcms2, overriding pkg-config
2341 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2342 FREETYPE_CFLAGS
2343 C compiler flags for freetype2, overriding pkg-config
2344 FREETYPE_LIBS
2345 Linker flags for freetype2, overriding pkg-config
2346 PULSE_CFLAGS
2347 C compiler flags for libpulse, overriding pkg-config
2348 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2349 GSTREAMER_CFLAGS
2350 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2351 gstreamer-audio-1.0, overriding pkg-config
2352 GSTREAMER_LIBS
2353 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2354 gstreamer-audio-1.0, overriding pkg-config
2355 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2356 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2357 CAPI20_CFLAGS
2358 C compiler flags for capi20, overriding pkg-config
2359 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2360 FONTCONFIG_CFLAGS
2361 C compiler flags for fontconfig, overriding pkg-config
2362 FONTCONFIG_LIBS
2363 Linker flags for fontconfig, overriding pkg-config
2364 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2365 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2366 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2367 PNG_LIBS Linker flags for libpng, overriding pkg-config
2368 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2369 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2370 MPG123_CFLAGS
2371 C compiler flags for libmpg123, overriding pkg-config
2372 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2373 NETAPI_CFLAGS
2374 C compiler flags for netapi, overriding pkg-config
2375 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2377 Use these variables to override the choices made by `configure' or to help
2378 it to find libraries and programs with nonstandard names/locations.
2380 Report bugs to <wine-devel@winehq.org>.
2381 Wine home page: <http://www.winehq.org>.
2382 _ACEOF
2383 ac_status=$?
2386 if test "$ac_init_help" = "recursive"; then
2387 # If there are subdirs, report their specific --help.
2388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2389 test -d "$ac_dir" ||
2390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2391 continue
2392 ac_builddir=.
2394 case "$ac_dir" in
2395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2398 # A ".." for each directory in $ac_dir_suffix.
2399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2400 case $ac_top_builddir_sub in
2401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2403 esac ;;
2404 esac
2405 ac_abs_top_builddir=$ac_pwd
2406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2407 # for backward compatibility:
2408 ac_top_builddir=$ac_top_build_prefix
2410 case $srcdir in
2411 .) # We are building in place.
2412 ac_srcdir=.
2413 ac_top_srcdir=$ac_top_builddir_sub
2414 ac_abs_top_srcdir=$ac_pwd ;;
2415 [\\/]* | ?:[\\/]* ) # Absolute name.
2416 ac_srcdir=$srcdir$ac_dir_suffix;
2417 ac_top_srcdir=$srcdir
2418 ac_abs_top_srcdir=$srcdir ;;
2419 *) # Relative name.
2420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2421 ac_top_srcdir=$ac_top_build_prefix$srcdir
2422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2423 esac
2424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2426 cd "$ac_dir" || { ac_status=$?; continue; }
2427 # Check for guested configure.
2428 if test -f "$ac_srcdir/configure.gnu"; then
2429 echo &&
2430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2431 elif test -f "$ac_srcdir/configure"; then
2432 echo &&
2433 $SHELL "$ac_srcdir/configure" --help=recursive
2434 else
2435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2436 fi || ac_status=$?
2437 cd "$ac_pwd" || { ac_status=$?; break; }
2438 done
2441 test -n "$ac_init_help" && exit $ac_status
2442 if $ac_init_version; then
2443 cat <<\_ACEOF
2444 Wine configure 1.9.18
2445 generated by GNU Autoconf 2.69
2447 Copyright (C) 2012 Free Software Foundation, Inc.
2448 This configure script is free software; the Free Software Foundation
2449 gives unlimited permission to copy, distribute and modify it.
2450 _ACEOF
2451 exit
2454 ## ------------------------ ##
2455 ## Autoconf initialization. ##
2456 ## ------------------------ ##
2458 # ac_fn_c_try_compile LINENO
2459 # --------------------------
2460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2461 ac_fn_c_try_compile ()
2463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2464 rm -f conftest.$ac_objext
2465 if { { ac_try="$ac_compile"
2466 case "(($ac_try" in
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2469 esac
2470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2471 $as_echo "$ac_try_echo"; } >&5
2472 (eval "$ac_compile") 2>conftest.err
2473 ac_status=$?
2474 if test -s conftest.err; then
2475 grep -v '^ *+' conftest.err >conftest.er1
2476 cat conftest.er1 >&5
2477 mv -f conftest.er1 conftest.err
2479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2480 test $ac_status = 0; } && {
2481 test -z "$ac_c_werror_flag" ||
2482 test ! -s conftest.err
2483 } && test -s conftest.$ac_objext; then :
2484 ac_retval=0
2485 else
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 ac_retval=1
2491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2492 as_fn_set_status $ac_retval
2494 } # ac_fn_c_try_compile
2496 # ac_fn_cxx_try_compile LINENO
2497 # ----------------------------
2498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2499 ac_fn_cxx_try_compile ()
2501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2502 rm -f conftest.$ac_objext
2503 if { { ac_try="$ac_compile"
2504 case "(($ac_try" in
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2507 esac
2508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 $as_echo "$ac_try_echo"; } >&5
2510 (eval "$ac_compile") 2>conftest.err
2511 ac_status=$?
2512 if test -s conftest.err; then
2513 grep -v '^ *+' conftest.err >conftest.er1
2514 cat conftest.er1 >&5
2515 mv -f conftest.er1 conftest.err
2517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2518 test $ac_status = 0; } && {
2519 test -z "$ac_cxx_werror_flag" ||
2520 test ! -s conftest.err
2521 } && test -s conftest.$ac_objext; then :
2522 ac_retval=0
2523 else
2524 $as_echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 ac_retval=1
2529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2530 as_fn_set_status $ac_retval
2532 } # ac_fn_cxx_try_compile
2534 # ac_fn_c_try_link LINENO
2535 # -----------------------
2536 # Try to link conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_c_try_link ()
2539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540 rm -f conftest.$ac_objext conftest$ac_exeext
2541 if { { ac_try="$ac_link"
2542 case "(($ac_try" in
2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2545 esac
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_link") 2>conftest.err
2549 ac_status=$?
2550 if test -s conftest.err; then
2551 grep -v '^ *+' conftest.err >conftest.er1
2552 cat conftest.er1 >&5
2553 mv -f conftest.er1 conftest.err
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } && {
2557 test -z "$ac_c_werror_flag" ||
2558 test ! -s conftest.err
2559 } && test -s conftest$ac_exeext && {
2560 test "$cross_compiling" = yes ||
2561 test -x conftest$ac_exeext
2562 }; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=1
2570 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2571 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2572 # interfere with the next link command; also delete a directory that is
2573 # left behind by Apple's compiler. We do this before executing the actions.
2574 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 as_fn_set_status $ac_retval
2578 } # ac_fn_c_try_link
2580 # ac_fn_c_try_cpp LINENO
2581 # ----------------------
2582 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2583 ac_fn_c_try_cpp ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 if { { ac_try="$ac_cpp conftest.$ac_ext"
2587 case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590 esac
2591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2592 $as_echo "$ac_try_echo"; } >&5
2593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2594 ac_status=$?
2595 if test -s conftest.err; then
2596 grep -v '^ *+' conftest.err >conftest.er1
2597 cat conftest.er1 >&5
2598 mv -f conftest.er1 conftest.err
2600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2601 test $ac_status = 0; } > conftest.i && {
2602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2603 test ! -s conftest.err
2604 }; then :
2605 ac_retval=0
2606 else
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 ac_retval=1
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 as_fn_set_status $ac_retval
2615 } # ac_fn_c_try_cpp
2617 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2618 # -------------------------------------------------------
2619 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2620 # the include files in INCLUDES and setting the cache variable VAR
2621 # accordingly.
2622 ac_fn_c_check_header_mongrel ()
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 if eval \${$3+:} false; then :
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2627 $as_echo_n "checking for $2... " >&6; }
2628 if eval \${$3+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 eval ac_res=\$$3
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2633 $as_echo "$ac_res" >&6; }
2634 else
2635 # Is the header compilable?
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2637 $as_echo_n "checking $2 usability... " >&6; }
2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2641 #include <$2>
2642 _ACEOF
2643 if ac_fn_c_try_compile "$LINENO"; then :
2644 ac_header_compiler=yes
2645 else
2646 ac_header_compiler=no
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2650 $as_echo "$ac_header_compiler" >&6; }
2652 # Is the header present?
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2654 $as_echo_n "checking $2 presence... " >&6; }
2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2657 #include <$2>
2658 _ACEOF
2659 if ac_fn_c_try_cpp "$LINENO"; then :
2660 ac_header_preproc=yes
2661 else
2662 ac_header_preproc=no
2664 rm -f conftest.err conftest.i conftest.$ac_ext
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2666 $as_echo "$ac_header_preproc" >&6; }
2668 # So? What about this header?
2669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2670 yes:no: )
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2672 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2676 no:yes:* )
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2678 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2680 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2682 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2684 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2687 ( $as_echo "## ------------------------------------ ##
2688 ## Report this to wine-devel@winehq.org ##
2689 ## ------------------------------------ ##"
2690 ) | sed "s/^/$as_me: WARNING: /" >&2
2692 esac
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2694 $as_echo_n "checking for $2... " >&6; }
2695 if eval \${$3+:} false; then :
2696 $as_echo_n "(cached) " >&6
2697 else
2698 eval "$3=\$ac_header_compiler"
2700 eval ac_res=\$$3
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2702 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_header_mongrel
2708 # ac_fn_c_try_run LINENO
2709 # ----------------------
2710 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2711 # that executables *can* be run.
2712 ac_fn_c_try_run ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 if { { ac_try="$ac_link"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_link") 2>&5
2723 ac_status=$?
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2726 { { case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_try") 2>&5
2733 ac_status=$?
2734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 test $ac_status = 0; }; }; then :
2736 ac_retval=0
2737 else
2738 $as_echo "$as_me: program exited with status $ac_status" >&5
2739 $as_echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2742 ac_retval=$ac_status
2744 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 as_fn_set_status $ac_retval
2748 } # ac_fn_c_try_run
2750 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2751 # -------------------------------------------------------
2752 # Tests whether HEADER exists and can be compiled using the include files in
2753 # INCLUDES, setting the cache variable VAR accordingly.
2754 ac_fn_c_check_header_compile ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2758 $as_echo_n "checking for $2... " >&6; }
2759 if eval \${$3+:} false; then :
2760 $as_echo_n "(cached) " >&6
2761 else
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2765 #include <$2>
2766 _ACEOF
2767 if ac_fn_c_try_compile "$LINENO"; then :
2768 eval "$3=yes"
2769 else
2770 eval "$3=no"
2772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 eval ac_res=\$$3
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2776 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_header_compile
2781 # ac_fn_c_check_func LINENO FUNC VAR
2782 # ----------------------------------
2783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2784 ac_fn_c_check_func ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2788 $as_echo_n "checking for $2... " >&6; }
2789 if eval \${$3+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2796 #define $2 innocuous_$2
2798 /* System header to define __stub macros and hopefully few prototypes,
2799 which can conflict with char $2 (); below.
2800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2801 <limits.h> exists even on freestanding compilers. */
2803 #ifdef __STDC__
2804 # include <limits.h>
2805 #else
2806 # include <assert.h>
2807 #endif
2809 #undef $2
2811 /* Override any GCC internal prototype to avoid an error.
2812 Use char because int might match the return type of a GCC
2813 builtin and then its argument prototype would still apply. */
2814 #ifdef __cplusplus
2815 extern "C"
2816 #endif
2817 char $2 ();
2818 /* The GNU C library defines this for functions which it implements
2819 to always fail with ENOSYS. Some functions are actually named
2820 something starting with __ and the normal name is an alias. */
2821 #if defined __stub_$2 || defined __stub___$2
2822 choke me
2823 #endif
2826 main ()
2828 return $2 ();
2830 return 0;
2832 _ACEOF
2833 if ac_fn_c_try_link "$LINENO"; then :
2834 eval "$3=yes"
2835 else
2836 eval "$3=no"
2838 rm -f core conftest.err conftest.$ac_objext \
2839 conftest$ac_exeext conftest.$ac_ext
2841 eval ac_res=\$$3
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2843 $as_echo "$ac_res" >&6; }
2844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 } # ac_fn_c_check_func
2848 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2849 # ----------------------------------------------------
2850 # Tries to find if the field MEMBER exists in type AGGR, after including
2851 # INCLUDES, setting cache variable VAR accordingly.
2852 ac_fn_c_check_member ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2856 $as_echo_n "checking for $2.$3... " >&6; }
2857 if eval \${$4+:} false; then :
2858 $as_echo_n "(cached) " >&6
2859 else
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2864 main ()
2866 static $2 ac_aggr;
2867 if (ac_aggr.$3)
2868 return 0;
2870 return 0;
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 eval "$4=yes"
2875 else
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2880 main ()
2882 static $2 ac_aggr;
2883 if (sizeof ac_aggr.$3)
2884 return 0;
2886 return 0;
2888 _ACEOF
2889 if ac_fn_c_try_compile "$LINENO"; then :
2890 eval "$4=yes"
2891 else
2892 eval "$4=no"
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 eval ac_res=\$$4
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2900 $as_echo "$ac_res" >&6; }
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 } # ac_fn_c_check_member
2905 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2906 # -------------------------------------------
2907 # Tests whether TYPE exists after having included INCLUDES, setting cache
2908 # variable VAR accordingly.
2909 ac_fn_c_check_type ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 $as_echo_n "checking for $2... " >&6; }
2914 if eval \${$3+:} false; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 eval "$3=no"
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2924 if (sizeof ($2))
2925 return 0;
2927 return 0;
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"; then :
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2937 if (sizeof (($2)))
2938 return 0;
2940 return 0;
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2945 else
2946 eval "$3=yes"
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 eval ac_res=\$$3
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2954 $as_echo "$ac_res" >&6; }
2955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 } # ac_fn_c_check_type
2958 cat >config.log <<_ACEOF
2959 This file contains any messages produced by compilers while
2960 running configure, to aid debugging if configure makes a mistake.
2962 It was created by Wine $as_me 1.9.18, which was
2963 generated by GNU Autoconf 2.69. Invocation command line was
2965 $ $0 $@
2967 _ACEOF
2968 exec 5>>config.log
2970 cat <<_ASUNAME
2971 ## --------- ##
2972 ## Platform. ##
2973 ## --------- ##
2975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2976 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2977 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2978 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2979 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2982 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2984 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2985 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2987 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2988 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2989 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2990 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2992 _ASUNAME
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 for as_dir in $PATH
2997 IFS=$as_save_IFS
2998 test -z "$as_dir" && as_dir=.
2999 $as_echo "PATH: $as_dir"
3000 done
3001 IFS=$as_save_IFS
3003 } >&5
3005 cat >&5 <<_ACEOF
3008 ## ----------- ##
3009 ## Core tests. ##
3010 ## ----------- ##
3012 _ACEOF
3015 # Keep a trace of the command line.
3016 # Strip out --no-create and --no-recursion so they do not pile up.
3017 # Strip out --silent because we don't want to record it for future runs.
3018 # Also quote any args containing shell meta-characters.
3019 # Make two passes to allow for proper duplicate-argument suppression.
3020 ac_configure_args=
3021 ac_configure_args0=
3022 ac_configure_args1=
3023 ac_must_keep_next=false
3024 for ac_pass in 1 2
3026 for ac_arg
3028 case $ac_arg in
3029 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3031 | -silent | --silent | --silen | --sile | --sil)
3032 continue ;;
3033 *\'*)
3034 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3035 esac
3036 case $ac_pass in
3037 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3039 as_fn_append ac_configure_args1 " '$ac_arg'"
3040 if test $ac_must_keep_next = true; then
3041 ac_must_keep_next=false # Got value, back to normal.
3042 else
3043 case $ac_arg in
3044 *=* | --config-cache | -C | -disable-* | --disable-* \
3045 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3046 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3047 | -with-* | --with-* | -without-* | --without-* | --x)
3048 case "$ac_configure_args0 " in
3049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3050 esac
3052 -* ) ac_must_keep_next=true ;;
3053 esac
3055 as_fn_append ac_configure_args " '$ac_arg'"
3057 esac
3058 done
3059 done
3060 { ac_configure_args0=; unset ac_configure_args0;}
3061 { ac_configure_args1=; unset ac_configure_args1;}
3063 # When interrupted or exit'd, cleanup temporary files, and complete
3064 # config.log. We remove comments because anyway the quotes in there
3065 # would cause problems or look ugly.
3066 # WARNING: Use '\'' to represent an apostrophe within the trap.
3067 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3068 trap 'exit_status=$?
3069 # Save into config.log some information that might help in debugging.
3071 echo
3073 $as_echo "## ---------------- ##
3074 ## Cache variables. ##
3075 ## ---------------- ##"
3076 echo
3077 # The following way of writing the cache mishandles newlines in values,
3079 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3080 eval ac_val=\$$ac_var
3081 case $ac_val in #(
3082 *${as_nl}*)
3083 case $ac_var in #(
3084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3086 esac
3087 case $ac_var in #(
3088 _ | IFS | as_nl) ;; #(
3089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3090 *) { eval $ac_var=; unset $ac_var;} ;;
3091 esac ;;
3092 esac
3093 done
3094 (set) 2>&1 |
3095 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3096 *${as_nl}ac_space=\ *)
3097 sed -n \
3098 "s/'\''/'\''\\\\'\'''\''/g;
3099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3100 ;; #(
3102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3104 esac |
3105 sort
3107 echo
3109 $as_echo "## ----------------- ##
3110 ## Output variables. ##
3111 ## ----------------- ##"
3112 echo
3113 for ac_var in $ac_subst_vars
3115 eval ac_val=\$$ac_var
3116 case $ac_val in
3117 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3118 esac
3119 $as_echo "$ac_var='\''$ac_val'\''"
3120 done | sort
3121 echo
3123 if test -n "$ac_subst_files"; then
3124 $as_echo "## ------------------- ##
3125 ## File substitutions. ##
3126 ## ------------------- ##"
3127 echo
3128 for ac_var in $ac_subst_files
3130 eval ac_val=\$$ac_var
3131 case $ac_val in
3132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3133 esac
3134 $as_echo "$ac_var='\''$ac_val'\''"
3135 done | sort
3136 echo
3139 if test -s confdefs.h; then
3140 $as_echo "## ----------- ##
3141 ## confdefs.h. ##
3142 ## ----------- ##"
3143 echo
3144 cat confdefs.h
3145 echo
3147 test "$ac_signal" != 0 &&
3148 $as_echo "$as_me: caught signal $ac_signal"
3149 $as_echo "$as_me: exit $exit_status"
3150 } >&5
3151 rm -f core *.core core.conftest.* &&
3152 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3153 exit $exit_status
3155 for ac_signal in 1 2 13 15; do
3156 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3157 done
3158 ac_signal=0
3160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3161 rm -f -r conftest* confdefs.h
3163 $as_echo "/* confdefs.h */" > confdefs.h
3165 # Predefined preprocessor variables.
3167 cat >>confdefs.h <<_ACEOF
3168 #define PACKAGE_NAME "$PACKAGE_NAME"
3169 _ACEOF
3171 cat >>confdefs.h <<_ACEOF
3172 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3173 _ACEOF
3175 cat >>confdefs.h <<_ACEOF
3176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3177 _ACEOF
3179 cat >>confdefs.h <<_ACEOF
3180 #define PACKAGE_STRING "$PACKAGE_STRING"
3181 _ACEOF
3183 cat >>confdefs.h <<_ACEOF
3184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3185 _ACEOF
3187 cat >>confdefs.h <<_ACEOF
3188 #define PACKAGE_URL "$PACKAGE_URL"
3189 _ACEOF
3192 # Let the site file select an alternate cache file if it wants to.
3193 # Prefer an explicitly selected file to automatically selected ones.
3194 ac_site_file1=NONE
3195 ac_site_file2=NONE
3196 if test -n "$CONFIG_SITE"; then
3197 # We do not want a PATH search for config.site.
3198 case $CONFIG_SITE in #((
3199 -*) ac_site_file1=./$CONFIG_SITE;;
3200 */*) ac_site_file1=$CONFIG_SITE;;
3201 *) ac_site_file1=./$CONFIG_SITE;;
3202 esac
3203 elif test "x$prefix" != xNONE; then
3204 ac_site_file1=$prefix/share/config.site
3205 ac_site_file2=$prefix/etc/config.site
3206 else
3207 ac_site_file1=$ac_default_prefix/share/config.site
3208 ac_site_file2=$ac_default_prefix/etc/config.site
3210 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3212 test "x$ac_site_file" = xNONE && continue
3213 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3215 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3216 sed 's/^/| /' "$ac_site_file" >&5
3217 . "$ac_site_file" \
3218 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "failed to load site script $ac_site_file
3221 See \`config.log' for more details" "$LINENO" 5; }
3223 done
3225 if test -r "$cache_file"; then
3226 # Some versions of bash will fail to source /dev/null (special files
3227 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3228 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3230 $as_echo "$as_me: loading cache $cache_file" >&6;}
3231 case $cache_file in
3232 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3233 *) . "./$cache_file";;
3234 esac
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3238 $as_echo "$as_me: creating cache $cache_file" >&6;}
3239 >$cache_file
3242 # Check that the precious variables saved in the cache have kept the same
3243 # value.
3244 ac_cache_corrupted=false
3245 for ac_var in $ac_precious_vars; do
3246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3247 eval ac_new_set=\$ac_env_${ac_var}_set
3248 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3249 eval ac_new_val=\$ac_env_${ac_var}_value
3250 case $ac_old_set,$ac_new_set in
3251 set,)
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3253 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3254 ac_cache_corrupted=: ;;
3255 ,set)
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3257 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3258 ac_cache_corrupted=: ;;
3259 ,);;
3261 if test "x$ac_old_val" != "x$ac_new_val"; then
3262 # differences in whitespace do not lead to failure.
3263 ac_old_val_w=`echo x $ac_old_val`
3264 ac_new_val_w=`echo x $ac_new_val`
3265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3267 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3268 ac_cache_corrupted=:
3269 else
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3271 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3272 eval $ac_var=\$ac_old_val
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3275 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3277 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3278 fi;;
3279 esac
3280 # Pass precious variables to config.status.
3281 if test "$ac_new_set" = set; then
3282 case $ac_new_val in
3283 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3284 *) ac_arg=$ac_var=$ac_new_val ;;
3285 esac
3286 case " $ac_configure_args " in
3287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3288 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3289 esac
3291 done
3292 if $ac_cache_corrupted; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3296 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3297 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3299 ## -------------------- ##
3300 ## Main body of script. ##
3301 ## -------------------- ##
3303 ac_ext=c
3304 ac_cpp='$CPP $CPPFLAGS'
3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 ac_config_headers="$ac_config_headers include/config.h"
3313 ac_aux_dir=
3314 for ac_dir in tools "$srcdir"/tools; do
3315 if test -f "$ac_dir/install-sh"; then
3316 ac_aux_dir=$ac_dir
3317 ac_install_sh="$ac_aux_dir/install-sh -c"
3318 break
3319 elif test -f "$ac_dir/install.sh"; then
3320 ac_aux_dir=$ac_dir
3321 ac_install_sh="$ac_aux_dir/install.sh -c"
3322 break
3323 elif test -f "$ac_dir/shtool"; then
3324 ac_aux_dir=$ac_dir
3325 ac_install_sh="$ac_aux_dir/shtool install -c"
3326 break
3328 done
3329 if test -z "$ac_aux_dir"; then
3330 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3333 # These three variables are undocumented and unsupported,
3334 # and are intended to be withdrawn in a future Autoconf release.
3335 # They can cause serious problems if a builder's source tree is in a directory
3336 # whose full name contains unusual characters.
3337 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3338 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3339 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3343 libwine_version="1.0"
3347 # Check whether --enable-win16 was given.
3348 if test "${enable_win16+set}" = set; then :
3349 enableval=$enable_win16;
3352 # Check whether --enable-win64 was given.
3353 if test "${enable_win64+set}" = set; then :
3354 enableval=$enable_win64;
3357 # Check whether --enable-tests was given.
3358 if test "${enable_tests+set}" = set; then :
3359 enableval=$enable_tests;
3362 # Check whether --enable-maintainer-mode was given.
3363 if test "${enable_maintainer_mode+set}" = set; then :
3364 enableval=$enable_maintainer_mode;
3369 # Check whether --with-alsa was given.
3370 if test "${with_alsa+set}" = set; then :
3371 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3375 # Check whether --with-capi was given.
3376 if test "${with_capi+set}" = set; then :
3377 withval=$with_capi;
3381 # Check whether --with-cms was given.
3382 if test "${with_cms+set}" = set; then :
3383 withval=$with_cms;
3387 # Check whether --with-coreaudio was given.
3388 if test "${with_coreaudio+set}" = set; then :
3389 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3393 # Check whether --with-cups was given.
3394 if test "${with_cups+set}" = set; then :
3395 withval=$with_cups;
3399 # Check whether --with-curses was given.
3400 if test "${with_curses+set}" = set; then :
3401 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3405 # Check whether --with-dbus was given.
3406 if test "${with_dbus+set}" = set; then :
3407 withval=$with_dbus;
3411 # Check whether --with-fontconfig was given.
3412 if test "${with_fontconfig+set}" = set; then :
3413 withval=$with_fontconfig;
3417 # Check whether --with-freetype was given.
3418 if test "${with_freetype+set}" = set; then :
3419 withval=$with_freetype;
3423 # Check whether --with-gettext was given.
3424 if test "${with_gettext+set}" = set; then :
3425 withval=$with_gettext;
3429 # Check whether --with-gettextpo was given.
3430 if test "${with_gettextpo+set}" = set; then :
3431 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3435 # Check whether --with-gphoto was given.
3436 if test "${with_gphoto+set}" = set; then :
3437 withval=$with_gphoto;
3441 # Check whether --with-glu was given.
3442 if test "${with_glu+set}" = set; then :
3443 withval=$with_glu;
3447 # Check whether --with-gnutls was given.
3448 if test "${with_gnutls+set}" = set; then :
3449 withval=$with_gnutls;
3453 # Check whether --with-gsm was given.
3454 if test "${with_gsm+set}" = set; then :
3455 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3459 # Check whether --with-gstreamer was given.
3460 if test "${with_gstreamer+set}" = set; then :
3461 withval=$with_gstreamer;
3465 # Check whether --with-hal was given.
3466 if test "${with_hal+set}" = set; then :
3467 withval=$with_hal;
3471 # Check whether --with-jpeg was given.
3472 if test "${with_jpeg+set}" = set; then :
3473 withval=$with_jpeg;
3477 # Check whether --with-ldap was given.
3478 if test "${with_ldap+set}" = set; then :
3479 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3483 # Check whether --with-mpg123 was given.
3484 if test "${with_mpg123+set}" = set; then :
3485 withval=$with_mpg123;
3489 # Check whether --with-netapi was given.
3490 if test "${with_netapi+set}" = set; then :
3491 withval=$with_netapi;
3495 # Check whether --with-openal was given.
3496 if test "${with_openal+set}" = set; then :
3497 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3501 # Check whether --with-opencl was given.
3502 if test "${with_opencl+set}" = set; then :
3503 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3507 # Check whether --with-opengl was given.
3508 if test "${with_opengl+set}" = set; then :
3509 withval=$with_opengl;
3513 # Check whether --with-osmesa was given.
3514 if test "${with_osmesa+set}" = set; then :
3515 withval=$with_osmesa;
3519 # Check whether --with-oss was given.
3520 if test "${with_oss+set}" = set; then :
3521 withval=$with_oss;
3525 # Check whether --with-pcap was given.
3526 if test "${with_pcap+set}" = set; then :
3527 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3531 # Check whether --with-png was given.
3532 if test "${with_png+set}" = set; then :
3533 withval=$with_png;
3537 # Check whether --with-pthread was given.
3538 if test "${with_pthread+set}" = set; then :
3539 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3543 # Check whether --with-pulse was given.
3544 if test "${with_pulse+set}" = set; then :
3545 withval=$with_pulse;
3549 # Check whether --with-sane was given.
3550 if test "${with_sane+set}" = set; then :
3551 withval=$with_sane;
3555 # Check whether --with-tiff was given.
3556 if test "${with_tiff+set}" = set; then :
3557 withval=$with_tiff;
3561 # Check whether --with-udev was given.
3562 if test "${with_udev+set}" = set; then :
3563 withval=$with_udev;
3567 # Check whether --with-v4l was given.
3568 if test "${with_v4l+set}" = set; then :
3569 withval=$with_v4l;
3573 # Check whether --with-xcomposite was given.
3574 if test "${with_xcomposite+set}" = set; then :
3575 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3579 # Check whether --with-xcursor was given.
3580 if test "${with_xcursor+set}" = set; then :
3581 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3585 # Check whether --with-xinerama was given.
3586 if test "${with_xinerama+set}" = set; then :
3587 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3591 # Check whether --with-xinput was given.
3592 if test "${with_xinput+set}" = set; then :
3593 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3597 # Check whether --with-xinput2 was given.
3598 if test "${with_xinput2+set}" = set; then :
3599 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3603 # Check whether --with-xml was given.
3604 if test "${with_xml+set}" = set; then :
3605 withval=$with_xml;
3609 # Check whether --with-xrandr was given.
3610 if test "${with_xrandr+set}" = set; then :
3611 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3615 # Check whether --with-xrender was given.
3616 if test "${with_xrender+set}" = set; then :
3617 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3621 # Check whether --with-xshape was given.
3622 if test "${with_xshape+set}" = set; then :
3623 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3627 # Check whether --with-xshm was given.
3628 if test "${with_xshm+set}" = set; then :
3629 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3633 # Check whether --with-xslt was given.
3634 if test "${with_xslt+set}" = set; then :
3635 withval=$with_xslt;
3639 # Check whether --with-xxf86vm was given.
3640 if test "${with_xxf86vm+set}" = set; then :
3641 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
3645 # Check whether --with-zlib was given.
3646 if test "${with_zlib+set}" = set; then :
3647 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3652 # Check whether --with-wine-tools was given.
3653 if test "${with_wine_tools+set}" = set; then :
3654 withval=$with_wine_tools;
3658 # Check whether --with-wine64 was given.
3659 if test "${with_wine64+set}" = set; then :
3660 withval=$with_wine64;
3664 # Make sure we can run config.sub.
3665 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3666 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3669 $as_echo_n "checking build system type... " >&6; }
3670 if ${ac_cv_build+:} false; then :
3671 $as_echo_n "(cached) " >&6
3672 else
3673 ac_build_alias=$build_alias
3674 test "x$ac_build_alias" = x &&
3675 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3676 test "x$ac_build_alias" = x &&
3677 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3678 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3679 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3683 $as_echo "$ac_cv_build" >&6; }
3684 case $ac_cv_build in
3685 *-*-*) ;;
3686 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3687 esac
3688 build=$ac_cv_build
3689 ac_save_IFS=$IFS; IFS='-'
3690 set x $ac_cv_build
3691 shift
3692 build_cpu=$1
3693 build_vendor=$2
3694 shift; shift
3695 # Remember, the first character of IFS is used to create $*,
3696 # except with old shells:
3697 build_os=$*
3698 IFS=$ac_save_IFS
3699 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3703 $as_echo_n "checking host system type... " >&6; }
3704 if ${ac_cv_host+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 if test "x$host_alias" = x; then
3708 ac_cv_host=$ac_cv_build
3709 else
3710 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3711 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3716 $as_echo "$ac_cv_host" >&6; }
3717 case $ac_cv_host in
3718 *-*-*) ;;
3719 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3720 esac
3721 host=$ac_cv_host
3722 ac_save_IFS=$IFS; IFS='-'
3723 set x $ac_cv_host
3724 shift
3725 host_cpu=$1
3726 host_vendor=$2
3727 shift; shift
3728 # Remember, the first character of IFS is used to create $*,
3729 # except with old shells:
3730 host_os=$*
3731 IFS=$ac_save_IFS
3732 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3736 case "$srcdir" in
3737 .) ;;
3738 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3739 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3740 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3741 fi ;;
3742 esac
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3746 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3747 set x ${MAKE-make}
3748 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3749 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 cat >conftest.make <<\_ACEOF
3753 SHELL = /bin/sh
3754 all:
3755 @echo '@@@%%%=$(MAKE)=@@@%%%'
3756 _ACEOF
3757 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3758 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3759 *@@@%%%=?*=@@@%%%*)
3760 eval ac_cv_prog_make_${ac_make}_set=yes;;
3762 eval ac_cv_prog_make_${ac_make}_set=no;;
3763 esac
3764 rm -f conftest.make
3766 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3768 $as_echo "yes" >&6; }
3769 SET_MAKE=
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3773 SET_MAKE="MAKE=${MAKE-make}"
3776 ac_ext=c
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 if test -n "$ac_tool_prefix"; then
3782 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3783 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if ${ac_cv_prog_CC+:} false; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -n "$CC"; then
3790 ac_cv_prog_CC="$CC" # Let the user override the test.
3791 else
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3795 IFS=$as_save_IFS
3796 test -z "$as_dir" && as_dir=.
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3799 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3803 done
3804 done
3805 IFS=$as_save_IFS
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$ac_cv_prog_CC"; then
3821 ac_ct_CC=$CC
3822 # Extract the first word of "gcc", so it can be a program name with args.
3823 set dummy gcc; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$ac_ct_CC"; then
3830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_CC="gcc"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3850 if test -n "$ac_ct_CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3852 $as_echo "$ac_ct_CC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3858 if test "x$ac_ct_CC" = x; then
3859 CC=""
3860 else
3861 case $cross_compiling:$ac_tool_warned in
3862 yes:)
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865 ac_tool_warned=yes ;;
3866 esac
3867 CC=$ac_ct_CC
3869 else
3870 CC="$ac_cv_prog_CC"
3873 if test -z "$CC"; then
3874 if test -n "$ac_tool_prefix"; then
3875 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3876 set dummy ${ac_tool_prefix}cc; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_CC+:} false; then :
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if test -n "$CC"; then
3883 ac_cv_prog_CC="$CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3888 IFS=$as_save_IFS
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_CC="${ac_tool_prefix}cc"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3896 done
3897 done
3898 IFS=$as_save_IFS
3902 CC=$ac_cv_prog_CC
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3906 else
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3914 if test -z "$CC"; then
3915 # Extract the first word of "cc", so it can be a program name with args.
3916 set dummy cc; ac_word=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_CC+:} false; then :
3920 $as_echo_n "(cached) " >&6
3921 else
3922 if test -n "$CC"; then
3923 ac_cv_prog_CC="$CC" # Let the user override the test.
3924 else
3925 ac_prog_rejected=no
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 for as_dir in $PATH
3929 IFS=$as_save_IFS
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3934 ac_prog_rejected=yes
3935 continue
3937 ac_cv_prog_CC="cc"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 break 2
3941 done
3942 done
3943 IFS=$as_save_IFS
3945 if test $ac_prog_rejected = yes; then
3946 # We found a bogon in the path, so make sure we never use it.
3947 set dummy $ac_cv_prog_CC
3948 shift
3949 if test $# != 0; then
3950 # We chose a different compiler from the bogus one.
3951 # However, it has the same basename, so the bogon will be chosen
3952 # first if we set CC to just the basename; use the full file name.
3953 shift
3954 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3959 CC=$ac_cv_prog_CC
3960 if test -n "$CC"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3962 $as_echo "$CC" >&6; }
3963 else
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3970 if test -z "$CC"; then
3971 if test -n "$ac_tool_prefix"; then
3972 for ac_prog in cl.exe
3974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test -n "$CC"; then
3982 ac_cv_prog_CC="$CC" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 break 2
3995 done
3996 done
3997 IFS=$as_save_IFS
4001 CC=$ac_cv_prog_CC
4002 if test -n "$CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4004 $as_echo "$CC" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4011 test -n "$CC" && break
4012 done
4014 if test -z "$CC"; then
4015 ac_ct_CC=$CC
4016 for ac_prog in cl.exe
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy $ac_prog; ac_word=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4023 $as_echo_n "(cached) " >&6
4024 else
4025 if test -n "$ac_ct_CC"; then
4026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_CC="$ac_prog"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4041 IFS=$as_save_IFS
4045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4046 if test -n "$ac_ct_CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4048 $as_echo "$ac_ct_CC" >&6; }
4049 else
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 test -n "$ac_ct_CC" && break
4056 done
4058 if test "x$ac_ct_CC" = x; then
4059 CC=""
4060 else
4061 case $cross_compiling:$ac_tool_warned in
4062 yes:)
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4065 ac_tool_warned=yes ;;
4066 esac
4067 CC=$ac_ct_CC
4074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error $? "no acceptable C compiler found in \$PATH
4077 See \`config.log' for more details" "$LINENO" 5; }
4079 # Provide some information about the compiler.
4080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4081 set X $ac_compile
4082 ac_compiler=$2
4083 for ac_option in --version -v -V -qversion; do
4084 { { ac_try="$ac_compiler $ac_option >&5"
4085 case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4092 ac_status=$?
4093 if test -s conftest.err; then
4094 sed '10a\
4095 ... rest of stderr output deleted ...
4096 10q' conftest.err >conftest.er1
4097 cat conftest.er1 >&5
4099 rm -f conftest.er1 conftest.err
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }
4102 done
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4108 main ()
4112 return 0;
4114 _ACEOF
4115 ac_clean_files_save=$ac_clean_files
4116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4117 # Try to create an executable without -o first, disregard a.out.
4118 # It will help us diagnose broken compilers, and finding out an intuition
4119 # of exeext.
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4121 $as_echo_n "checking whether the C compiler works... " >&6; }
4122 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4124 # The possible output files:
4125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4127 ac_rmfiles=
4128 for ac_file in $ac_files
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4133 esac
4134 done
4135 rm -f $ac_rmfiles
4137 if { { ac_try="$ac_link_default"
4138 case "(($ac_try" in
4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4140 *) ac_try_echo=$ac_try;;
4141 esac
4142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4143 $as_echo "$ac_try_echo"; } >&5
4144 (eval "$ac_link_default") 2>&5
4145 ac_status=$?
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }; then :
4148 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4150 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4151 # so that the user can short-circuit this test for compilers unknown to
4152 # Autoconf.
4153 for ac_file in $ac_files ''
4155 test -f "$ac_file" || continue
4156 case $ac_file in
4157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4159 [ab].out )
4160 # We found the default executable, but exeext='' is most
4161 # certainly right.
4162 break;;
4163 *.* )
4164 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4165 then :; else
4166 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4168 # We set ac_cv_exeext here because the later test for it is not
4169 # safe: cross compilers may not add the suffix if given an `-o'
4170 # argument, so we may need to know it at that point already.
4171 # Even if this section looks crufty: it has the advantage of
4172 # actually working.
4173 break;;
4175 break;;
4176 esac
4177 done
4178 test "$ac_cv_exeext" = no && ac_cv_exeext=
4180 else
4181 ac_file=''
4183 if test -z "$ac_file"; then :
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4186 $as_echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.$ac_ext >&5
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error 77 "C compiler cannot create executables
4192 See \`config.log' for more details" "$LINENO" 5; }
4193 else
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4195 $as_echo "yes" >&6; }
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4198 $as_echo_n "checking for C compiler default output file name... " >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4200 $as_echo "$ac_file" >&6; }
4201 ac_exeext=$ac_cv_exeext
4203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4204 ac_clean_files=$ac_clean_files_save
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4206 $as_echo_n "checking for suffix of executables... " >&6; }
4207 if { { ac_try="$ac_link"
4208 case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_link") 2>&5
4215 ac_status=$?
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }; then :
4218 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4219 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4220 # work properly (i.e., refer to `conftest.exe'), while it won't with
4221 # `rm'.
4222 for ac_file in conftest.exe conftest conftest.*; do
4223 test -f "$ac_file" || continue
4224 case $ac_file in
4225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4226 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4227 break;;
4228 * ) break;;
4229 esac
4230 done
4231 else
4232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4235 See \`config.log' for more details" "$LINENO" 5; }
4237 rm -f conftest conftest$ac_cv_exeext
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4239 $as_echo "$ac_cv_exeext" >&6; }
4241 rm -f conftest.$ac_ext
4242 EXEEXT=$ac_cv_exeext
4243 ac_exeext=$EXEEXT
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <stdio.h>
4248 main ()
4250 FILE *f = fopen ("conftest.out", "w");
4251 return ferror (f) || fclose (f) != 0;
4254 return 0;
4256 _ACEOF
4257 ac_clean_files="$ac_clean_files conftest.out"
4258 # Check that the compiler produces executables we can run. If not, either
4259 # the compiler is broken, or we cross compile.
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4261 $as_echo_n "checking whether we are cross compiling... " >&6; }
4262 if test "$cross_compiling" != yes; then
4263 { { ac_try="$ac_link"
4264 case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_link") 2>&5
4271 ac_status=$?
4272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4273 test $ac_status = 0; }
4274 if { ac_try='./conftest$ac_cv_exeext'
4275 { { case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_try") 2>&5
4282 ac_status=$?
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }; }; then
4285 cross_compiling=no
4286 else
4287 if test "$cross_compiling" = maybe; then
4288 cross_compiling=yes
4289 else
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $? "cannot run C compiled programs.
4293 If you meant to cross compile, use \`--host'.
4294 See \`config.log' for more details" "$LINENO" 5; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4299 $as_echo "$cross_compiling" >&6; }
4301 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4302 ac_clean_files=$ac_clean_files_save
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4304 $as_echo_n "checking for suffix of object files... " >&6; }
4305 if ${ac_cv_objext+:} false; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4312 main ()
4316 return 0;
4318 _ACEOF
4319 rm -f conftest.o conftest.obj
4320 if { { ac_try="$ac_compile"
4321 case "(($ac_try" in
4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4324 esac
4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_compile") 2>&5
4328 ac_status=$?
4329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4330 test $ac_status = 0; }; then :
4331 for ac_file in conftest.o conftest.obj conftest.*; do
4332 test -f "$ac_file" || continue;
4333 case $ac_file in
4334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4336 break;;
4337 esac
4338 done
4339 else
4340 $as_echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.$ac_ext >&5
4343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4345 as_fn_error $? "cannot compute suffix of object files: cannot compile
4346 See \`config.log' for more details" "$LINENO" 5; }
4348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4351 $as_echo "$ac_cv_objext" >&6; }
4352 OBJEXT=$ac_cv_objext
4353 ac_objext=$OBJEXT
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4355 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4356 if ${ac_cv_c_compiler_gnu+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 main ()
4365 #ifndef __GNUC__
4366 choke me
4367 #endif
4370 return 0;
4372 _ACEOF
4373 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_compiler_gnu=yes
4375 else
4376 ac_compiler_gnu=no
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4383 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4384 if test $ac_compiler_gnu = yes; then
4385 GCC=yes
4386 else
4387 GCC=
4389 ac_test_CFLAGS=${CFLAGS+set}
4390 ac_save_CFLAGS=$CFLAGS
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4392 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4393 if ${ac_cv_prog_cc_g+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 ac_save_c_werror_flag=$ac_c_werror_flag
4397 ac_c_werror_flag=yes
4398 ac_cv_prog_cc_g=no
4399 CFLAGS="-g"
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4404 main ()
4408 return 0;
4410 _ACEOF
4411 if ac_fn_c_try_compile "$LINENO"; then :
4412 ac_cv_prog_cc_g=yes
4413 else
4414 CFLAGS=""
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4419 main ()
4423 return 0;
4425 _ACEOF
4426 if ac_fn_c_try_compile "$LINENO"; then :
4428 else
4429 ac_c_werror_flag=$ac_save_c_werror_flag
4430 CFLAGS="-g"
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 main ()
4439 return 0;
4441 _ACEOF
4442 if ac_fn_c_try_compile "$LINENO"; then :
4443 ac_cv_prog_cc_g=yes
4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 ac_c_werror_flag=$ac_save_c_werror_flag
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4453 $as_echo "$ac_cv_prog_cc_g" >&6; }
4454 if test "$ac_test_CFLAGS" = set; then
4455 CFLAGS=$ac_save_CFLAGS
4456 elif test $ac_cv_prog_cc_g = yes; then
4457 if test "$GCC" = yes; then
4458 CFLAGS="-g -O2"
4459 else
4460 CFLAGS="-g"
4462 else
4463 if test "$GCC" = yes; then
4464 CFLAGS="-O2"
4465 else
4466 CFLAGS=
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4470 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4471 if ${ac_cv_prog_cc_c89+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 ac_cv_prog_cc_c89=no
4475 ac_save_CC=$CC
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4478 #include <stdarg.h>
4479 #include <stdio.h>
4480 struct stat;
4481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4482 struct buf { int x; };
4483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4484 static char *e (p, i)
4485 char **p;
4486 int i;
4488 return p[i];
4490 static char *f (char * (*g) (char **, int), char **p, ...)
4492 char *s;
4493 va_list v;
4494 va_start (v,p);
4495 s = g (p, va_arg (v,int));
4496 va_end (v);
4497 return s;
4500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4501 function prototypes and stuff, but not '\xHH' hex character constants.
4502 These don't provoke an error unfortunately, instead are silently treated
4503 as 'x'. The following induces an error, until -std is added to get
4504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4505 array size at least. It's necessary to write '\x00'==0 to get something
4506 that's true only with -std. */
4507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4510 inside strings and character constants. */
4511 #define FOO(x) 'x'
4512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4514 int test (int i, double x);
4515 struct s1 {int (*f) (int a);};
4516 struct s2 {int (*f) (double a);};
4517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4518 int argc;
4519 char **argv;
4521 main ()
4523 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4525 return 0;
4527 _ACEOF
4528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4529 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4531 CC="$ac_save_CC $ac_arg"
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 ac_cv_prog_cc_c89=$ac_arg
4535 rm -f core conftest.err conftest.$ac_objext
4536 test "x$ac_cv_prog_cc_c89" != "xno" && break
4537 done
4538 rm -f conftest.$ac_ext
4539 CC=$ac_save_CC
4542 # AC_CACHE_VAL
4543 case "x$ac_cv_prog_cc_c89" in
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4546 $as_echo "none needed" >&6; } ;;
4547 xno)
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4549 $as_echo "unsupported" >&6; } ;;
4551 CC="$CC $ac_cv_prog_cc_c89"
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4554 esac
4555 if test "x$ac_cv_prog_cc_c89" != xno; then :
4559 ac_ext=c
4560 ac_cpp='$CPP $CPPFLAGS'
4561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4565 ac_ext=cpp
4566 ac_cpp='$CXXCPP $CPPFLAGS'
4567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4570 if test -z "$CXX"; then
4571 if test -n "$CCC"; then
4572 CXX=$CCC
4573 else
4574 if test -n "$ac_tool_prefix"; then
4575 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_CXX+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 if test -n "$CXX"; then
4585 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4586 else
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 break 2
4598 done
4599 done
4600 IFS=$as_save_IFS
4604 CXX=$ac_cv_prog_CXX
4605 if test -n "$CXX"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4607 $as_echo "$CXX" >&6; }
4608 else
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 test -n "$CXX" && break
4615 done
4617 if test -z "$CXX"; then
4618 ac_ct_CXX=$CXX
4619 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4621 # Extract the first word of "$ac_prog", so it can be a program name with args.
4622 set dummy $ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$ac_ct_CXX"; then
4629 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_CXX="$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4649 if test -n "$ac_ct_CXX"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4651 $as_echo "$ac_ct_CXX" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$ac_ct_CXX" && break
4659 done
4661 if test "x$ac_ct_CXX" = x; then
4662 CXX="g++"
4663 else
4664 case $cross_compiling:$ac_tool_warned in
4665 yes:)
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4668 ac_tool_warned=yes ;;
4669 esac
4670 CXX=$ac_ct_CXX
4676 # Provide some information about the compiler.
4677 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4678 set X $ac_compile
4679 ac_compiler=$2
4680 for ac_option in --version -v -V -qversion; do
4681 { { ac_try="$ac_compiler $ac_option >&5"
4682 case "(($ac_try" in
4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684 *) ac_try_echo=$ac_try;;
4685 esac
4686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4687 $as_echo "$ac_try_echo"; } >&5
4688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4689 ac_status=$?
4690 if test -s conftest.err; then
4691 sed '10a\
4692 ... rest of stderr output deleted ...
4693 10q' conftest.err >conftest.er1
4694 cat conftest.er1 >&5
4696 rm -f conftest.er1 conftest.err
4697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698 test $ac_status = 0; }
4699 done
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4702 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4703 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 main ()
4712 #ifndef __GNUC__
4713 choke me
4714 #endif
4717 return 0;
4719 _ACEOF
4720 if ac_fn_cxx_try_compile "$LINENO"; then :
4721 ac_compiler_gnu=yes
4722 else
4723 ac_compiler_gnu=no
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4730 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4731 if test $ac_compiler_gnu = yes; then
4732 GXX=yes
4733 else
4734 GXX=
4736 ac_test_CXXFLAGS=${CXXFLAGS+set}
4737 ac_save_CXXFLAGS=$CXXFLAGS
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4739 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4740 if ${ac_cv_prog_cxx_g+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4744 ac_cxx_werror_flag=yes
4745 ac_cv_prog_cxx_g=no
4746 CXXFLAGS="-g"
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 if ac_fn_cxx_try_compile "$LINENO"; then :
4759 ac_cv_prog_cxx_g=yes
4760 else
4761 CXXFLAGS=""
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4766 main ()
4770 return 0;
4772 _ACEOF
4773 if ac_fn_cxx_try_compile "$LINENO"; then :
4775 else
4776 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4777 CXXFLAGS="-g"
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4786 return 0;
4788 _ACEOF
4789 if ac_fn_cxx_try_compile "$LINENO"; then :
4790 ac_cv_prog_cxx_g=yes
4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4800 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4801 if test "$ac_test_CXXFLAGS" = set; then
4802 CXXFLAGS=$ac_save_CXXFLAGS
4803 elif test $ac_cv_prog_cxx_g = yes; then
4804 if test "$GXX" = yes; then
4805 CXXFLAGS="-g -O2"
4806 else
4807 CXXFLAGS="-g"
4809 else
4810 if test "$GXX" = yes; then
4811 CXXFLAGS="-O2"
4812 else
4813 CXXFLAGS=
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 if test -n "$ac_tool_prefix"; then
4823 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4824 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_CPPBIN+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 if test -n "$CPPBIN"; then
4831 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4836 IFS=$as_save_IFS
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 CPPBIN=$ac_cv_prog_CPPBIN
4851 if test -n "$CPPBIN"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4853 $as_echo "$CPPBIN" >&6; }
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4861 if test -z "$ac_cv_prog_CPPBIN"; then
4862 ac_ct_CPPBIN=$CPPBIN
4863 # Extract the first word of "cpp", so it can be a program name with args.
4864 set dummy cpp; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 if test -n "$ac_ct_CPPBIN"; then
4871 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4876 IFS=$as_save_IFS
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_ac_ct_CPPBIN="cpp"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 break 2
4884 done
4885 done
4886 IFS=$as_save_IFS
4890 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4891 if test -n "$ac_ct_CPPBIN"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4893 $as_echo "$ac_ct_CPPBIN" >&6; }
4894 else
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4899 if test "x$ac_ct_CPPBIN" = x; then
4900 CPPBIN="cpp"
4901 else
4902 case $cross_compiling:$ac_tool_warned in
4903 yes:)
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4906 ac_tool_warned=yes ;;
4907 esac
4908 CPPBIN=$ac_ct_CPPBIN
4910 else
4911 CPPBIN="$ac_cv_prog_CPPBIN"
4915 cat >>confdefs.h <<_ACEOF
4916 #define EXEEXT "$ac_exeext"
4917 _ACEOF
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}ld; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_LD+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$LD"; then
4928 ac_cv_prog_LD="$LD" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_LD="${ac_tool_prefix}ld"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 LD=$ac_cv_prog_LD
4948 if test -n "$LD"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4950 $as_echo "$LD" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_LD"; then
4959 ac_ct_LD=$LD
4960 # Extract the first word of "ld", so it can be a program name with args.
4961 set dummy ld; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_LD"; then
4968 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4977 ac_cv_prog_ac_ct_LD="ld"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4981 done
4982 done
4983 IFS=$as_save_IFS
4987 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4988 if test -n "$ac_ct_LD"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4990 $as_echo "$ac_ct_LD" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_LD" = x; then
4997 LD=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 LD=$ac_ct_LD
5007 else
5008 LD="$ac_cv_prog_LD"
5012 case $host in
5013 *-darwin*)
5014 with_fontconfig=${with_fontconfig:-no}
5016 *-mingw32*|*-cygwin*)
5017 enable_win16=${enable_win16:-no}
5018 CFLAGS="$CFLAGS -D_WIN32"
5020 esac
5022 case $host in
5023 x86_64*|amd64*)
5024 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5025 then
5026 CC="$CC -m32"
5027 CXX="$CXX -m32"
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5029 $as_echo_n "checking whether $CC works... " >&6; }
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5039 return 0;
5041 _ACEOF
5042 if ac_fn_c_try_link "$LINENO"; then :
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5044 $as_echo "yes" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5048 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5050 rm -f core conftest.err conftest.$ac_objext \
5051 conftest$ac_exeext conftest.$ac_ext
5052 host_cpu="i386"
5053 notice_platform="32-bit "
5054 TARGETFLAGS="-m32"
5056 enable_win16=${enable_win16:-yes}
5057 else
5058 if test "x${GCC}" = "xyes"
5059 then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5061 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5064 #include <stdarg.h>
5066 main ()
5068 void func(__builtin_ms_va_list *args);
5070 return 0;
5072 _ACEOF
5073 if ac_fn_c_try_compile "$LINENO"; then :
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083 CC="$CC -m64"
5084 CXX="$CXX -m64"
5085 host_cpu="x86_64"
5086 notice_platform="64-bit "
5087 TARGETFLAGS="-m64"
5091 arm*)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5093 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 int ac_test(int i) { return i; }
5098 main ()
5100 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5102 return 0;
5104 _ACEOF
5105 if ac_fn_c_try_link "$LINENO"; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5107 $as_echo "yes" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5111 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5113 rm -f core conftest.err conftest.$ac_objext \
5114 conftest$ac_exeext conftest.$ac_ext
5115 CFLAGS="$CFLAGS -marm"
5116 TARGETFLAGS="-marm"
5119 i[3456789]86*)
5120 enable_win16=${enable_win16:-yes}
5122 esac
5124 enable_win16=${enable_win16:-no}
5125 enable_win64=${enable_win64:-no}
5127 enable_winetest=${enable_winetest:-$enable_tests}
5129 if test -n "$with_wine64"
5130 then
5131 if test "x$enable_win64" = "xyes"
5132 then
5133 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5134 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5136 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5137 You should create a separate build directory and run configure from there." "$LINENO" 5
5138 enable_fonts=${enable_fonts:-no}
5139 enable_server=${enable_server:-no}
5140 elif test "x$enable_win64" = "xyes"
5141 then
5142 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5146 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5147 if ${wine_cv_toolsdir+:} false; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 wine_cv_toolsdir="$with_wine_tools"
5151 if test -z "$with_wine_tools"; then
5152 if test "$cross_compiling" = "yes"; then
5153 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5154 elif test -n "$with_wine64"; then
5155 wine_cv_toolsdir="$with_wine64"
5158 if test -z "$wine_cv_toolsdir"; then
5159 wine_makedep=tools/makedep
5160 wine_cv_toolsdir="\$(top_builddir)"
5161 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5162 wine_makedep=$wine_cv_toolsdir/tools/makedep
5163 case "$wine_cv_toolsdir" in
5164 /*) ;;
5165 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5166 esac
5167 enable_tools=${enable_tools:-no}
5168 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5169 else
5170 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5174 $as_echo "$wine_cv_toolsdir" >&6; }
5175 TOOLSDIR=$wine_cv_toolsdir
5177 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5178 then
5179 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5183 for ac_prog in flex
5185 # Extract the first word of "$ac_prog", so it can be a program name with args.
5186 set dummy $ac_prog; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_FLEX+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 if test -n "$FLEX"; then
5193 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5194 else
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5198 IFS=$as_save_IFS
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_FLEX="$ac_prog"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 break 2
5206 done
5207 done
5208 IFS=$as_save_IFS
5212 FLEX=$ac_cv_prog_FLEX
5213 if test -n "$FLEX"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5215 $as_echo "$FLEX" >&6; }
5216 else
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5222 test -n "$FLEX" && break
5223 done
5224 test -n "$FLEX" || FLEX="none"
5226 if test "$FLEX" = "none"
5227 then
5228 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5231 $as_echo_n "checking whether flex is recent enough... " >&6; }
5232 cat >conftest.l <<EOF
5233 %top{
5234 #include "prediluvian.h"
5238 if $FLEX -t conftest.l >/dev/null 2>&5
5239 then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5241 $as_echo "yes" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5245 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5248 for ac_prog in bison
5250 # Extract the first word of "$ac_prog", so it can be a program name with args.
5251 set dummy $ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_BISON+:} false; then :
5255 $as_echo_n "(cached) " >&6
5256 else
5257 if test -n "$BISON"; then
5258 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5259 else
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 for as_dir in $PATH
5263 IFS=$as_save_IFS
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_prog_BISON="$ac_prog"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 break 2
5271 done
5272 done
5273 IFS=$as_save_IFS
5277 BISON=$ac_cv_prog_BISON
5278 if test -n "$BISON"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5280 $as_echo "$BISON" >&6; }
5281 else
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5287 test -n "$BISON" && break
5288 done
5289 test -n "$BISON" || BISON="none"
5291 if test "$BISON" = "none"
5292 then
5293 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5296 if test -n "$ac_tool_prefix"; then
5297 for ac_prog in ar gar
5299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_AR+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -n "$AR"; then
5307 ac_cv_prog_AR="$AR" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 AR=$ac_cv_prog_AR
5327 if test -n "$AR"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5329 $as_echo "$AR" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$AR" && break
5337 done
5339 if test -z "$AR"; then
5340 ac_ct_AR=$AR
5341 for ac_prog in ar gar
5343 # Extract the first word of "$ac_prog", so it can be a program name with args.
5344 set dummy $ac_prog; ac_word=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 if test -n "$ac_ct_AR"; then
5351 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5352 else
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_AR="$ac_prog"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 break 2
5364 done
5365 done
5366 IFS=$as_save_IFS
5370 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5371 if test -n "$ac_ct_AR"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5373 $as_echo "$ac_ct_AR" >&6; }
5374 else
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5380 test -n "$ac_ct_AR" && break
5381 done
5383 if test "x$ac_ct_AR" = x; then
5384 AR="ar"
5385 else
5386 case $cross_compiling:$ac_tool_warned in
5387 yes:)
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5390 ac_tool_warned=yes ;;
5391 esac
5392 AR=$ac_ct_AR
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}strip; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_STRIP+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 if test -n "$STRIP"; then
5405 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 STRIP=$ac_cv_prog_STRIP
5425 if test -n "$STRIP"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5427 $as_echo "$STRIP" >&6; }
5428 else
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 if test -z "$ac_cv_prog_STRIP"; then
5436 ac_ct_STRIP=$STRIP
5437 # Extract the first word of "strip", so it can be a program name with args.
5438 set dummy strip; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5442 $as_echo_n "(cached) " >&6
5443 else
5444 if test -n "$ac_ct_STRIP"; then
5445 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5446 else
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_STRIP="strip"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 break 2
5458 done
5459 done
5460 IFS=$as_save_IFS
5464 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5465 if test -n "$ac_ct_STRIP"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5467 $as_echo "$ac_ct_STRIP" >&6; }
5468 else
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5473 if test "x$ac_ct_STRIP" = x; then
5474 STRIP="strip"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477 yes:)
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 STRIP=$ac_ct_STRIP
5484 else
5485 STRIP="$ac_cv_prog_STRIP"
5488 ARFLAGS=rc
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_RANLIB+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$RANLIB"; then
5499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 RANLIB=$ac_cv_prog_RANLIB
5519 if test -n "$RANLIB"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5521 $as_echo "$RANLIB" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5529 if test -z "$ac_cv_prog_RANLIB"; then
5530 ac_ct_RANLIB=$RANLIB
5531 # Extract the first word of "ranlib", so it can be a program name with args.
5532 set dummy ranlib; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5536 $as_echo_n "(cached) " >&6
5537 else
5538 if test -n "$ac_ct_RANLIB"; then
5539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5540 else
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5544 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_ac_ct_RANLIB="ranlib"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 break 2
5552 done
5553 done
5554 IFS=$as_save_IFS
5558 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5559 if test -n "$ac_ct_RANLIB"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5561 $as_echo "$ac_ct_RANLIB" >&6; }
5562 else
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5567 if test "x$ac_ct_RANLIB" = x; then
5568 RANLIB=":"
5569 else
5570 case $cross_compiling:$ac_tool_warned in
5571 yes:)
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 RANLIB=$ac_ct_RANLIB
5578 else
5579 RANLIB="$ac_cv_prog_RANLIB"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5583 $as_echo_n "checking whether ln -s works... " >&6; }
5584 LN_S=$as_ln_s
5585 if test "$LN_S" = "ln -s"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5587 $as_echo "yes" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5590 $as_echo "no, using $LN_S" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5594 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5595 if ${ac_cv_path_GREP+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -z "$GREP"; then
5599 ac_path_GREP_found=false
5600 # Loop through the user's path and test for each of PROGNAME-LIST
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_prog in grep ggrep; do
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5609 as_fn_executable_p "$ac_path_GREP" || continue
5610 # Check for GNU ac_path_GREP and select it if it is found.
5611 # Check for GNU $ac_path_GREP
5612 case `"$ac_path_GREP" --version 2>&1` in
5613 *GNU*)
5614 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5616 ac_count=0
5617 $as_echo_n 0123456789 >"conftest.in"
5618 while :
5620 cat "conftest.in" "conftest.in" >"conftest.tmp"
5621 mv "conftest.tmp" "conftest.in"
5622 cp "conftest.in" "conftest.nl"
5623 $as_echo 'GREP' >> "conftest.nl"
5624 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5625 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5626 as_fn_arith $ac_count + 1 && ac_count=$as_val
5627 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5628 # Best one so far, save it but keep looking for a better one
5629 ac_cv_path_GREP="$ac_path_GREP"
5630 ac_path_GREP_max=$ac_count
5632 # 10*(2^10) chars as input seems more than enough
5633 test $ac_count -gt 10 && break
5634 done
5635 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5636 esac
5638 $ac_path_GREP_found && break 3
5639 done
5640 done
5641 done
5642 IFS=$as_save_IFS
5643 if test -z "$ac_cv_path_GREP"; then
5644 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5646 else
5647 ac_cv_path_GREP=$GREP
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5652 $as_echo "$ac_cv_path_GREP" >&6; }
5653 GREP="$ac_cv_path_GREP"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5657 $as_echo_n "checking for egrep... " >&6; }
5658 if ${ac_cv_path_EGREP+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5662 then ac_cv_path_EGREP="$GREP -E"
5663 else
5664 if test -z "$EGREP"; then
5665 ac_path_EGREP_found=false
5666 # Loop through the user's path and test for each of PROGNAME-LIST
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_prog in egrep; do
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5675 as_fn_executable_p "$ac_path_EGREP" || continue
5676 # Check for GNU ac_path_EGREP and select it if it is found.
5677 # Check for GNU $ac_path_EGREP
5678 case `"$ac_path_EGREP" --version 2>&1` in
5679 *GNU*)
5680 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5682 ac_count=0
5683 $as_echo_n 0123456789 >"conftest.in"
5684 while :
5686 cat "conftest.in" "conftest.in" >"conftest.tmp"
5687 mv "conftest.tmp" "conftest.in"
5688 cp "conftest.in" "conftest.nl"
5689 $as_echo 'EGREP' >> "conftest.nl"
5690 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5691 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5692 as_fn_arith $ac_count + 1 && ac_count=$as_val
5693 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5694 # Best one so far, save it but keep looking for a better one
5695 ac_cv_path_EGREP="$ac_path_EGREP"
5696 ac_path_EGREP_max=$ac_count
5698 # 10*(2^10) chars as input seems more than enough
5699 test $ac_count -gt 10 && break
5700 done
5701 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5702 esac
5704 $ac_path_EGREP_found && break 3
5705 done
5706 done
5707 done
5708 IFS=$as_save_IFS
5709 if test -z "$ac_cv_path_EGREP"; then
5710 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5712 else
5713 ac_cv_path_EGREP=$EGREP
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5719 $as_echo "$ac_cv_path_EGREP" >&6; }
5720 EGREP="$ac_cv_path_EGREP"
5723 # Extract the first word of "ldconfig", so it can be a program name with args.
5724 set dummy ldconfig; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_path_LDCONFIG+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 case $LDCONFIG in
5731 [\\/]* | ?:[\\/]*)
5732 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in /sbin /usr/sbin $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5750 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5752 esac
5754 LDCONFIG=$ac_cv_path_LDCONFIG
5755 if test -n "$LDCONFIG"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5757 $as_echo "$LDCONFIG" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 for ac_prog in msgfmt
5766 # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy $ac_prog; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_MSGFMT+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$MSGFMT"; then
5774 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_MSGFMT="$ac_prog"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 MSGFMT=$ac_cv_prog_MSGFMT
5794 if test -n "$MSGFMT"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5796 $as_echo "$MSGFMT" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5803 test -n "$MSGFMT" && break
5804 done
5805 test -n "$MSGFMT" || MSGFMT="false"
5807 if ${ac_tool_prefix+:} false; then :
5808 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 if test -n "$PKG_CONFIG"; then
5816 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5836 if test -n "$PKG_CONFIG"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5838 $as_echo "$PKG_CONFIG" >&6; }
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5846 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5847 if test "x$cross_compiling" = xyes; then :
5849 else
5850 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5851 # Extract the first word of "pkg-config", so it can be a program name with args.
5852 set dummy pkg-config; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$PKG_CONFIG"; then
5859 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_PKG_CONFIG="pkg-config"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5879 if test -n "$PKG_CONFIG"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5881 $as_echo "$PKG_CONFIG" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5889 else
5890 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5893 if test "x$enable_maintainer_mode" != "xyes"
5894 then
5895 FONTFORGE=""
5896 RSVG=""
5897 CONVERT=""
5898 ICOTOOL=""
5899 else
5900 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5901 for ac_prog in fontforge
5903 # Extract the first word of "$ac_prog", so it can be a program name with args.
5904 set dummy $ac_prog; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_FONTFORGE+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 if test -n "$FONTFORGE"; then
5911 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5916 IFS=$as_save_IFS
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_FONTFORGE="$ac_prog"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 break 2
5924 done
5925 done
5926 IFS=$as_save_IFS
5930 FONTFORGE=$ac_cv_prog_FONTFORGE
5931 if test -n "$FONTFORGE"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5933 $as_echo "$FONTFORGE" >&6; }
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5940 test -n "$FONTFORGE" && break
5941 done
5942 test -n "$FONTFORGE" || FONTFORGE="false"
5944 for ac_prog in rsvg-convert rsvg
5946 # Extract the first word of "$ac_prog", so it can be a program name with args.
5947 set dummy $ac_prog; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_RSVG+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 if test -n "$RSVG"; then
5954 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5955 else
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_RSVG="$ac_prog"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5969 IFS=$as_save_IFS
5973 RSVG=$ac_cv_prog_RSVG
5974 if test -n "$RSVG"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5976 $as_echo "$RSVG" >&6; }
5977 else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 test -n "$RSVG" && break
5984 done
5985 test -n "$RSVG" || RSVG="false"
5987 for ac_prog in convert
5989 # Extract the first word of "$ac_prog", so it can be a program name with args.
5990 set dummy $ac_prog; ac_word=$2
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992 $as_echo_n "checking for $ac_word... " >&6; }
5993 if ${ac_cv_prog_CONVERT+:} false; then :
5994 $as_echo_n "(cached) " >&6
5995 else
5996 if test -n "$CONVERT"; then
5997 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5998 else
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH
6002 IFS=$as_save_IFS
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6006 ac_cv_prog_CONVERT="$ac_prog"
6007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 break 2
6010 done
6011 done
6012 IFS=$as_save_IFS
6016 CONVERT=$ac_cv_prog_CONVERT
6017 if test -n "$CONVERT"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6019 $as_echo "$CONVERT" >&6; }
6020 else
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6026 test -n "$CONVERT" && break
6027 done
6028 test -n "$CONVERT" || CONVERT="false"
6030 for ac_prog in icotool
6032 # Extract the first word of "$ac_prog", so it can be a program name with args.
6033 set dummy $ac_prog; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6035 $as_echo_n "checking for $ac_word... " >&6; }
6036 if ${ac_cv_prog_ICOTOOL+:} false; then :
6037 $as_echo_n "(cached) " >&6
6038 else
6039 if test -n "$ICOTOOL"; then
6040 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6041 else
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 for as_dir in $PATH
6045 IFS=$as_save_IFS
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_ICOTOOL="$ac_prog"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 break 2
6053 done
6054 done
6055 IFS=$as_save_IFS
6059 ICOTOOL=$ac_cv_prog_ICOTOOL
6060 if test -n "$ICOTOOL"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6062 $as_echo "$ICOTOOL" >&6; }
6063 else
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 $as_echo "no" >&6; }
6069 test -n "$ICOTOOL" && break
6070 done
6071 test -n "$ICOTOOL" || ICOTOOL="false"
6073 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6074 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6076 if test "$CONVERT" = false
6077 then
6078 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6081 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6082 convert_version=`convert --version | head -n1`
6083 if test "x$convert_version" != "x"
6084 then
6085 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6086 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6087 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6088 then
6089 CONVERT=false
6092 if test "$CONVERT" = false
6093 then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6095 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6096 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6099 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6103 if test "$ICOTOOL" = false
6104 then
6105 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6108 $as_echo_n "checking for recent enough icotool... " >&6; }
6109 icotool_version=`icotool --version | head -n1`
6110 if test "x$icotool_version" != "x"
6111 then
6112 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6113 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6114 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6115 then
6116 ICOTOOL=false
6117 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6120 if test "$ICOTOOL" = false
6121 then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6123 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6124 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6127 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6131 with_gettext=yes
6132 with_gettextpo=yes
6133 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6136 test "x$with_gettext" != xno || MSGFMT=false
6137 if test "$MSGFMT" != "false"
6138 then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6140 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6141 cat >conftest.po <<EOF
6142 # comment
6143 msgctxt "ctxt"
6144 msgid "id"
6145 msgstr "str"
6147 if $MSGFMT -o /dev/null conftest.po 2>&5
6148 then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150 $as_echo "yes" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6154 MSGFMT=false
6157 if test "$MSGFMT" = false; then :
6158 case "x$with_gettext" in
6159 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6160 xno) ;;
6161 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6162 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6163 esac
6164 enable_po=${enable_po:-no}
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6169 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6170 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 ac_check_lib_save_LIBS=$LIBS
6174 LIBS="-li386 $LIBS"
6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6178 /* Override any GCC internal prototype to avoid an error.
6179 Use char because int might match the return type of a GCC
6180 builtin and then its argument prototype would still apply. */
6181 #ifdef __cplusplus
6182 extern "C"
6183 #endif
6184 char i386_set_ldt ();
6186 main ()
6188 return i386_set_ldt ();
6190 return 0;
6192 _ACEOF
6193 if ac_fn_c_try_link "$LINENO"; then :
6194 ac_cv_lib_i386_i386_set_ldt=yes
6195 else
6196 ac_cv_lib_i386_i386_set_ldt=no
6198 rm -f core conftest.err conftest.$ac_objext \
6199 conftest$ac_exeext conftest.$ac_ext
6200 LIBS=$ac_check_lib_save_LIBS
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6203 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6204 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6205 cat >>confdefs.h <<_ACEOF
6206 #define HAVE_LIBI386 1
6207 _ACEOF
6209 LIBS="-li386 $LIBS"
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6214 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6215 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 ac_check_lib_save_LIBS=$LIBS
6219 LIBS="-lossaudio $LIBS"
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6223 /* Override any GCC internal prototype to avoid an error.
6224 Use char because int might match the return type of a GCC
6225 builtin and then its argument prototype would still apply. */
6226 #ifdef __cplusplus
6227 extern "C"
6228 #endif
6229 char _oss_ioctl ();
6231 main ()
6233 return _oss_ioctl ();
6235 return 0;
6237 _ACEOF
6238 if ac_fn_c_try_link "$LINENO"; then :
6239 ac_cv_lib_ossaudio__oss_ioctl=yes
6240 else
6241 ac_cv_lib_ossaudio__oss_ioctl=no
6243 rm -f core conftest.err conftest.$ac_objext \
6244 conftest$ac_exeext conftest.$ac_ext
6245 LIBS=$ac_check_lib_save_LIBS
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6248 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6249 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6250 cat >>confdefs.h <<_ACEOF
6251 #define HAVE_LIBOSSAUDIO 1
6252 _ACEOF
6254 LIBS="-lossaudio $LIBS"
6259 OPENGL_LIBS=""
6263 # Check whether --enable-largefile was given.
6264 if test "${enable_largefile+set}" = set; then :
6265 enableval=$enable_largefile;
6268 if test "$enable_largefile" != no; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6271 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6272 if ${ac_cv_sys_largefile_CC+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 ac_cv_sys_largefile_CC=no
6276 if test "$GCC" != yes; then
6277 ac_save_CC=$CC
6278 while :; do
6279 # IRIX 6.2 and later do not support large files by default,
6280 # so use the C compiler's -n32 option if that helps.
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #include <sys/types.h>
6284 /* Check that off_t can represent 2**63 - 1 correctly.
6285 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6286 since some C++ compilers masquerading as C compilers
6287 incorrectly reject 9223372036854775807. */
6288 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6289 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6290 && LARGE_OFF_T % 2147483647 == 1)
6291 ? 1 : -1];
6293 main ()
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_compile "$LINENO"; then :
6301 break
6303 rm -f core conftest.err conftest.$ac_objext
6304 CC="$CC -n32"
6305 if ac_fn_c_try_compile "$LINENO"; then :
6306 ac_cv_sys_largefile_CC=' -n32'; break
6308 rm -f core conftest.err conftest.$ac_objext
6309 break
6310 done
6311 CC=$ac_save_CC
6312 rm -f conftest.$ac_ext
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6316 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6317 if test "$ac_cv_sys_largefile_CC" != no; then
6318 CC=$CC$ac_cv_sys_largefile_CC
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6322 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6323 if ${ac_cv_sys_file_offset_bits+:} false; then :
6324 $as_echo_n "(cached) " >&6
6325 else
6326 while :; do
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #include <sys/types.h>
6330 /* Check that off_t can represent 2**63 - 1 correctly.
6331 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6332 since some C++ compilers masquerading as C compilers
6333 incorrectly reject 9223372036854775807. */
6334 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6335 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6336 && LARGE_OFF_T % 2147483647 == 1)
6337 ? 1 : -1];
6339 main ()
6343 return 0;
6345 _ACEOF
6346 if ac_fn_c_try_compile "$LINENO"; then :
6347 ac_cv_sys_file_offset_bits=no; break
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #define _FILE_OFFSET_BITS 64
6353 #include <sys/types.h>
6354 /* Check that off_t can represent 2**63 - 1 correctly.
6355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6356 since some C++ compilers masquerading as C compilers
6357 incorrectly reject 9223372036854775807. */
6358 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6360 && LARGE_OFF_T % 2147483647 == 1)
6361 ? 1 : -1];
6363 main ()
6367 return 0;
6369 _ACEOF
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371 ac_cv_sys_file_offset_bits=64; break
6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6374 ac_cv_sys_file_offset_bits=unknown
6375 break
6376 done
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6379 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6380 case $ac_cv_sys_file_offset_bits in #(
6381 no | unknown) ;;
6383 cat >>confdefs.h <<_ACEOF
6384 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6385 _ACEOF
6387 esac
6388 rm -rf conftest*
6389 if test $ac_cv_sys_file_offset_bits = unknown; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6391 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6392 if ${ac_cv_sys_large_files+:} false; then :
6393 $as_echo_n "(cached) " >&6
6394 else
6395 while :; do
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #include <sys/types.h>
6399 /* Check that off_t can represent 2**63 - 1 correctly.
6400 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6401 since some C++ compilers masquerading as C compilers
6402 incorrectly reject 9223372036854775807. */
6403 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6404 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6405 && LARGE_OFF_T % 2147483647 == 1)
6406 ? 1 : -1];
6408 main ()
6412 return 0;
6414 _ACEOF
6415 if ac_fn_c_try_compile "$LINENO"; then :
6416 ac_cv_sys_large_files=no; break
6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6420 /* end confdefs.h. */
6421 #define _LARGE_FILES 1
6422 #include <sys/types.h>
6423 /* Check that off_t can represent 2**63 - 1 correctly.
6424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6425 since some C++ compilers masquerading as C compilers
6426 incorrectly reject 9223372036854775807. */
6427 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6429 && LARGE_OFF_T % 2147483647 == 1)
6430 ? 1 : -1];
6432 main ()
6436 return 0;
6438 _ACEOF
6439 if ac_fn_c_try_compile "$LINENO"; then :
6440 ac_cv_sys_large_files=1; break
6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6443 ac_cv_sys_large_files=unknown
6444 break
6445 done
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6448 $as_echo "$ac_cv_sys_large_files" >&6; }
6449 case $ac_cv_sys_large_files in #(
6450 no | unknown) ;;
6452 cat >>confdefs.h <<_ACEOF
6453 #define _LARGE_FILES $ac_cv_sys_large_files
6454 _ACEOF
6456 esac
6457 rm -rf conftest*
6464 ac_ext=c
6465 ac_cpp='$CPP $CPPFLAGS'
6466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6470 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6471 # On Suns, sometimes $CPP names a directory.
6472 if test -n "$CPP" && test -d "$CPP"; then
6473 CPP=
6475 if test -z "$CPP"; then
6476 if ${ac_cv_prog_CPP+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 # Double quotes because CPP needs to be expanded
6480 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6482 ac_preproc_ok=false
6483 for ac_c_preproc_warn_flag in '' yes
6485 # Use a header file that comes with gcc, so configuring glibc
6486 # with a fresh cross-compiler works.
6487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6488 # <limits.h> exists even on freestanding compilers.
6489 # On the NeXT, cc -E runs the code through the compiler's parser,
6490 # not just through cpp. "Syntax error" is here to catch this case.
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #ifdef __STDC__
6494 # include <limits.h>
6495 #else
6496 # include <assert.h>
6497 #endif
6498 Syntax error
6499 _ACEOF
6500 if ac_fn_c_try_cpp "$LINENO"; then :
6502 else
6503 # Broken: fails on valid input.
6504 continue
6506 rm -f conftest.err conftest.i conftest.$ac_ext
6508 # OK, works on sane cases. Now check whether nonexistent headers
6509 # can be detected and how.
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #include <ac_nonexistent.h>
6513 _ACEOF
6514 if ac_fn_c_try_cpp "$LINENO"; then :
6515 # Broken: success on invalid input.
6516 continue
6517 else
6518 # Passes both tests.
6519 ac_preproc_ok=:
6520 break
6522 rm -f conftest.err conftest.i conftest.$ac_ext
6524 done
6525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6526 rm -f conftest.i conftest.err conftest.$ac_ext
6527 if $ac_preproc_ok; then :
6528 break
6531 done
6532 ac_cv_prog_CPP=$CPP
6535 CPP=$ac_cv_prog_CPP
6536 else
6537 ac_cv_prog_CPP=$CPP
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6540 $as_echo "$CPP" >&6; }
6541 ac_preproc_ok=false
6542 for ac_c_preproc_warn_flag in '' yes
6544 # Use a header file that comes with gcc, so configuring glibc
6545 # with a fresh cross-compiler works.
6546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6547 # <limits.h> exists even on freestanding compilers.
6548 # On the NeXT, cc -E runs the code through the compiler's parser,
6549 # not just through cpp. "Syntax error" is here to catch this case.
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #ifdef __STDC__
6553 # include <limits.h>
6554 #else
6555 # include <assert.h>
6556 #endif
6557 Syntax error
6558 _ACEOF
6559 if ac_fn_c_try_cpp "$LINENO"; then :
6561 else
6562 # Broken: fails on valid input.
6563 continue
6565 rm -f conftest.err conftest.i conftest.$ac_ext
6567 # OK, works on sane cases. Now check whether nonexistent headers
6568 # can be detected and how.
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <ac_nonexistent.h>
6572 _ACEOF
6573 if ac_fn_c_try_cpp "$LINENO"; then :
6574 # Broken: success on invalid input.
6575 continue
6576 else
6577 # Passes both tests.
6578 ac_preproc_ok=:
6579 break
6581 rm -f conftest.err conftest.i conftest.$ac_ext
6583 done
6584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6585 rm -f conftest.i conftest.err conftest.$ac_ext
6586 if $ac_preproc_ok; then :
6588 else
6589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6591 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6592 See \`config.log' for more details" "$LINENO" 5; }
6595 ac_ext=c
6596 ac_cpp='$CPP $CPPFLAGS'
6597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6603 $as_echo_n "checking for ANSI C header files... " >&6; }
6604 if ${ac_cv_header_stdc+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 #include <stdlib.h>
6610 #include <stdarg.h>
6611 #include <string.h>
6612 #include <float.h>
6615 main ()
6619 return 0;
6621 _ACEOF
6622 if ac_fn_c_try_compile "$LINENO"; then :
6623 ac_cv_header_stdc=yes
6624 else
6625 ac_cv_header_stdc=no
6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6629 if test $ac_cv_header_stdc = yes; then
6630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <string.h>
6635 _ACEOF
6636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6637 $EGREP "memchr" >/dev/null 2>&1; then :
6639 else
6640 ac_cv_header_stdc=no
6642 rm -f conftest*
6646 if test $ac_cv_header_stdc = yes; then
6647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <stdlib.h>
6652 _ACEOF
6653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6654 $EGREP "free" >/dev/null 2>&1; then :
6656 else
6657 ac_cv_header_stdc=no
6659 rm -f conftest*
6663 if test $ac_cv_header_stdc = yes; then
6664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6665 if test "$cross_compiling" = yes; then :
6667 else
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <ctype.h>
6671 #include <stdlib.h>
6672 #if ((' ' & 0x0FF) == 0x020)
6673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6675 #else
6676 # define ISLOWER(c) \
6677 (('a' <= (c) && (c) <= 'i') \
6678 || ('j' <= (c) && (c) <= 'r') \
6679 || ('s' <= (c) && (c) <= 'z'))
6680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6681 #endif
6683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6685 main ()
6687 int i;
6688 for (i = 0; i < 256; i++)
6689 if (XOR (islower (i), ISLOWER (i))
6690 || toupper (i) != TOUPPER (i))
6691 return 2;
6692 return 0;
6694 _ACEOF
6695 if ac_fn_c_try_run "$LINENO"; then :
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6701 conftest.$ac_objext conftest.beam conftest.$ac_ext
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6707 $as_echo "$ac_cv_header_stdc" >&6; }
6708 if test $ac_cv_header_stdc = yes; then
6710 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6714 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6715 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6716 inttypes.h stdint.h unistd.h
6717 do :
6718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6719 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6722 cat >>confdefs.h <<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 _ACEOF
6728 done
6731 for ac_header in \
6732 AL/al.h \
6733 ApplicationServices/ApplicationServices.h \
6734 AudioToolbox/AudioConverter.h \
6735 AudioUnit/AudioUnit.h \
6736 AudioUnit/AudioComponent.h \
6737 CL/cl.h \
6738 Carbon/Carbon.h \
6739 CommonCrypto/CommonDigest.h \
6740 CoreAudio/CoreAudio.h \
6741 CoreServices/CoreServices.h \
6742 DiskArbitration/DiskArbitration.h \
6743 IOKit/IOKitLib.h \
6744 IOKit/hid/IOHIDLib.h \
6745 OpenAL/al.h \
6746 OpenCL/opencl.h \
6747 QuickTime/ImageCompression.h \
6748 Security/Security.h \
6749 alias.h \
6750 alsa/asoundlib.h \
6751 arpa/inet.h \
6752 arpa/nameser.h \
6753 asm/types.h \
6754 asm/user.h \
6755 curses.h \
6756 direct.h \
6757 dirent.h \
6758 dlfcn.h \
6759 elf.h \
6760 float.h \
6761 fnmatch.h \
6762 getopt.h \
6763 gettext-po.h \
6764 grp.h \
6765 gsm.h \
6766 gsm/gsm.h \
6767 ieeefp.h \
6768 inet/mib2.h \
6769 io.h \
6770 kstat.h \
6771 lber.h \
6772 ldap.h \
6773 libproc.h \
6774 link.h \
6775 linux/cdrom.h \
6776 linux/compiler.h \
6777 linux/filter.h \
6778 linux/hdreg.h \
6779 linux/input.h \
6780 linux/ioctl.h \
6781 linux/joystick.h \
6782 linux/major.h \
6783 linux/param.h \
6784 linux/serial.h \
6785 linux/types.h \
6786 linux/ucdrom.h \
6787 lwp.h \
6788 mach-o/nlist.h \
6789 mach-o/loader.h \
6790 mach/mach.h \
6791 mach/machine.h \
6792 machine/cpu.h \
6793 machine/limits.h \
6794 machine/sysarch.h \
6795 mntent.h \
6796 ncurses.h \
6797 netdb.h \
6798 netinet/in.h \
6799 netinet/in_systm.h \
6800 netinet/tcp.h \
6801 netinet/tcp_fsm.h \
6802 pcap/pcap.h \
6803 poll.h \
6804 port.h \
6805 process.h \
6806 pthread.h \
6807 pwd.h \
6808 sched.h \
6809 scsi/scsi.h \
6810 scsi/scsi_ioctl.h \
6811 scsi/sg.h \
6812 stdbool.h \
6813 stdint.h \
6814 stropts.h \
6815 sys/asoundlib.h \
6816 sys/attr.h \
6817 sys/cdio.h \
6818 sys/elf32.h \
6819 sys/epoll.h \
6820 sys/event.h \
6821 sys/exec_elf.h \
6822 sys/filio.h \
6823 sys/inotify.h \
6824 sys/ioctl.h \
6825 sys/ipc.h \
6826 sys/limits.h \
6827 sys/link.h \
6828 sys/mman.h \
6829 sys/modem.h \
6830 sys/msg.h \
6831 sys/mtio.h \
6832 sys/param.h \
6833 sys/poll.h \
6834 sys/prctl.h \
6835 sys/protosw.h \
6836 sys/ptrace.h \
6837 sys/queue.h \
6838 sys/resource.h \
6839 sys/scsiio.h \
6840 sys/shm.h \
6841 sys/signal.h \
6842 sys/socket.h \
6843 sys/socketvar.h \
6844 sys/sockio.h \
6845 sys/statvfs.h \
6846 sys/strtio.h \
6847 sys/syscall.h \
6848 sys/sysinfo.h \
6849 sys/tihdr.h \
6850 sys/time.h \
6851 sys/timeout.h \
6852 sys/times.h \
6853 sys/uio.h \
6854 sys/user.h \
6855 sys/utsname.h \
6856 sys/vm86.h \
6857 sys/vnode.h \
6858 sys/wait.h \
6859 syscall.h \
6860 termios.h \
6861 unistd.h \
6862 utime.h \
6863 valgrind/memcheck.h \
6864 valgrind/valgrind.h \
6865 zlib.h
6867 do :
6868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 _ACEOF
6877 done
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6880 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6881 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6882 $as_echo_n "(cached) " >&6
6883 else
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6886 #include <sys/types.h>
6888 main ()
6890 return makedev(0, 0);
6892 return 0;
6894 _ACEOF
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_header_sys_types_h_makedev=yes
6897 else
6898 ac_cv_header_sys_types_h_makedev=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6905 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6907 if test $ac_cv_header_sys_types_h_makedev = no; then
6908 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6909 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6911 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6917 if test $ac_cv_header_sys_mkdev_h = no; then
6918 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6919 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6921 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6930 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6931 if ${ac_cv_header_stat_broken+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 #include <sys/stat.h>
6939 #if defined S_ISBLK && defined S_IFDIR
6940 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6941 #endif
6943 #if defined S_ISBLK && defined S_IFCHR
6944 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6945 #endif
6947 #if defined S_ISLNK && defined S_IFREG
6948 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6949 #endif
6951 #if defined S_ISSOCK && defined S_IFREG
6952 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6953 #endif
6955 _ACEOF
6956 if ac_fn_c_try_compile "$LINENO"; then :
6957 ac_cv_header_stat_broken=no
6958 else
6959 ac_cv_header_stat_broken=yes
6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6964 $as_echo "$ac_cv_header_stat_broken" >&6; }
6965 if test $ac_cv_header_stat_broken = yes; then
6967 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6973 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6974 do :
6975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6976 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6977 #ifdef HAVE_SYS_PARAM_H
6978 # include <sys/param.h>
6979 #endif
6981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6982 cat >>confdefs.h <<_ACEOF
6983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6984 _ACEOF
6988 done
6991 for ac_header in \
6992 netinet/ip.h \
6993 net/if.h \
6994 net/if_arp.h \
6995 net/if_dl.h \
6996 net/if_types.h \
6997 net/route.h \
6998 netinet/if_ether.h \
6999 netinet/if_inarp.h \
7000 netinet/in_pcb.h \
7001 netinet/ip_icmp.h \
7002 netinet/ip_var.h \
7003 netinet/udp.h \
7004 netipx/ipx.h \
7005 sys/un.h \
7007 do :
7008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7010 #ifdef HAVE_SYS_SOCKET_H
7011 # include <sys/socket.h>
7012 #endif
7013 #ifdef HAVE_SYS_SOCKETVAR_H
7014 # include <sys/socketvar.h>
7015 #endif
7016 #ifdef HAVE_NET_ROUTE_H
7017 # include <net/route.h>
7018 #endif
7019 #ifdef HAVE_NETINET_IN_H
7020 # include <netinet/in.h>
7021 #endif
7022 #ifdef HAVE_NETINET_IN_SYSTM_H
7023 # include <netinet/in_systm.h>
7024 #endif
7025 #ifdef HAVE_NET_IF_H
7026 # include <net/if.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IP_H
7029 # include <netinet/ip.h>
7030 #endif
7032 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7033 cat >>confdefs.h <<_ACEOF
7034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7035 _ACEOF
7039 done
7042 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7043 do :
7044 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7045 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7046 #ifdef HAVE_ALIAS_H
7047 # include <alias.h>
7048 #endif
7049 #ifdef HAVE_SYS_SOCKET_H
7050 # include <sys/socket.h>
7051 #endif
7052 #ifdef HAVE_SYS_SOCKETVAR_H
7053 # include <sys/socketvar.h>
7054 #endif
7055 #ifdef HAVE_SYS_TIMEOUT_H
7056 # include <sys/timeout.h>
7057 #endif
7058 #ifdef HAVE_NETINET_IN_H
7059 # include <netinet/in.h>
7060 #endif
7061 #ifdef HAVE_NETINET_IN_SYSTM_H
7062 # include <netinet/in_systm.h>
7063 #endif
7064 #ifdef HAVE_NETINET_IP_H
7065 # include <netinet/ip.h>
7066 #endif
7067 #ifdef HAVE_NETINET_IP_VAR_H
7068 # include <netinet/ip_var.h>
7069 #endif
7070 #ifdef HAVE_NETINET_IP_ICMP_H
7071 # include <netinet/ip_icmp.h>
7072 #endif
7073 #ifdef HAVE_NETINET_UDP_H
7074 # include <netinet/udp.h>
7075 #endif
7076 #ifdef HAVE_NETINET_TCP_H
7077 # include <netinet/tcp.h>
7078 #endif
7079 #ifdef HAVE_NETINET_TCP_TIMER_H
7080 #include <netinet/tcp_timer.h>
7081 #endif
7083 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7084 cat >>confdefs.h <<_ACEOF
7085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7086 _ACEOF
7090 done
7093 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7094 do :
7095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7097 #ifdef HAVE_ASM_TYPES_H
7098 # include <asm/types.h>
7099 #endif
7100 #ifdef HAVE_SYS_SOCKET_H
7101 # include <sys/socket.h>
7102 #endif
7103 #ifdef HAVE_LINUX_TYPES_H
7104 # include <linux/types.h>
7105 #endif
7107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 _ACEOF
7114 done
7117 for ac_header in mach-o/dyld_images.h
7118 do :
7119 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7120 # include <stdbool.h>
7121 #endif
7122 #ifdef HAVE_STDINT_H
7123 # include <stdint.h>
7124 #endif
7126 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7129 _ACEOF
7133 done
7136 for ac_header in resolv.h
7137 do :
7138 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7139 #ifdef HAVE_SYS_SOCKET_H
7140 # include <sys/socket.h>
7141 #endif
7142 #ifdef HAVE_NETINET_IN_H
7143 # include <netinet/in.h>
7144 #endif
7145 #ifdef HAVE_ARPA_NAMESER_H
7146 # include <arpa/nameser.h>
7147 #endif
7149 if test "x$ac_cv_header_resolv_h" = xyes; then :
7150 cat >>confdefs.h <<_ACEOF
7151 #define HAVE_RESOLV_H 1
7152 _ACEOF
7156 done
7159 for ac_header in ifaddrs.h
7160 do :
7161 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7163 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_IFADDRS_H 1
7166 _ACEOF
7170 done
7173 for ac_header in sys/ucontext.h
7174 do :
7175 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7177 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_SYS_UCONTEXT_H 1
7180 _ACEOF
7184 done
7187 for ac_header in sys/thr.h
7188 do :
7189 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7190 #ifdef HAVE_SYS_UCONTEXT_H
7191 #include <sys/ucontext.h>
7192 #endif
7194 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7195 cat >>confdefs.h <<_ACEOF
7196 #define HAVE_SYS_THR_H 1
7197 _ACEOF
7201 done
7204 for ac_header in pthread_np.h
7205 do :
7206 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7207 #include <pthread.h>
7208 #endif
7210 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define HAVE_PTHREAD_NP_H 1
7213 _ACEOF
7217 done
7220 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7221 do :
7222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7224 #include <sys/time.h>
7225 #endif
7226 #include <sys/types.h>
7227 #ifdef HAVE_ASM_TYPES_H
7228 #include <asm/types.h>
7229 #endif
7231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7232 cat >>confdefs.h <<_ACEOF
7233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7234 _ACEOF
7238 done
7241 for ac_header in libprocstat.h
7242 do :
7243 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7244 #include <sys/param.h>
7245 #endif
7246 #ifdef HAVE_SYS_QUEUE_H
7247 #include <sys/queue.h>
7248 #endif
7249 #ifdef HAVE_SYS_SOCKET_H
7250 #include <sys/socket.h>
7251 #endif
7253 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_LIBPROCSTAT_H 1
7256 _ACEOF
7260 done
7264 dlldir="\${libdir}/wine"
7266 DLLFLAGS="-D_REENTRANT"
7268 LDRPATH_INSTALL=""
7270 LDRPATH_LOCAL=""
7272 LDEXECFLAGS=""
7274 LIBEXT="so"
7275 DLLEXT=".so"
7276 IMPLIBEXT="def"
7277 # Extract the first word of "ldd", so it can be a program name with args.
7278 set dummy ldd; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_path_LDD+:} false; then :
7282 $as_echo_n "(cached) " >&6
7283 else
7284 case $LDD in
7285 [\\/]* | ?:[\\/]*)
7286 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 as_dummy="/sbin:/usr/sbin:$PATH"
7291 for as_dir in $as_dummy
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7301 done
7302 done
7303 IFS=$as_save_IFS
7305 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7307 esac
7309 LDD=$ac_cv_path_LDD
7310 if test -n "$LDD"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7312 $as_echo "$LDD" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}otool; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_OTOOL+:} false; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 if test -n "$OTOOL"; then
7328 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7333 IFS=$as_save_IFS
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 break 2
7341 done
7342 done
7343 IFS=$as_save_IFS
7347 OTOOL=$ac_cv_prog_OTOOL
7348 if test -n "$OTOOL"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7350 $as_echo "$OTOOL" >&6; }
7351 else
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7358 if test -z "$ac_cv_prog_OTOOL"; then
7359 ac_ct_OTOOL=$OTOOL
7360 # Extract the first word of "otool", so it can be a program name with args.
7361 set dummy otool; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$ac_ct_OTOOL"; then
7368 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_ac_ct_OTOOL="otool"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7388 if test -n "$ac_ct_OTOOL"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7390 $as_echo "$ac_ct_OTOOL" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396 if test "x$ac_ct_OTOOL" = x; then
7397 OTOOL="otool"
7398 else
7399 case $cross_compiling:$ac_tool_warned in
7400 yes:)
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned=yes ;;
7404 esac
7405 OTOOL=$ac_ct_OTOOL
7407 else
7408 OTOOL="$ac_cv_prog_OTOOL"
7411 if test -n "$ac_tool_prefix"; then
7412 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_READELF+:} false; then :
7417 $as_echo_n "(cached) " >&6
7418 else
7419 if test -n "$READELF"; then
7420 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7425 IFS=$as_save_IFS
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 break 2
7433 done
7434 done
7435 IFS=$as_save_IFS
7439 READELF=$ac_cv_prog_READELF
7440 if test -n "$READELF"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7442 $as_echo "$READELF" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7450 if test -z "$ac_cv_prog_READELF"; then
7451 ac_ct_READELF=$READELF
7452 # Extract the first word of "readelf", so it can be a program name with args.
7453 set dummy readelf; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$ac_ct_READELF"; then
7460 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7469 ac_cv_prog_ac_ct_READELF="readelf"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7480 if test -n "$ac_ct_READELF"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7482 $as_echo "$ac_ct_READELF" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7488 if test "x$ac_ct_READELF" = x; then
7489 READELF="true"
7490 else
7491 case $cross_compiling:$ac_tool_warned in
7492 yes:)
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7496 esac
7497 READELF=$ac_ct_READELF
7499 else
7500 READELF="$ac_cv_prog_READELF"
7503 wine_rules_file=conf$$rules.make
7504 rm -f $wine_rules_file
7505 SUBDIRS=""
7507 DISABLED_SUBDIRS=""
7509 CONFIGURE_TARGETS=""
7511 ALL_TEST_RESOURCES=""
7514 wine_fn_append_file ()
7516 as_fn_append $1 " \\$as_nl $2"
7519 wine_fn_append_rule ()
7521 $as_echo "$1" >>$wine_rules_file
7524 wine_fn_has_flag ()
7526 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7529 wine_fn_all_rules ()
7531 wine_fn_append_file SUBDIRS $ac_dir
7532 wine_fn_append_rule \
7533 "all: $ac_dir
7534 .PHONY: $ac_dir
7535 $ac_dir: dummy
7536 @cd $ac_dir && \$(MAKE)"
7539 wine_fn_install_rules ()
7541 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7543 wine_fn_append_rule \
7544 ".PHONY: $ac_dir/install $ac_dir/uninstall
7545 $ac_dir/install:: $ac_dir
7546 @cd $ac_dir && \$(MAKE) install
7547 $ac_dir/uninstall::
7548 @cd $ac_dir && \$(MAKE) uninstall
7549 install:: $ac_dir/install
7550 __uninstall__: $ac_dir/uninstall"
7552 if wine_fn_has_flag install-lib
7553 then
7554 wine_fn_append_rule \
7555 ".PHONY: $ac_dir/install-lib
7556 $ac_dir/install-lib:: $ac_dir
7557 @cd $ac_dir && \$(MAKE) install-lib
7558 install-lib:: $ac_dir/install-lib"
7561 if wine_fn_has_flag install-dev
7562 then
7563 wine_fn_append_rule \
7564 ".PHONY: $ac_dir/install-dev
7565 $ac_dir/install-dev:: $ac_dir
7566 @cd $ac_dir && \$(MAKE) install-dev
7567 install-dev:: $ac_dir/install-dev"
7571 wine_fn_clean_rules ()
7573 ac_clean=$@
7575 if wine_fn_has_flag clean
7576 then
7577 wine_fn_append_rule \
7578 "$ac_dir/clean: dummy
7579 @cd $ac_dir && \$(MAKE) clean"
7580 else
7581 wine_fn_append_rule \
7582 "$ac_dir/clean: dummy
7583 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7585 wine_fn_append_rule \
7586 "__clean__: $ac_dir/clean
7587 .PHONY: $ac_dir/clean"
7590 wine_fn_disabled_rules ()
7592 ac_clean=$@
7594 wine_fn_append_file SUBDIRS $ac_dir
7595 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7596 wine_fn_append_rule \
7597 "__clean__: $ac_dir/clean
7598 .PHONY: $ac_dir/clean
7599 $ac_dir/clean: dummy
7600 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7603 wine_fn_config_makefile ()
7605 ac_dir=$1
7606 ac_enable=$2
7607 ac_flags=$3
7609 case $ac_dir in
7610 fonts|server) test -z "$with_wine64" || return ;;
7611 esac
7612 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7613 wine_fn_disabled_rules; return
7615 wine_fn_all_rules
7616 wine_fn_install_rules
7617 wine_fn_clean_rules
7620 wine_fn_config_lib ()
7622 ac_name=$1
7623 ac_flags=$2
7624 ac_dir=dlls/$ac_name
7625 ac_deps="include"
7627 if test "x$enable_tools" = xno; then :
7629 else
7630 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7632 wine_fn_all_rules
7633 wine_fn_clean_rules
7635 wine_fn_append_rule \
7636 ".PHONY: $ac_dir/install $ac_dir/uninstall
7637 $ac_dir/install:: $ac_dir
7638 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7639 $ac_dir/uninstall::
7640 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7641 install install-dev:: $ac_dir/install
7642 __uninstall__: $ac_dir/uninstall
7643 __builddeps__: $ac_dir
7644 $ac_dir: $ac_deps"
7647 wine_fn_config_dll ()
7649 ac_name=$1
7650 ac_dir=dlls/$ac_name
7651 ac_enable=$2
7652 ac_flags=$3
7653 ac_implib=${4:-$ac_name}
7654 ac_file=$ac_dir/lib$ac_implib
7655 ac_dll=$ac_name
7656 ac_deps="include"
7657 ac_implibflags=""
7659 if test "x$enable_tools" = xno; then :
7661 else
7662 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7664 case $ac_name in
7665 *16) ac_implibflags=" -m16" ;;
7666 *.*) ;;
7667 *) ac_dll=$ac_dll.dll ;;
7668 esac
7670 ac_clean=
7671 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7672 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7674 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7675 if test "$ac_enable" != enable_win16
7676 then
7677 wine_fn_clean_rules $ac_clean
7678 wine_fn_append_file SUBDIRS $ac_dir
7679 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7680 else
7681 wine_fn_disabled_rules $ac_clean
7682 return
7684 else
7685 wine_fn_all_rules
7686 wine_fn_clean_rules $ac_clean
7687 wine_fn_append_rule \
7688 "$ac_dir: __builddeps__
7689 manpages htmlpages sgmlpages xmlpages::
7690 @cd $ac_dir && \$(MAKE) \$@
7691 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7692 install install-lib:: $ac_dir/install-lib
7693 __uninstall__: $ac_dir/uninstall"
7694 if test -n "$DLLEXT"
7695 then
7696 wine_fn_append_rule \
7697 "$ac_dir/install-lib:: $ac_dir
7698 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7699 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7700 $ac_dir/uninstall::
7701 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7702 else
7703 wine_fn_append_rule \
7704 "$ac_dir/install-lib:: $ac_dir
7705 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7711 if wine_fn_has_flag staticimplib
7712 then
7713 wine_fn_append_rule \
7714 "__builddeps__: $ac_file.a
7715 $ac_file.a $ac_file.cross.a: $ac_deps
7716 $ac_file.a: dummy
7717 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7718 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7719 $ac_dir/install-dev:: $ac_file.a
7720 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7721 $ac_dir/uninstall::
7722 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7723 install install-dev:: $ac_dir/install-dev
7724 __uninstall__: $ac_dir/uninstall"
7726 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7727 then
7728 wine_fn_append_rule \
7729 "__builddeps__: $ac_file.cross.a
7730 $ac_file.cross.a: dummy
7731 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7734 elif wine_fn_has_flag implib
7735 then
7736 wine_fn_append_rule \
7737 "__builddeps__: $ac_file.$IMPLIBEXT
7738 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7739 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7740 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7741 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7742 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7743 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7744 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7745 $ac_dir/uninstall::
7746 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7747 install install-dev:: $ac_dir/install-dev
7748 __uninstall__: $ac_dir/uninstall"
7749 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7750 then
7751 wine_fn_append_rule \
7752 "__builddeps__: $ac_file.cross.a
7753 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7754 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7759 wine_fn_config_program ()
7761 ac_name=$1
7762 ac_dir=programs/$ac_name
7763 ac_enable=$2
7764 ac_flags=$3
7765 ac_program=$ac_name
7767 case $ac_name in
7768 *.*) ;;
7769 *) ac_program=$ac_program.exe ;;
7770 esac
7772 ac_clean=
7773 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7774 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7776 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7777 wine_fn_disabled_rules $ac_clean; return
7780 wine_fn_all_rules
7781 wine_fn_clean_rules $ac_clean
7782 wine_fn_append_rule "$ac_dir: __builddeps__"
7784 wine_fn_has_flag install || return
7785 wine_fn_append_rule \
7786 ".PHONY: $ac_dir/install $ac_dir/uninstall
7787 install install-lib:: $ac_dir/install
7788 __uninstall__: $ac_dir/uninstall"
7790 if test -n "$DLLEXT"
7791 then
7792 wine_fn_append_rule \
7793 "$ac_dir/install:: $ac_dir
7794 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7795 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7796 $ac_dir/uninstall::
7797 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7799 if test -z "$with_wine64" && wine_fn_has_flag installbin
7800 then
7801 wine_fn_append_rule \
7802 "$ac_dir/install:: __tooldeps__
7803 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7804 $ac_dir/uninstall::
7805 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7807 else
7808 wine_fn_append_rule \
7809 "$ac_dir/install:: $ac_dir
7810 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7811 $ac_dir/uninstall::
7812 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7815 if test -z "$with_wine64" && wine_fn_has_flag manpage
7816 then
7817 wine_fn_append_rule \
7818 "$ac_dir/install:: $ac_dir
7819 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7820 $ac_dir/uninstall::
7821 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7825 wine_fn_config_test ()
7827 ac_dir=$1
7828 ac_name=$2
7829 ac_flags=$3
7831 ac_clean=
7832 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7833 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7835 if test "x$enable_tests" = xno; then :
7836 wine_fn_disabled_rules $ac_clean; return
7839 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7840 wine_fn_all_rules
7841 wine_fn_clean_rules $ac_clean
7843 wine_fn_append_rule \
7844 "$ac_dir: __builddeps__
7845 programs/winetest: $ac_dir
7846 check test: $ac_dir/test
7847 .PHONY: $ac_dir/test
7848 $ac_dir/test: dummy
7849 @cd $ac_dir && \$(MAKE) test
7850 testclean::
7851 \$(RM) $ac_dir/*.ok"
7853 if test -n "$CROSSTARGET"
7854 then
7855 wine_fn_append_rule \
7856 "crosstest: $ac_dir/crosstest
7857 .PHONY: $ac_dir/crosstest
7858 $ac_dir/crosstest: __builddeps__ dummy
7859 @cd $ac_dir && \$(MAKE) crosstest"
7863 wine_fn_config_tool ()
7865 ac_dir=$1
7866 ac_flags=$2
7867 if test "x$enable_tools" = xno; then :
7868 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7871 wine_fn_all_rules
7872 wine_fn_install_rules
7873 wine_fn_clean_rules
7875 wine_fn_append_rule "__tooldeps__: $ac_dir"
7876 wine_fn_append_rule "$ac_dir: libs/port"
7877 case $ac_dir in
7878 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7879 esac
7882 wine_fn_config_symlink ()
7884 ac_linkdir=
7885 if test "x$1" = "x-d"
7886 then
7887 ac_linkdir=$2
7888 shift; shift
7890 ac_links=$@
7891 wine_fn_append_rule \
7892 "$ac_links:
7893 @./config.status \$@"
7894 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7895 test -n "$ac_linkdir" || return
7896 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7899 wine_binary="wine"
7900 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7901 WINELOADER_PROGRAMS="$wine_binary"
7903 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7905 case $host_os in
7906 cygwin*|mingw32*)
7907 if test -n "$ac_tool_prefix"; then
7908 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7909 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 $as_echo_n "checking for $ac_word... " >&6; }
7912 if ${ac_cv_prog_DLLTOOL+:} false; then :
7913 $as_echo_n "(cached) " >&6
7914 else
7915 if test -n "$DLLTOOL"; then
7916 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7917 else
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 for as_dir in $PATH
7921 IFS=$as_save_IFS
7922 test -z "$as_dir" && as_dir=.
7923 for ac_exec_ext in '' $ac_executable_extensions; do
7924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7925 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 break 2
7929 done
7930 done
7931 IFS=$as_save_IFS
7935 DLLTOOL=$ac_cv_prog_DLLTOOL
7936 if test -n "$DLLTOOL"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7938 $as_echo "$DLLTOOL" >&6; }
7939 else
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7946 if test -z "$ac_cv_prog_DLLTOOL"; then
7947 ac_ct_DLLTOOL=$DLLTOOL
7948 # Extract the first word of "dlltool", so it can be a program name with args.
7949 set dummy dlltool; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7951 $as_echo_n "checking for $ac_word... " >&6; }
7952 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 if test -n "$ac_ct_DLLTOOL"; then
7956 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7957 else
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 for as_dir in $PATH
7961 IFS=$as_save_IFS
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7965 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 break 2
7969 done
7970 done
7971 IFS=$as_save_IFS
7975 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7976 if test -n "$ac_ct_DLLTOOL"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7978 $as_echo "$ac_ct_DLLTOOL" >&6; }
7979 else
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7981 $as_echo "no" >&6; }
7984 if test "x$ac_ct_DLLTOOL" = x; then
7985 DLLTOOL="false"
7986 else
7987 case $cross_compiling:$ac_tool_warned in
7988 yes:)
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7991 ac_tool_warned=yes ;;
7992 esac
7993 DLLTOOL=$ac_ct_DLLTOOL
7995 else
7996 DLLTOOL="$ac_cv_prog_DLLTOOL"
7999 LIBEXT="dll"
8000 DLLEXT=""
8001 IMPLIBEXT="a"
8002 enable_iphlpapi=${enable_iphlpapi:-no}
8003 enable_kernel32=${enable_kernel32:-no}
8004 enable_msvcrt=${enable_msvcrt:-no}
8005 enable_ntdll=${enable_ntdll:-no}
8006 enable_ws2_32=${enable_ws2_32:-no}
8007 enable_loader=${enable_loader:-no}
8008 enable_server=${enable_server:-no}
8009 with_x=${with_x:-no}
8010 with_pthread=${with_pthread:-no}
8012 crtlibs=""
8013 case $host_os in
8014 mingw32*)
8015 crtlibs="-lmsvcrt"
8016 SOCKET_LIBS="-lws2_32"
8018 esac
8020 LIBWINE_SHAREDLIB="libwine.dll"
8022 LIBWINE_IMPORTLIB="libwine.a"
8024 LIBWINE_INSTALL_LIB="libwine.dll"
8026 LIBWINE_INSTALL_DEV="libwine.a"
8028 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8030 LIBWINE_DEPENDS="wine.def"
8034 darwin*|macosx*)
8035 for ac_header in libunwind.h
8036 do :
8037 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8039 cat >>confdefs.h <<_ACEOF
8040 #define HAVE_LIBUNWIND_H 1
8041 _ACEOF
8045 done
8047 LIBEXT="dylib"
8048 DLLFLAGS="$DLLFLAGS -fPIC"
8049 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8050 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8051 COREFOUNDATION_LIBS="-framework CoreFoundation"
8053 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8055 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8057 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8059 CORESERVICES_LIBS="-framework CoreServices"
8061 APPKIT_LIBS="-framework AppKit"
8063 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8065 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8066 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 ac_wine_try_cflags_saved=$CFLAGS
8070 CFLAGS="$CFLAGS -Wl,-no_pie"
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8073 int main(int argc, char **argv) { return 0; }
8074 _ACEOF
8075 if ac_fn_c_try_link "$LINENO"; then :
8076 ac_cv_cflags__Wl__no_pie=yes
8077 else
8078 ac_cv_cflags__Wl__no_pie=no
8080 rm -f core conftest.err conftest.$ac_objext \
8081 conftest$ac_exeext conftest.$ac_ext
8082 CFLAGS=$ac_wine_try_cflags_saved
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8085 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8086 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8087 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8089 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8090 then
8091 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8094 if test "$ac_cv_header_Security_Security_h" = "yes"
8095 then
8096 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8098 ac_save_LIBS="$LIBS"
8099 LIBS="$LIBS $SECURITY_LIBS"
8100 for ac_func in SSLCopyPeerCertificates
8101 do :
8102 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8103 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8104 cat >>confdefs.h <<_ACEOF
8105 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8106 _ACEOF
8109 done
8111 LIBS="$ac_save_LIBS"
8112 with_gnutls=${with_gnutls:-no}
8114 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8115 then
8116 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8117 then
8118 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8120 else
8121 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8124 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8125 ac_save_LIBS="$LIBS"
8126 LIBS="$LIBS $COREAUDIO_LIBS"
8127 for ac_func in AUGraphAddNode
8128 do :
8129 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8130 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8131 cat >>confdefs.h <<_ACEOF
8132 #define HAVE_AUGRAPHADDNODE 1
8133 _ACEOF
8136 done
8138 LIBS="$ac_save_LIBS"
8140 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8141 then
8142 OPENAL_LIBS="-framework OpenAL"
8145 cat >>confdefs.h <<_ACEOF
8146 #define HAVE_OPENAL 1
8147 _ACEOF
8149 ac_cv_lib_openal=yes
8151 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8152 then
8153 OPENCL_LIBS="-framework OpenCL"
8155 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8157 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8158 then
8159 ac_save_LIBS="$LIBS"
8160 LIBS="$LIBS $IOKIT_LIBS"
8161 for ac_func in IOHIDManagerCreate
8162 do :
8163 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8164 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8165 cat >>confdefs.h <<_ACEOF
8166 #define HAVE_IOHIDMANAGERCREATE 1
8167 _ACEOF
8170 done
8172 LIBS="$ac_save_LIBS"
8174 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8175 then
8176 ac_save_LIBS="$LIBS"
8177 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8179 $as_echo_n "checking for the QuickTime framework... " >&6; }
8180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8182 #include <QuickTime/ImageCompression.h>
8184 main ()
8186 CodecManagerVersion(NULL);
8188 return 0;
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8193 $as_echo "yes" >&6; }
8194 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8196 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8197 else
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8200 ac_cv_header_QuickTime_ImageCompression_h=no
8202 rm -f core conftest.err conftest.$ac_objext \
8203 conftest$ac_exeext conftest.$ac_ext
8204 LIBS="$ac_save_LIBS"
8206 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8207 then
8208 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8210 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8211 then
8212 CARBON_LIBS="-framework Carbon"
8216 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8217 then
8218 ac_save_LIBS="$LIBS"
8219 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8220 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8221 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8222 enable_winemac_drv=${enable_winemac_drv:-yes}
8225 LIBS="$ac_save_LIBS"
8228 if test "x$enable_win16" = "xyes"
8229 then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8231 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8232 if test "$cross_compiling" = yes; then :
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8234 $as_echo "cross-compiling, assuming yes" >&6; }
8235 else
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 asm(".text\n"
8239 "bad:\tnop;nop\n"
8240 "good:\tnop;nop\n\t"
8241 ".globl _testfunc\n"
8242 "_testfunc:\tcallw good");
8243 extern void testfunc();
8245 main ()
8247 unsigned short *p = (unsigned short *)testfunc;
8248 return p[0] != 0xe866 || p[1] != 0xfffa
8250 return 0;
8252 _ACEOF
8253 if ac_fn_c_try_run "$LINENO"; then :
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8255 $as_echo "yes" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8259 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
8261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8262 conftest.$ac_objext conftest.beam conftest.$ac_ext
8267 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8269 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8271 LIBWINE_INSTALL_DEV="libwine.dylib"
8273 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8275 WINELOADER_DEPENDS="wine_info.plist"
8279 linux-android*)
8280 DLLFLAGS="$DLLFLAGS -fPIC"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8283 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8294 else
8295 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8302 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8303 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8304 LDEXECFLAGS="-Wl,--export-dynamic"
8306 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8309 if eval \${$as_ac_var+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8317 _ACEOF
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 eval "$as_ac_var=yes"
8320 else
8321 eval "$as_ac_var=no"
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8325 CFLAGS=$ac_wine_try_cflags_saved
8327 eval ac_res=\$$as_ac_var
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8329 $as_echo "$ac_res" >&6; }
8330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8331 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8332 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8333 else
8334 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8336 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8337 if eval \${$as_ac_var+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 eval "$as_ac_var=yes"
8348 else
8349 eval "$as_ac_var=no"
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 eval ac_res=\$$as_ac_var
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8357 $as_echo "$ac_res" >&6; }
8358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8359 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8360 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8365 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8366 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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 ac_cv_cflags__Wl___enable_new_dtags=yes
8377 else
8378 ac_cv_cflags__Wl___enable_new_dtags=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8385 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8386 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8387 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8390 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8391 if ${ac_cv_cflags__Wl__pie+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -Wl,-pie"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_cflags__Wl__pie=yes
8402 else
8403 ac_cv_cflags__Wl__pie=no
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8410 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8411 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8412 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8415 LIBWINE_SHAREDLIB="libwine.so"
8417 LIBWINE_INSTALL_LIB="libwine.so"
8419 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8424 DLLFLAGS="$DLLFLAGS -fPIC"
8425 LDEXECFLAGS=""
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8427 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8428 if ${ac_cv_c_dll_gnuelf+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 void myfunc() {}
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_c_dll_gnuelf="yes"
8439 else
8440 ac_cv_c_dll_gnuelf="no"
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8447 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8448 if test "$ac_cv_c_dll_gnuelf" = "yes"
8449 then
8450 LIBWINE_LDFLAGS="-shared"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8452 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8453 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 ac_wine_try_cflags_saved=$CFLAGS
8457 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 int main(int argc, char **argv) { return 0; }
8461 _ACEOF
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8464 else
8465 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 CFLAGS=$ac_wine_try_cflags_saved
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8472 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8473 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8474 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8475 else
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8477 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8478 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8489 else
8490 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8497 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8498 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8499 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8503 echo '{ global: *; };' >conftest.map
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8517 else
8518 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8527 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8529 rm -f conftest.map
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8532 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8533 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_wine_try_cflags_saved=$CFLAGS
8537 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 int main(int argc, char **argv) { return 0; }
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8544 else
8545 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 CFLAGS=$ac_wine_try_cflags_saved
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8552 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8553 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8554 LDEXECFLAGS="-Wl,--export-dynamic"
8557 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8559 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8560 if eval \${$as_ac_var+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 int main(int argc, char **argv) { return 0; }
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 eval "$as_ac_var=yes"
8571 else
8572 eval "$as_ac_var=no"
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 eval ac_res=\$$as_ac_var
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8580 $as_echo "$ac_res" >&6; }
8581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8582 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8583 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8584 else
8585 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8587 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8588 if eval \${$as_ac_var+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 eval "$as_ac_var=yes"
8599 else
8600 eval "$as_ac_var=no"
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 eval ac_res=\$$as_ac_var
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8608 $as_echo "$ac_res" >&6; }
8609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8610 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8611 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8616 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8617 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_wine_try_cflags_saved=$CFLAGS
8621 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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 ac_cv_cflags__Wl___enable_new_dtags=yes
8628 else
8629 ac_cv_cflags__Wl___enable_new_dtags=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8636 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8637 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8638 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8641 case $host_cpu in
8642 *i[3456789]86* | x86_64)
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8645 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 ac_wine_try_cflags_saved=$CFLAGS
8649 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8653 _ACEOF
8654 if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8656 else
8657 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8664 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8665 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8666 case $host_os in
8667 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8668 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8669 esac
8670 else
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8673 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8684 else
8685 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8692 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8693 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8694 case $host_os in
8695 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8696 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8697 esac
8699 # Extract the first word of "prelink", so it can be a program name with args.
8700 set dummy prelink; ac_word=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_path_PRELINK+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 case $PRELINK in
8707 [\\/]* | ?:[\\/]*)
8708 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 for as_dir in /sbin /usr/sbin $PATH
8714 IFS=$as_save_IFS
8715 test -z "$as_dir" && as_dir=.
8716 for ac_exec_ext in '' $ac_executable_extensions; do
8717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720 break 2
8722 done
8723 done
8724 IFS=$as_save_IFS
8726 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8728 esac
8730 PRELINK=$ac_cv_path_PRELINK
8731 if test -n "$PRELINK"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8733 $as_echo "$PRELINK" >&6; }
8734 else
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 $as_echo "no" >&6; }
8740 if test "x$PRELINK" = xfalse
8741 then
8742 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8746 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8747 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8758 else
8759 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8766 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8767 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8768 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8771 esac
8773 else
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8775 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8776 if ${ac_cv_c_dll_unixware+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 void myfunc() {}
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_c_dll_unixware="yes"
8787 else
8788 ac_cv_c_dll_unixware="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_c_dll_unixware" >&5
8795 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8796 if test "$ac_cv_c_dll_unixware" = "yes"
8797 then
8798 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8801 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8803 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8805 LIBWINE_INSTALL_DEV="libwine.so"
8807 LIBWINE_DEPENDS="wine.map"
8810 esac
8812 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8813 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8814 enable_winemac_drv=${enable_winemac_drv:-no}
8815 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8817 CROSSTARGET=""
8819 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8820 then
8821 case "$host_cpu" in
8822 arm*)
8823 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8824 i[3456789]86*)
8825 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
8826 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8827 mingw32-gcc" ;;
8828 x86_64)
8829 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
8830 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8832 ac_prefix_list="" ;;
8833 esac
8834 for ac_prog in $ac_prefix_list
8836 # Extract the first word of "$ac_prog", so it can be a program name with args.
8837 set dummy $ac_prog; ac_word=$2
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8839 $as_echo_n "checking for $ac_word... " >&6; }
8840 if ${ac_cv_prog_CROSSCC+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 if test -n "$CROSSCC"; then
8844 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8845 else
8846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 for as_dir in $PATH
8849 IFS=$as_save_IFS
8850 test -z "$as_dir" && as_dir=.
8851 for ac_exec_ext in '' $ac_executable_extensions; do
8852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 ac_cv_prog_CROSSCC="$ac_prog"
8854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 break 2
8857 done
8858 done
8859 IFS=$as_save_IFS
8863 CROSSCC=$ac_cv_prog_CROSSCC
8864 if test -n "$CROSSCC"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8866 $as_echo "$CROSSCC" >&6; }
8867 else
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8873 test -n "$CROSSCC" && break
8874 done
8875 test -n "$CROSSCC" || CROSSCC="false"
8877 if test "$CROSSCC" != "false"
8878 then
8879 ac_save_CC="$CC"
8880 CC="$CROSSCC"
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8882 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8887 main ()
8891 return 0;
8893 _ACEOF
8894 if ac_fn_c_try_compile "$LINENO"; then :
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8896 $as_echo "yes" >&6; }
8897 set x $CROSSCC
8898 shift
8899 while test $# -ge 1
8901 case "$1" in
8902 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8903 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8904 esac
8905 shift
8906 done
8907 else
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8912 CC="$ac_save_CC"
8917 if test "$ac_cv_header_pthread_h" = "yes"
8918 then
8919 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8920 if test "x$ac_cv_func_pthread_create" = xyes; then :
8922 else
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8924 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8925 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8926 $as_echo_n "(cached) " >&6
8927 else
8928 ac_check_lib_save_LIBS=$LIBS
8929 LIBS="-lpthread $LIBS"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8933 /* Override any GCC internal prototype to avoid an error.
8934 Use char because int might match the return type of a GCC
8935 builtin and then its argument prototype would still apply. */
8936 #ifdef __cplusplus
8937 extern "C"
8938 #endif
8939 char pthread_create ();
8941 main ()
8943 return pthread_create ();
8945 return 0;
8947 _ACEOF
8948 if ac_fn_c_try_link "$LINENO"; then :
8949 ac_cv_lib_pthread_pthread_create=yes
8950 else
8951 ac_cv_lib_pthread_pthread_create=no
8953 rm -f core conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8955 LIBS=$ac_check_lib_save_LIBS
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8958 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8959 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8960 PTHREAD_LIBS="-lpthread"
8967 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8968 case "x$with_pthread" in
8969 xno) ;;
8970 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8971 Wine cannot support threads without libpthread.
8972 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8973 esac
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8979 $as_echo_n "checking for X... " >&6; }
8982 # Check whether --with-x was given.
8983 if test "${with_x+set}" = set; then :
8984 withval=$with_x;
8987 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8988 if test "x$with_x" = xno; then
8989 # The user explicitly disabled X.
8990 have_x=disabled
8991 else
8992 case $x_includes,$x_libraries in #(
8993 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8994 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8995 $as_echo_n "(cached) " >&6
8996 else
8997 # One or both of the vars are not set, and there is no cached value.
8998 ac_x_includes=no ac_x_libraries=no
8999 rm -f -r conftest.dir
9000 if mkdir conftest.dir; then
9001 cd conftest.dir
9002 cat >Imakefile <<'_ACEOF'
9003 incroot:
9004 @echo incroot='${INCROOT}'
9005 usrlibdir:
9006 @echo usrlibdir='${USRLIBDIR}'
9007 libdir:
9008 @echo libdir='${LIBDIR}'
9009 _ACEOF
9010 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9011 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9012 for ac_var in incroot usrlibdir libdir; do
9013 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9014 done
9015 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9016 for ac_extension in a so sl dylib la dll; do
9017 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9018 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9019 ac_im_usrlibdir=$ac_im_libdir; break
9021 done
9022 # Screen out bogus values from the imake configuration. They are
9023 # bogus both because they are the default anyway, and because
9024 # using them would break gcc on systems where it needs fixed includes.
9025 case $ac_im_incroot in
9026 /usr/include) ac_x_includes= ;;
9027 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9028 esac
9029 case $ac_im_usrlibdir in
9030 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9031 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9032 esac
9034 cd ..
9035 rm -f -r conftest.dir
9038 # Standard set of common directories for X headers.
9039 # Check X11 before X11Rn because it is often a symlink to the current release.
9040 ac_x_header_dirs='
9041 /usr/X11/include
9042 /usr/X11R7/include
9043 /usr/X11R6/include
9044 /usr/X11R5/include
9045 /usr/X11R4/include
9047 /usr/include/X11
9048 /usr/include/X11R7
9049 /usr/include/X11R6
9050 /usr/include/X11R5
9051 /usr/include/X11R4
9053 /usr/local/X11/include
9054 /usr/local/X11R7/include
9055 /usr/local/X11R6/include
9056 /usr/local/X11R5/include
9057 /usr/local/X11R4/include
9059 /usr/local/include/X11
9060 /usr/local/include/X11R7
9061 /usr/local/include/X11R6
9062 /usr/local/include/X11R5
9063 /usr/local/include/X11R4
9065 /usr/X386/include
9066 /usr/x386/include
9067 /usr/XFree86/include/X11
9069 /usr/include
9070 /usr/local/include
9071 /usr/unsupported/include
9072 /usr/athena/include
9073 /usr/local/x11r5/include
9074 /usr/lpp/Xamples/include
9076 /usr/openwin/include
9077 /usr/openwin/share/include'
9079 if test "$ac_x_includes" = no; then
9080 # Guess where to find include files, by looking for Xlib.h.
9081 # First, try using that file with no special directory specified.
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 #include <X11/Xlib.h>
9085 _ACEOF
9086 if ac_fn_c_try_cpp "$LINENO"; then :
9087 # We can compile using X headers with no special include directory.
9088 ac_x_includes=
9089 else
9090 for ac_dir in $ac_x_header_dirs; do
9091 if test -r "$ac_dir/X11/Xlib.h"; then
9092 ac_x_includes=$ac_dir
9093 break
9095 done
9097 rm -f conftest.err conftest.i conftest.$ac_ext
9098 fi # $ac_x_includes = no
9100 if test "$ac_x_libraries" = no; then
9101 # Check for the libraries.
9102 # See if we find them without any special options.
9103 # Don't add to $LIBS permanently.
9104 ac_save_LIBS=$LIBS
9105 LIBS="-lX11 $LIBS"
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9108 #include <X11/Xlib.h>
9110 main ()
9112 XrmInitialize ()
9114 return 0;
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 LIBS=$ac_save_LIBS
9119 # We can link X programs with no special library path.
9120 ac_x_libraries=
9121 else
9122 LIBS=$ac_save_LIBS
9123 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9125 # Don't even attempt the hair of trying to link an X program!
9126 for ac_extension in a so sl dylib la dll; do
9127 if test -r "$ac_dir/libX11.$ac_extension"; then
9128 ac_x_libraries=$ac_dir
9129 break 2
9131 done
9132 done
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 fi # $ac_x_libraries = no
9138 case $ac_x_includes,$ac_x_libraries in #(
9139 no,* | *,no | *\'*)
9140 # Didn't find X, or a directory has "'" in its name.
9141 ac_cv_have_x="have_x=no";; #(
9143 # Record where we found X for the cache.
9144 ac_cv_have_x="have_x=yes\
9145 ac_x_includes='$ac_x_includes'\
9146 ac_x_libraries='$ac_x_libraries'"
9147 esac
9149 ;; #(
9150 *) have_x=yes;;
9151 esac
9152 eval "$ac_cv_have_x"
9153 fi # $with_x != no
9155 if test "$have_x" != yes; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9157 $as_echo "$have_x" >&6; }
9158 no_x=yes
9159 else
9160 # If each of the values was on the command line, it overrides each guess.
9161 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9162 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9163 # Update the cache value to reflect the command line values.
9164 ac_cv_have_x="have_x=yes\
9165 ac_x_includes='$x_includes'\
9166 ac_x_libraries='$x_libraries'"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9168 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9171 if test "$no_x" = yes; then
9172 # Not all programs may use this symbol, but it does not hurt to define it.
9174 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9176 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9177 else
9178 if test -n "$x_includes"; then
9179 X_CFLAGS="$X_CFLAGS -I$x_includes"
9182 # It would also be nice to do this for all -L options, not just this one.
9183 if test -n "$x_libraries"; then
9184 X_LIBS="$X_LIBS -L$x_libraries"
9185 # For Solaris; some versions of Sun CC require a space after -R and
9186 # others require no space. Words are not sufficient . . . .
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9188 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9189 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9190 ac_xsave_c_werror_flag=$ac_c_werror_flag
9191 ac_c_werror_flag=yes
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9196 main ()
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9205 $as_echo "no" >&6; }
9206 X_LIBS="$X_LIBS -R$x_libraries"
9207 else
9208 LIBS="$ac_xsave_LIBS -R $x_libraries"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9213 main ()
9217 return 0;
9219 _ACEOF
9220 if ac_fn_c_try_link "$LINENO"; then :
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9222 $as_echo "yes" >&6; }
9223 X_LIBS="$X_LIBS -R $x_libraries"
9224 else
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9226 $as_echo "neither works" >&6; }
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 ac_c_werror_flag=$ac_xsave_c_werror_flag
9234 LIBS=$ac_xsave_LIBS
9237 # Check for system-dependent libraries X programs must link with.
9238 # Do this before checking for the system-independent R6 libraries
9239 # (-lICE), since we may need -lsocket or whatever for X linking.
9241 if test "$ISC" = yes; then
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9243 else
9244 # Martyn Johnson says this is needed for Ultrix, if the X
9245 # libraries were built with DECnet support. And Karl Berry says
9246 # the Alpha needs dnet_stub (dnet does not exist).
9247 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char XOpenDisplay ();
9259 main ()
9261 return XOpenDisplay ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9268 else
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9270 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9271 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9272 $as_echo_n "(cached) " >&6
9273 else
9274 ac_check_lib_save_LIBS=$LIBS
9275 LIBS="-ldnet $LIBS"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 char dnet_ntoa ();
9287 main ()
9289 return dnet_ntoa ();
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295 ac_cv_lib_dnet_dnet_ntoa=yes
9296 else
9297 ac_cv_lib_dnet_dnet_ntoa=no
9299 rm -f core conftest.err conftest.$ac_objext \
9300 conftest$ac_exeext conftest.$ac_ext
9301 LIBS=$ac_check_lib_save_LIBS
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9304 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9305 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9306 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9309 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9311 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9312 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_check_lib_save_LIBS=$LIBS
9316 LIBS="-ldnet_stub $LIBS"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9323 #ifdef __cplusplus
9324 extern "C"
9325 #endif
9326 char dnet_ntoa ();
9328 main ()
9330 return dnet_ntoa ();
9332 return 0;
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9337 else
9338 ac_cv_lib_dnet_stub_dnet_ntoa=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 LIBS=$ac_check_lib_save_LIBS
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9345 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9346 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9347 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS="$ac_xsave_LIBS"
9356 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9357 # to get the SysV transport functions.
9358 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9359 # needs -lnsl.
9360 # The nsl library prevents programs from opening the X display
9361 # on Irix 5.2, according to T.E. Dickey.
9362 # The functions gethostbyname, getservbyname, and inet_addr are
9363 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9364 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9365 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9369 if test $ac_cv_func_gethostbyname = no; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9371 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9372 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9373 $as_echo_n "(cached) " >&6
9374 else
9375 ac_check_lib_save_LIBS=$LIBS
9376 LIBS="-lnsl $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9383 #ifdef __cplusplus
9384 extern "C"
9385 #endif
9386 char gethostbyname ();
9388 main ()
9390 return gethostbyname ();
9392 return 0;
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_lib_nsl_gethostbyname=yes
9397 else
9398 ac_cv_lib_nsl_gethostbyname=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS=$ac_check_lib_save_LIBS
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9405 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9406 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9410 if test $ac_cv_lib_nsl_gethostbyname = no; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9412 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9413 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_check_lib_save_LIBS=$LIBS
9417 LIBS="-lbsd $LIBS"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9424 #ifdef __cplusplus
9425 extern "C"
9426 #endif
9427 char gethostbyname ();
9429 main ()
9431 return gethostbyname ();
9433 return 0;
9435 _ACEOF
9436 if ac_fn_c_try_link "$LINENO"; then :
9437 ac_cv_lib_bsd_gethostbyname=yes
9438 else
9439 ac_cv_lib_bsd_gethostbyname=no
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 LIBS=$ac_check_lib_save_LIBS
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9446 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9447 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9454 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9455 # socket/setsockopt and other routines are undefined under SCO ODT
9456 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9457 # on later versions), says Simon Leinen: it contains gethostby*
9458 # variants that don't use the name server (or something). -lsocket
9459 # must be given before -lnsl if both are needed. We assume that
9460 # if connect needs -lnsl, so does gethostbyname.
9461 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9462 if test "x$ac_cv_func_connect" = xyes; then :
9466 if test $ac_cv_func_connect = no; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9468 $as_echo_n "checking for connect in -lsocket... " >&6; }
9469 if ${ac_cv_lib_socket_connect+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char connect ();
9485 main ()
9487 return connect ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_socket_connect=yes
9494 else
9495 ac_cv_lib_socket_connect=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9502 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9503 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9504 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9509 # Guillermo Gomez says -lposix is necessary on A/UX.
9510 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9511 if test "x$ac_cv_func_remove" = xyes; then :
9515 if test $ac_cv_func_remove = no; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9517 $as_echo_n "checking for remove in -lposix... " >&6; }
9518 if ${ac_cv_lib_posix_remove+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 ac_check_lib_save_LIBS=$LIBS
9522 LIBS="-lposix $LIBS"
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9529 #ifdef __cplusplus
9530 extern "C"
9531 #endif
9532 char remove ();
9534 main ()
9536 return remove ();
9538 return 0;
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 ac_cv_lib_posix_remove=yes
9543 else
9544 ac_cv_lib_posix_remove=no
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9551 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9552 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9553 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9558 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9559 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9560 if test "x$ac_cv_func_shmat" = xyes; then :
9564 if test $ac_cv_func_shmat = no; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9566 $as_echo_n "checking for shmat in -lipc... " >&6; }
9567 if ${ac_cv_lib_ipc_shmat+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_check_lib_save_LIBS=$LIBS
9571 LIBS="-lipc $LIBS"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9578 #ifdef __cplusplus
9579 extern "C"
9580 #endif
9581 char shmat ();
9583 main ()
9585 return shmat ();
9587 return 0;
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_lib_ipc_shmat=yes
9592 else
9593 ac_cv_lib_ipc_shmat=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9600 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9601 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9608 # Check for libraries that X11R6 Xt/Xaw programs need.
9609 ac_save_LDFLAGS=$LDFLAGS
9610 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9611 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9612 # check for ICE first), but we must link in the order -lSM -lICE or
9613 # we get undefined symbols. So assume we have SM if we have ICE.
9614 # These have to be linked with before -lX11, unlike the other
9615 # libraries we check for below, so use a different variable.
9616 # John Interrante, Karl Berry
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9618 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9619 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 ac_check_lib_save_LIBS=$LIBS
9623 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630 #ifdef __cplusplus
9631 extern "C"
9632 #endif
9633 char IceConnectionNumber ();
9635 main ()
9637 return IceConnectionNumber ();
9639 return 0;
9641 _ACEOF
9642 if ac_fn_c_try_link "$LINENO"; then :
9643 ac_cv_lib_ICE_IceConnectionNumber=yes
9644 else
9645 ac_cv_lib_ICE_IceConnectionNumber=no
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 LIBS=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9652 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9653 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9654 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9657 LDFLAGS=$ac_save_LDFLAGS
9662 if test "$have_x" = "yes"
9663 then
9664 ac_save_CPPFLAGS="$CPPFLAGS"
9665 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9668 $as_echo_n "checking for -lX11... " >&6; }
9669 if ${ac_cv_lib_soname_X11+:} false; then :
9670 $as_echo_n "(cached) " >&6
9671 else
9672 ac_check_soname_save_LIBS=$LIBS
9673 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 char XCreateWindow ();
9685 main ()
9687 return XCreateWindow ();
9689 return 0;
9691 _ACEOF
9692 if ac_fn_c_try_link "$LINENO"; then :
9693 case "$LIBEXT" in
9694 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9695 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'` ;;
9696 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9697 if ${ac_cv_lib_soname_X11:+false} :; then :
9698 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9699 fi ;;
9700 esac
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_soname_save_LIBS
9706 if ${ac_cv_lib_soname_X11:+false} :; then :
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9708 $as_echo "not found" >&6; }
9710 else
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9712 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9714 cat >>confdefs.h <<_ACEOF
9715 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9716 _ACEOF
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9721 $as_echo_n "checking for -lXext... " >&6; }
9722 if ${ac_cv_lib_soname_Xext+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_soname_save_LIBS=$LIBS
9726 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XextCreateExtension ();
9738 main ()
9740 return XextCreateExtension ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 case "$LIBEXT" in
9747 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_Xext:+false} :; then :
9751 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 fi ;;
9753 esac
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_Xext:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9765 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9767 cat >>confdefs.h <<_ACEOF
9768 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9769 _ACEOF
9771 X_LIBS="$X_LIBS -lXext"
9773 X_LIBS="$X_LIBS -lX11"
9775 for ac_header in X11/Xlib.h \
9776 X11/XKBlib.h \
9777 X11/Xutil.h \
9778 X11/Xcursor/Xcursor.h \
9779 X11/extensions/shape.h \
9780 X11/extensions/XInput.h \
9781 X11/extensions/XInput2.h \
9782 X11/extensions/XShm.h \
9783 X11/extensions/Xcomposite.h \
9784 X11/extensions/Xinerama.h \
9785 X11/extensions/Xrandr.h \
9786 X11/extensions/Xrender.h \
9787 X11/extensions/xf86vmode.h \
9788 X11/extensions/xf86vmproto.h
9789 do :
9790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9792 # include <X11/Xlib.h>
9793 #endif
9794 #ifdef HAVE_X11_XUTIL_H
9795 # include <X11/Xutil.h>
9796 #endif
9798 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9799 cat >>confdefs.h <<_ACEOF
9800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9801 _ACEOF
9805 done
9808 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9809 then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9811 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9812 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9813 $as_echo_n "(cached) " >&6
9814 else
9815 ac_check_lib_save_LIBS=$LIBS
9816 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9820 /* Override any GCC internal prototype to avoid an error.
9821 Use char because int might match the return type of a GCC
9822 builtin and then its argument prototype would still apply. */
9823 #ifdef __cplusplus
9824 extern "C"
9825 #endif
9826 char XkbQueryExtension ();
9828 main ()
9830 return XkbQueryExtension ();
9832 return 0;
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 ac_cv_lib_X11_XkbQueryExtension=yes
9837 else
9838 ac_cv_lib_X11_XkbQueryExtension=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LIBS=$ac_check_lib_save_LIBS
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9845 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9846 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9848 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9854 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9855 then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9857 $as_echo_n "checking for -lXcursor... " >&6; }
9858 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_check_soname_save_LIBS=$LIBS
9862 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9869 #ifdef __cplusplus
9870 extern "C"
9871 #endif
9872 char XcursorImageLoadCursor ();
9874 main ()
9876 return XcursorImageLoadCursor ();
9878 return 0;
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 case "$LIBEXT" in
9883 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9884 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'` ;;
9885 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9886 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9887 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9888 fi ;;
9889 esac
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 LIBS=$ac_check_soname_save_LIBS
9895 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9897 $as_echo "not found" >&6; }
9899 else
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9901 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9903 cat >>confdefs.h <<_ACEOF
9904 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9905 _ACEOF
9910 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9911 case "x$with_xcursor" in
9912 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9913 xno) ;;
9914 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9915 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9916 esac
9920 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9921 then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9923 $as_echo_n "checking for -lXi... " >&6; }
9924 if ${ac_cv_lib_soname_Xi+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_soname_save_LIBS=$LIBS
9928 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XOpenDevice ();
9940 main ()
9942 return XOpenDevice ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 case "$LIBEXT" in
9949 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9950 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'` ;;
9951 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9952 if ${ac_cv_lib_soname_Xi:+false} :; then :
9953 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9954 fi ;;
9955 esac
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_soname_save_LIBS
9961 if ${ac_cv_lib_soname_Xi:+false} :; then :
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9963 $as_echo "not found" >&6; }
9965 else
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9967 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9969 cat >>confdefs.h <<_ACEOF
9970 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9971 _ACEOF
9976 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9977 case "x$with_xinput" in
9978 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9979 xno) ;;
9980 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9981 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9982 esac
9986 if test "x$ac_cv_lib_soname_Xi" != x
9987 then
9988 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9989 case "x$with_xinput2" in
9990 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9991 xno) ;;
9992 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9993 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9994 esac
9999 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10000 then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10002 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10003 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_check_lib_save_LIBS=$LIBS
10007 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 #ifdef __cplusplus
10015 extern "C"
10016 #endif
10017 char XShmQueryExtension ();
10019 main ()
10021 return XShmQueryExtension ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 ac_cv_lib_Xext_XShmQueryExtension=yes
10028 else
10029 ac_cv_lib_Xext_XShmQueryExtension=no
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_lib_save_LIBS
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10036 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10037 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10039 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10044 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10045 case "x$with_xshm" in
10046 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10047 xno) ;;
10048 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10049 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10050 esac
10054 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10055 then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10057 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10058 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_check_lib_save_LIBS=$LIBS
10062 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10069 #ifdef __cplusplus
10070 extern "C"
10071 #endif
10072 char XShapeQueryExtension ();
10074 main ()
10076 return XShapeQueryExtension ();
10078 return 0;
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_lib_Xext_XShapeQueryExtension=yes
10083 else
10084 ac_cv_lib_Xext_XShapeQueryExtension=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 LIBS=$ac_check_lib_save_LIBS
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10091 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10092 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10094 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10099 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10100 case "x$with_xshape" in
10101 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10102 xno) ;;
10103 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10104 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10105 esac
10109 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10110 then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10112 $as_echo_n "checking for -lXxf86vm... " >&6; }
10113 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_soname_save_LIBS=$LIBS
10117 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XF86VidModeQueryExtension ();
10129 main ()
10131 return XF86VidModeQueryExtension ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 case "$LIBEXT" in
10138 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10139 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'` ;;
10140 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10141 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10142 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 fi ;;
10144 esac
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_soname_save_LIBS
10150 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10152 $as_echo "not found" >&6; }
10154 else
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10156 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10158 cat >>confdefs.h <<_ACEOF
10159 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10160 _ACEOF
10165 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10166 case "x$with_xxf86vm" in
10167 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10168 xno) ;;
10169 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10170 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10171 esac
10175 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10176 then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10178 $as_echo_n "checking for -lXrender... " >&6; }
10179 if ${ac_cv_lib_soname_Xrender+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_check_soname_save_LIBS=$LIBS
10183 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10190 #ifdef __cplusplus
10191 extern "C"
10192 #endif
10193 char XRenderQueryExtension ();
10195 main ()
10197 return XRenderQueryExtension ();
10199 return 0;
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10203 case "$LIBEXT" in
10204 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10205 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'` ;;
10206 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10207 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10208 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10209 fi ;;
10210 esac
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 LIBS=$ac_check_soname_save_LIBS
10216 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10218 $as_echo "not found" >&6; }
10220 else
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10222 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10224 cat >>confdefs.h <<_ACEOF
10225 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10226 _ACEOF
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10229 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10230 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_check_lib_save_LIBS=$LIBS
10234 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char XRenderSetPictureTransform ();
10246 main ()
10248 return XRenderSetPictureTransform ();
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10255 else
10256 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 LIBS=$ac_check_lib_save_LIBS
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10263 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10264 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10266 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10271 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10272 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_lib_save_LIBS=$LIBS
10276 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char XRenderCreateLinearGradient ();
10288 main ()
10290 return XRenderCreateLinearGradient ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10297 else
10298 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10300 rm -f core conftest.err conftest.$ac_objext \
10301 conftest$ac_exeext conftest.$ac_ext
10302 LIBS=$ac_check_lib_save_LIBS
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10305 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10306 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10308 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10315 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10316 case "x$with_xrender" in
10317 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10318 xno) ;;
10319 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10320 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10321 esac
10325 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10326 then
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10329 #include <X11/Xlib.h>
10330 #include <X11/extensions/Xrandr.h>
10332 main ()
10334 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10336 return 0;
10338 _ACEOF
10339 if ac_fn_c_try_compile "$LINENO"; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10341 $as_echo_n "checking for -lXrandr... " >&6; }
10342 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_check_soname_save_LIBS=$LIBS
10346 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10350 /* Override any GCC internal prototype to avoid an error.
10351 Use char because int might match the return type of a GCC
10352 builtin and then its argument prototype would still apply. */
10353 #ifdef __cplusplus
10354 extern "C"
10355 #endif
10356 char XRRQueryExtension ();
10358 main ()
10360 return XRRQueryExtension ();
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 case "$LIBEXT" in
10367 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10368 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'` ;;
10369 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10370 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10371 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10372 fi ;;
10373 esac
10375 rm -f core conftest.err conftest.$ac_objext \
10376 conftest$ac_exeext conftest.$ac_ext
10377 LIBS=$ac_check_soname_save_LIBS
10379 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10381 $as_echo "not found" >&6; }
10383 else
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10385 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10387 cat >>confdefs.h <<_ACEOF
10388 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10389 _ACEOF
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xrandr.h>
10396 main ()
10398 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10405 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10413 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10414 case "x$with_xrandr" in
10415 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10416 xno) ;;
10417 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10418 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10419 esac
10423 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10424 then
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 #include <X11/Xlib.h>
10428 #include <X11/extensions/Xinerama.h>
10430 main ()
10432 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10434 return 0;
10436 _ACEOF
10437 if ac_fn_c_try_compile "$LINENO"; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10439 $as_echo_n "checking for -lXinerama... " >&6; }
10440 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_check_soname_save_LIBS=$LIBS
10444 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char XineramaQueryScreens ();
10456 main ()
10458 return XineramaQueryScreens ();
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 case "$LIBEXT" in
10465 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10466 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'` ;;
10467 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10468 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10469 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10470 fi ;;
10471 esac
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_soname_save_LIBS
10477 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10479 $as_echo "not found" >&6; }
10481 else
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10483 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10485 cat >>confdefs.h <<_ACEOF
10486 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10487 _ACEOF
10492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10494 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10495 case "x$with_xinerama" in
10496 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10497 xno) ;;
10498 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10499 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10500 esac
10504 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10505 then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10507 $as_echo_n "checking for -lXcomposite... " >&6; }
10508 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10509 $as_echo_n "(cached) " >&6
10510 else
10511 ac_check_soname_save_LIBS=$LIBS
10512 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char XCompositeRedirectWindow ();
10524 main ()
10526 return XCompositeRedirectWindow ();
10528 return 0;
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 case "$LIBEXT" in
10533 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10534 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'` ;;
10535 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10536 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10537 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10538 fi ;;
10539 esac
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_soname_save_LIBS
10545 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10547 $as_echo "not found" >&6; }
10549 else
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10551 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10553 cat >>confdefs.h <<_ACEOF
10554 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10555 _ACEOF
10560 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10561 case "x$with_xcomposite" in
10562 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10563 xno) ;;
10564 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10565 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10566 esac
10570 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10571 #include <X11/Xlib.h>
10572 #endif
10574 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10576 cat >>confdefs.h <<_ACEOF
10577 #define HAVE_XICCALLBACK_CALLBACK 1
10578 _ACEOF
10582 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10583 #include <X11/Xlib.h>
10584 #endif
10586 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10588 cat >>confdefs.h <<_ACEOF
10589 #define HAVE_XEVENT_XCOOKIE 1
10590 _ACEOF
10597 opengl_msg=""
10598 if test "x$with_opengl" != "xno"
10599 then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10601 $as_echo_n "checking for -lGL... " >&6; }
10602 if ${ac_cv_lib_soname_GL+:} false; then :
10603 $as_echo_n "(cached) " >&6
10604 else
10605 ac_check_soname_save_LIBS=$LIBS
10606 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char glXCreateContext ();
10618 main ()
10620 return glXCreateContext ();
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 case "$LIBEXT" in
10627 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10628 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'` ;;
10629 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10630 if ${ac_cv_lib_soname_GL:+false} :; then :
10631 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 fi ;;
10633 esac
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 LIBS=$ac_check_soname_save_LIBS
10639 if ${ac_cv_lib_soname_GL:+false} :; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10641 $as_echo "not found" >&6; }
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10643 $as_echo_n "checking for -lGL... " >&6; }
10644 if ${ac_cv_lib_soname_GL+:} false; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 ac_check_soname_save_LIBS=$LIBS
10648 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"
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10652 /* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10655 #ifdef __cplusplus
10656 extern "C"
10657 #endif
10658 char glXCreateContext ();
10660 main ()
10662 return glXCreateContext ();
10664 return 0;
10666 _ACEOF
10667 if ac_fn_c_try_link "$LINENO"; then :
10668 case "$LIBEXT" in
10669 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10670 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'` ;;
10671 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10672 if ${ac_cv_lib_soname_GL:+false} :; then :
10673 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10674 fi ;;
10675 esac
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_soname_save_LIBS
10681 if ${ac_cv_lib_soname_GL:+false} :; then :
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10683 $as_echo "not found" >&6; }
10684 if test -f /usr/X11R6/lib/libGL.a
10685 then
10686 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10687 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10688 else
10689 opengl_msg="No OpenGL library found on this system."
10691 else
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10693 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10695 cat >>confdefs.h <<_ACEOF
10696 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10697 _ACEOF
10699 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"
10701 else
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10703 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10705 cat >>confdefs.h <<_ACEOF
10706 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10707 _ACEOF
10709 OPENGL_LIBS="-lGL"
10711 if test "x$with_glu" != "xno"
10712 then
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10714 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10715 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10716 $as_echo_n "(cached) " >&6
10717 else
10718 ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10726 #ifdef __cplusplus
10727 extern "C"
10728 #endif
10729 char gluLookAt ();
10731 main ()
10733 return gluLookAt ();
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 ac_cv_lib_GLU_gluLookAt=yes
10740 else
10741 ac_cv_lib_GLU_gluLookAt=no
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_lib_save_LIBS
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10748 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10749 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10753 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10754 case "x$with_glu" in
10755 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10756 xno) ;;
10757 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10758 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10759 esac
10764 if test "x$with_osmesa" != "xno"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10767 $as_echo_n "checking for -lOSMesa... " >&6; }
10768 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_soname_save_LIBS=$LIBS
10772 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char glAccum ();
10784 main ()
10786 return glAccum ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 case "$LIBEXT" in
10793 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10794 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'` ;;
10795 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10796 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10797 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 fi ;;
10799 esac
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_soname_save_LIBS
10805 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10807 $as_echo "not found" >&6; }
10809 else
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10811 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10813 cat >>confdefs.h <<_ACEOF
10814 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10815 _ACEOF
10819 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10820 case "x$with_osmesa" in
10821 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10824 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10825 esac
10830 if test -n "$opengl_msg"; then :
10831 case "x$with_opengl" in
10832 x) as_fn_append wine_warnings "|$opengl_msg
10833 OpenGL and Direct3D won't be supported." ;;
10834 xno) ;;
10835 *) as_fn_error $? "$opengl_msg
10836 OpenGL and Direct3D won't be supported.
10837 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10838 esac
10842 CPPFLAGS="$ac_save_CPPFLAGS"
10843 else
10844 X_CFLAGS=""
10845 X_LIBS=""
10847 if test "x$X_LIBS" = "x"; then :
10848 case "x$with_x" in
10849 xno) ;;
10850 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10851 without X support, which probably isn't what you want. You will need
10852 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10853 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10854 esac
10855 enable_winex11_drv=${enable_winex11_drv:-no}
10858 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10860 if test "$ac_cv_header_CL_cl_h" = "yes"
10861 then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10863 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10864 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10865 $as_echo_n "(cached) " >&6
10866 else
10867 ac_check_lib_save_LIBS=$LIBS
10868 LIBS="-lOpenCL $LIBS"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10872 /* Override any GCC internal prototype to avoid an error.
10873 Use char because int might match the return type of a GCC
10874 builtin and then its argument prototype would still apply. */
10875 #ifdef __cplusplus
10876 extern "C"
10877 #endif
10878 char clGetPlatformInfo ();
10880 main ()
10882 return clGetPlatformInfo ();
10884 return 0;
10886 _ACEOF
10887 if ac_fn_c_try_link "$LINENO"; then :
10888 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10889 else
10890 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_lib_save_LIBS
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10897 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10898 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10899 OPENCL_LIBS="-lOpenCL"
10904 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10905 case "x$with_opencl" in
10906 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10907 xno) ;;
10908 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10909 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10910 esac
10911 enable_opencl=${enable_opencl:-no}
10914 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10915 then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10917 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10918 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10919 $as_echo_n "(cached) " >&6
10920 else
10921 ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-lpcap $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char pcap_create ();
10934 main ()
10936 return pcap_create ();
10938 return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_pcap_pcap_create=yes
10943 else
10944 ac_cv_lib_pcap_pcap_create=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10951 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10952 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10953 PCAP_LIBS="-lpcap"
10958 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10959 case "x$with_pcap" in
10960 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10961 xno) ;;
10962 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10963 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10964 esac
10965 enable_wpcap=${enable_wpcap:-no}
10969 if test "x$with_xml" != "xno"
10970 then
10971 if ${XML2_CFLAGS:+false} :; then :
10972 if ${PKG_CONFIG+:} false; then :
10973 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10976 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10977 if ${XML2_LIBS:+false} :; then :
10978 if ${PKG_CONFIG+:} false; then :
10979 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10982 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10983 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10984 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10985 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10986 ac_save_CPPFLAGS=$CPPFLAGS
10987 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10988 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10989 do :
10990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10991 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10993 cat >>confdefs.h <<_ACEOF
10994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10995 _ACEOF
10999 done
11001 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"
11002 then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11004 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11005 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11006 $as_echo_n "(cached) " >&6
11007 else
11008 ac_check_lib_save_LIBS=$LIBS
11009 LIBS="-lxml2 $XML2_LIBS $LIBS"
11010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11016 #ifdef __cplusplus
11017 extern "C"
11018 #endif
11019 char xmlParseMemory ();
11021 main ()
11023 return xmlParseMemory ();
11025 return 0;
11027 _ACEOF
11028 if ac_fn_c_try_link "$LINENO"; then :
11029 ac_cv_lib_xml2_xmlParseMemory=yes
11030 else
11031 ac_cv_lib_xml2_xmlParseMemory=no
11033 rm -f core conftest.err conftest.$ac_objext \
11034 conftest$ac_exeext conftest.$ac_ext
11035 LIBS=$ac_check_lib_save_LIBS
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11038 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11039 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11041 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11043 else
11044 XML2_LIBS=""
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11048 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11049 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_lib_save_LIBS=$LIBS
11053 LIBS="-lxml2 $XML2_LIBS $LIBS"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11060 #ifdef __cplusplus
11061 extern "C"
11062 #endif
11063 char xmlReadMemory ();
11065 main ()
11067 return xmlReadMemory ();
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 ac_cv_lib_xml2_xmlReadMemory=yes
11074 else
11075 ac_cv_lib_xml2_xmlReadMemory=no
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11082 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11083 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11085 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11090 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11091 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-lxml2 $XML2_LIBS $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char xmlNewDocPI ();
11107 main ()
11109 return xmlNewDocPI ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 ac_cv_lib_xml2_xmlNewDocPI=yes
11116 else
11117 ac_cv_lib_xml2_xmlNewDocPI=no
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11124 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11125 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11127 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11132 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11133 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-lxml2 $XML2_LIBS $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char xmlSchemaSetParserStructuredErrors ();
11149 main ()
11151 return xmlSchemaSetParserStructuredErrors ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11158 else
11159 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11166 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11167 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11169 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11174 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11175 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11176 $as_echo_n "(cached) " >&6
11177 else
11178 ac_check_lib_save_LIBS=$LIBS
11179 LIBS="-lxml2 $XML2_LIBS $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char xmlSchemaSetValidStructuredErrors ();
11191 main ()
11193 return xmlSchemaSetValidStructuredErrors ();
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11200 else
11201 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11208 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11209 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11211 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11216 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11217 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lxml2 $XML2_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char xmlFirstElementChild ();
11233 main ()
11235 return xmlFirstElementChild ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_xml2_xmlFirstElementChild=yes
11242 else
11243 ac_cv_lib_xml2_xmlFirstElementChild=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11250 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11251 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11253 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11257 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11259 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11261 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11265 else
11266 XML2_CFLAGS=""
11267 XML2_LIBS=""
11269 CPPFLAGS=$ac_save_CPPFLAGS
11270 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11271 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11274 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11275 case "x$with_xml" in
11276 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11277 xno) ;;
11278 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11279 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11280 esac
11284 if test "x$with_xslt" != "xno"
11285 then
11286 if ${XSLT_CFLAGS:+false} :; then :
11287 if ${PKG_CONFIG+:} false; then :
11288 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11291 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11292 if ${XSLT_LIBS:+false} :; then :
11293 if ${PKG_CONFIG+:} false; then :
11294 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11297 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11298 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11299 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11300 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11301 ac_save_CPPFLAGS=$CPPFLAGS
11302 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11303 for ac_header in libxslt/pattern.h libxslt/transform.h
11304 do :
11305 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11306 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11307 # include <libxslt/pattern.h>
11308 #endif
11310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11311 cat >>confdefs.h <<_ACEOF
11312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11313 _ACEOF
11317 done
11319 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11320 then
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11322 $as_echo_n "checking for -lxslt... " >&6; }
11323 if ${ac_cv_lib_soname_xslt+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_soname_save_LIBS=$LIBS
11327 LIBS="-lxslt $XSLT_LIBS $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char xsltCompilePattern ();
11339 main ()
11341 return xsltCompilePattern ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 case "$LIBEXT" in
11348 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11349 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'` ;;
11350 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11351 if ${ac_cv_lib_soname_xslt:+false} :; then :
11352 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11353 fi ;;
11354 esac
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_soname_save_LIBS
11360 if ${ac_cv_lib_soname_xslt:+false} :; then :
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11362 $as_echo "not found" >&6; }
11364 else
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11366 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11368 cat >>confdefs.h <<_ACEOF
11369 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11370 _ACEOF
11374 else
11375 XSLT_CFLAGS=""
11377 CPPFLAGS=$ac_save_CPPFLAGS
11378 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11379 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11382 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11383 case "x$with_xslt" in
11384 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11385 xno) ;;
11386 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11387 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11388 esac
11392 if test "x$with_dbus" != "xno"
11393 then
11394 if ${DBUS_CFLAGS:+false} :; then :
11395 if ${PKG_CONFIG+:} false; then :
11396 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11400 if ${DBUS_LIBS:+false} :; then :
11401 if ${PKG_CONFIG+:} false; then :
11402 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11407 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11408 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11409 ac_save_CPPFLAGS=$CPPFLAGS
11410 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11411 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11412 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11414 $as_echo_n "checking for -ldbus-1... " >&6; }
11415 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11416 $as_echo_n "(cached) " >&6
11417 else
11418 ac_check_soname_save_LIBS=$LIBS
11419 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11426 #ifdef __cplusplus
11427 extern "C"
11428 #endif
11429 char dbus_connection_close ();
11431 main ()
11433 return dbus_connection_close ();
11435 return 0;
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 case "$LIBEXT" in
11440 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11441 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'` ;;
11442 *) 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'`
11443 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11444 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11445 fi ;;
11446 esac
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_soname_save_LIBS
11452 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11454 $as_echo "not found" >&6; }
11455 DBUS_CFLAGS=""
11456 else
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11458 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11460 cat >>confdefs.h <<_ACEOF
11461 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11462 _ACEOF
11466 else
11467 DBUS_CFLAGS=""
11471 CPPFLAGS=$ac_save_CPPFLAGS
11472 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11473 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11476 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11477 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11478 case "x$with_dbus" in
11479 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11480 xno) ;;
11481 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11482 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11483 esac
11487 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11488 then
11489 if ${HAL_CFLAGS:+false} :; then :
11490 if ${PKG_CONFIG+:} false; then :
11491 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11495 if ${HAL_LIBS:+false} :; then :
11496 if ${PKG_CONFIG+:} false; then :
11497 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11501 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11502 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11503 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11504 ac_save_CPPFLAGS=$CPPFLAGS
11505 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11506 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11507 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11509 $as_echo_n "checking for -lhal... " >&6; }
11510 if ${ac_cv_lib_soname_hal+:} false; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_soname_save_LIBS=$LIBS
11514 LIBS="-lhal $HAL_LIBS $LIBS"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11521 #ifdef __cplusplus
11522 extern "C"
11523 #endif
11524 char libhal_ctx_new ();
11526 main ()
11528 return libhal_ctx_new ();
11530 return 0;
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"; then :
11534 case "$LIBEXT" in
11535 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11536 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'` ;;
11537 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11538 if ${ac_cv_lib_soname_hal:+false} :; then :
11539 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11540 fi ;;
11541 esac
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_soname_save_LIBS
11547 if ${ac_cv_lib_soname_hal:+false} :; then :
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11549 $as_echo "not found" >&6; }
11550 HAL_CFLAGS=""
11551 else
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11553 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11555 cat >>confdefs.h <<_ACEOF
11556 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11557 _ACEOF
11561 else
11562 HAL_CFLAGS=""
11566 CPPFLAGS=$ac_save_CPPFLAGS
11567 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11568 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11570 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11571 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11572 case "x$with_hal" in
11573 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11574 xno) ;;
11575 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11576 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11577 esac
11582 if test "x$with_gnutls" != "xno"
11583 then
11584 if ${GNUTLS_CFLAGS:+false} :; then :
11585 if ${PKG_CONFIG+:} false; then :
11586 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11590 if ${GNUTLS_LIBS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11597 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11598 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11599 ac_save_CPPFLAGS=$CPPFLAGS
11600 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11601 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11602 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 #include <gnutls/gnutls.h>
11606 #include <gnutls/crypto.h>
11608 main ()
11610 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11612 return 0;
11614 _ACEOF
11615 if ac_fn_c_try_compile "$LINENO"; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11617 $as_echo_n "checking for -lgnutls... " >&6; }
11618 if ${ac_cv_lib_soname_gnutls+:} false; then :
11619 $as_echo_n "(cached) " >&6
11620 else
11621 ac_check_soname_save_LIBS=$LIBS
11622 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char gnutls_global_init ();
11634 main ()
11636 return gnutls_global_init ();
11638 return 0;
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"; then :
11642 case "$LIBEXT" in
11643 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11644 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'` ;;
11645 *) 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'`
11646 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11647 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'`
11648 fi ;;
11649 esac
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_soname_save_LIBS
11655 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11657 $as_echo "not found" >&6; }
11658 GNUTLS_CFLAGS=""
11659 else
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11661 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11663 cat >>confdefs.h <<_ACEOF
11664 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11665 _ACEOF
11669 ac_wine_check_funcs_save_LIBS="$LIBS"
11670 LIBS="$LIBS $GNUTLS_LIBS"
11671 for ac_func in gnutls_hash
11672 do :
11673 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11674 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11675 cat >>confdefs.h <<_ACEOF
11676 #define HAVE_GNUTLS_HASH 1
11677 _ACEOF
11679 else
11680 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11682 done
11684 LIBS="$ac_wine_check_funcs_save_LIBS"
11686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11687 else
11688 GNUTLS_CFLAGS=""
11692 CPPFLAGS=$ac_save_CPPFLAGS
11693 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11694 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11697 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11698 case "x$with_gnutls" in
11699 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11700 xno) ;;
11701 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11702 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11703 esac
11707 CURSES_LIBS=""
11708 if test "$ac_cv_header_ncurses_h" = "yes"
11709 then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11711 $as_echo_n "checking for -lncurses... " >&6; }
11712 if ${ac_cv_lib_soname_ncurses+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_soname_save_LIBS=$LIBS
11716 LIBS="-lncurses $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char waddch ();
11728 main ()
11730 return waddch ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 case "$LIBEXT" in
11737 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) 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'`
11740 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11741 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 fi ;;
11743 esac
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11755 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11757 cat >>confdefs.h <<_ACEOF
11758 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11759 _ACEOF
11761 CURSES_LIBS="-lncurses"
11763 elif test "$ac_cv_header_curses_h" = "yes"
11764 then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11766 $as_echo_n "checking for -lcurses... " >&6; }
11767 if ${ac_cv_lib_soname_curses+:} false; then :
11768 $as_echo_n "(cached) " >&6
11769 else
11770 ac_check_soname_save_LIBS=$LIBS
11771 LIBS="-lcurses $LIBS"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11778 #ifdef __cplusplus
11779 extern "C"
11780 #endif
11781 char waddch ();
11783 main ()
11785 return waddch ();
11787 return 0;
11789 _ACEOF
11790 if ac_fn_c_try_link "$LINENO"; then :
11791 case "$LIBEXT" in
11792 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11793 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'` ;;
11794 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11795 if ${ac_cv_lib_soname_curses:+false} :; then :
11796 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11797 fi ;;
11798 esac
11800 rm -f core conftest.err conftest.$ac_objext \
11801 conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_soname_save_LIBS
11804 if ${ac_cv_lib_soname_curses:+false} :; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11806 $as_echo "not found" >&6; }
11808 else
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11810 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11812 cat >>confdefs.h <<_ACEOF
11813 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11814 _ACEOF
11816 CURSES_LIBS="-lcurses"
11819 ac_save_LIBS="$LIBS"
11820 LIBS="$LIBS $CURSES_LIBS"
11821 for ac_func in mousemask
11822 do :
11823 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11824 if test "x$ac_cv_func_mousemask" = xyes; then :
11825 cat >>confdefs.h <<_ACEOF
11826 #define HAVE_MOUSEMASK 1
11827 _ACEOF
11830 done
11832 LIBS="$ac_save_LIBS"
11833 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11834 case "x$with_curses" in
11835 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11836 xno) ;;
11837 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11838 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11839 esac
11843 if test "x$with_sane" != "xno"
11844 then
11845 if ${SANE_CFLAGS:+false} :; then :
11846 if ${PKG_CONFIG+:} false; then :
11847 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11850 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11851 if ${SANE_LIBS:+false} :; then :
11852 if ${PKG_CONFIG+:} false; then :
11853 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11856 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11858 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11859 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11860 ac_save_CPPFLAGS=$CPPFLAGS
11861 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11862 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11863 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11865 $as_echo_n "checking for -lsane... " >&6; }
11866 if ${ac_cv_lib_soname_sane+:} false; then :
11867 $as_echo_n "(cached) " >&6
11868 else
11869 ac_check_soname_save_LIBS=$LIBS
11870 LIBS="-lsane $SANE_LIBS $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char sane_init ();
11882 main ()
11884 return sane_init ();
11886 return 0;
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 case "$LIBEXT" in
11891 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11892 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'` ;;
11893 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11894 if ${ac_cv_lib_soname_sane:+false} :; then :
11895 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11896 fi ;;
11897 esac
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_soname_save_LIBS
11903 if ${ac_cv_lib_soname_sane:+false} :; then :
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11905 $as_echo "not found" >&6; }
11906 SANE_CFLAGS=""
11907 else
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11909 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11911 cat >>confdefs.h <<_ACEOF
11912 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11913 _ACEOF
11917 else
11918 SANE_CFLAGS=""
11922 CPPFLAGS=$ac_save_CPPFLAGS
11923 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11924 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11927 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11928 case "x$with_sane" in
11929 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11932 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "x$with_v4l" != "xno"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11940 $as_echo_n "checking for -lv4l1... " >&6; }
11941 if ${ac_cv_lib_soname_v4l1+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_soname_save_LIBS=$LIBS
11945 LIBS="-lv4l1 $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char v4l1_open ();
11957 main ()
11959 return v4l1_open ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 case "$LIBEXT" in
11966 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11967 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'` ;;
11968 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11969 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11970 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11971 fi ;;
11972 esac
11974 rm -f core conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_soname_save_LIBS
11978 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11980 $as_echo "not found" >&6; }
11982 else
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11984 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11986 cat >>confdefs.h <<_ACEOF
11987 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11988 _ACEOF
11993 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11994 case "x$with_v4l" in
11995 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11996 xno) ;;
11997 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11998 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11999 esac
12003 if test "x$with_gphoto" != "xno"
12004 then
12005 if ${GPHOTO2_CFLAGS:+false} :; then :
12006 if ${PKG_CONFIG+:} false; then :
12007 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12010 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12011 if ${GPHOTO2_LIBS:+false} :; then :
12012 if ${PKG_CONFIG+:} false; then :
12013 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12016 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12017 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12018 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12020 ac_save_CPPFLAGS=$CPPFLAGS
12021 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12022 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12023 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12025 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12026 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char gp_camera_new ();
12042 main ()
12044 return gp_camera_new ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_gphoto2_gp_camera_new=yes
12051 else
12052 ac_cv_lib_gphoto2_gp_camera_new=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12059 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12060 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12062 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12064 else
12065 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12068 else
12069 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12073 CPPFLAGS=$ac_save_CPPFLAGS
12074 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12075 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12077 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false; then :
12079 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12082 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12083 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12089 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12092 ac_save_CPPFLAGS=$CPPFLAGS
12093 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12094 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12095 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12097 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12098 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char gp_port_info_list_new ();
12114 main ()
12116 return gp_port_info_list_new ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12123 else
12124 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12131 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12132 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12134 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12136 else
12137 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12140 else
12141 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12145 CPPFLAGS=$ac_save_CPPFLAGS
12146 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12147 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12150 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12151 case "x$with_gphoto" in
12152 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12153 xno) ;;
12154 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12155 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12156 esac
12159 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12160 case "x$with_gphoto" in
12161 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12162 xno) ;;
12163 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12164 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12165 esac
12170 if test "$ac_cv_header_resolv_h" = "yes"
12171 then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12173 $as_echo_n "checking for resolver library... " >&6; }
12174 if ${ac_cv_have_resolv+:} false; then :
12175 $as_echo_n "(cached) " >&6
12176 else
12177 ac_save_LIBS="$LIBS"
12178 for lib in '' -lresolv
12180 LIBS="$lib $ac_save_LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183 #ifdef HAVE_NETINET_IN_H
12184 #include <netinet/in.h>
12185 #endif
12186 #include <resolv.h>
12188 main ()
12190 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_link "$LINENO"; then :
12196 ac_cv_have_resolv=${lib:-"none required"}
12197 else
12198 ac_cv_have_resolv="not found"
12200 rm -f core conftest.err conftest.$ac_objext \
12201 conftest$ac_exeext conftest.$ac_ext
12202 test "x$ac_cv_have_resolv" = "xnot found" || break
12203 done
12204 LIBS="$ac_save_LIBS"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12207 $as_echo "$ac_cv_have_resolv" >&6; }
12209 case "$ac_cv_have_resolv" in
12210 "not found") ;;
12211 "none required")
12213 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12216 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12218 RESOLV_LIBS=$ac_cv_have_resolv
12220 esac
12223 if test "x$with_cms" != "xno"
12224 then
12225 if ${LCMS2_CFLAGS:+false} :; then :
12226 if ${PKG_CONFIG+:} false; then :
12227 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12231 if ${LCMS2_LIBS:+false} :; then :
12232 if ${PKG_CONFIG+:} false; then :
12233 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12237 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12238 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12239 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12240 ac_save_CPPFLAGS=$CPPFLAGS
12241 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12242 for ac_header in lcms2.h
12243 do :
12244 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12245 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12246 cat >>confdefs.h <<_ACEOF
12247 #define HAVE_LCMS2_H 1
12248 _ACEOF
12252 done
12254 if test "$ac_cv_header_lcms2_h" = "yes"
12255 then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12257 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12258 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_lib_save_LIBS=$LIBS
12262 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12269 #ifdef __cplusplus
12270 extern "C"
12271 #endif
12272 char cmsOpenProfileFromFile ();
12274 main ()
12276 return cmsOpenProfileFromFile ();
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12283 else
12284 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_lib_save_LIBS
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12291 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12292 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12294 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12296 else
12297 LCMS2_LIBS=""
12300 else
12301 LCMS2_CFLAGS=""
12302 LCMS2_LIBS=""
12304 CPPFLAGS=$ac_save_CPPFLAGS
12305 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12306 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12309 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12310 case "x$with_cms" in
12311 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12312 xno) ;;
12313 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12314 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12315 esac
12319 if test "x$with_freetype" != "xno"
12320 then
12321 if ${FREETYPE_CFLAGS:+false} :; then :
12322 if ${PKG_CONFIG+:} false; then :
12323 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12326 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12327 if ${FREETYPE_LIBS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12332 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12333 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12334 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12335 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12336 ac_save_CPPFLAGS=$CPPFLAGS
12337 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12338 for ac_header in ft2build.h
12339 do :
12340 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12341 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12342 cat >>confdefs.h <<_ACEOF
12343 #define HAVE_FT2BUILD_H 1
12344 _ACEOF
12348 done
12350 if test "$ac_cv_header_ft2build_h" = "yes"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12353 $as_echo_n "checking for -lfreetype... " >&6; }
12354 if ${ac_cv_lib_soname_freetype+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_soname_save_LIBS=$LIBS
12358 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char FT_Init_FreeType ();
12370 main ()
12372 return FT_Init_FreeType ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 case "$LIBEXT" in
12379 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12380 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'` ;;
12381 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12382 if ${ac_cv_lib_soname_freetype:+false} :; then :
12383 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 fi ;;
12385 esac
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_soname_save_LIBS
12391 if ${ac_cv_lib_soname_freetype:+false} :; then :
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12393 $as_echo "not found" >&6; }
12394 FREETYPE_LIBS=""
12395 else
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12397 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12399 cat >>confdefs.h <<_ACEOF
12400 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12401 _ACEOF
12404 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12406 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12407 #include FT_MODULE_H
12409 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12411 cat >>confdefs.h <<_ACEOF
12412 #define HAVE_FT_TRUETYPEENGINETYPE 1
12413 _ACEOF
12419 else
12420 FREETYPE_CFLAGS=""
12421 FREETYPE_LIBS=""
12423 CPPFLAGS=$ac_save_CPPFLAGS
12424 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12425 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12428 if test "x$ac_cv_lib_soname_freetype" = x; then :
12429 case "x$with_freetype" in
12430 xno) ;;
12431 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12432 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12433 esac
12434 enable_fonts=${enable_fonts:-no}
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12438 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12439 if ${ac_cv_c_ppdev+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12444 #ifdef HAVE_SYS_IOCTL_H
12445 # include <sys/ioctl.h>
12446 #endif
12447 #include <linux/ppdev.h>
12449 main ()
12451 ioctl (1,PPCLAIM,0)
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_compile "$LINENO"; then :
12457 ac_cv_c_ppdev="yes"
12458 else
12459 ac_cv_c_ppdev="no"
12461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12464 $as_echo "$ac_cv_c_ppdev" >&6; }
12465 if test "$ac_cv_c_ppdev" = "yes"
12466 then
12468 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12472 ac_wine_check_funcs_save_LIBS="$LIBS"
12473 LIBS="$LIBS $PTHREAD_LIBS"
12474 for ac_func in \
12475 pthread_attr_get_np \
12476 pthread_getattr_np \
12477 pthread_getthreadid_np \
12478 pthread_get_stackaddr_np \
12479 pthread_get_stacksize_np
12480 do :
12481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12483 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12484 cat >>confdefs.h <<_ACEOF
12485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12486 _ACEOF
12489 done
12491 LIBS="$ac_wine_check_funcs_save_LIBS"
12493 if test "$ac_cv_header_zlib_h" = "yes"
12494 then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12496 $as_echo_n "checking for inflate in -lz... " >&6; }
12497 if ${ac_cv_lib_z_inflate+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_lib_save_LIBS=$LIBS
12501 LIBS="-lz $LIBS"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char inflate ();
12513 main ()
12515 return inflate ();
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 ac_cv_lib_z_inflate=yes
12522 else
12523 ac_cv_lib_z_inflate=no
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 LIBS=$ac_check_lib_save_LIBS
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12530 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12531 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12533 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12535 Z_LIBS="-lz"
12540 if test "x$Z_LIBS" = "x"; then :
12541 case "x$with_zlib" in
12542 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12543 xno) ;;
12544 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12545 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12546 esac
12550 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12551 then
12552 if test "$ac_cv_header_gettext_po_h" = "yes"
12553 then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12555 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12556 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12557 $as_echo_n "(cached) " >&6
12558 else
12559 ac_check_lib_save_LIBS=$LIBS
12560 LIBS="-lgettextpo $LIBS"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char po_message_msgctxt ();
12572 main ()
12574 return po_message_msgctxt ();
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12581 else
12582 ac_cv_lib_gettextpo_po_message_msgctxt=no
12584 rm -f core conftest.err conftest.$ac_objext \
12585 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12589 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12590 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12592 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12594 GETTEXTPO_LIBS="-lgettextpo"
12599 if test "x$GETTEXTPO_LIBS" = "x"; then :
12600 case "x$with_gettextpo" in
12601 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12602 xno) ;;
12603 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12604 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12605 esac
12608 if test "$srcdir" != .; then :
12609 case "x$with_gettextpo" in
12610 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12611 xno) ;;
12612 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12613 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12614 esac
12619 if test "x$with_pulse" != "xno";
12620 then
12621 if ${PULSE_CFLAGS:+false} :; then :
12622 if ${PKG_CONFIG+:} false; then :
12623 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12627 if ${PULSE_LIBS:+false} :; then :
12628 if ${PKG_CONFIG+:} false; then :
12629 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12634 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12636 ac_save_CPPFLAGS=$CPPFLAGS
12637 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12638 for ac_header in pulse/pulseaudio.h
12639 do :
12640 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12641 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12642 cat >>confdefs.h <<_ACEOF
12643 #define HAVE_PULSE_PULSEAUDIO_H 1
12644 _ACEOF
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12646 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12647 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_lib_save_LIBS=$LIBS
12651 LIBS="-lpulse $PULSE_LIBS $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char pa_stream_is_corked ();
12663 main ()
12665 return pa_stream_is_corked ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 ac_cv_lib_pulse_pa_stream_is_corked=yes
12672 else
12673 ac_cv_lib_pulse_pa_stream_is_corked=no
12675 rm -f core conftest.err conftest.$ac_objext \
12676 conftest$ac_exeext conftest.$ac_ext
12677 LIBS=$ac_check_lib_save_LIBS
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12680 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12681 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12683 else
12684 PULSE_LIBS=""
12687 else
12688 PULSE_LIBS=""
12691 done
12693 CPPFLAGS=$ac_save_CPPFLAGS
12694 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12695 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12698 if test -z "$PULSE_LIBS"; then :
12699 case "x$with_pulse" in
12700 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12701 xno) ;;
12702 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12703 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12704 esac
12705 enable_winepulse_drv=${enable_winepulse_drv:-no}
12708 if test "x$with_gstreamer" != "xno"
12709 then
12710 if ${GSTREAMER_CFLAGS:+false} :; then :
12711 if ${PKG_CONFIG+:} false; then :
12712 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12716 if ${GSTREAMER_LIBS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12723 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12724 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12725 ac_save_CPPFLAGS=$CPPFLAGS
12726 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12727 ac_gst_incl=""
12728 for i in $GSTREAMER_CFLAGS
12730 case "$i" in
12731 -I*) ac_gst_incl="$ac_gst_incl $i";;
12732 esac
12733 done
12734 GSTREAMER_CFLAGS=$ac_gst_incl
12735 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12736 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12737 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12739 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <gst/gst.h>
12744 main ()
12746 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"; then :
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12753 $as_echo "yes" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12755 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12756 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 ac_check_lib_save_LIBS=$LIBS
12760 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12767 #ifdef __cplusplus
12768 extern "C"
12769 #endif
12770 char gst_pad_new ();
12772 main ()
12774 return gst_pad_new ();
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_link "$LINENO"; then :
12780 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12781 else
12782 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12784 rm -f core conftest.err conftest.$ac_objext \
12785 conftest$ac_exeext conftest.$ac_ext
12786 LIBS=$ac_check_lib_save_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12789 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12790 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12794 else
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12796 $as_echo "no" >&6; }
12797 ac_glib2_broken=yes
12798 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 CPPFLAGS=$ac_save_CPPFLAGS
12805 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12806 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12809 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 :
12810 case "x$with_gstreamer" in
12811 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12812 xno) ;;
12813 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12814 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12815 esac
12818 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12820 ALSA_LIBS=""
12822 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12823 then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12825 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12826 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lasound $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 char snd_pcm_hw_params_get_access_mask ();
12842 main ()
12844 return snd_pcm_hw_params_get_access_mask ();
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12851 else
12852 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12859 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12860 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12863 #ifdef HAVE_ALSA_ASOUNDLIB_H
12864 #include <alsa/asoundlib.h>
12865 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12866 #include <sys/asoundlib.h>
12867 #endif
12869 main ()
12871 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_compile "$LINENO"; then :
12877 ALSA_LIBS="-lasound"
12879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12883 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12885 if test "x$with_oss" != xno
12886 then
12887 ac_save_CPPFLAGS="$CPPFLAGS"
12888 if test -f /etc/oss.conf
12889 then
12890 . /etc/oss.conf
12892 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12893 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12894 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12895 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12896 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12898 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12900 cat >>confdefs.h <<_ACEOF
12901 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12902 _ACEOF
12904 OSS4_CFLAGS="$ac_oss_incl"
12911 CPPFLAGS="$ac_save_CPPFLAGS"
12913 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12914 case "x$with_oss" in
12915 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12916 xno) ;;
12917 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12918 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12919 esac
12920 enable_wineoss_drv=${enable_wineoss_drv:-no}
12923 if test "x$with_udev" != "xno"
12924 then
12925 if ${UDEV_CFLAGS:+false} :; then :
12926 if ${PKG_CONFIG+:} false; then :
12927 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12931 if ${UDEV_LIBS:+false} :; then :
12932 if ${PKG_CONFIG+:} false; then :
12933 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12938 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12939 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12940 ac_save_CPPFLAGS=$CPPFLAGS
12941 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12942 for ac_header in libudev.h
12943 do :
12944 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12945 if test "x$ac_cv_header_libudev_h" = xyes; then :
12946 cat >>confdefs.h <<_ACEOF
12947 #define HAVE_LIBUDEV_H 1
12948 _ACEOF
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12950 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12951 if ${ac_cv_lib_udev_udev_new+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_lib_save_LIBS=$LIBS
12955 LIBS="-ludev $UDEV_LIBS $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char udev_new ();
12967 main ()
12969 return udev_new ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_lib_udev_udev_new=yes
12976 else
12977 ac_cv_lib_udev_udev_new=no
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 LIBS=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12984 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12985 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12987 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12989 else
12990 UDEV_LIBS=""
12993 else
12994 UDEV_LIBS=""
12997 done
12999 CPPFLAGS=$ac_save_CPPFLAGS
13000 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13001 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13004 if test "x$UDEV_LIBS" = "x"; then :
13005 case "x$with_udev" in
13006 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13007 xno) ;;
13008 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13009 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13010 esac
13014 if test "x$with_capi" != "xno"
13015 then
13016 if ${CAPI20_CFLAGS:+false} :; then :
13017 if ${PKG_CONFIG+:} false; then :
13018 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13022 if ${CAPI20_LIBS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13029 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13030 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13031 ac_save_CPPFLAGS=$CPPFLAGS
13032 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13033 for ac_header in capi20.h linux/capi.h
13034 do :
13035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13036 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13038 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13039 cat >>confdefs.h <<_ACEOF
13040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13041 _ACEOF
13045 done
13047 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13048 then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13050 $as_echo_n "checking for -lcapi20... " >&6; }
13051 if ${ac_cv_lib_soname_capi20+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053 else
13054 ac_check_soname_save_LIBS=$LIBS
13055 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 #ifdef __cplusplus
13063 extern "C"
13064 #endif
13065 char capi20_register ();
13067 main ()
13069 return capi20_register ();
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_link "$LINENO"; then :
13075 case "$LIBEXT" in
13076 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13077 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'` ;;
13078 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13079 if ${ac_cv_lib_soname_capi20:+false} :; then :
13080 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13081 fi ;;
13082 esac
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_soname_save_LIBS
13088 if ${ac_cv_lib_soname_capi20:+false} :; then :
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13090 $as_echo "not found" >&6; }
13092 else
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13094 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13096 cat >>confdefs.h <<_ACEOF
13097 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13098 _ACEOF
13103 CPPFLAGS=$ac_save_CPPFLAGS
13104 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13105 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13108 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13109 case "x$with_capi" in
13110 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13111 xno) ;;
13112 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13113 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13114 esac
13118 CUPS_CFLAGS=""
13120 if test "x$with_cups" != "xno"
13121 then
13122 ac_save_CPPFLAGS="$CPPFLAGS"
13123 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13124 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13125 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13126 for ac_header in cups/cups.h
13127 do :
13128 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13129 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13130 cat >>confdefs.h <<_ACEOF
13131 #define HAVE_CUPS_CUPS_H 1
13132 _ACEOF
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13134 $as_echo_n "checking for -lcups... " >&6; }
13135 if ${ac_cv_lib_soname_cups+:} false; then :
13136 $as_echo_n "(cached) " >&6
13137 else
13138 ac_check_soname_save_LIBS=$LIBS
13139 LIBS="-lcups $ac_cups_libs $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 #ifdef __cplusplus
13147 extern "C"
13148 #endif
13149 char cupsGetDefault ();
13151 main ()
13153 return cupsGetDefault ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 case "$LIBEXT" in
13160 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13161 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'` ;;
13162 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13163 if ${ac_cv_lib_soname_cups:+false} :; then :
13164 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13165 fi ;;
13166 esac
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_soname_save_LIBS
13172 if ${ac_cv_lib_soname_cups:+false} :; then :
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13174 $as_echo "not found" >&6; }
13176 else
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13178 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13180 cat >>confdefs.h <<_ACEOF
13181 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13182 _ACEOF
13184 CUPS_CFLAGS="$ac_cups_cflags"
13186 for ac_header in cups/ppd.h
13187 do :
13188 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define HAVE_CUPS_PPD_H 1
13192 _ACEOF
13196 done
13200 done
13202 CPPFLAGS="$ac_save_CPPFLAGS"
13204 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13205 case "x$with_cups" in
13206 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13207 xno) ;;
13208 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13209 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13210 esac
13214 if test "x$with_fontconfig" != "xno"
13215 then
13216 if ${FONTCONFIG_CFLAGS:+false} :; then :
13217 if ${PKG_CONFIG+:} false; then :
13218 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13221 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13222 if ${FONTCONFIG_LIBS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13227 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13229 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13231 ac_save_CPPFLAGS=$CPPFLAGS
13232 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13233 for ac_header in fontconfig/fontconfig.h
13234 do :
13235 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13236 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13239 _ACEOF
13243 done
13245 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13248 $as_echo_n "checking for -lfontconfig... " >&6; }
13249 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char FcInit ();
13265 main ()
13267 return FcInit ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13278 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13289 FONTCONFIG_CFLAGS=""
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13292 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13296 _ACEOF
13300 else
13301 FONTCONFIG_CFLAGS=""
13303 CPPFLAGS=$ac_save_CPPFLAGS
13304 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13305 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13308 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13309 case "x$with_fontconfig" in
13310 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13313 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13319 then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13321 $as_echo_n "checking for -lgsm... " >&6; }
13322 if ${ac_cv_lib_soname_gsm+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_soname_save_LIBS=$LIBS
13326 LIBS="-lgsm $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char gsm_create ();
13338 main ()
13340 return gsm_create ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 case "$LIBEXT" in
13347 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13348 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'` ;;
13349 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13350 if ${ac_cv_lib_soname_gsm:+false} :; then :
13351 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13352 fi ;;
13353 esac
13355 rm -f core conftest.err conftest.$ac_objext \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_soname_save_LIBS
13359 if ${ac_cv_lib_soname_gsm:+false} :; then :
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13361 $as_echo "not found" >&6; }
13363 else
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13365 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13367 cat >>confdefs.h <<_ACEOF
13368 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13369 _ACEOF
13374 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13375 case "x$with_gsm" in
13376 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13377 xno) ;;
13378 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13379 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13380 esac
13384 if test "x$with_jpeg" != "xno"
13385 then
13386 if ${JPEG_CFLAGS:+false} :; then :
13387 if ${PKG_CONFIG+:} false; then :
13388 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13392 if ${JPEG_LIBS:+false} :; then :
13393 if ${PKG_CONFIG+:} false; then :
13394 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13399 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13400 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13401 ac_save_CPPFLAGS=$CPPFLAGS
13402 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13403 for ac_header in jpeglib.h
13404 do :
13405 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13406 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13407 cat >>confdefs.h <<_ACEOF
13408 #define HAVE_JPEGLIB_H 1
13409 _ACEOF
13413 done
13415 if test "$ac_cv_header_jpeglib_h" = "yes"
13416 then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13418 $as_echo_n "checking for -ljpeg... " >&6; }
13419 if ${ac_cv_lib_soname_jpeg+:} false; then :
13420 $as_echo_n "(cached) " >&6
13421 else
13422 ac_check_soname_save_LIBS=$LIBS
13423 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 #ifdef __cplusplus
13431 extern "C"
13432 #endif
13433 char jpeg_start_decompress ();
13435 main ()
13437 return jpeg_start_decompress ();
13439 return 0;
13441 _ACEOF
13442 if ac_fn_c_try_link "$LINENO"; then :
13443 case "$LIBEXT" in
13444 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13445 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'` ;;
13446 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13447 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13448 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13449 fi ;;
13450 esac
13452 rm -f core conftest.err conftest.$ac_objext \
13453 conftest$ac_exeext conftest.$ac_ext
13454 LIBS=$ac_check_soname_save_LIBS
13456 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13458 $as_echo "not found" >&6; }
13459 JPEG_CFLAGS=""
13460 else
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13462 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13464 cat >>confdefs.h <<_ACEOF
13465 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13466 _ACEOF
13470 else
13471 JPEG_CFLAGS=""
13473 CPPFLAGS=$ac_save_CPPFLAGS
13474 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13475 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13478 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13479 case "x$with_jpeg" in
13480 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13481 xno) ;;
13482 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13483 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13484 esac
13488 if test "x$with_png" != "xno"
13489 then
13490 if ${PNG_CFLAGS:+false} :; then :
13491 if ${PKG_CONFIG+:} false; then :
13492 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13495 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13496 if ${PNG_LIBS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13501 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13503 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13504 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13505 ac_save_CPPFLAGS=$CPPFLAGS
13506 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13507 for ac_header in png.h
13508 do :
13509 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13510 if test "x$ac_cv_header_png_h" = xyes; then :
13511 cat >>confdefs.h <<_ACEOF
13512 #define HAVE_PNG_H 1
13513 _ACEOF
13517 done
13519 if test "$ac_cv_header_png_h" = "yes"
13520 then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13522 $as_echo_n "checking for -lpng... " >&6; }
13523 if ${ac_cv_lib_soname_png+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 ac_check_soname_save_LIBS=$LIBS
13527 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char png_create_read_struct ();
13539 main ()
13541 return png_create_read_struct ();
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_link "$LINENO"; then :
13547 case "$LIBEXT" in
13548 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13549 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'` ;;
13550 *) 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'`
13551 if ${ac_cv_lib_soname_png:+false} :; then :
13552 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13553 fi ;;
13554 esac
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 LIBS=$ac_check_soname_save_LIBS
13560 if ${ac_cv_lib_soname_png:+false} :; then :
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13562 $as_echo "not found" >&6; }
13563 PNG_CFLAGS=""
13564 else
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13566 $as_echo "$ac_cv_lib_soname_png" >&6; }
13568 cat >>confdefs.h <<_ACEOF
13569 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13570 _ACEOF
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 #include <png.h>
13576 main ()
13578 typeof(png_set_expand_gray_1_2_4_to_8) *p
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_compile "$LINENO"; then :
13585 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13590 else
13591 PNG_CFLAGS=""
13593 CPPFLAGS=$ac_save_CPPFLAGS
13594 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13595 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13598 if test "x$ac_cv_lib_soname_png" = "x"; then :
13599 case "x$with_png" in
13600 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13601 xno) ;;
13602 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13603 This is an error since --with-png was requested." "$LINENO" 5 ;;
13604 esac
13608 if test "x$with_tiff" != "xno"
13609 then
13610 if ${TIFF_CFLAGS:+false} :; then :
13611 if ${PKG_CONFIG+:} false; then :
13612 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13616 if ${TIFF_LIBS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13623 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13624 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13625 ac_save_CPPFLAGS=$CPPFLAGS
13626 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13627 for ac_header in tiffio.h
13628 do :
13629 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13630 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13631 cat >>confdefs.h <<_ACEOF
13632 #define HAVE_TIFFIO_H 1
13633 _ACEOF
13637 done
13639 if test "$ac_cv_header_tiffio_h" = "yes"
13640 then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13642 $as_echo_n "checking for -ltiff... " >&6; }
13643 if ${ac_cv_lib_soname_tiff+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_check_soname_save_LIBS=$LIBS
13647 LIBS="-ltiff $TIFF_LIBS $LIBS"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13654 #ifdef __cplusplus
13655 extern "C"
13656 #endif
13657 char TIFFClientOpen ();
13659 main ()
13661 return TIFFClientOpen ();
13663 return 0;
13665 _ACEOF
13666 if ac_fn_c_try_link "$LINENO"; then :
13667 case "$LIBEXT" in
13668 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13669 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'` ;;
13670 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13671 if ${ac_cv_lib_soname_tiff:+false} :; then :
13672 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13673 fi ;;
13674 esac
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13678 LIBS=$ac_check_soname_save_LIBS
13680 if ${ac_cv_lib_soname_tiff:+false} :; then :
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13682 $as_echo "not found" >&6; }
13684 else
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13686 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13688 cat >>confdefs.h <<_ACEOF
13689 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13690 _ACEOF
13695 CPPFLAGS=$ac_save_CPPFLAGS
13696 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13697 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13700 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13701 case "x$with_tiff" in
13702 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13703 xno) ;;
13704 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13705 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13706 esac
13710 if test "x$with_mpg123" != "xno"
13711 then
13712 if ${MPG123_CFLAGS:+false} :; then :
13713 if ${PKG_CONFIG+:} false; then :
13714 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13718 if ${MPG123_LIBS:+false} :; then :
13719 if ${PKG_CONFIG+:} false; then :
13720 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13724 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13725 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13726 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13727 ac_save_CPPFLAGS=$CPPFLAGS
13728 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13729 for ac_header in mpg123.h
13730 do :
13731 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13732 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13733 cat >>confdefs.h <<_ACEOF
13734 #define HAVE_MPG123_H 1
13735 _ACEOF
13739 done
13741 if test "$ac_cv_header_mpg123_h" = "yes"
13742 then
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13744 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13745 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_check_lib_save_LIBS=$LIBS
13749 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13753 /* Override any GCC internal prototype to avoid an error.
13754 Use char because int might match the return type of a GCC
13755 builtin and then its argument prototype would still apply. */
13756 #ifdef __cplusplus
13757 extern "C"
13758 #endif
13759 char mpg123_feed ();
13761 main ()
13763 return mpg123_feed ();
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 ac_cv_lib_mpg123_mpg123_feed=yes
13770 else
13771 ac_cv_lib_mpg123_mpg123_feed=no
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LIBS=$ac_check_lib_save_LIBS
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13778 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13779 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13781 else
13782 MPG123_LIBS=""
13785 else
13786 MPG123_CFLAGS=""
13787 MPG123_LIBS=""
13789 CPPFLAGS=$ac_save_CPPFLAGS
13790 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13791 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13794 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13795 case "x$with_mpg123" in
13796 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13797 xno) ;;
13798 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13799 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13800 esac
13801 enable_winemp3_acm=${enable_winemp3_acm:-no}
13804 if test "$ac_cv_header_AL_al_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13807 $as_echo_n "checking for -lopenal... " >&6; }
13808 if ${ac_cv_lib_soname_openal+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-lopenal $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char alGetSource3i ();
13824 main ()
13826 return alGetSource3i ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13836 if ${ac_cv_lib_soname_openal:+false} :; then :
13837 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_soname_save_LIBS
13845 if ${ac_cv_lib_soname_openal:+false} :; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13847 $as_echo "not found" >&6; }
13849 else
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13851 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13853 cat >>confdefs.h <<_ACEOF
13854 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13855 _ACEOF
13857 OPENAL_LIBS="-lopenal"
13859 ac_cv_lib_openal=yes
13861 cat >>confdefs.h <<_ACEOF
13862 #define HAVE_OPENAL 1
13863 _ACEOF
13867 if test "x$ac_cv_lib_openal" != xyes; then :
13868 case "x$with_openal" in
13869 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13870 xno) ;;
13871 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13872 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13873 esac
13874 enable_openal32=${enable_openal32:-no}
13877 if test "x$ac_cv_lib_openal" = xyes
13878 then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13880 $as_echo_n "checking for openal-soft... " >&6; }
13881 if ${ac_cv_have_openalsoft+:} false; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 #include <AL/al.h>
13887 #include <AL/alc.h>
13888 #include <AL/alext.h>
13889 LPALCRENDERSAMPLESSOFT x;
13891 main ()
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_compile "$LINENO"; then :
13899 ac_cv_have_openalsoft=yes
13900 else
13901 ac_cv_have_openalsoft=no
13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13906 $as_echo "$ac_cv_have_openalsoft" >&6; }
13908 if test "x$ac_cv_have_openalsoft" != xyes
13909 then
13910 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13911 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13912 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13913 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13914 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13915 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13916 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13917 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13918 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13919 enable_xapofx1_1=${enable_xapofx1_1:-no}
13920 enable_xapofx1_2=${enable_xapofx1_2:-no}
13921 enable_xapofx1_3=${enable_xapofx1_3:-no}
13922 enable_xapofx1_4=${enable_xapofx1_4:-no}
13923 enable_xapofx1_5=${enable_xapofx1_5:-no}
13924 enable_xaudio2_0=${enable_xaudio2_0:-no}
13925 enable_xaudio2_1=${enable_xaudio2_1:-no}
13926 enable_xaudio2_2=${enable_xaudio2_2:-no}
13927 enable_xaudio2_3=${enable_xaudio2_3:-no}
13928 enable_xaudio2_4=${enable_xaudio2_4:-no}
13929 enable_xaudio2_5=${enable_xaudio2_5:-no}
13930 enable_xaudio2_6=${enable_xaudio2_6:-no}
13931 enable_xaudio2_7=${enable_xaudio2_7:-no}
13932 enable_xaudio2_8=${enable_xaudio2_8:-no}
13933 enable_xaudio2_9=${enable_xaudio2_9:-no}
13936 if test "$ac_cv_header_kstat_h" = "yes"
13937 then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13939 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13940 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-lkstat $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char kstat_open ();
13956 main ()
13958 return kstat_open ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 ac_cv_lib_kstat_kstat_open=yes
13965 else
13966 ac_cv_lib_kstat_kstat_open=no
13968 rm -f core conftest.err conftest.$ac_objext \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13973 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13974 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13976 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13978 KSTAT_LIBS="-lkstat"
13984 if test "$ac_cv_header_libprocstat_h" = "yes"
13985 then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13987 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13988 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-lprocstat $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char procstat_open_sysctl ();
14004 main ()
14006 return procstat_open_sysctl ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_lib_procstat_procstat_open_sysctl=yes
14013 else
14014 ac_cv_lib_procstat_procstat_open_sysctl=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14021 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14022 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14024 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14026 PROCSTAT_LIBS="-lprocstat"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14033 $as_echo_n "checking for -lodbc... " >&6; }
14034 if ${ac_cv_lib_soname_odbc+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 ac_check_soname_save_LIBS=$LIBS
14038 LIBS="-lodbc $LIBS"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14042 /* Override any GCC internal prototype to avoid an error.
14043 Use char because int might match the return type of a GCC
14044 builtin and then its argument prototype would still apply. */
14045 #ifdef __cplusplus
14046 extern "C"
14047 #endif
14048 char SQLConnect ();
14050 main ()
14052 return SQLConnect ();
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"; then :
14058 case "$LIBEXT" in
14059 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14060 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'` ;;
14061 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14062 if ${ac_cv_lib_soname_odbc:+false} :; then :
14063 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14064 fi ;;
14065 esac
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_soname_save_LIBS
14071 if ${ac_cv_lib_soname_odbc:+false} :; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14073 $as_echo "not found" >&6; }
14074 cat >>confdefs.h <<_ACEOF
14075 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14076 _ACEOF
14078 else
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14080 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14082 cat >>confdefs.h <<_ACEOF
14083 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14084 _ACEOF
14089 if test "x$with_netapi" != "xno"
14090 then
14091 if ${NETAPI_CFLAGS:+false} :; then :
14092 if ${PKG_CONFIG+:} false; then :
14093 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14097 if ${NETAPI_LIBS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14104 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14105 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14106 ac_save_CPPFLAGS=$CPPFLAGS
14107 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14109 $as_echo_n "checking for -lnetapi... " >&6; }
14110 if ${ac_cv_lib_soname_netapi+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_check_soname_save_LIBS=$LIBS
14114 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14118 /* Override any GCC internal prototype to avoid an error.
14119 Use char because int might match the return type of a GCC
14120 builtin and then its argument prototype would still apply. */
14121 #ifdef __cplusplus
14122 extern "C"
14123 #endif
14124 char libnetapi_init ();
14126 main ()
14128 return libnetapi_init ();
14130 return 0;
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 case "$LIBEXT" in
14135 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14136 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'` ;;
14137 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14138 if ${ac_cv_lib_soname_netapi:+false} :; then :
14139 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14140 fi ;;
14141 esac
14143 rm -f core conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 LIBS=$ac_check_soname_save_LIBS
14147 if ${ac_cv_lib_soname_netapi:+false} :; then :
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14149 $as_echo "not found" >&6; }
14150 cat >>confdefs.h <<_ACEOF
14151 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14152 _ACEOF
14154 else
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14156 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14158 cat >>confdefs.h <<_ACEOF
14159 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14160 _ACEOF
14164 CPPFLAGS=$ac_save_CPPFLAGS
14165 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14166 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14170 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14171 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14172 then
14173 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14177 EXTRACFLAGS=""
14179 if test "x${GCC}" = "xyes"
14180 then
14181 EXTRACFLAGS="-Wall -pipe"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14184 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14185 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 if test "$cross_compiling" = yes; then :
14189 ac_cv_c_gcc_strength_bug="no"
14190 else
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14193 int L[4] = {0,1,2,3};
14195 main ()
14197 static int Array[3];
14198 unsigned int B = 3;
14199 int i;
14200 for(i=0; i<B; i++) Array[i] = i - 3;
14201 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14202 L[i] = 4;
14203 return (Array[1] != -2 || L[2] != 3)
14205 return 0;
14207 _ACEOF
14208 if ac_fn_c_try_run "$LINENO"; then :
14209 ac_cv_c_gcc_strength_bug="no"
14210 else
14211 ac_cv_c_gcc_strength_bug="yes"
14213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14214 conftest.$ac_objext conftest.beam conftest.$ac_ext
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14219 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14220 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14221 then
14222 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14226 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14227 if ${ac_cv_cflags__fno_builtin+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 ac_wine_try_cflags_saved=$CFLAGS
14231 CFLAGS="$CFLAGS -fno-builtin"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 ac_cv_cflags__fno_builtin=yes
14238 else
14239 ac_cv_cflags__fno_builtin=no
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243 CFLAGS=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14246 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14247 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14248 BUILTINFLAG="-fno-builtin"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14252 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14253 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_wine_try_cflags_saved=$CFLAGS
14257 CFLAGS="$CFLAGS -fno-strict-aliasing"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 ac_cv_cflags__fno_strict_aliasing=yes
14264 else
14265 ac_cv_cflags__fno_strict_aliasing=no
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 CFLAGS=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14272 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14273 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14274 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14277 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14278 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -fexcess-precision=standard"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__fexcess_precision_standard=yes
14289 else
14290 ac_cv_cflags__fexcess_precision_standard=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14297 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14298 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14299 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14302 saved_CFLAGS=$CFLAGS
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14304 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14305 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int main(int argc, char **argv) { return 0; }
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"; then :
14315 ac_cv_cflags__Werror_unknown_warning_option=yes
14316 else
14317 ac_cv_cflags__Werror_unknown_warning_option=no
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 CFLAGS=$ac_wine_try_cflags_saved
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14324 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14325 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14326 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14329 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14330 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_wine_try_cflags_saved=$CFLAGS
14334 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_cflags__Wdeclaration_after_statement=yes
14341 else
14342 ac_cv_cflags__Wdeclaration_after_statement=no
14344 rm -f core conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 CFLAGS=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14349 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14350 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14351 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14354 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14355 if ${ac_cv_cflags__Wempty_body+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_wine_try_cflags_saved=$CFLAGS
14359 CFLAGS="$CFLAGS -Wempty-body"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_cflags__Wempty_body=yes
14366 else
14367 ac_cv_cflags__Wempty_body=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 CFLAGS=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14374 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14375 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14376 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14379 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14380 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -Wignored-qualifiers"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_cflags__Wignored_qualifiers=yes
14391 else
14392 ac_cv_cflags__Wignored_qualifiers=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 CFLAGS=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14399 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14400 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14401 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14404 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14405 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -Wshift-overflow=2"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_cflags__Wshift_overflow_2=yes
14416 else
14417 ac_cv_cflags__Wshift_overflow_2=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 CFLAGS=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14424 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14425 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14426 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14429 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14430 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 ac_wine_try_cflags_saved=$CFLAGS
14434 CFLAGS="$CFLAGS -Wstrict-prototypes"
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_cflags__Wstrict_prototypes=yes
14441 else
14442 ac_cv_cflags__Wstrict_prototypes=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 CFLAGS=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14449 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14450 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14451 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14454 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14455 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_wine_try_cflags_saved=$CFLAGS
14459 CFLAGS="$CFLAGS -Wtype-limits"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 int main(int argc, char **argv) { return 0; }
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"; then :
14465 ac_cv_cflags__Wtype_limits=yes
14466 else
14467 ac_cv_cflags__Wtype_limits=no
14469 rm -f core conftest.err conftest.$ac_objext \
14470 conftest$ac_exeext conftest.$ac_ext
14471 CFLAGS=$ac_wine_try_cflags_saved
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14474 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14475 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14476 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14479 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14480 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14481 $as_echo_n "(cached) " >&6
14482 else
14483 ac_wine_try_cflags_saved=$CFLAGS
14484 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 int main(int argc, char **argv) { return 0; }
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_cflags__Wunused_but_set_parameter=yes
14491 else
14492 ac_cv_cflags__Wunused_but_set_parameter=no
14494 rm -f core conftest.err conftest.$ac_objext \
14495 conftest$ac_exeext conftest.$ac_ext
14496 CFLAGS=$ac_wine_try_cflags_saved
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14499 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14500 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14501 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14504 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14505 if ${ac_cv_cflags__Wvla+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 ac_wine_try_cflags_saved=$CFLAGS
14509 CFLAGS="$CFLAGS -Wvla"
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int main(int argc, char **argv) { return 0; }
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"; then :
14515 ac_cv_cflags__Wvla=yes
14516 else
14517 ac_cv_cflags__Wvla=no
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 CFLAGS=$ac_wine_try_cflags_saved
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14524 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14525 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14526 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14529 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14530 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_wine_try_cflags_saved=$CFLAGS
14534 CFLAGS="$CFLAGS -Wwrite-strings"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 ac_cv_cflags__Wwrite_strings=yes
14541 else
14542 ac_cv_cflags__Wwrite_strings=no
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 CFLAGS=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14549 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14550 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14551 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14555 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14556 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_wine_try_cflags_saved=$CFLAGS
14560 CFLAGS="$CFLAGS -Wpointer-arith"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14563 int main(int argc, char **argv) { return 0; }
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_cflags__Wpointer_arith=yes
14567 else
14568 ac_cv_cflags__Wpointer_arith=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 CFLAGS=$ac_wine_try_cflags_saved
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14575 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14576 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14577 saved_string_h_CFLAGS=$CFLAGS
14578 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14580 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14581 if ${ac_cv_c_string_h_warnings+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586 #include <string.h>
14588 main ()
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_compile "$LINENO"; then :
14596 ac_cv_c_string_h_warnings=no
14597 else
14598 ac_cv_c_string_h_warnings=yes
14600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14603 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14604 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14605 CFLAGS=$saved_string_h_CFLAGS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14609 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14610 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Wlogical-op"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_cflags__Wlogical_op=yes
14621 else
14622 ac_cv_cflags__Wlogical_op=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 CFLAGS=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14629 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14630 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14631 saved_string_h_CFLAGS=$CFLAGS
14632 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14634 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14635 if ${ac_cv_c_logicalop_noisy+:} false; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14640 #include <string.h>
14641 char*f(const char *h,char n) {return strchr(h,n);}
14643 main ()
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_compile "$LINENO"; then :
14651 ac_cv_c_logicalop_noisy=no
14652 else
14653 ac_cv_c_logicalop_noisy=yes
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14658 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14659 CFLAGS=$saved_string_h_CFLAGS
14660 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14663 CFLAGS=$saved_CFLAGS
14665 for ac_flag in $CFLAGS; do
14666 case $ac_flag in
14667 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14668 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14669 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -gdwarf-2"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 int main(int argc, char **argv) { return 0; }
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_cflags__gdwarf_2=yes
14680 else
14681 ac_cv_cflags__gdwarf_2=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 CFLAGS=$ac_wine_try_cflags_saved
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14688 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14689 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14690 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14693 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14694 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -gstrict-dwarf"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__gstrict_dwarf=yes
14705 else
14706 ac_cv_cflags__gstrict_dwarf=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14713 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14714 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14715 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14716 fi ;;
14717 esac
14718 done
14720 case $host_cpu in
14721 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14722 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14723 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_wine_try_cflags_saved=$CFLAGS
14727 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
14734 else
14735 ac_cv_cflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
14742 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14743 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14744 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14745 fi ;;
14746 esac
14748 case $host in
14749 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14750 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14751 if ${ac_cv_cflags__Wno_format+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_wine_try_cflags_saved=$CFLAGS
14755 CFLAGS="$CFLAGS -Wno-format"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 int main(int argc, char **argv) { return 0; }
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_cflags__Wno_format=yes
14762 else
14763 ac_cv_cflags__Wno_format=no
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext conftest.$ac_ext
14767 CFLAGS=$ac_wine_try_cflags_saved
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14770 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14771 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14772 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14773 fi ;;
14774 esac
14776 if test "x$enable_maintainer_mode" = "xyes"
14777 then
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14779 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14780 if ${ac_cv_cflags__Werror+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 ac_wine_try_cflags_saved=$CFLAGS
14784 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
14791 else
14792 ac_cv_cflags__Werror=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__Werror" >&5
14799 $as_echo "$ac_cv_cflags__Werror" >&6; }
14800 if test "x$ac_cv_cflags__Werror" = xyes; then :
14801 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14805 saved_CFLAGS="$CFLAGS"
14806 CFLAGS="$CFLAGS -Werror"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14808 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14809 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14816 main ()
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_compile "$LINENO"; then :
14824 ac_cv_have_ms_hook_prologue="yes"
14825 else
14826 ac_cv_have_ms_hook_prologue="no"
14828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14831 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14832 CFLAGS="$saved_CFLAGS"
14833 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14834 then
14836 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14838 else
14839 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14846 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14847 if ${ac_cv_c_fortify_enabled+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14852 #include <string.h>
14854 main ()
14856 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14857 #error Fortify enabled
14858 #endif
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_compile "$LINENO"; then :
14864 ac_cv_c_fortify_enabled=no
14865 else
14866 ac_cv_c_fortify_enabled=yes
14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14871 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14872 if test "$ac_cv_c_fortify_enabled" = yes
14873 then
14874 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14879 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14880 if ${ac_cv_c_extern_prefix+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 extern int ac_test;
14887 main ()
14889 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14891 return 0;
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"; then :
14895 ac_cv_c_extern_prefix="yes"
14896 else
14897 ac_cv_c_extern_prefix="no"
14899 rm -f core conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext conftest.$ac_ext
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14903 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14905 case $host_cpu in
14906 *i[3456789]86*)
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14908 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14909 if ${ac_cv_c_stdcall_suffix+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 #ifndef _MSC_VER
14915 #define __stdcall __attribute__((__stdcall__))
14916 #endif
14917 int __stdcall ac_test(int i) { return i; }
14919 main ()
14921 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"; then :
14927 ac_cv_c_stdcall_suffix="yes"
14928 else
14929 ac_cv_c_stdcall_suffix="no"
14931 rm -f core conftest.err conftest.$ac_objext \
14932 conftest$ac_exeext conftest.$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14935 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14936 *) ac_cv_c_stdcall_suffix="no" ;;
14937 esac
14940 if test "$ac_cv_c_extern_prefix" = "yes"
14941 then
14942 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14944 asm_name_prefix="_"
14945 else
14946 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14948 asm_name_prefix=""
14952 if test "$ac_cv_c_stdcall_suffix" = "yes"
14953 then
14954 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14956 else
14957 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14963 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14964 if ${ac_cv_asm_func_def+:} false; then :
14965 $as_echo_n "(cached) " >&6
14966 else
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14971 main ()
14973 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 ac_cv_asm_func_def=".def"
14980 else
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14985 main ()
14987 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 ac_cv_asm_func_def=".type @function"
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14999 main ()
15001 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_asm_func_def=".type 2"
15008 else
15009 ac_cv_asm_func_def="unknown"
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15021 $as_echo "$ac_cv_asm_func_def" >&6; }
15024 case "$ac_cv_asm_func_def" in
15025 ".def")
15026 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15028 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15029 ".type @function")
15030 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15032 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15033 ".type 2")
15034 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15036 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15038 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15040 asm_func_header="" ;;
15041 esac
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15044 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15045 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15046 $as_echo_n "(cached) " >&6
15047 else
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050 asm(".text\n\t.long 0");
15052 main ()
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_compile "$LINENO"; then :
15060 ac_cv_c_asm_outside_funcs="yes"
15061 else
15062 ac_cv_c_asm_outside_funcs="no"
15064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15067 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15070 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15071 if ${ac_cv_c_dot_previous+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15078 main ()
15080 asm(".text\nac_test:\t.long 0\n\t.previous");
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_c_dot_previous="yes"
15087 else
15088 ac_cv_c_dot_previous="no"
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15094 $as_echo "$ac_cv_c_dot_previous" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15097 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15098 if ${ac_cv_c_cfi_support+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15105 main ()
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_compile "$LINENO"; then :
15113 ac_cv_c_cfi_support="yes"
15114 else
15115 ac_cv_c_cfi_support="no"
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15120 $as_echo "$ac_cv_c_cfi_support" >&6; }
15122 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15123 asm_func_trailer=""
15124 if test "$ac_cv_c_dot_previous" = "yes"
15125 then
15126 asm_func_trailer="\\n\\t.previous"
15128 if test "$ac_cv_c_cfi_support" = "yes"
15129 then
15130 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15131 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15133 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15135 UNWINDFLAGS=-fasynchronous-unwind-tables
15137 else
15138 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15140 if test "x$enable_win64" = "xyes"
15141 then
15142 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15146 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15149 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15150 then
15151 cat >>confdefs.h <<_ACEOF
15152 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15153 _ACEOF
15155 else
15156 cat >>confdefs.h <<_ACEOF
15157 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15158 _ACEOF
15162 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15165 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15169 case $build_os in
15170 cygwin*|mingw32*) TOOLSEXT=".exe"
15172 esac
15174 case $host_os in
15175 linux-android*) ;;
15176 linux*)
15177 case $host_cpu in
15178 *i[3456789]86*|x86_64*)
15179 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15180 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15182 esac
15184 esac
15187 ac_save_CFLAGS="$CFLAGS"
15188 CFLAGS="$CFLAGS $BUILTINFLAG"
15189 for ac_func in \
15190 __res_get_state \
15191 __res_getservers \
15192 _finite \
15193 _isnan \
15194 _pclose \
15195 _popen \
15196 _snprintf \
15197 _spawnvp \
15198 _strdup \
15199 _stricmp \
15200 _strnicmp \
15201 _strtoi64 \
15202 _strtoui64 \
15203 _vsnprintf \
15204 asctime_r \
15205 chsize \
15206 dlopen \
15207 epoll_create \
15208 ffs \
15209 finitef \
15210 fnmatch \
15211 fork \
15212 fpclass \
15213 fstatfs \
15214 fstatvfs \
15215 ftruncate \
15216 futimens \
15217 futimes \
15218 futimesat \
15219 getattrlist \
15220 getopt_long_only \
15221 getpwuid \
15222 gettimeofday \
15223 getuid \
15224 if_nameindex \
15225 isnanf \
15226 kqueue \
15227 lstat \
15228 memmove \
15229 mmap \
15230 pclose \
15231 pipe2 \
15232 poll \
15233 popen \
15234 port_create \
15235 prctl \
15236 pread \
15237 proc_pidinfo \
15238 pwrite \
15239 readdir \
15240 readlink \
15241 sched_yield \
15242 select \
15243 setproctitle \
15244 setprogname \
15245 setrlimit \
15246 settimeofday \
15247 sigaltstack \
15248 sigprocmask \
15249 snprintf \
15250 statfs \
15251 statvfs \
15252 strcasecmp \
15253 strdup \
15254 strerror \
15255 strncasecmp \
15256 strtold \
15257 strtoll \
15258 strtoull \
15259 symlink \
15260 sysinfo \
15261 tcdrain \
15262 thr_kill2 \
15263 timegm \
15264 usleep \
15265 vsnprintf
15267 do :
15268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15271 cat >>confdefs.h <<_ACEOF
15272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15273 _ACEOF
15276 done
15278 CFLAGS="$ac_save_CFLAGS"
15280 if test "$ac_cv_func_dlopen" = no
15281 then
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15283 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15284 if ${ac_cv_lib_dl_dlopen+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 ac_check_lib_save_LIBS=$LIBS
15288 LIBS="-ldl $LIBS"
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15292 /* Override any GCC internal prototype to avoid an error.
15293 Use char because int might match the return type of a GCC
15294 builtin and then its argument prototype would still apply. */
15295 #ifdef __cplusplus
15296 extern "C"
15297 #endif
15298 char dlopen ();
15300 main ()
15302 return dlopen ();
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 ac_cv_lib_dl_dlopen=yes
15309 else
15310 ac_cv_lib_dl_dlopen=no
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS=$ac_check_lib_save_LIBS
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15317 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15318 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15319 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15320 DL_LIBS="-ldl"
15325 ac_wine_check_funcs_save_LIBS="$LIBS"
15326 LIBS="$LIBS $DL_LIBS"
15327 for ac_func in dladdr
15328 do :
15329 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15330 if test "x$ac_cv_func_dladdr" = xyes; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define HAVE_DLADDR 1
15333 _ACEOF
15336 done
15338 LIBS="$ac_wine_check_funcs_save_LIBS"
15340 if test "$ac_cv_func_poll" = no
15341 then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15343 $as_echo_n "checking for poll in -lpoll... " >&6; }
15344 if ${ac_cv_lib_poll_poll+:} false; then :
15345 $as_echo_n "(cached) " >&6
15346 else
15347 ac_check_lib_save_LIBS=$LIBS
15348 LIBS="-lpoll $LIBS"
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15355 #ifdef __cplusplus
15356 extern "C"
15357 #endif
15358 char poll ();
15360 main ()
15362 return poll ();
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_link "$LINENO"; then :
15368 ac_cv_lib_poll_poll=yes
15369 else
15370 ac_cv_lib_poll_poll=no
15372 rm -f core conftest.err conftest.$ac_objext \
15373 conftest$ac_exeext conftest.$ac_ext
15374 LIBS=$ac_check_lib_save_LIBS
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15377 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15378 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15379 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15380 POLL_LIBS="-lpoll"
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15387 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15388 if ${ac_cv_search_gethostbyname+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 ac_func_search_save_LIBS=$LIBS
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15395 /* Override any GCC internal prototype to avoid an error.
15396 Use char because int might match the return type of a GCC
15397 builtin and then its argument prototype would still apply. */
15398 #ifdef __cplusplus
15399 extern "C"
15400 #endif
15401 char gethostbyname ();
15403 main ()
15405 return gethostbyname ();
15407 return 0;
15409 _ACEOF
15410 for ac_lib in '' nsl; do
15411 if test -z "$ac_lib"; then
15412 ac_res="none required"
15413 else
15414 ac_res=-l$ac_lib
15415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_search_gethostbyname=$ac_res
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext
15422 if ${ac_cv_search_gethostbyname+:} false; then :
15423 break
15425 done
15426 if ${ac_cv_search_gethostbyname+:} false; then :
15428 else
15429 ac_cv_search_gethostbyname=no
15431 rm conftest.$ac_ext
15432 LIBS=$ac_func_search_save_LIBS
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15435 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15436 ac_res=$ac_cv_search_gethostbyname
15437 if test "$ac_res" != no; then :
15438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15444 $as_echo_n "checking for library containing connect... " >&6; }
15445 if ${ac_cv_search_connect+:} false; then :
15446 $as_echo_n "(cached) " >&6
15447 else
15448 ac_func_search_save_LIBS=$LIBS
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15452 /* Override any GCC internal prototype to avoid an error.
15453 Use char because int might match the return type of a GCC
15454 builtin and then its argument prototype would still apply. */
15455 #ifdef __cplusplus
15456 extern "C"
15457 #endif
15458 char connect ();
15460 main ()
15462 return connect ();
15464 return 0;
15466 _ACEOF
15467 for ac_lib in '' socket; do
15468 if test -z "$ac_lib"; then
15469 ac_res="none required"
15470 else
15471 ac_res=-l$ac_lib
15472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15474 if ac_fn_c_try_link "$LINENO"; then :
15475 ac_cv_search_connect=$ac_res
15477 rm -f core conftest.err conftest.$ac_objext \
15478 conftest$ac_exeext
15479 if ${ac_cv_search_connect+:} false; then :
15480 break
15482 done
15483 if ${ac_cv_search_connect+:} false; then :
15485 else
15486 ac_cv_search_connect=no
15488 rm conftest.$ac_ext
15489 LIBS=$ac_func_search_save_LIBS
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15492 $as_echo "$ac_cv_search_connect" >&6; }
15493 ac_res=$ac_cv_search_connect
15494 if test "$ac_res" != no; then :
15495 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15501 $as_echo_n "checking for library containing inet_aton... " >&6; }
15502 if ${ac_cv_search_inet_aton+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_func_search_save_LIBS=$LIBS
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char inet_aton ();
15517 main ()
15519 return inet_aton ();
15521 return 0;
15523 _ACEOF
15524 for ac_lib in '' resolv; do
15525 if test -z "$ac_lib"; then
15526 ac_res="none required"
15527 else
15528 ac_res=-l$ac_lib
15529 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15531 if ac_fn_c_try_link "$LINENO"; then :
15532 ac_cv_search_inet_aton=$ac_res
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext
15536 if ${ac_cv_search_inet_aton+:} false; then :
15537 break
15539 done
15540 if ${ac_cv_search_inet_aton+:} false; then :
15542 else
15543 ac_cv_search_inet_aton=no
15545 rm conftest.$ac_ext
15546 LIBS=$ac_func_search_save_LIBS
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15549 $as_echo "$ac_cv_search_inet_aton" >&6; }
15550 ac_res=$ac_cv_search_inet_aton
15551 if test "$ac_res" != no; then :
15552 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15557 for ac_func in \
15558 getaddrinfo \
15559 getnameinfo \
15560 getnetbyname \
15561 getprotobyname \
15562 getprotobynumber \
15563 getservbyport \
15564 inet_addr \
15565 inet_network \
15566 inet_ntop \
15567 inet_pton \
15568 sendmsg \
15569 socketpair \
15571 do :
15572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15577 _ACEOF
15580 done
15583 ac_save_LIBS=$LIBS
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15585 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15586 if ${ac_cv_search_clock_gettime+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_func_search_save_LIBS=$LIBS
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char clock_gettime ();
15601 main ()
15603 return clock_gettime ();
15605 return 0;
15607 _ACEOF
15608 for ac_lib in '' rt; do
15609 if test -z "$ac_lib"; then
15610 ac_res="none required"
15611 else
15612 ac_res=-l$ac_lib
15613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 ac_cv_search_clock_gettime=$ac_res
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext
15620 if ${ac_cv_search_clock_gettime+:} false; then :
15621 break
15623 done
15624 if ${ac_cv_search_clock_gettime+:} false; then :
15626 else
15627 ac_cv_search_clock_gettime=no
15629 rm conftest.$ac_ext
15630 LIBS=$ac_func_search_save_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15633 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15634 ac_res=$ac_cv_search_clock_gettime
15635 if test "$ac_res" != no; then :
15636 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15638 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15640 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15644 LIBS=$ac_save_LIBS
15646 LDAP_LIBS=""
15648 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15649 then
15650 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15652 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15654 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15655 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15656 $as_echo_n "(cached) " >&6
15657 else
15658 ac_check_lib_save_LIBS=$LIBS
15659 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15663 /* Override any GCC internal prototype to avoid an error.
15664 Use char because int might match the return type of a GCC
15665 builtin and then its argument prototype would still apply. */
15666 #ifdef __cplusplus
15667 extern "C"
15668 #endif
15669 char ldap_initialize ();
15671 main ()
15673 return ldap_initialize ();
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 ac_cv_lib_ldap_r_ldap_initialize=yes
15680 else
15681 ac_cv_lib_ldap_r_ldap_initialize=no
15683 rm -f core conftest.err conftest.$ac_objext \
15684 conftest$ac_exeext conftest.$ac_ext
15685 LIBS=$ac_check_lib_save_LIBS
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15688 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15689 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15691 $as_echo_n "checking for ber_init in -llber... " >&6; }
15692 if ${ac_cv_lib_lber_ber_init+:} false; then :
15693 $as_echo_n "(cached) " >&6
15694 else
15695 ac_check_lib_save_LIBS=$LIBS
15696 LIBS="-llber $PTHREAD_LIBS $LIBS"
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15703 #ifdef __cplusplus
15704 extern "C"
15705 #endif
15706 char ber_init ();
15708 main ()
15710 return ber_init ();
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_link "$LINENO"; then :
15716 ac_cv_lib_lber_ber_init=yes
15717 else
15718 ac_cv_lib_lber_ber_init=no
15720 rm -f core conftest.err conftest.$ac_objext \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_lib_save_LIBS
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15725 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15726 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15728 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15730 LDAP_LIBS="-lldap_r -llber"
15737 ac_wine_check_funcs_save_LIBS="$LIBS"
15738 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15739 for ac_func in \
15740 ldap_count_references \
15741 ldap_first_reference \
15742 ldap_next_reference \
15743 ldap_parse_reference \
15744 ldap_parse_sort_control \
15745 ldap_parse_sortresponse_control \
15746 ldap_parse_vlv_control \
15747 ldap_parse_vlvresponse_control
15748 do :
15749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15751 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15754 _ACEOF
15757 done
15759 LIBS="$ac_wine_check_funcs_save_LIBS"
15761 if test "x$LDAP_LIBS" = "x"; then :
15762 case "x$with_ldap" in
15763 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15764 xno) ;;
15765 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15766 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15767 esac
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15772 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15773 if ${wine_cv_one_arg_mkdir+:} false; then :
15774 $as_echo_n "(cached) " >&6
15775 else
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15778 #include <sys/stat.h>
15780 main ()
15782 mkdir("foo");
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_compile "$LINENO"; then :
15788 wine_cv_one_arg_mkdir=yes
15789 else
15790 wine_cv_one_arg_mkdir=no
15792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15795 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15796 if test "$wine_cv_one_arg_mkdir" = "yes"
15797 then
15799 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15804 $as_echo_n "checking for sched_setaffinity... " >&6; }
15805 if ${wine_cv_have_sched_setaffinity+:} false; then :
15806 $as_echo_n "(cached) " >&6
15807 else
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15810 #define _GNU_SOURCE
15811 #include <sched.h>
15813 main ()
15815 sched_setaffinity(0, 0, 0);
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 wine_cv_have_sched_setaffinity=yes
15822 else
15823 wine_cv_have_sched_setaffinity=no
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15829 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15830 if test "$wine_cv_have_sched_setaffinity" = "yes"
15831 then
15833 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15838 $as_echo_n "checking for fallocate... " >&6; }
15839 if ${wine_cv_have_fallocate+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 #define _GNU_SOURCE
15845 #include <fcntl.h>
15847 main ()
15849 fallocate(-1, 0, 0, 0);
15851 return 0;
15853 _ACEOF
15854 if ac_fn_c_try_link "$LINENO"; then :
15855 wine_cv_have_fallocate=yes
15856 else
15857 wine_cv_have_fallocate=no
15859 rm -f core conftest.err conftest.$ac_objext \
15860 conftest$ac_exeext conftest.$ac_ext
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15863 $as_echo "$wine_cv_have_fallocate" >&6; }
15864 if test "$wine_cv_have_fallocate" = "yes"
15865 then
15867 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15873 $as_echo_n "checking for inline... " >&6; }
15874 if ${ac_cv_c_inline+:} false; then :
15875 $as_echo_n "(cached) " >&6
15876 else
15877 ac_cv_c_inline=no
15878 for ac_kw in inline __inline__ __inline; do
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #ifndef __cplusplus
15882 typedef int foo_t;
15883 static $ac_kw foo_t static_foo () {return 0; }
15884 $ac_kw foo_t foo () {return 0; }
15885 #endif
15887 _ACEOF
15888 if ac_fn_c_try_compile "$LINENO"; then :
15889 ac_cv_c_inline=$ac_kw
15891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15892 test "$ac_cv_c_inline" != no && break
15893 done
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15897 $as_echo "$ac_cv_c_inline" >&6; }
15899 case $ac_cv_c_inline in
15900 inline | yes) ;;
15902 case $ac_cv_c_inline in
15903 no) ac_val=;;
15904 *) ac_val=$ac_cv_c_inline;;
15905 esac
15906 cat >>confdefs.h <<_ACEOF
15907 #ifndef __cplusplus
15908 #define inline $ac_val
15909 #endif
15910 _ACEOF
15912 esac
15914 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15915 if test "x$ac_cv_type_mode_t" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_MODE_T 1
15919 _ACEOF
15923 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15924 if test "x$ac_cv_type_off_t" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_OFF_T 1
15928 _ACEOF
15932 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15933 if test "x$ac_cv_type_pid_t" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_PID_T 1
15937 _ACEOF
15941 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15942 if test "x$ac_cv_type_size_t" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_SIZE_T 1
15946 _ACEOF
15950 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15951 if test "x$ac_cv_type_ssize_t" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_SSIZE_T 1
15955 _ACEOF
15959 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15960 if test "x$ac_cv_type_long_long" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_LONG_LONG 1
15964 _ACEOF
15968 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15969 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_FSBLKCNT_T 1
15973 _ACEOF
15977 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_FSFILCNT_T 1
15982 _ACEOF
15987 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15988 #include <signal.h>
15990 if test "x$ac_cv_type_sigset_t" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_SIGSET_T 1
15994 _ACEOF
15999 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16001 if test "x$ac_cv_type_request_sense" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_REQUEST_SENSE 1
16005 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16012 #ifdef HAVE_SYS_SOCKET_H
16013 #include <sys/socket.h>
16014 #endif
16015 #ifdef HAVE_SYS_SOCKETVAR_H
16016 #include <sys/socketvar.h>
16017 #endif
16018 #ifdef HAVE_NET_ROUTE_H
16019 #include <net/route.h>
16020 #endif
16021 #ifdef HAVE_NETINET_IN_H
16022 #include <netinet/in.h>
16023 #endif
16024 #ifdef HAVE_NETINET_IN_SYSTM_H
16025 #include <netinet/in_systm.h>
16026 #endif
16027 #ifdef HAVE_NETINET_IP_H
16028 #include <netinet/ip.h>
16029 #endif
16030 #ifdef HAVE_NETINET_IN_PCB_H
16031 #include <netinet/in_pcb.h>
16032 #endif
16034 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT_XINPGEN 1
16038 _ACEOF
16044 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16045 #include <link.h>
16046 #endif
16047 #ifdef HAVE_SYS_LINK_H
16048 #include <sys/link.h>
16049 #endif
16051 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_R_DEBUG 1
16055 _ACEOF
16059 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16060 #include <link.h>
16061 #endif
16062 #ifdef HAVE_SYS_LINK_H
16063 #include <sys/link.h>
16064 #endif
16066 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_STRUCT_LINK_MAP 1
16070 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16077 #include <linux/input.h>
16078 #endif
16080 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16084 _ACEOF
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16091 $as_echo_n "checking for sigaddset... " >&6; }
16092 if ${wine_cv_have_sigaddset+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16097 #include <signal.h>
16099 main ()
16101 sigset_t set; sigaddset(&set,SIGTERM);
16103 return 0;
16105 _ACEOF
16106 if ac_fn_c_try_link "$LINENO"; then :
16107 wine_cv_have_sigaddset=yes
16108 else
16109 wine_cv_have_sigaddset=no
16111 rm -f core conftest.err conftest.$ac_objext \
16112 conftest$ac_exeext conftest.$ac_ext
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16115 $as_echo "$wine_cv_have_sigaddset" >&6; }
16116 if test "$wine_cv_have_sigaddset" = "yes"
16117 then
16119 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16125 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16126 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16127 $as_echo_n "(cached) " >&6
16128 else
16129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16131 #include <netdb.h>
16133 main ()
16136 char *name=0;
16137 struct hostent he;
16138 struct hostent *result;
16139 char *buf=0;
16140 int bufsize=0;
16141 int errnr;
16142 char *addr=0;
16143 int addrlen=0;
16144 int addrtype=0;
16145 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16146 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16149 return 0;
16151 _ACEOF
16152 if ac_fn_c_try_link "$LINENO"; then :
16153 wine_cv_linux_gethostbyname_r_6=yes
16154 else
16155 wine_cv_linux_gethostbyname_r_6=no
16158 rm -f core conftest.err conftest.$ac_objext \
16159 conftest$ac_exeext conftest.$ac_ext
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16163 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16164 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16165 then
16167 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16171 if test "$ac_cv_header_linux_joystick_h" = "yes"
16172 then
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16174 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16175 if ${wine_cv_linux_joystick_22_api+:} false; then :
16176 $as_echo_n "(cached) " >&6
16177 else
16178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16179 /* end confdefs.h. */
16181 #include <sys/ioctl.h>
16182 #include <sys/types.h>
16183 #include <linux/joystick.h>
16185 struct js_event blub;
16186 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16187 #error "no 2.2 header"
16188 #endif
16191 main ()
16193 /*empty*/
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_compile "$LINENO"; then :
16199 wine_cv_linux_joystick_22_api=yes
16200 else
16201 wine_cv_linux_joystick_22_api=no
16203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16207 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16208 if test "$wine_cv_linux_joystick_22_api" = "yes"
16209 then
16211 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16217 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16218 #ifdef HAVE_SYS_PARAM_H
16219 # include <sys/param.h>
16220 #endif
16221 #ifdef HAVE_SYS_MOUNT_H
16222 # include <sys/mount.h>
16223 #endif
16224 #ifdef HAVE_SYS_VFS_H
16225 # include <sys/vfs.h>
16226 #endif
16227 #ifdef HAVE_SYS_STATFS_H
16228 # include <sys/statfs.h>
16229 #endif
16231 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_STRUCT_STATFS_F_BFREE 1
16235 _ACEOF
16239 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16240 #ifdef HAVE_SYS_PARAM_H
16241 # include <sys/param.h>
16242 #endif
16243 #ifdef HAVE_SYS_MOUNT_H
16244 # include <sys/mount.h>
16245 #endif
16246 #ifdef HAVE_SYS_VFS_H
16247 # include <sys/vfs.h>
16248 #endif
16249 #ifdef HAVE_SYS_STATFS_H
16250 # include <sys/statfs.h>
16251 #endif
16253 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16255 cat >>confdefs.h <<_ACEOF
16256 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16257 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16262 #ifdef HAVE_SYS_PARAM_H
16263 # include <sys/param.h>
16264 #endif
16265 #ifdef HAVE_SYS_MOUNT_H
16266 # include <sys/mount.h>
16267 #endif
16268 #ifdef HAVE_SYS_VFS_H
16269 # include <sys/vfs.h>
16270 #endif
16271 #ifdef HAVE_SYS_STATFS_H
16272 # include <sys/statfs.h>
16273 #endif
16275 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16279 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16284 #ifdef HAVE_SYS_PARAM_H
16285 # include <sys/param.h>
16286 #endif
16287 #ifdef HAVE_SYS_MOUNT_H
16288 # include <sys/mount.h>
16289 #endif
16290 #ifdef HAVE_SYS_VFS_H
16291 # include <sys/vfs.h>
16292 #endif
16293 #ifdef HAVE_SYS_STATFS_H
16294 # include <sys/statfs.h>
16295 #endif
16297 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_STATFS_F_FFREE 1
16301 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16306 #ifdef HAVE_SYS_PARAM_H
16307 # include <sys/param.h>
16308 #endif
16309 #ifdef HAVE_SYS_MOUNT_H
16310 # include <sys/mount.h>
16311 #endif
16312 #ifdef HAVE_SYS_VFS_H
16313 # include <sys/vfs.h>
16314 #endif
16315 #ifdef HAVE_SYS_STATFS_H
16316 # include <sys/statfs.h>
16317 #endif
16319 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16323 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16328 #ifdef HAVE_SYS_PARAM_H
16329 # include <sys/param.h>
16330 #endif
16331 #ifdef HAVE_SYS_MOUNT_H
16332 # include <sys/mount.h>
16333 #endif
16334 #ifdef HAVE_SYS_VFS_H
16335 # include <sys/vfs.h>
16336 #endif
16337 #ifdef HAVE_SYS_STATFS_H
16338 # include <sys/statfs.h>
16339 #endif
16341 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16345 _ACEOF
16351 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16352 #include <sys/statvfs.h>
16353 #endif
16355 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16359 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16366 #include <dirent.h>
16367 #endif
16369 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16373 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16380 #ifdef HAVE_SYS_SOCKET_H
16381 # include <sys/socket.h>
16382 #endif
16383 #ifdef HAVE_SYS_UN_H
16384 # include <sys/un.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16391 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16396 #ifdef HAVE_SYS_SOCKET_H
16397 # include <sys/socket.h>
16398 #endif
16399 #ifdef HAVE_SYS_UN_H
16400 # include <sys/un.h>
16401 #endif
16403 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16407 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16412 #ifdef HAVE_SYS_SOCKET_H
16413 # include <sys/socket.h>
16414 #endif
16415 #ifdef HAVE_SYS_UN_H
16416 # include <sys/un.h>
16417 #endif
16419 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16423 _ACEOF
16429 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16430 #ifdef HAVE_SCSI_SG_H
16431 #include <scsi/sg.h>
16432 #endif
16434 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_SCSIREQ_T_CMD 1
16438 _ACEOF
16442 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>
16443 #ifdef HAVE_SCSI_SG_H
16444 #include <scsi/sg.h>
16445 #endif
16447 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16451 _ACEOF
16457 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16459 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_SIGINFO_T_SI_FD 1
16463 _ACEOF
16469 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16470 #ifdef HAVE_SYS_MTIO_H
16471 #include <sys/mtio.h>
16472 #endif
16474 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16478 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16483 #ifdef HAVE_SYS_MTIO_H
16484 #include <sys/mtio.h>
16485 #endif
16487 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16496 #ifdef HAVE_SYS_MTIO_H
16497 #include <sys/mtio.h>
16498 #endif
16500 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16504 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16511 #include <getopt.h>
16512 #endif
16514 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_STRUCT_OPTION_NAME 1
16518 _ACEOF
16524 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16525 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16529 _ACEOF
16533 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16534 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_STRUCT_STAT_ST_MTIM 1
16538 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16543 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16547 _ACEOF
16551 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16552 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_STRUCT_STAT_ST_CTIM 1
16556 _ACEOF
16560 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16561 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16565 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16570 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_STAT_ST_ATIM 1
16574 _ACEOF
16578 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16579 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16581 cat >>confdefs.h <<_ACEOF
16582 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16583 _ACEOF
16587 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16588 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16592 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16601 _ACEOF
16605 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16610 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16619 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16628 _ACEOF
16634 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
16635 #include <sys/types.h>
16636 #endif
16637 #ifdef HAVE_NETINET_IN_H
16638 #include <netinet/in.h>
16639 #endif
16641 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16645 _ACEOF
16651 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16652 #include <resolv.h>
16653 #endif
16655 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_STRUCT___RES_STATE 1
16659 _ACEOF
16665 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
16666 #include <resolv.h>
16667 #endif
16669 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16673 _ACEOF
16679 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16680 #include <sys/types.h>
16681 #endif
16682 #ifdef HAVE_NETINET_IN_H
16683 # include <netinet/in.h>
16684 #endif
16685 #ifdef HAVE_ARPA_NAMESER_H
16686 # include <arpa/nameser.h>
16687 #endif
16689 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_NS_MSG__MSG_PTR 1
16693 _ACEOF
16699 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16700 #include <sys/types.h>
16701 #endif
16702 #ifdef HAVE_NETINET_IP_H
16703 #include <netinet/ip.h>
16704 #endif
16705 #ifdef HAVE_NETINET_IP_ICMP_H
16706 #include <netinet/ip_icmp.h>
16707 #endif
16708 #ifdef HAVE_NETINET_ICMP_VAR_H
16709 #include <netinet/icmp_var.h>
16710 #endif
16712 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16716 _ACEOF
16722 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16723 #include <sys/types.h>
16724 #endif
16725 #ifdef HAVE_ALIAS_H
16726 #include <alias.h>
16727 #endif
16728 #ifdef HAVE_SYS_SOCKET_H
16729 #include <sys/socket.h>
16730 #endif
16731 #ifdef HAVE_SYS_SOCKETVAR_H
16732 #include <sys/socketvar.h>
16733 #endif
16734 #ifdef HAVE_SYS_TIMEOUT_H
16735 #include <sys/timeout.h>
16736 #endif
16737 #ifdef HAVE_NETINET_IN_H
16738 #include <netinet/in.h>
16739 #endif
16740 #ifdef HAVE_NETINET_IN_SYSTM_H
16741 #include <netinet/in_systm.h>
16742 #endif
16743 #ifdef HAVE_NETINET_IP_H
16744 #include <netinet/ip.h>
16745 #endif
16746 #ifdef HAVE_NETINET_IP_VAR_H
16747 #include <netinet/ip_var.h>
16748 #endif
16749 #ifdef HAVE_NETINET_IP_ICMP_H
16750 #include <netinet/ip_icmp.h>
16751 #endif
16752 #ifdef HAVE_NETINET_ICMP_VAR_H
16753 #include <netinet/icmp_var.h>
16754 #endif
16756 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16758 cat >>confdefs.h <<_ACEOF
16759 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16760 _ACEOF
16766 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16767 #include <sys/types.h>
16768 #endif
16769 #ifdef HAVE_SYS_SOCKETVAR_H
16770 #include <sys/socketvar.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IN_H
16773 #include <netinet/in.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IP_VAR_H
16776 #include <netinet/ip_var.h>
16777 #endif
16779 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16781 cat >>confdefs.h <<_ACEOF
16782 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16783 _ACEOF
16789 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
16790 #include <netinet/ip_var.h>
16791 #endif
16793 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16797 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16804 #include <sys/types.h>
16805 #endif
16806 #ifdef HAVE_SYS_SOCKETVAR_H
16807 #include <sys/socketvar.h>
16808 #endif
16809 #ifdef HAVE_NETINET_IN_H
16810 #include <netinet/in.h>
16811 #endif
16812 #ifdef HAVE_NETINET_TCP_H
16813 #include <netinet/tcp.h>
16814 #endif
16815 #ifdef HAVE_NETINET_TCP_VAR_H
16816 #include <netinet/tcp_var.h>
16817 #endif
16819 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16821 cat >>confdefs.h <<_ACEOF
16822 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16823 _ACEOF
16829 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
16830 #include <netinet/tcp_var.h>
16831 #endif
16833 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16837 _ACEOF
16843 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16844 #include <sys/types.h>
16845 #endif
16846 #ifdef HAVE_NETINET_IN_H
16847 #include <netinet/in.h>
16848 #endif
16849 #ifdef HAVE_NETINET_IP_VAR_H
16850 #include <netinet/ip_var.h>
16851 #endif
16852 #ifdef HAVE_NETINET_UDP_H
16853 #include <netinet/udp.h>
16854 #endif
16855 #ifdef HAVE_NETINET_UDP_VAR_H
16856 #include <netinet/udp_var.h>
16857 #endif
16859 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16863 _ACEOF
16869 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16870 #include <sys/types.h>
16871 #endif
16872 #ifdef HAVE_NET_IF_H
16873 # include <net/if.h>
16874 #endif
16876 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16880 _ACEOF
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16887 $as_echo_n "checking for timezone variable... " >&6; }
16888 if ${ac_cv_have_timezone+:} false; then :
16889 $as_echo_n "(cached) " >&6
16890 else
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #include <time.h>
16895 main ()
16897 timezone = 1
16899 return 0;
16901 _ACEOF
16902 if ac_fn_c_try_link "$LINENO"; then :
16903 ac_cv_have_timezone="yes"
16904 else
16905 ac_cv_have_timezone="no"
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16911 $as_echo "$ac_cv_have_timezone" >&6; }
16912 if test "$ac_cv_have_timezone" = "yes"
16913 then
16915 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16919 $as_echo_n "checking for daylight variable... " >&6; }
16920 if ${ac_cv_have_daylight+:} false; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <time.h>
16927 main ()
16929 daylight = 1
16931 return 0;
16933 _ACEOF
16934 if ac_fn_c_try_link "$LINENO"; then :
16935 ac_cv_have_daylight="yes"
16936 else
16937 ac_cv_have_daylight="no"
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext conftest.$ac_ext
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16943 $as_echo "$ac_cv_have_daylight" >&6; }
16944 if test "$ac_cv_have_daylight" = "yes"
16945 then
16947 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16951 ac_save_LIBS="$LIBS"
16952 LIBS="$LIBS -lm"
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16954 $as_echo_n "checking for isfinite... " >&6; }
16955 if ${ac_cv_have_isfinite+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #define _GNU_SOURCE
16961 #include <math.h>
16963 main ()
16965 float f = 0.0; return isfinite(f)
16967 return 0;
16969 _ACEOF
16970 if ac_fn_c_try_link "$LINENO"; then :
16971 ac_cv_have_isfinite="yes"
16972 else
16973 ac_cv_have_isfinite="no"
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext conftest.$ac_ext
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16979 $as_echo "$ac_cv_have_isfinite" >&6; }
16980 if test "$ac_cv_have_isfinite" = "yes"
16981 then
16983 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16988 $as_echo_n "checking for isinf... " >&6; }
16989 if ${ac_cv_have_isinf+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <math.h>
16996 main ()
16998 float f = 0.0; return isinf(f)
17000 return 0;
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 ac_cv_have_isinf="yes"
17005 else
17006 ac_cv_have_isinf="no"
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17012 $as_echo "$ac_cv_have_isinf" >&6; }
17013 if test "$ac_cv_have_isinf" = "yes"
17014 then
17016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17021 $as_echo_n "checking for isnan... " >&6; }
17022 if ${ac_cv_have_isnan+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <math.h>
17029 main ()
17031 float f = 0.0; return isnan(f)
17033 return 0;
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_have_isnan="yes"
17038 else
17039 ac_cv_have_isnan="no"
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17045 $as_echo "$ac_cv_have_isnan" >&6; }
17046 if test "$ac_cv_have_isnan" = "yes"
17047 then
17049 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17053 for ac_func in \
17054 asinh \
17055 asinhf \
17056 cbrt \
17057 cbrtf \
17058 erf \
17059 erff \
17060 exp2 \
17061 exp2f \
17062 lgamma \
17063 lgammaf \
17064 llrint \
17065 llrintf \
17066 llround \
17067 llroundf \
17068 log2 \
17069 log2f \
17070 lrint \
17071 lrintf \
17072 lround \
17073 lroundf \
17074 powl \
17075 remainder \
17076 remainderf \
17077 rint \
17078 rintf \
17079 round \
17080 roundf \
17081 trunc \
17082 truncf
17084 do :
17085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17088 cat >>confdefs.h <<_ACEOF
17089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17090 _ACEOF
17093 done
17095 LIBS="$ac_save_LIBS"
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17098 $as_echo_n "checking for __builtin_clz... " >&6; }
17099 if ${ac_cv_have___builtin_clz+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17106 main ()
17108 return __builtin_clz(1)
17110 return 0;
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_have___builtin_clz="yes"
17115 else
17116 ac_cv_have___builtin_clz="no"
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17122 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17123 if test "$ac_cv_have___builtin_clz" = "yes"
17124 then
17126 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17131 $as_echo_n "checking for __builtin_popcount... " >&6; }
17132 if ${ac_cv_have___builtin_popcount+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17139 main ()
17141 return __builtin_popcount(1)
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"; then :
17147 ac_cv_have___builtin_popcount="yes"
17148 else
17149 ac_cv_have___builtin_popcount="no"
17151 rm -f core conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17155 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17156 if test "$ac_cv_have___builtin_popcount" = "yes"
17157 then
17159 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17164 case $host_cpu in
17165 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17166 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17167 if ${ac_cv_cpp_def___i386__+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17172 #ifndef __i386__
17174 #endif
17175 _ACEOF
17176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17177 $EGREP "yes" >/dev/null 2>&1; then :
17178 ac_cv_cpp_def___i386__=yes
17179 else
17180 ac_cv_cpp_def___i386__=no
17182 rm -f conftest*
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17186 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17187 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17188 CFLAGS="$CFLAGS -D__i386__"
17189 LINTFLAGS="$LINTFLAGS -D__i386__"
17190 fi ;;
17191 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17192 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17193 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 #ifndef __x86_64__
17200 #endif
17201 _ACEOF
17202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17203 $EGREP "yes" >/dev/null 2>&1; then :
17204 ac_cv_cpp_def___x86_64__=yes
17205 else
17206 ac_cv_cpp_def___x86_64__=no
17208 rm -f conftest*
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17212 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17213 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17214 CFLAGS="$CFLAGS -D__x86_64__"
17215 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17216 fi ;;
17217 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17218 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17219 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 #ifndef __sparc64__
17226 #endif
17227 _ACEOF
17228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17229 $EGREP "yes" >/dev/null 2>&1; then :
17230 ac_cv_cpp_def___sparc64__=yes
17231 else
17232 ac_cv_cpp_def___sparc64__=no
17234 rm -f conftest*
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17238 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17239 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17240 CFLAGS="$CFLAGS -D__sparc64__"
17241 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17242 fi ;;
17243 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17244 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17245 if ${ac_cv_cpp_def___sparc__+:} false; then :
17246 $as_echo_n "(cached) " >&6
17247 else
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17250 #ifndef __sparc__
17252 #endif
17253 _ACEOF
17254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17255 $EGREP "yes" >/dev/null 2>&1; then :
17256 ac_cv_cpp_def___sparc__=yes
17257 else
17258 ac_cv_cpp_def___sparc__=no
17260 rm -f conftest*
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17264 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17265 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17266 CFLAGS="$CFLAGS -D__sparc__"
17267 LINTFLAGS="$LINTFLAGS -D__sparc__"
17268 fi ;;
17269 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17270 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17271 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 #ifndef __powerpc64__
17278 #endif
17279 _ACEOF
17280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17281 $EGREP "yes" >/dev/null 2>&1; then :
17282 ac_cv_cpp_def___powerpc64__=yes
17283 else
17284 ac_cv_cpp_def___powerpc64__=no
17286 rm -f conftest*
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17290 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17291 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17292 CFLAGS="$CFLAGS -D__powerpc64__"
17293 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17294 fi ;;
17295 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17296 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17297 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302 #ifndef __powerpc__
17304 #endif
17305 _ACEOF
17306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17307 $EGREP "yes" >/dev/null 2>&1; then :
17308 ac_cv_cpp_def___powerpc__=yes
17309 else
17310 ac_cv_cpp_def___powerpc__=no
17312 rm -f conftest*
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17316 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17317 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17318 CFLAGS="$CFLAGS -D__powerpc__"
17319 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17320 fi ;;
17321 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17322 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17323 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #ifndef __aarch64__
17330 #endif
17331 _ACEOF
17332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17333 $EGREP "yes" >/dev/null 2>&1; then :
17334 ac_cv_cpp_def___aarch64__=yes
17335 else
17336 ac_cv_cpp_def___aarch64__=no
17338 rm -f conftest*
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17342 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17343 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17344 CFLAGS="$CFLAGS -D__aarch64__"
17345 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17346 fi ;;
17347 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17348 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17349 if ${ac_cv_cpp_def___arm__+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #ifndef __arm__
17356 #endif
17357 _ACEOF
17358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17359 $EGREP "yes" >/dev/null 2>&1; then :
17360 ac_cv_cpp_def___arm__=yes
17361 else
17362 ac_cv_cpp_def___arm__=no
17364 rm -f conftest*
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17368 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17369 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17370 CFLAGS="$CFLAGS -D__arm__"
17371 LINTFLAGS="$LINTFLAGS -D__arm__"
17372 fi ;;
17373 esac
17375 case $host_vendor in
17376 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17377 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17378 if ${ac_cv_cpp_def___sun__+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #ifndef __sun__
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___sun__=yes
17390 else
17391 ac_cv_cpp_def___sun__=no
17393 rm -f conftest*
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17397 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17398 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17399 CFLAGS="$CFLAGS -D__sun__"
17400 LINTFLAGS="$LINTFLAGS -D__sun__"
17401 fi ;;
17402 esac
17408 ac_config_commands="$ac_config_commands include/stamp-h"
17410 $as_echo_n "creating Makefile rules..." >&6
17412 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17413 SOCKET_LIBS = $SOCKET_LIBS
17414 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17415 IOKIT_LIBS = $IOKIT_LIBS
17416 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17417 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17418 CORESERVICES_LIBS = $CORESERVICES_LIBS
17419 APPKIT_LIBS = $APPKIT_LIBS
17420 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17421 SECURITY_LIBS = $SECURITY_LIBS
17422 COREAUDIO_LIBS = $COREAUDIO_LIBS
17423 OPENAL_LIBS = $OPENAL_LIBS
17424 OPENCL_LIBS = $OPENCL_LIBS
17425 QUICKTIME_LIBS = $QUICKTIME_LIBS
17426 CARBON_LIBS = $CARBON_LIBS
17427 PTHREAD_LIBS = $PTHREAD_LIBS
17428 X_CFLAGS = $X_CFLAGS
17429 X_PRE_LIBS = $X_PRE_LIBS
17430 X_LIBS = $X_LIBS
17431 X_EXTRA_LIBS = $X_EXTRA_LIBS
17432 PCAP_LIBS = $PCAP_LIBS
17433 XML2_CFLAGS = $XML2_CFLAGS
17434 XML2_LIBS = $XML2_LIBS
17435 XSLT_CFLAGS = $XSLT_CFLAGS
17436 XSLT_LIBS = $XSLT_LIBS
17437 DBUS_CFLAGS = $DBUS_CFLAGS
17438 DBUS_LIBS = $DBUS_LIBS
17439 HAL_CFLAGS = $HAL_CFLAGS
17440 HAL_LIBS = $HAL_LIBS
17441 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17442 GNUTLS_LIBS = $GNUTLS_LIBS
17443 SANE_CFLAGS = $SANE_CFLAGS
17444 SANE_LIBS = $SANE_LIBS
17445 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17446 GPHOTO2_LIBS = $GPHOTO2_LIBS
17447 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17448 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17449 RESOLV_LIBS = $RESOLV_LIBS
17450 LCMS2_CFLAGS = $LCMS2_CFLAGS
17451 LCMS2_LIBS = $LCMS2_LIBS
17452 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17453 FREETYPE_LIBS = $FREETYPE_LIBS
17454 Z_LIBS = $Z_LIBS
17455 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17456 PULSE_CFLAGS = $PULSE_CFLAGS
17457 PULSE_LIBS = $PULSE_LIBS
17458 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17459 GSTREAMER_LIBS = $GSTREAMER_LIBS
17460 ALSA_LIBS = $ALSA_LIBS
17461 OSS4_CFLAGS = $OSS4_CFLAGS
17462 UDEV_CFLAGS = $UDEV_CFLAGS
17463 UDEV_LIBS = $UDEV_LIBS
17464 CAPI20_CFLAGS = $CAPI20_CFLAGS
17465 CAPI20_LIBS = $CAPI20_LIBS
17466 CUPS_CFLAGS = $CUPS_CFLAGS
17467 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17468 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17469 JPEG_CFLAGS = $JPEG_CFLAGS
17470 JPEG_LIBS = $JPEG_LIBS
17471 PNG_CFLAGS = $PNG_CFLAGS
17472 PNG_LIBS = $PNG_LIBS
17473 TIFF_CFLAGS = $TIFF_CFLAGS
17474 TIFF_LIBS = $TIFF_LIBS
17475 MPG123_CFLAGS = $MPG123_CFLAGS
17476 MPG123_LIBS = $MPG123_LIBS
17477 KSTAT_LIBS = $KSTAT_LIBS
17478 PROCSTAT_LIBS = $PROCSTAT_LIBS
17479 NETAPI_CFLAGS = $NETAPI_CFLAGS
17480 NETAPI_LIBS = $NETAPI_LIBS
17481 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17482 DL_LIBS = $DL_LIBS
17483 POLL_LIBS = $POLL_LIBS
17484 RT_LIBS = $RT_LIBS
17485 LDAP_LIBS = $LDAP_LIBS
17490 wine_fn_append_rule "
17491 # Rules automatically generated by configure
17493 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17495 .INIT: Makefile
17496 .MAKEFILEDEPS:
17497 all: Makefile
17498 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17499 @./config.status Make.tmp Makefile
17500 depend: \$(MAKEDEP) dummy
17501 \$(MAKEDEP)"
17503 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17504 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17506 if test "x$enable_fonts" != xno; then
17507 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17508 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17509 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17510 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17511 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17512 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17514 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17515 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17516 ac_config_links="$ac_config_links wine:tools/winewrapper"
17517 wine_fn_config_symlink wine
17518 if test "x$enable_win64" != xno; then
17519 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17520 wine_fn_config_symlink wine64
17523 wine_fn_config_dll acledit enable_acledit
17524 wine_fn_config_dll aclui enable_aclui implib
17525 wine_fn_config_dll activeds enable_activeds implib
17526 wine_fn_config_dll actxprxy enable_actxprxy clean
17527 wine_fn_config_lib adsiid
17528 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17529 wine_fn_config_test dlls/advapi32/tests advapi32_test
17530 wine_fn_config_dll advpack enable_advpack implib
17531 wine_fn_config_test dlls/advpack/tests advpack_test
17532 wine_fn_config_dll amstream enable_amstream clean
17533 wine_fn_config_test dlls/amstream/tests amstream_test
17534 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17535 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17536 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17537 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17538 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17539 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17540 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17542 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17543 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17545 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17546 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17548 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17549 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17550 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17551 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17552 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17553 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17555 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17556 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17559 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17560 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17562 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17566 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17567 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17569 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17570 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17576 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17579 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17585 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17587 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17588 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17594 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17599 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17603 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17606 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17607 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17621 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17622 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17623 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17624 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17625 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17626 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17627 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17628 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17629 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17630 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17631 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17632 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17636 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17637 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17638 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17639 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17640 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17641 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17642 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17643 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17644 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17645 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17646 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17647 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17648 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17649 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17650 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17651 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17652 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17653 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17654 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17655 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17656 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17657 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17658 wine_fn_config_dll apphelp enable_apphelp
17659 wine_fn_config_test dlls/apphelp/tests apphelp_test
17660 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17661 wine_fn_config_dll atl enable_atl clean,implib
17662 wine_fn_config_test dlls/atl/tests atl_test
17663 wine_fn_config_dll atl100 enable_atl100 clean,implib
17664 wine_fn_config_test dlls/atl100/tests atl100_test
17665 wine_fn_config_dll atl110 enable_atl110 clean
17666 wine_fn_config_dll atl80 enable_atl80 clean,implib
17667 wine_fn_config_test dlls/atl80/tests atl80_test
17668 wine_fn_config_dll atl90 enable_atl90 clean
17669 wine_fn_config_dll authz enable_authz
17670 wine_fn_config_dll avicap32 enable_avicap32 implib
17671 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17672 wine_fn_config_test dlls/avifil32/tests avifil32_test
17673 wine_fn_config_dll avifile.dll16 enable_win16
17674 wine_fn_config_dll avrt enable_avrt implib
17675 wine_fn_config_dll bcrypt enable_bcrypt implib
17676 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17677 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17678 wine_fn_config_dll browseui enable_browseui clean
17679 wine_fn_config_test dlls/browseui/tests browseui_test
17680 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17681 wine_fn_config_dll cabinet enable_cabinet implib
17682 wine_fn_config_test dlls/cabinet/tests cabinet_test
17683 wine_fn_config_dll capi2032 enable_capi2032 implib
17684 wine_fn_config_dll cards enable_cards implib
17685 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17686 wine_fn_config_dll clusapi enable_clusapi implib
17687 wine_fn_config_dll combase enable_combase
17688 wine_fn_config_test dlls/combase/tests combase_test
17689 wine_fn_config_dll comcat enable_comcat
17690 wine_fn_config_test dlls/comcat/tests comcat_test
17691 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17692 wine_fn_config_test dlls/comctl32/tests comctl32_test
17693 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17694 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17695 wine_fn_config_dll comm.drv16 enable_win16
17696 wine_fn_config_dll commdlg.dll16 enable_win16
17697 wine_fn_config_dll compobj.dll16 enable_win16
17698 wine_fn_config_dll compstui enable_compstui implib
17699 wine_fn_config_dll comsvcs enable_comsvcs implib
17700 wine_fn_config_dll concrt140 enable_concrt140
17701 wine_fn_config_dll connect enable_connect
17702 wine_fn_config_dll credui enable_credui clean,implib
17703 wine_fn_config_test dlls/credui/tests credui_test
17704 wine_fn_config_dll crtdll enable_crtdll
17705 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17706 wine_fn_config_test dlls/crypt32/tests crypt32_test
17707 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17708 wine_fn_config_dll cryptdll enable_cryptdll implib
17709 wine_fn_config_dll cryptext enable_cryptext
17710 wine_fn_config_dll cryptnet enable_cryptnet implib
17711 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17712 wine_fn_config_dll cryptui enable_cryptui clean,implib
17713 wine_fn_config_test dlls/cryptui/tests cryptui_test
17714 wine_fn_config_dll ctapi32 enable_ctapi32
17715 wine_fn_config_dll ctl3d.dll16 enable_win16
17716 wine_fn_config_dll ctl3d32 enable_ctl3d32
17717 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17718 wine_fn_config_dll d2d1 enable_d2d1 implib
17719 wine_fn_config_test dlls/d2d1/tests d2d1_test
17720 wine_fn_config_dll d3d10 enable_d3d10 implib
17721 wine_fn_config_test dlls/d3d10/tests d3d10_test
17722 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17723 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17724 wine_fn_config_dll d3d10core enable_d3d10core implib
17725 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17726 wine_fn_config_dll d3d11 enable_d3d11 implib
17727 wine_fn_config_test dlls/d3d11/tests d3d11_test
17728 wine_fn_config_dll d3d8 enable_d3d8 implib
17729 wine_fn_config_test dlls/d3d8/tests d3d8_test
17730 wine_fn_config_dll d3d9 enable_d3d9 implib
17731 wine_fn_config_test dlls/d3d9/tests d3d9_test
17732 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17733 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17734 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17735 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17736 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17737 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17738 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17739 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17740 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17741 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17742 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17743 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17744 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17745 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17746 wine_fn_config_dll d3dim enable_d3dim
17747 wine_fn_config_dll d3drm enable_d3drm implib
17748 wine_fn_config_test dlls/d3drm/tests d3drm_test
17749 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17750 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17751 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17752 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17753 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17754 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17755 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17756 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17757 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17758 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17759 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17760 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17761 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17762 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17763 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17764 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17765 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17766 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17767 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17768 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17769 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17770 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17771 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17772 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17773 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17774 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17775 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17776 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17777 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17778 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17779 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17780 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17781 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17782 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17783 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17784 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17785 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17786 wine_fn_config_dll davclnt enable_davclnt
17787 wine_fn_config_dll dbgeng enable_dbgeng implib
17788 wine_fn_config_dll dbghelp enable_dbghelp implib
17789 wine_fn_config_dll dciman32 enable_dciman32 implib
17790 wine_fn_config_dll ddeml.dll16 enable_win16
17791 wine_fn_config_dll ddraw enable_ddraw clean,implib
17792 wine_fn_config_test dlls/ddraw/tests ddraw_test
17793 wine_fn_config_dll ddrawex enable_ddrawex clean
17794 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17795 wine_fn_config_dll devenum enable_devenum clean
17796 wine_fn_config_test dlls/devenum/tests devenum_test
17797 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17798 wine_fn_config_dll difxapi enable_difxapi
17799 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17800 wine_fn_config_test dlls/dinput/tests dinput_test
17801 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17802 wine_fn_config_test dlls/dinput8/tests dinput8_test
17803 wine_fn_config_dll dispdib.dll16 enable_win16
17804 wine_fn_config_dll dispex enable_dispex clean
17805 wine_fn_config_test dlls/dispex/tests dispex_test
17806 wine_fn_config_dll display.drv16 enable_win16
17807 wine_fn_config_dll dmband enable_dmband clean
17808 wine_fn_config_test dlls/dmband/tests dmband_test
17809 wine_fn_config_dll dmcompos enable_dmcompos clean
17810 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17811 wine_fn_config_dll dmime enable_dmime clean
17812 wine_fn_config_test dlls/dmime/tests dmime_test
17813 wine_fn_config_dll dmloader enable_dmloader clean
17814 wine_fn_config_test dlls/dmloader/tests dmloader_test
17815 wine_fn_config_dll dmscript enable_dmscript clean
17816 wine_fn_config_test dlls/dmscript/tests dmscript_test
17817 wine_fn_config_dll dmstyle enable_dmstyle clean
17818 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17819 wine_fn_config_dll dmsynth enable_dmsynth clean
17820 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17821 wine_fn_config_dll dmusic enable_dmusic clean
17822 wine_fn_config_test dlls/dmusic/tests dmusic_test
17823 wine_fn_config_dll dmusic32 enable_dmusic32
17824 wine_fn_config_dll dnsapi enable_dnsapi implib
17825 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17826 wine_fn_config_dll dplay enable_dplay
17827 wine_fn_config_dll dplayx enable_dplayx clean,implib
17828 wine_fn_config_test dlls/dplayx/tests dplayx_test
17829 wine_fn_config_dll dpnaddr enable_dpnaddr
17830 wine_fn_config_dll dpnet enable_dpnet clean,implib
17831 wine_fn_config_test dlls/dpnet/tests dpnet_test
17832 wine_fn_config_dll dpnhpast enable_dpnhpast
17833 wine_fn_config_dll dpnlobby enable_dpnlobby
17834 wine_fn_config_dll dpvoice enable_dpvoice clean
17835 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17836 wine_fn_config_dll dpwsockx enable_dpwsockx
17837 wine_fn_config_dll drmclien enable_drmclien
17838 wine_fn_config_dll dsound enable_dsound clean,implib
17839 wine_fn_config_test dlls/dsound/tests dsound_test
17840 wine_fn_config_dll dssenh enable_dssenh
17841 wine_fn_config_test dlls/dssenh/tests dssenh_test
17842 wine_fn_config_dll dswave enable_dswave clean
17843 wine_fn_config_test dlls/dswave/tests dswave_test
17844 wine_fn_config_dll dwmapi enable_dwmapi implib
17845 wine_fn_config_dll dwrite enable_dwrite implib
17846 wine_fn_config_test dlls/dwrite/tests dwrite_test
17847 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17848 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17849 wine_fn_config_lib dxerr8
17850 wine_fn_config_lib dxerr9
17851 wine_fn_config_dll dxgi enable_dxgi implib
17852 wine_fn_config_test dlls/dxgi/tests dxgi_test
17853 wine_fn_config_lib dxguid
17854 wine_fn_config_dll dxva2 enable_dxva2
17855 wine_fn_config_dll esent enable_esent
17856 wine_fn_config_dll evr enable_evr
17857 wine_fn_config_dll explorerframe enable_explorerframe clean
17858 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17859 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17860 wine_fn_config_dll faultrep enable_faultrep implib
17861 wine_fn_config_test dlls/faultrep/tests faultrep_test
17862 wine_fn_config_dll fltlib enable_fltlib
17863 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17864 wine_fn_config_dll fntcache enable_fntcache
17865 wine_fn_config_dll fontsub enable_fontsub
17866 wine_fn_config_dll fusion enable_fusion
17867 wine_fn_config_test dlls/fusion/tests fusion_test
17868 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17869 wine_fn_config_dll gameux enable_gameux clean
17870 wine_fn_config_test dlls/gameux/tests gameux_test
17871 wine_fn_config_dll gdi.exe16 enable_win16
17872 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17873 wine_fn_config_test dlls/gdi32/tests gdi32_test
17874 wine_fn_config_dll gdiplus enable_gdiplus implib
17875 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17876 wine_fn_config_dll glu32 enable_glu32 implib
17877 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17878 wine_fn_config_dll gpkcsp enable_gpkcsp
17879 wine_fn_config_dll hal enable_hal
17880 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17881 wine_fn_config_dll hid enable_hid implib
17882 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17883 wine_fn_config_dll hlink enable_hlink clean,implib
17884 wine_fn_config_test dlls/hlink/tests hlink_test
17885 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17886 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17887 wine_fn_config_dll httpapi enable_httpapi
17888 wine_fn_config_dll iccvid enable_iccvid clean
17889 wine_fn_config_dll icmp enable_icmp
17890 wine_fn_config_dll ieframe enable_ieframe clean,implib
17891 wine_fn_config_test dlls/ieframe/tests ieframe_test
17892 wine_fn_config_dll ifsmgr.vxd enable_win16
17893 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17894 wine_fn_config_dll imagehlp enable_imagehlp implib
17895 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17896 wine_fn_config_dll imm.dll16 enable_win16
17897 wine_fn_config_dll imm32 enable_imm32 implib
17898 wine_fn_config_test dlls/imm32/tests imm32_test
17899 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17900 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17901 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17902 wine_fn_config_dll inetmib1 enable_inetmib1
17903 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17904 wine_fn_config_dll infosoft enable_infosoft clean
17905 wine_fn_config_test dlls/infosoft/tests infosoft_test
17906 wine_fn_config_dll initpki enable_initpki
17907 wine_fn_config_dll inkobj enable_inkobj
17908 wine_fn_config_dll inseng enable_inseng clean
17909 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17910 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17911 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17912 wine_fn_config_dll itircl enable_itircl
17913 wine_fn_config_dll itss enable_itss clean
17914 wine_fn_config_test dlls/itss/tests itss_test
17915 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17916 wine_fn_config_dll jscript enable_jscript clean
17917 wine_fn_config_test dlls/jscript/tests jscript_test
17918 wine_fn_config_dll jsproxy enable_jsproxy implib
17919 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17920 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17921 wine_fn_config_test dlls/kernel32/tests kernel32_test
17922 wine_fn_config_dll kernelbase enable_kernelbase
17923 wine_fn_config_dll keyboard.drv16 enable_win16
17924 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17925 wine_fn_config_dll ksuser enable_ksuser
17926 wine_fn_config_dll ktmw32 enable_ktmw32
17927 wine_fn_config_dll loadperf enable_loadperf implib
17928 wine_fn_config_dll localspl enable_localspl clean
17929 wine_fn_config_test dlls/localspl/tests localspl_test
17930 wine_fn_config_dll localui enable_localui clean
17931 wine_fn_config_test dlls/localui/tests localui_test
17932 wine_fn_config_dll lz32 enable_lz32 implib
17933 wine_fn_config_test dlls/lz32/tests lz32_test
17934 wine_fn_config_dll lzexpand.dll16 enable_win16
17935 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17936 wine_fn_config_test dlls/mapi32/tests mapi32_test
17937 wine_fn_config_dll mapistub enable_mapistub
17938 wine_fn_config_dll mciavi32 enable_mciavi32
17939 wine_fn_config_dll mcicda enable_mcicda
17940 wine_fn_config_dll mciqtz32 enable_mciqtz32
17941 wine_fn_config_dll mciseq enable_mciseq
17942 wine_fn_config_dll mciwave enable_mciwave
17943 wine_fn_config_dll mf enable_mf
17944 wine_fn_config_dll mfplat enable_mfplat
17945 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17946 wine_fn_config_dll mgmtapi enable_mgmtapi
17947 wine_fn_config_dll midimap enable_midimap
17948 wine_fn_config_dll mlang enable_mlang clean,implib
17949 wine_fn_config_test dlls/mlang/tests mlang_test
17950 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17951 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17952 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17953 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17954 wine_fn_config_dll mmdevldr.vxd enable_win16
17955 wine_fn_config_dll mmsystem.dll16 enable_win16
17956 wine_fn_config_dll monodebg.vxd enable_win16
17957 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17958 wine_fn_config_dll mouse.drv16 enable_win16
17959 wine_fn_config_dll mpr enable_mpr clean,implib
17960 wine_fn_config_test dlls/mpr/tests mpr_test
17961 wine_fn_config_dll mprapi enable_mprapi implib
17962 wine_fn_config_dll msacm.dll16 enable_win16
17963 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17964 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17965 wine_fn_config_test dlls/msacm32/tests msacm32_test
17966 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17967 wine_fn_config_dll msasn1 enable_msasn1 implib
17968 wine_fn_config_dll mscat32 enable_mscat32
17969 wine_fn_config_dll mscms enable_mscms implib
17970 wine_fn_config_test dlls/mscms/tests mscms_test
17971 wine_fn_config_dll mscoree enable_mscoree clean
17972 wine_fn_config_test dlls/mscoree/tests mscoree_test
17973 wine_fn_config_dll msctf enable_msctf clean
17974 wine_fn_config_test dlls/msctf/tests msctf_test
17975 wine_fn_config_dll msctfp enable_msctfp clean
17976 wine_fn_config_dll msdaps enable_msdaps clean
17977 wine_fn_config_dll msdelta enable_msdelta
17978 wine_fn_config_dll msdmo enable_msdmo implib
17979 wine_fn_config_test dlls/msdmo/tests msdmo_test
17980 wine_fn_config_dll msdrm enable_msdrm
17981 wine_fn_config_dll msftedit enable_msftedit
17982 wine_fn_config_dll msg711.acm enable_msg711_acm
17983 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17984 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17985 wine_fn_config_dll mshtml enable_mshtml clean,implib
17986 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17987 wine_fn_config_dll msi enable_msi clean,implib
17988 wine_fn_config_test dlls/msi/tests msi_test
17989 wine_fn_config_dll msident enable_msident clean
17990 wine_fn_config_dll msimg32 enable_msimg32 implib
17991 wine_fn_config_dll msimsg enable_msimsg
17992 wine_fn_config_dll msimtf enable_msimtf clean
17993 wine_fn_config_dll msisip enable_msisip
17994 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17995 wine_fn_config_dll msls31 enable_msls31
17996 wine_fn_config_dll msnet32 enable_msnet32
17997 wine_fn_config_dll mspatcha enable_mspatcha implib
17998 wine_fn_config_dll msports enable_msports
17999 wine_fn_config_dll msrle32 enable_msrle32 clean
18000 wine_fn_config_test dlls/msrle32/tests msrle32_test
18001 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18002 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18003 wine_fn_config_dll mssign32 enable_mssign32
18004 wine_fn_config_dll mssip32 enable_mssip32
18005 wine_fn_config_dll mstask enable_mstask clean
18006 wine_fn_config_test dlls/mstask/tests mstask_test
18007 wine_fn_config_dll msvcirt enable_msvcirt
18008 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18009 wine_fn_config_dll msvcm80 enable_msvcm80
18010 wine_fn_config_dll msvcm90 enable_msvcm90
18011 wine_fn_config_dll msvcp100 enable_msvcp100
18012 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18013 wine_fn_config_dll msvcp110 enable_msvcp110
18014 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18015 wine_fn_config_dll msvcp120 enable_msvcp120
18016 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18017 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18018 wine_fn_config_dll msvcp140 enable_msvcp140
18019 wine_fn_config_dll msvcp60 enable_msvcp60
18020 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18021 wine_fn_config_dll msvcp70 enable_msvcp70
18022 wine_fn_config_dll msvcp71 enable_msvcp71
18023 wine_fn_config_dll msvcp80 enable_msvcp80
18024 wine_fn_config_dll msvcp90 enable_msvcp90
18025 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18026 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18027 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18028 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18029 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18030 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18031 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18032 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18033 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18034 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18035 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18036 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18037 wine_fn_config_dll msvcrt enable_msvcrt implib
18038 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18039 wine_fn_config_dll msvcrt20 enable_msvcrt20
18040 wine_fn_config_dll msvcrt40 enable_msvcrt40
18041 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18042 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18043 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18044 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18045 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18046 wine_fn_config_dll msvideo.dll16 enable_win16
18047 wine_fn_config_dll mswsock enable_mswsock implib
18048 wine_fn_config_dll msxml enable_msxml clean
18049 wine_fn_config_dll msxml2 enable_msxml2 clean
18050 wine_fn_config_dll msxml3 enable_msxml3 clean
18051 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18052 wine_fn_config_dll msxml4 enable_msxml4 clean
18053 wine_fn_config_dll msxml6 enable_msxml6 clean
18054 wine_fn_config_dll ncrypt enable_ncrypt
18055 wine_fn_config_dll nddeapi enable_nddeapi implib
18056 wine_fn_config_dll ndis.sys enable_ndis_sys
18057 wine_fn_config_dll netapi32 enable_netapi32 implib
18058 wine_fn_config_test dlls/netapi32/tests netapi32_test
18059 wine_fn_config_dll netcfgx enable_netcfgx clean
18060 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18061 wine_fn_config_dll netprofm enable_netprofm clean
18062 wine_fn_config_test dlls/netprofm/tests netprofm_test
18063 wine_fn_config_dll newdev enable_newdev implib
18064 wine_fn_config_dll normaliz enable_normaliz implib
18065 wine_fn_config_dll npmshtml enable_npmshtml
18066 wine_fn_config_dll npptools enable_npptools
18067 wine_fn_config_dll ntdll enable_ntdll implib
18068 wine_fn_config_test dlls/ntdll/tests ntdll_test
18069 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18070 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18071 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18072 wine_fn_config_dll ntprint enable_ntprint
18073 wine_fn_config_test dlls/ntprint/tests ntprint_test
18074 wine_fn_config_dll objsel enable_objsel clean
18075 wine_fn_config_dll odbc32 enable_odbc32 implib
18076 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18077 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18078 wine_fn_config_dll odbccu32 enable_odbccu32
18079 wine_fn_config_dll ole2.dll16 enable_win16
18080 wine_fn_config_dll ole2conv.dll16 enable_win16
18081 wine_fn_config_dll ole2disp.dll16 enable_win16
18082 wine_fn_config_dll ole2nls.dll16 enable_win16
18083 wine_fn_config_dll ole2prox.dll16 enable_win16
18084 wine_fn_config_dll ole2thk.dll16 enable_win16
18085 wine_fn_config_dll ole32 enable_ole32 clean,implib
18086 wine_fn_config_test dlls/ole32/tests ole32_test
18087 wine_fn_config_dll oleacc enable_oleacc clean,implib
18088 wine_fn_config_test dlls/oleacc/tests oleacc_test
18089 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18090 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18091 wine_fn_config_dll olecli.dll16 enable_win16
18092 wine_fn_config_dll olecli32 enable_olecli32 implib
18093 wine_fn_config_dll oledb32 enable_oledb32 clean
18094 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18095 wine_fn_config_dll oledlg enable_oledlg clean,implib
18096 wine_fn_config_test dlls/oledlg/tests oledlg_test
18097 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18098 wine_fn_config_dll olesvr.dll16 enable_win16
18099 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18100 wine_fn_config_dll olethk32 enable_olethk32
18101 wine_fn_config_dll openal32 enable_openal32
18102 wine_fn_config_dll opencl enable_opencl
18103 wine_fn_config_dll opengl32 enable_opengl32 implib
18104 wine_fn_config_test dlls/opengl32/tests opengl32_test
18105 wine_fn_config_dll packager enable_packager clean
18106 wine_fn_config_test dlls/packager/tests packager_test
18107 wine_fn_config_dll pdh enable_pdh implib
18108 wine_fn_config_test dlls/pdh/tests pdh_test
18109 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18110 wine_fn_config_dll pidgen enable_pidgen
18111 wine_fn_config_dll powrprof enable_powrprof implib
18112 wine_fn_config_dll printui enable_printui
18113 wine_fn_config_dll prntvpt enable_prntvpt
18114 wine_fn_config_dll propsys enable_propsys clean,implib
18115 wine_fn_config_test dlls/propsys/tests propsys_test
18116 wine_fn_config_dll psapi enable_psapi implib
18117 wine_fn_config_test dlls/psapi/tests psapi_test
18118 wine_fn_config_dll pstorec enable_pstorec clean
18119 wine_fn_config_dll qcap enable_qcap
18120 wine_fn_config_test dlls/qcap/tests qcap_test
18121 wine_fn_config_dll qedit enable_qedit clean
18122 wine_fn_config_test dlls/qedit/tests qedit_test
18123 wine_fn_config_dll qmgr enable_qmgr clean
18124 wine_fn_config_test dlls/qmgr/tests qmgr_test
18125 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18126 wine_fn_config_dll quartz enable_quartz clean,implib
18127 wine_fn_config_test dlls/quartz/tests quartz_test clean
18128 wine_fn_config_dll query enable_query
18129 wine_fn_config_dll rasapi16.dll16 enable_win16
18130 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18131 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18132 wine_fn_config_dll rasdlg enable_rasdlg implib
18133 wine_fn_config_dll regapi enable_regapi
18134 wine_fn_config_dll resutils enable_resutils implib
18135 wine_fn_config_dll riched20 enable_riched20 clean,implib
18136 wine_fn_config_test dlls/riched20/tests riched20_test
18137 wine_fn_config_dll riched32 enable_riched32
18138 wine_fn_config_test dlls/riched32/tests riched32_test
18139 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18140 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18141 wine_fn_config_dll rsabase enable_rsabase
18142 wine_fn_config_dll rsaenh enable_rsaenh implib
18143 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18144 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18145 wine_fn_config_dll rtutils enable_rtutils implib
18146 wine_fn_config_dll samlib enable_samlib
18147 wine_fn_config_dll sane.ds enable_sane_ds clean
18148 wine_fn_config_dll scarddlg enable_scarddlg
18149 wine_fn_config_dll sccbase enable_sccbase
18150 wine_fn_config_dll schannel enable_schannel
18151 wine_fn_config_test dlls/schannel/tests schannel_test
18152 wine_fn_config_dll schedsvc enable_schedsvc clean
18153 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18154 wine_fn_config_dll scrrun enable_scrrun clean
18155 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18156 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18157 wine_fn_config_dll secur32 enable_secur32 implib
18158 wine_fn_config_test dlls/secur32/tests secur32_test
18159 wine_fn_config_dll security enable_security
18160 wine_fn_config_dll sensapi enable_sensapi implib
18161 wine_fn_config_dll serialui enable_serialui clean
18162 wine_fn_config_test dlls/serialui/tests serialui_test
18163 wine_fn_config_dll setupapi enable_setupapi clean,implib
18164 wine_fn_config_test dlls/setupapi/tests setupapi_test
18165 wine_fn_config_dll setupx.dll16 enable_win16
18166 wine_fn_config_dll sfc enable_sfc implib
18167 wine_fn_config_dll sfc_os enable_sfc_os implib
18168 wine_fn_config_dll shdoclc enable_shdoclc clean
18169 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18170 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18171 wine_fn_config_dll shell.dll16 enable_win16
18172 wine_fn_config_dll shell32 enable_shell32 clean,implib
18173 wine_fn_config_test dlls/shell32/tests shell32_test
18174 wine_fn_config_dll shfolder enable_shfolder implib
18175 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18176 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18177 wine_fn_config_dll slbcsp enable_slbcsp
18178 wine_fn_config_dll slc enable_slc implib
18179 wine_fn_config_test dlls/slc/tests slc_test
18180 wine_fn_config_dll snmpapi enable_snmpapi implib
18181 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18182 wine_fn_config_dll softpub enable_softpub
18183 wine_fn_config_dll sound.drv16 enable_win16
18184 wine_fn_config_dll spoolss enable_spoolss implib
18185 wine_fn_config_test dlls/spoolss/tests spoolss_test
18186 wine_fn_config_dll sspicli enable_sspicli
18187 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18188 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18189 wine_fn_config_dll sti enable_sti clean,implib
18190 wine_fn_config_test dlls/sti/tests sti_test
18191 wine_fn_config_dll storage.dll16 enable_win16
18192 wine_fn_config_dll stress.dll16 enable_win16
18193 wine_fn_config_lib strmbase
18194 wine_fn_config_lib strmiids
18195 wine_fn_config_dll svrapi enable_svrapi
18196 wine_fn_config_dll sxs enable_sxs implib
18197 wine_fn_config_test dlls/sxs/tests sxs_test
18198 wine_fn_config_dll system.drv16 enable_win16
18199 wine_fn_config_dll t2embed enable_t2embed implib
18200 wine_fn_config_test dlls/t2embed/tests t2embed_test
18201 wine_fn_config_dll tapi32 enable_tapi32 implib
18202 wine_fn_config_dll taskschd enable_taskschd clean
18203 wine_fn_config_test dlls/taskschd/tests taskschd_test
18204 wine_fn_config_dll tdi.sys enable_tdi_sys
18205 wine_fn_config_dll toolhelp.dll16 enable_win16
18206 wine_fn_config_dll traffic enable_traffic
18207 wine_fn_config_dll twain.dll16 enable_win16
18208 wine_fn_config_dll twain_32 enable_twain_32
18209 wine_fn_config_test dlls/twain_32/tests twain_32_test
18210 wine_fn_config_dll typelib.dll16 enable_win16
18211 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18212 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18213 wine_fn_config_dll unicows enable_unicows implib
18214 wine_fn_config_dll updspapi enable_updspapi
18215 wine_fn_config_dll url enable_url implib
18216 wine_fn_config_dll urlmon enable_urlmon clean,implib
18217 wine_fn_config_test dlls/urlmon/tests urlmon_test
18218 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18219 wine_fn_config_dll user.exe16 enable_win16
18220 wine_fn_config_dll user32 enable_user32 clean,implib
18221 wine_fn_config_test dlls/user32/tests user32_test
18222 wine_fn_config_dll userenv enable_userenv implib
18223 wine_fn_config_test dlls/userenv/tests userenv_test
18224 wine_fn_config_dll usp10 enable_usp10 implib
18225 wine_fn_config_test dlls/usp10/tests usp10_test
18226 wine_fn_config_lib uuid
18227 wine_fn_config_dll uxtheme enable_uxtheme implib
18228 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18229 wine_fn_config_dll vbscript enable_vbscript clean
18230 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18231 wine_fn_config_dll vcomp enable_vcomp
18232 wine_fn_config_test dlls/vcomp/tests vcomp_test
18233 wine_fn_config_dll vcomp100 enable_vcomp100
18234 wine_fn_config_dll vcomp110 enable_vcomp110
18235 wine_fn_config_dll vcomp120 enable_vcomp120
18236 wine_fn_config_dll vcomp140 enable_vcomp140
18237 wine_fn_config_dll vcomp90 enable_vcomp90
18238 wine_fn_config_dll vcruntime140 enable_vcruntime140
18239 wine_fn_config_dll vdhcp.vxd enable_win16
18240 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18241 wine_fn_config_dll ver.dll16 enable_win16
18242 wine_fn_config_dll version enable_version implib
18243 wine_fn_config_test dlls/version/tests version_test
18244 wine_fn_config_dll vmm.vxd enable_win16
18245 wine_fn_config_dll vnbt.vxd enable_win16
18246 wine_fn_config_dll vnetbios.vxd enable_win16
18247 wine_fn_config_dll vssapi enable_vssapi
18248 wine_fn_config_dll vtdapi.vxd enable_win16
18249 wine_fn_config_dll vwin32.vxd enable_win16
18250 wine_fn_config_dll w32skrnl enable_win16
18251 wine_fn_config_dll w32sys.dll16 enable_win16
18252 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18253 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18254 wine_fn_config_dll wbemprox enable_wbemprox clean
18255 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18256 wine_fn_config_dll webservices enable_webservices implib
18257 wine_fn_config_test dlls/webservices/tests webservices_test
18258 wine_fn_config_dll wer enable_wer implib
18259 wine_fn_config_test dlls/wer/tests wer_test
18260 wine_fn_config_dll wevtapi enable_wevtapi
18261 wine_fn_config_dll wiaservc enable_wiaservc clean
18262 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18263 wine_fn_config_dll wimgapi enable_wimgapi
18264 wine_fn_config_dll win32s16.dll16 enable_win16
18265 wine_fn_config_dll win87em.dll16 enable_win16
18266 wine_fn_config_dll winaspi.dll16 enable_win16
18267 wine_fn_config_dll windebug.dll16 enable_win16
18268 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18269 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18270 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18271 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18272 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18273 wine_fn_config_dll winebus.sys enable_winebus_sys
18274 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18275 wine_fn_config_lib winecrt0
18276 wine_fn_config_dll wined3d enable_wined3d implib
18277 wine_fn_config_dll winegstreamer enable_winegstreamer
18278 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18279 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18280 wine_fn_config_dll winemapi enable_winemapi
18281 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18282 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18283 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18284 wine_fn_config_dll wineps16.drv16 enable_win16
18285 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18286 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18287 wine_fn_config_dll winex11.drv enable_winex11_drv
18288 wine_fn_config_dll wing.dll16 enable_win16
18289 wine_fn_config_dll wing32 enable_wing32
18290 wine_fn_config_dll winhttp enable_winhttp clean,implib
18291 wine_fn_config_test dlls/winhttp/tests winhttp_test
18292 wine_fn_config_dll wininet enable_wininet clean,implib
18293 wine_fn_config_test dlls/wininet/tests wininet_test
18294 wine_fn_config_dll winmm enable_winmm clean,implib
18295 wine_fn_config_test dlls/winmm/tests winmm_test
18296 wine_fn_config_dll winnls.dll16 enable_win16
18297 wine_fn_config_dll winnls32 enable_winnls32 implib
18298 wine_fn_config_dll winscard enable_winscard implib
18299 wine_fn_config_dll winsock.dll16 enable_win16
18300 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18301 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18302 wine_fn_config_dll winsta enable_winsta
18303 wine_fn_config_dll wintab.dll16 enable_win16
18304 wine_fn_config_dll wintab32 enable_wintab32 implib
18305 wine_fn_config_test dlls/wintab32/tests wintab32_test
18306 wine_fn_config_dll wintrust enable_wintrust implib
18307 wine_fn_config_test dlls/wintrust/tests wintrust_test
18308 wine_fn_config_dll wlanapi enable_wlanapi
18309 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18310 wine_fn_config_test dlls/wldap32/tests wldap32_test
18311 wine_fn_config_dll wmasf enable_wmasf
18312 wine_fn_config_dll wmi enable_wmi
18313 wine_fn_config_dll wmiutils enable_wmiutils clean
18314 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18315 wine_fn_config_dll wmp enable_wmp clean
18316 wine_fn_config_test dlls/wmp/tests wmp_test
18317 wine_fn_config_dll wmvcore enable_wmvcore
18318 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18319 wine_fn_config_dll wow32 enable_win16 implib
18320 wine_fn_config_dll wpc enable_wpc clean
18321 wine_fn_config_test dlls/wpc/tests wpc_test
18322 wine_fn_config_dll wpcap enable_wpcap
18323 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18324 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18325 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18326 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18327 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18328 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18329 wine_fn_config_dll wsock32 enable_wsock32 implib
18330 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18331 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18332 wine_fn_config_dll wuapi enable_wuapi clean
18333 wine_fn_config_dll wuaueng enable_wuaueng
18334 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18335 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18336 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18337 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18338 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18339 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18340 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18341 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18342 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18343 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18344 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18345 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18346 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18347 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18348 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18349 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18350 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18351 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18352 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18353 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18354 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18355 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18356 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18357 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18358 wine_fn_config_dll xinput1_1 enable_xinput1_1
18359 wine_fn_config_dll xinput1_2 enable_xinput1_2
18360 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18361 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18362 wine_fn_config_dll xinput1_4 enable_xinput1_4
18363 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18364 wine_fn_config_dll xmllite enable_xmllite implib
18365 wine_fn_config_test dlls/xmllite/tests xmllite_test
18366 wine_fn_config_dll xolehlp enable_xolehlp
18367 wine_fn_config_dll xpsprint enable_xpsprint
18368 wine_fn_config_dll xpssvcs enable_xpssvcs
18369 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18370 wine_fn_config_makefile include enable_include clean,install-dev
18371 wine_fn_config_makefile libs/port enable_libs_port
18372 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18373 wine_fn_config_makefile libs/wpp enable_libs_wpp
18374 wine_fn_config_makefile loader enable_loader clean,install-lib
18375 wine_fn_config_makefile po enable_po clean
18376 wine_fn_config_program arp enable_arp install
18377 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18378 wine_fn_config_program attrib enable_attrib clean,install
18379 wine_fn_config_program cabarc enable_cabarc install
18380 wine_fn_config_program cacls enable_cacls install
18381 wine_fn_config_program clock enable_clock clean,install
18382 wine_fn_config_program cmd enable_cmd clean,install
18383 wine_fn_config_test programs/cmd/tests cmd.exe_test
18384 wine_fn_config_program conhost enable_conhost install
18385 wine_fn_config_program control enable_control install
18386 wine_fn_config_program cscript enable_cscript clean,install
18387 wine_fn_config_program dpnsvr enable_dpnsvr install
18388 wine_fn_config_program dxdiag enable_dxdiag clean,install
18389 wine_fn_config_program eject enable_eject install
18390 wine_fn_config_program expand enable_expand install
18391 wine_fn_config_program explorer enable_explorer clean,install
18392 wine_fn_config_program extrac32 enable_extrac32 install
18393 wine_fn_config_program findstr enable_findstr install
18394 wine_fn_config_program fsutil enable_fsutil install
18395 wine_fn_config_program hh enable_hh install
18396 wine_fn_config_program hostname enable_hostname clean,install
18397 wine_fn_config_program icacls enable_icacls install
18398 wine_fn_config_program icinfo enable_icinfo install
18399 wine_fn_config_program iexplore enable_iexplore install
18400 wine_fn_config_program ipconfig enable_ipconfig clean,install
18401 wine_fn_config_program lodctr enable_lodctr install
18402 wine_fn_config_program mofcomp enable_mofcomp install
18403 wine_fn_config_program mshta enable_mshta install
18404 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18405 wine_fn_config_program net enable_net clean,install
18406 wine_fn_config_program netsh enable_netsh install
18407 wine_fn_config_program netstat enable_netstat clean,install
18408 wine_fn_config_program ngen enable_ngen install
18409 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18410 wine_fn_config_program oleview enable_oleview clean,install
18411 wine_fn_config_program ping enable_ping install
18412 wine_fn_config_program plugplay enable_plugplay install
18413 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18414 wine_fn_config_program progman enable_progman clean,install
18415 wine_fn_config_program reg enable_reg clean,install
18416 wine_fn_config_test programs/reg/tests reg.exe_test
18417 wine_fn_config_program regasm enable_regasm install
18418 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18419 wine_fn_config_test programs/regedit/tests regedit.exe_test
18420 wine_fn_config_program regsvcs enable_regsvcs install
18421 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18422 wine_fn_config_program rpcss enable_rpcss clean,install
18423 wine_fn_config_program rundll.exe16 enable_win16 install
18424 wine_fn_config_program rundll32 enable_rundll32 install
18425 wine_fn_config_program sc enable_sc install
18426 wine_fn_config_program schtasks enable_schtasks install
18427 wine_fn_config_program sdbinst enable_sdbinst install
18428 wine_fn_config_program secedit enable_secedit install
18429 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18430 wine_fn_config_program services enable_services clean,install
18431 wine_fn_config_test programs/services/tests services.exe_test
18432 wine_fn_config_program shutdown enable_shutdown install
18433 wine_fn_config_program spoolsv enable_spoolsv install
18434 wine_fn_config_program start enable_start clean,install
18435 wine_fn_config_program svchost enable_svchost install
18436 wine_fn_config_program systeminfo enable_systeminfo install
18437 wine_fn_config_program taskkill enable_taskkill clean,install
18438 wine_fn_config_program tasklist enable_tasklist install
18439 wine_fn_config_program taskmgr enable_taskmgr clean,install
18440 wine_fn_config_program termsv enable_termsv install
18441 wine_fn_config_program uninstaller enable_uninstaller clean,install
18442 wine_fn_config_program unlodctr enable_unlodctr install
18443 wine_fn_config_program view enable_view clean,install
18444 wine_fn_config_program wevtutil enable_wevtutil install
18445 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18446 wine_fn_config_program winebrowser enable_winebrowser install
18447 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18448 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18449 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18450 wine_fn_config_program winedevice enable_winedevice install
18451 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18452 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18453 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18454 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18455 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18456 wine_fn_config_program winetest enable_winetest clean
18457 wine_fn_config_program winevdm enable_win16 install
18458 wine_fn_config_program winhelp.exe16 enable_win16 install
18459 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18460 wine_fn_config_program winoldap.mod16 enable_win16 install
18461 wine_fn_config_program winver enable_winver install
18462 wine_fn_config_program wmic enable_wmic clean,install
18463 wine_fn_config_program wmplayer enable_wmplayer install
18464 wine_fn_config_program wordpad enable_wordpad clean,install
18465 wine_fn_config_program write enable_write clean,install
18466 wine_fn_config_program wscript enable_wscript clean,install
18467 wine_fn_config_test programs/wscript/tests wscript.exe_test
18468 wine_fn_config_program wusa enable_wusa install
18469 wine_fn_config_program xcopy enable_xcopy clean,install
18470 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18471 wine_fn_config_makefile server enable_server clean,install-lib
18472 wine_fn_config_tool tools clean
18473 wine_fn_config_tool tools/sfnt2fon clean
18474 wine_fn_config_tool tools/widl clean,install-dev
18475 wine_fn_config_tool tools/winebuild clean,install-dev
18476 wine_fn_config_tool tools/winedump clean,install-dev
18477 wine_fn_config_tool tools/winegcc clean,install-dev
18478 wine_fn_config_tool tools/winemaker clean,install-dev
18479 wine_fn_config_tool tools/wmc clean,install-dev
18480 wine_fn_config_tool tools/wrc clean,install-dev
18483 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18484 wine_fn_append_file CONFIGURE_TARGETS "tags"
18485 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18486 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18487 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18488 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18489 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18490 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18492 if test "x$enable_tools" != xno
18493 then
18494 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18495 ac_config_commands="$ac_config_commands tools/makedep"
18499 ac_config_commands="$ac_config_commands Makefile"
18502 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18506 if test "x$enable_maintainer_mode" = xyes
18507 then
18508 wine_fn_append_rule "configure: configure.ac aclocal.m4
18509 autoconf --warnings=all
18510 include/config.h.in: include/stamp-h.in
18511 include/stamp-h.in: configure.ac aclocal.m4
18512 autoheader --warnings=all
18513 @echo timestamp > \$@"
18516 if test "x$enable_tools" != xno
18517 then
18518 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18519 @./config.status tools/makedep
18520 Makefile: tools/makedep$ac_exeext"
18521 else
18522 wine_fn_append_rule "\$(MAKEDEP):
18523 @echo \"You need to run make in $TOOLSDIR first\" && false"
18526 if test -n "$with_wine64"
18527 then
18528 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18529 fonts server:
18530 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18531 $with_wine64/loader/wine:
18532 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18533 $with_wine64/loader/wine-preloader:
18534 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18535 clean::
18536 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18537 else
18538 WINELOADER_INSTALL="wine.inf"
18540 wine_fn_append_rule "install install-lib::
18541 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18542 uninstall::
18543 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18544 case $host_os in
18545 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18546 *) wine_fn_append_rule "install install-lib::
18547 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18548 uninstall::
18549 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18550 esac
18553 $as_echo " done" >&6
18554 cat >confcache <<\_ACEOF
18555 # This file is a shell script that caches the results of configure
18556 # tests run on this system so they can be shared between configure
18557 # scripts and configure runs, see configure's option --config-cache.
18558 # It is not useful on other systems. If it contains results you don't
18559 # want to keep, you may remove or edit it.
18561 # config.status only pays attention to the cache file if you give it
18562 # the --recheck option to rerun configure.
18564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18566 # following values.
18568 _ACEOF
18570 # The following way of writing the cache mishandles newlines in values,
18571 # but we know of no workaround that is simple, portable, and efficient.
18572 # So, we kill variables containing newlines.
18573 # Ultrix sh set writes to stderr and can't be redirected directly,
18574 # and sets the high bit in the cache file unless we assign to the vars.
18576 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18577 eval ac_val=\$$ac_var
18578 case $ac_val in #(
18579 *${as_nl}*)
18580 case $ac_var in #(
18581 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18583 esac
18584 case $ac_var in #(
18585 _ | IFS | as_nl) ;; #(
18586 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18587 *) { eval $ac_var=; unset $ac_var;} ;;
18588 esac ;;
18589 esac
18590 done
18592 (set) 2>&1 |
18593 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18594 *${as_nl}ac_space=\ *)
18595 # `set' does not quote correctly, so add quotes: double-quote
18596 # substitution turns \\\\ into \\, and sed turns \\ into \.
18597 sed -n \
18598 "s/'/'\\\\''/g;
18599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18600 ;; #(
18602 # `set' quotes correctly as required by POSIX, so do not add quotes.
18603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18605 esac |
18606 sort
18608 sed '
18609 /^ac_cv_env_/b end
18610 t clear
18611 :clear
18612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18613 t end
18614 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18615 :end' >>confcache
18616 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18617 if test -w "$cache_file"; then
18618 if test "x$cache_file" != "x/dev/null"; then
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18620 $as_echo "$as_me: updating cache $cache_file" >&6;}
18621 if test ! -f "$cache_file" || test -h "$cache_file"; then
18622 cat confcache >"$cache_file"
18623 else
18624 case $cache_file in #(
18625 */* | ?:*)
18626 mv -f confcache "$cache_file"$$ &&
18627 mv -f "$cache_file"$$ "$cache_file" ;; #(
18629 mv -f confcache "$cache_file" ;;
18630 esac
18633 else
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18635 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18638 rm -f confcache
18640 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18641 # Let make expand exec_prefix.
18642 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18644 DEFS=-DHAVE_CONFIG_H
18646 ac_libobjs=
18647 ac_ltlibobjs=
18649 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18650 # 1. Remove the extension, and $U if already installed.
18651 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18652 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18653 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18654 # will be set to the directory where LIBOBJS objects are built.
18655 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18656 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18657 done
18658 LIBOBJS=$ac_libobjs
18660 LTLIBOBJS=$ac_ltlibobjs
18664 : "${CONFIG_STATUS=./config.status}"
18665 ac_write_fail=0
18666 ac_clean_files_save=$ac_clean_files
18667 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18669 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18670 as_write_fail=0
18671 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18672 #! $SHELL
18673 # Generated by $as_me.
18674 # Run this file to recreate the current configuration.
18675 # Compiler output produced by configure, useful for debugging
18676 # configure, is in config.log if it exists.
18678 debug=false
18679 ac_cs_recheck=false
18680 ac_cs_silent=false
18682 SHELL=\${CONFIG_SHELL-$SHELL}
18683 export SHELL
18684 _ASEOF
18685 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18686 ## -------------------- ##
18687 ## M4sh Initialization. ##
18688 ## -------------------- ##
18690 # Be more Bourne compatible
18691 DUALCASE=1; export DUALCASE # for MKS sh
18692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18693 emulate sh
18694 NULLCMD=:
18695 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18696 # is contrary to our usage. Disable this feature.
18697 alias -g '${1+"$@"}'='"$@"'
18698 setopt NO_GLOB_SUBST
18699 else
18700 case `(set -o) 2>/dev/null` in #(
18701 *posix*) :
18702 set -o posix ;; #(
18703 *) :
18705 esac
18709 as_nl='
18711 export as_nl
18712 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18713 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18716 # Prefer a ksh shell builtin over an external printf program on Solaris,
18717 # but without wasting forks for bash or zsh.
18718 if test -z "$BASH_VERSION$ZSH_VERSION" \
18719 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18720 as_echo='print -r --'
18721 as_echo_n='print -rn --'
18722 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18723 as_echo='printf %s\n'
18724 as_echo_n='printf %s'
18725 else
18726 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18727 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18728 as_echo_n='/usr/ucb/echo -n'
18729 else
18730 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18731 as_echo_n_body='eval
18732 arg=$1;
18733 case $arg in #(
18734 *"$as_nl"*)
18735 expr "X$arg" : "X\\(.*\\)$as_nl";
18736 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18737 esac;
18738 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18740 export as_echo_n_body
18741 as_echo_n='sh -c $as_echo_n_body as_echo'
18743 export as_echo_body
18744 as_echo='sh -c $as_echo_body as_echo'
18747 # The user is always right.
18748 if test "${PATH_SEPARATOR+set}" != set; then
18749 PATH_SEPARATOR=:
18750 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18751 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18752 PATH_SEPARATOR=';'
18757 # IFS
18758 # We need space, tab and new line, in precisely that order. Quoting is
18759 # there to prevent editors from complaining about space-tab.
18760 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18761 # splitting by setting IFS to empty value.)
18762 IFS=" "" $as_nl"
18764 # Find who we are. Look in the path if we contain no directory separator.
18765 as_myself=
18766 case $0 in #((
18767 *[\\/]* ) as_myself=$0 ;;
18768 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18769 for as_dir in $PATH
18771 IFS=$as_save_IFS
18772 test -z "$as_dir" && as_dir=.
18773 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18774 done
18775 IFS=$as_save_IFS
18778 esac
18779 # We did not find ourselves, most probably we were run as `sh COMMAND'
18780 # in which case we are not to be found in the path.
18781 if test "x$as_myself" = x; then
18782 as_myself=$0
18784 if test ! -f "$as_myself"; then
18785 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18786 exit 1
18789 # Unset variables that we do not need and which cause bugs (e.g. in
18790 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18791 # suppresses any "Segmentation fault" message there. '((' could
18792 # trigger a bug in pdksh 5.2.14.
18793 for as_var in BASH_ENV ENV MAIL MAILPATH
18794 do eval test x\${$as_var+set} = xset \
18795 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18796 done
18797 PS1='$ '
18798 PS2='> '
18799 PS4='+ '
18801 # NLS nuisances.
18802 LC_ALL=C
18803 export LC_ALL
18804 LANGUAGE=C
18805 export LANGUAGE
18807 # CDPATH.
18808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18811 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18812 # ----------------------------------------
18813 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18814 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18815 # script with STATUS, using 1 if that was 0.
18816 as_fn_error ()
18818 as_status=$1; test $as_status -eq 0 && as_status=1
18819 if test "$4"; then
18820 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18821 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18823 $as_echo "$as_me: error: $2" >&2
18824 as_fn_exit $as_status
18825 } # as_fn_error
18828 # as_fn_set_status STATUS
18829 # -----------------------
18830 # Set $? to STATUS, without forking.
18831 as_fn_set_status ()
18833 return $1
18834 } # as_fn_set_status
18836 # as_fn_exit STATUS
18837 # -----------------
18838 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18839 as_fn_exit ()
18841 set +e
18842 as_fn_set_status $1
18843 exit $1
18844 } # as_fn_exit
18846 # as_fn_unset VAR
18847 # ---------------
18848 # Portably unset VAR.
18849 as_fn_unset ()
18851 { eval $1=; unset $1;}
18853 as_unset=as_fn_unset
18854 # as_fn_append VAR VALUE
18855 # ----------------------
18856 # Append the text in VALUE to the end of the definition contained in VAR. Take
18857 # advantage of any shell optimizations that allow amortized linear growth over
18858 # repeated appends, instead of the typical quadratic growth present in naive
18859 # implementations.
18860 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18861 eval 'as_fn_append ()
18863 eval $1+=\$2
18865 else
18866 as_fn_append ()
18868 eval $1=\$$1\$2
18870 fi # as_fn_append
18872 # as_fn_arith ARG...
18873 # ------------------
18874 # Perform arithmetic evaluation on the ARGs, and store the result in the
18875 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18876 # must be portable across $(()) and expr.
18877 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18878 eval 'as_fn_arith ()
18880 as_val=$(( $* ))
18882 else
18883 as_fn_arith ()
18885 as_val=`expr "$@" || test $? -eq 1`
18887 fi # as_fn_arith
18890 if expr a : '\(a\)' >/dev/null 2>&1 &&
18891 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18892 as_expr=expr
18893 else
18894 as_expr=false
18897 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18898 as_basename=basename
18899 else
18900 as_basename=false
18903 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18904 as_dirname=dirname
18905 else
18906 as_dirname=false
18909 as_me=`$as_basename -- "$0" ||
18910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18911 X"$0" : 'X\(//\)$' \| \
18912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18913 $as_echo X/"$0" |
18914 sed '/^.*\/\([^/][^/]*\)\/*$/{
18915 s//\1/
18918 /^X\/\(\/\/\)$/{
18919 s//\1/
18922 /^X\/\(\/\).*/{
18923 s//\1/
18926 s/.*/./; q'`
18928 # Avoid depending upon Character Ranges.
18929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18930 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18931 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18932 as_cr_digits='0123456789'
18933 as_cr_alnum=$as_cr_Letters$as_cr_digits
18935 ECHO_C= ECHO_N= ECHO_T=
18936 case `echo -n x` in #(((((
18937 -n*)
18938 case `echo 'xy\c'` in
18939 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18940 xy) ECHO_C='\c';;
18941 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18942 ECHO_T=' ';;
18943 esac;;
18945 ECHO_N='-n';;
18946 esac
18948 rm -f conf$$ conf$$.exe conf$$.file
18949 if test -d conf$$.dir; then
18950 rm -f conf$$.dir/conf$$.file
18951 else
18952 rm -f conf$$.dir
18953 mkdir conf$$.dir 2>/dev/null
18955 if (echo >conf$$.file) 2>/dev/null; then
18956 if ln -s conf$$.file conf$$ 2>/dev/null; then
18957 as_ln_s='ln -s'
18958 # ... but there are two gotchas:
18959 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18960 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18961 # In both cases, we have to default to `cp -pR'.
18962 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18963 as_ln_s='cp -pR'
18964 elif ln conf$$.file conf$$ 2>/dev/null; then
18965 as_ln_s=ln
18966 else
18967 as_ln_s='cp -pR'
18969 else
18970 as_ln_s='cp -pR'
18972 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18973 rmdir conf$$.dir 2>/dev/null
18976 # as_fn_mkdir_p
18977 # -------------
18978 # Create "$as_dir" as a directory, including parents if necessary.
18979 as_fn_mkdir_p ()
18982 case $as_dir in #(
18983 -*) as_dir=./$as_dir;;
18984 esac
18985 test -d "$as_dir" || eval $as_mkdir_p || {
18986 as_dirs=
18987 while :; do
18988 case $as_dir in #(
18989 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18990 *) as_qdir=$as_dir;;
18991 esac
18992 as_dirs="'$as_qdir' $as_dirs"
18993 as_dir=`$as_dirname -- "$as_dir" ||
18994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18995 X"$as_dir" : 'X\(//\)[^/]' \| \
18996 X"$as_dir" : 'X\(//\)$' \| \
18997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18998 $as_echo X"$as_dir" |
18999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19000 s//\1/
19003 /^X\(\/\/\)[^/].*/{
19004 s//\1/
19007 /^X\(\/\/\)$/{
19008 s//\1/
19011 /^X\(\/\).*/{
19012 s//\1/
19015 s/.*/./; q'`
19016 test -d "$as_dir" && break
19017 done
19018 test -z "$as_dirs" || eval "mkdir $as_dirs"
19019 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19022 } # as_fn_mkdir_p
19023 if mkdir -p . 2>/dev/null; then
19024 as_mkdir_p='mkdir -p "$as_dir"'
19025 else
19026 test -d ./-p && rmdir ./-p
19027 as_mkdir_p=false
19031 # as_fn_executable_p FILE
19032 # -----------------------
19033 # Test if FILE is an executable regular file.
19034 as_fn_executable_p ()
19036 test -f "$1" && test -x "$1"
19037 } # as_fn_executable_p
19038 as_test_x='test -x'
19039 as_executable_p=as_fn_executable_p
19041 # Sed expression to map a string onto a valid CPP name.
19042 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19044 # Sed expression to map a string onto a valid variable name.
19045 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19048 exec 6>&1
19049 ## ----------------------------------- ##
19050 ## Main body of $CONFIG_STATUS script. ##
19051 ## ----------------------------------- ##
19052 _ASEOF
19053 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19056 # Save the log message, to keep $0 and so on meaningful, and to
19057 # report actual input values of CONFIG_FILES etc. instead of their
19058 # values after options handling.
19059 ac_log="
19060 This file was extended by Wine $as_me 1.9.18, which was
19061 generated by GNU Autoconf 2.69. Invocation command line was
19063 CONFIG_FILES = $CONFIG_FILES
19064 CONFIG_HEADERS = $CONFIG_HEADERS
19065 CONFIG_LINKS = $CONFIG_LINKS
19066 CONFIG_COMMANDS = $CONFIG_COMMANDS
19067 $ $0 $@
19069 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19072 _ACEOF
19074 case $ac_config_files in *"
19075 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19076 esac
19078 case $ac_config_headers in *"
19079 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19080 esac
19083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19084 # Files that config.status was made for.
19085 config_files="$ac_config_files"
19086 config_headers="$ac_config_headers"
19087 config_links="$ac_config_links"
19088 config_commands="$ac_config_commands"
19090 _ACEOF
19092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19093 ac_cs_usage="\
19094 \`$as_me' instantiates files and other configuration actions
19095 from templates according to the current configuration. Unless the files
19096 and actions are specified as TAGs, all are instantiated by default.
19098 Usage: $0 [OPTION]... [TAG]...
19100 -h, --help print this help, then exit
19101 -V, --version print version number and configuration settings, then exit
19102 --config print configuration, then exit
19103 -q, --quiet, --silent
19104 do not print progress messages
19105 -d, --debug don't remove temporary files
19106 --recheck update $as_me by reconfiguring in the same conditions
19107 --file=FILE[:TEMPLATE]
19108 instantiate the configuration file FILE
19109 --header=FILE[:TEMPLATE]
19110 instantiate the configuration header FILE
19112 Configuration files:
19113 $config_files
19115 Configuration headers:
19116 $config_headers
19118 Configuration links:
19119 $config_links
19121 Configuration commands:
19122 $config_commands
19124 Report bugs to <wine-devel@winehq.org>.
19125 Wine home page: <http://www.winehq.org>."
19127 _ACEOF
19128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19129 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19130 ac_cs_version="\\
19131 Wine config.status 1.9.18
19132 configured by $0, generated by GNU Autoconf 2.69,
19133 with options \\"\$ac_cs_config\\"
19135 Copyright (C) 2012 Free Software Foundation, Inc.
19136 This config.status script is free software; the Free Software Foundation
19137 gives unlimited permission to copy, distribute and modify it."
19139 ac_pwd='$ac_pwd'
19140 srcdir='$srcdir'
19141 test -n "\$AWK" || AWK=awk
19142 _ACEOF
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 # The default lists apply if the user does not specify any file.
19146 ac_need_defaults=:
19147 while test $# != 0
19149 case $1 in
19150 --*=?*)
19151 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19152 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19153 ac_shift=:
19155 --*=)
19156 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19157 ac_optarg=
19158 ac_shift=:
19161 ac_option=$1
19162 ac_optarg=$2
19163 ac_shift=shift
19165 esac
19167 case $ac_option in
19168 # Handling of the options.
19169 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19170 ac_cs_recheck=: ;;
19171 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19172 $as_echo "$ac_cs_version"; exit ;;
19173 --config | --confi | --conf | --con | --co | --c )
19174 $as_echo "$ac_cs_config"; exit ;;
19175 --debug | --debu | --deb | --de | --d | -d )
19176 debug=: ;;
19177 --file | --fil | --fi | --f )
19178 $ac_shift
19179 case $ac_optarg in
19180 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19181 '') as_fn_error $? "missing file argument" ;;
19182 esac
19183 as_fn_append CONFIG_FILES " '$ac_optarg'"
19184 ac_need_defaults=false;;
19185 --header | --heade | --head | --hea )
19186 $ac_shift
19187 case $ac_optarg in
19188 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19189 esac
19190 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19191 ac_need_defaults=false;;
19192 --he | --h)
19193 # Conflict between --help and --header
19194 as_fn_error $? "ambiguous option: \`$1'
19195 Try \`$0 --help' for more information.";;
19196 --help | --hel | -h )
19197 $as_echo "$ac_cs_usage"; exit ;;
19198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19199 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19200 ac_cs_silent=: ;;
19202 # This is an error.
19203 -*) as_fn_error $? "unrecognized option: \`$1'
19204 Try \`$0 --help' for more information." ;;
19206 *) as_fn_append ac_config_targets " $1"
19207 ac_need_defaults=false ;;
19209 esac
19210 shift
19211 done
19213 ac_configure_extra_args=
19215 if $ac_cs_silent; then
19216 exec 6>/dev/null
19217 ac_configure_extra_args="$ac_configure_extra_args --silent"
19220 _ACEOF
19221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19222 if \$ac_cs_recheck; then
19223 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19224 shift
19225 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19226 CONFIG_SHELL='$SHELL'
19227 export CONFIG_SHELL
19228 exec "\$@"
19231 _ACEOF
19232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19233 exec 5>>config.log
19235 echo
19236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19237 ## Running $as_me. ##
19238 _ASBOX
19239 $as_echo "$ac_log"
19240 } >&5
19242 _ACEOF
19243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 # INIT-COMMANDS
19247 wine_fn_output_makedep ()
19249 as_dir=tools; as_fn_mkdir_p
19250 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19252 wine_fn_output_makefile ()
19254 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19255 `cat $wine_rules_file`
19256 _WINE_EOF
19257 as_fn_error $? "could not create Makefile" "$LINENO" 5
19260 _ACEOF
19262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19264 # Handling of arguments.
19265 for ac_config_target in $ac_config_targets
19267 case $ac_config_target in
19268 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19269 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19270 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19271 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19272 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19273 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19274 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19275 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19276 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19277 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19278 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19279 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19280 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19282 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19283 esac
19284 done
19287 # If the user did not use the arguments to specify the items to instantiate,
19288 # then the envvar interface is used. Set only those that are not.
19289 # We use the long form for the default assignment because of an extremely
19290 # bizarre bug on SunOS 4.1.3.
19291 if $ac_need_defaults; then
19292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19293 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19294 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19295 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19298 # Have a temporary directory for convenience. Make it in the build tree
19299 # simply because there is no reason against having it here, and in addition,
19300 # creating and moving files from /tmp can sometimes cause problems.
19301 # Hook for its removal unless debugging.
19302 # Note that there is a small window in which the directory will not be cleaned:
19303 # after its creation but before its name has been assigned to `$tmp'.
19304 $debug ||
19306 tmp= ac_tmp=
19307 trap 'exit_status=$?
19308 : "${ac_tmp:=$tmp}"
19309 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19311 trap 'as_fn_exit 1' 1 2 13 15
19313 # Create a (secure) tmp directory for tmp files.
19316 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19317 test -d "$tmp"
19318 } ||
19320 tmp=./conf$$-$RANDOM
19321 (umask 077 && mkdir "$tmp")
19322 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19323 ac_tmp=$tmp
19325 # Set up the scripts for CONFIG_FILES section.
19326 # No need to generate them if there are no CONFIG_FILES.
19327 # This happens for instance with `./config.status config.h'.
19328 if test -n "$CONFIG_FILES"; then
19331 ac_cr=`echo X | tr X '\015'`
19332 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19333 # But we know of no other shell where ac_cr would be empty at this
19334 # point, so we can use a bashism as a fallback.
19335 if test "x$ac_cr" = x; then
19336 eval ac_cr=\$\'\\r\'
19338 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19339 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19340 ac_cs_awk_cr='\\r'
19341 else
19342 ac_cs_awk_cr=$ac_cr
19345 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19346 _ACEOF
19350 echo "cat >conf$$subs.awk <<_ACEOF" &&
19351 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19352 echo "_ACEOF"
19353 } >conf$$subs.sh ||
19354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19355 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19356 ac_delim='%!_!# '
19357 for ac_last_try in false false false false false :; do
19358 . ./conf$$subs.sh ||
19359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19361 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19362 if test $ac_delim_n = $ac_delim_num; then
19363 break
19364 elif $ac_last_try; then
19365 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19366 else
19367 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19369 done
19370 rm -f conf$$subs.sh
19372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19373 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19374 _ACEOF
19375 sed -n '
19377 s/^/S["/; s/!.*/"]=/
19380 s/^[^!]*!//
19381 :repl
19382 t repl
19383 s/'"$ac_delim"'$//
19384 t delim
19387 s/\(.\{148\}\)..*/\1/
19388 t more1
19389 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19392 b repl
19393 :more1
19394 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19397 s/.\{148\}//
19398 t nl
19399 :delim
19401 s/\(.\{148\}\)..*/\1/
19402 t more2
19403 s/["\\]/\\&/g; s/^/"/; s/$/"/
19406 :more2
19407 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19410 s/.\{148\}//
19411 t delim
19412 ' <conf$$subs.awk | sed '
19413 /^[^""]/{
19415 s/\n//
19417 ' >>$CONFIG_STATUS || ac_write_fail=1
19418 rm -f conf$$subs.awk
19419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19420 _ACAWK
19421 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19422 for (key in S) S_is_set[key] = 1
19423 FS = "\a"
19427 line = $ 0
19428 nfields = split(line, field, "@")
19429 substed = 0
19430 len = length(field[1])
19431 for (i = 2; i < nfields; i++) {
19432 key = field[i]
19433 keylen = length(key)
19434 if (S_is_set[key]) {
19435 value = S[key]
19436 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19437 len += length(value) + length(field[++i])
19438 substed = 1
19439 } else
19440 len += 1 + keylen
19443 print line
19446 _ACAWK
19447 _ACEOF
19448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19449 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19450 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19451 else
19453 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19454 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19455 _ACEOF
19457 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19458 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19459 # trailing colons and then remove the whole line if VPATH becomes empty
19460 # (actually we leave an empty line to preserve line numbers).
19461 if test "x$srcdir" = x.; then
19462 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19464 s///
19465 s/^/:/
19466 s/[ ]*$/:/
19467 s/:\$(srcdir):/:/g
19468 s/:\${srcdir}:/:/g
19469 s/:@srcdir@:/:/g
19470 s/^:*//
19471 s/:*$//
19473 s/\(=[ ]*\).*/\1/
19475 s/\n//
19476 s/^[^=]*=[ ]*$//
19480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19481 fi # test -n "$CONFIG_FILES"
19483 # Set up the scripts for CONFIG_HEADERS section.
19484 # No need to generate them if there are no CONFIG_HEADERS.
19485 # This happens for instance with `./config.status Makefile'.
19486 if test -n "$CONFIG_HEADERS"; then
19487 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19488 BEGIN {
19489 _ACEOF
19491 # Transform confdefs.h into an awk script `defines.awk', embedded as
19492 # here-document in config.status, that substitutes the proper values into
19493 # config.h.in to produce config.h.
19495 # Create a delimiter string that does not exist in confdefs.h, to ease
19496 # handling of long lines.
19497 ac_delim='%!_!# '
19498 for ac_last_try in false false :; do
19499 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19500 if test -z "$ac_tt"; then
19501 break
19502 elif $ac_last_try; then
19503 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19504 else
19505 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19507 done
19509 # For the awk script, D is an array of macro values keyed by name,
19510 # likewise P contains macro parameters if any. Preserve backslash
19511 # newline sequences.
19513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19514 sed -n '
19515 s/.\{148\}/&'"$ac_delim"'/g
19516 t rset
19517 :rset
19518 s/^[ ]*#[ ]*define[ ][ ]*/ /
19519 t def
19521 :def
19522 s/\\$//
19523 t bsnl
19524 s/["\\]/\\&/g
19525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19526 D["\1"]=" \3"/p
19527 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19529 :bsnl
19530 s/["\\]/\\&/g
19531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19532 D["\1"]=" \3\\\\\\n"\\/p
19533 t cont
19534 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19535 t cont
19537 :cont
19539 s/.\{148\}/&'"$ac_delim"'/g
19540 t clear
19541 :clear
19542 s/\\$//
19543 t bsnlc
19544 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19546 :bsnlc
19547 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19548 b cont
19549 ' <confdefs.h | sed '
19550 s/'"$ac_delim"'/"\\\
19551 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19554 for (key in D) D_is_set[key] = 1
19555 FS = "\a"
19557 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19558 line = \$ 0
19559 split(line, arg, " ")
19560 if (arg[1] == "#") {
19561 defundef = arg[2]
19562 mac1 = arg[3]
19563 } else {
19564 defundef = substr(arg[1], 2)
19565 mac1 = arg[2]
19567 split(mac1, mac2, "(") #)
19568 macro = mac2[1]
19569 prefix = substr(line, 1, index(line, defundef) - 1)
19570 if (D_is_set[macro]) {
19571 # Preserve the white space surrounding the "#".
19572 print prefix "define", macro P[macro] D[macro]
19573 next
19574 } else {
19575 # Replace #undef with comments. This is necessary, for example,
19576 # in the case of _POSIX_SOURCE, which is predefined and required
19577 # on some systems where configure will not decide to define it.
19578 if (defundef == "undef") {
19579 print "/*", prefix defundef, macro, "*/"
19580 next
19584 { print }
19585 _ACAWK
19586 _ACEOF
19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19589 fi # test -n "$CONFIG_HEADERS"
19592 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19593 shift
19594 for ac_tag
19596 case $ac_tag in
19597 :[FHLC]) ac_mode=$ac_tag; continue;;
19598 esac
19599 case $ac_mode$ac_tag in
19600 :[FHL]*:*);;
19601 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19602 :[FH]-) ac_tag=-:-;;
19603 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19604 esac
19605 ac_save_IFS=$IFS
19606 IFS=:
19607 set x $ac_tag
19608 IFS=$ac_save_IFS
19609 shift
19610 ac_file=$1
19611 shift
19613 case $ac_mode in
19614 :L) ac_source=$1;;
19615 :[FH])
19616 ac_file_inputs=
19617 for ac_f
19619 case $ac_f in
19620 -) ac_f="$ac_tmp/stdin";;
19621 *) # Look for the file first in the build tree, then in the source tree
19622 # (if the path is not absolute). The absolute path cannot be DOS-style,
19623 # because $ac_f cannot contain `:'.
19624 test -f "$ac_f" ||
19625 case $ac_f in
19626 [\\/$]*) false;;
19627 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19628 esac ||
19629 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19630 esac
19631 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19632 as_fn_append ac_file_inputs " '$ac_f'"
19633 done
19635 # Let's still pretend it is `configure' which instantiates (i.e., don't
19636 # use $as_me), people would be surprised to read:
19637 # /* config.h. Generated by config.status. */
19638 configure_input='Generated from '`
19639 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19640 `' by configure.'
19641 if test x"$ac_file" != x-; then
19642 configure_input="$ac_file. $configure_input"
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19644 $as_echo "$as_me: creating $ac_file" >&6;}
19646 # Neutralize special characters interpreted by sed in replacement strings.
19647 case $configure_input in #(
19648 *\&* | *\|* | *\\* )
19649 ac_sed_conf_input=`$as_echo "$configure_input" |
19650 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19651 *) ac_sed_conf_input=$configure_input;;
19652 esac
19654 case $ac_tag in
19655 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19657 esac
19659 esac
19661 ac_dir=`$as_dirname -- "$ac_file" ||
19662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19663 X"$ac_file" : 'X\(//\)[^/]' \| \
19664 X"$ac_file" : 'X\(//\)$' \| \
19665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19666 $as_echo X"$ac_file" |
19667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19668 s//\1/
19671 /^X\(\/\/\)[^/].*/{
19672 s//\1/
19675 /^X\(\/\/\)$/{
19676 s//\1/
19679 /^X\(\/\).*/{
19680 s//\1/
19683 s/.*/./; q'`
19684 as_dir="$ac_dir"; as_fn_mkdir_p
19685 ac_builddir=.
19687 case "$ac_dir" in
19688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19690 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19691 # A ".." for each directory in $ac_dir_suffix.
19692 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19693 case $ac_top_builddir_sub in
19694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19696 esac ;;
19697 esac
19698 ac_abs_top_builddir=$ac_pwd
19699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19700 # for backward compatibility:
19701 ac_top_builddir=$ac_top_build_prefix
19703 case $srcdir in
19704 .) # We are building in place.
19705 ac_srcdir=.
19706 ac_top_srcdir=$ac_top_builddir_sub
19707 ac_abs_top_srcdir=$ac_pwd ;;
19708 [\\/]* | ?:[\\/]* ) # Absolute name.
19709 ac_srcdir=$srcdir$ac_dir_suffix;
19710 ac_top_srcdir=$srcdir
19711 ac_abs_top_srcdir=$srcdir ;;
19712 *) # Relative name.
19713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19714 ac_top_srcdir=$ac_top_build_prefix$srcdir
19715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19716 esac
19717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19720 case $ac_mode in
19723 # CONFIG_FILE
19726 _ACEOF
19728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19729 # If the template does not know about datarootdir, expand it.
19730 # FIXME: This hack should be removed a few years after 2.60.
19731 ac_datarootdir_hack=; ac_datarootdir_seen=
19732 ac_sed_dataroot='
19733 /datarootdir/ {
19737 /@datadir@/p
19738 /@docdir@/p
19739 /@infodir@/p
19740 /@localedir@/p
19741 /@mandir@/p'
19742 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19743 *datarootdir*) ac_datarootdir_seen=yes;;
19744 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19746 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19747 _ACEOF
19748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19749 ac_datarootdir_hack='
19750 s&@datadir@&$datadir&g
19751 s&@docdir@&$docdir&g
19752 s&@infodir@&$infodir&g
19753 s&@localedir@&$localedir&g
19754 s&@mandir@&$mandir&g
19755 s&\\\${datarootdir}&$datarootdir&g' ;;
19756 esac
19757 _ACEOF
19759 # Neutralize VPATH when `$srcdir' = `.'.
19760 # Shell code in configure.ac might set extrasub.
19761 # FIXME: do we really want to maintain this feature?
19762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19763 ac_sed_extra="$ac_vpsub
19764 $extrasub
19765 _ACEOF
19766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19769 s|@configure_input@|$ac_sed_conf_input|;t t
19770 s&@top_builddir@&$ac_top_builddir_sub&;t t
19771 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19772 s&@srcdir@&$ac_srcdir&;t t
19773 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19774 s&@top_srcdir@&$ac_top_srcdir&;t t
19775 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19776 s&@builddir@&$ac_builddir&;t t
19777 s&@abs_builddir@&$ac_abs_builddir&;t t
19778 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19779 $ac_datarootdir_hack
19781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19782 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19785 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19786 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19787 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19789 which seems to be undefined. Please make sure it is defined" >&5
19790 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19791 which seems to be undefined. Please make sure it is defined" >&2;}
19793 rm -f "$ac_tmp/stdin"
19794 case $ac_file in
19795 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19796 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19797 esac \
19798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19802 # CONFIG_HEADER
19804 if test x"$ac_file" != x-; then
19806 $as_echo "/* $configure_input */" \
19807 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19808 } >"$ac_tmp/config.h" \
19809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19810 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19812 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19813 else
19814 rm -f "$ac_file"
19815 mv "$ac_tmp/config.h" "$ac_file" \
19816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19818 else
19819 $as_echo "/* $configure_input */" \
19820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19821 || as_fn_error $? "could not create -" "$LINENO" 5
19826 # CONFIG_LINK
19829 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19831 else
19832 # Prefer the file from the source tree if names are identical.
19833 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19834 ac_source=$srcdir/$ac_source
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19838 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19840 if test ! -r "$ac_source"; then
19841 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19843 rm -f "$ac_file"
19845 # Try a relative symlink, then a hard link, then a copy.
19846 case $ac_source in
19847 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19848 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19849 esac
19850 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19851 ln "$ac_source" "$ac_file" 2>/dev/null ||
19852 cp -p "$ac_source" "$ac_file" ||
19853 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19856 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19857 $as_echo "$as_me: executing $ac_file commands" >&6;}
19859 esac
19862 case $ac_file$ac_mode in
19863 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19864 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19865 "Makefile":C) wine_fn_output_makefile Makefile ;;
19867 esac
19868 done # for ac_tag
19871 as_fn_exit 0
19872 _ACEOF
19873 ac_clean_files=$ac_clean_files_save
19875 test $ac_write_fail = 0 ||
19876 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19879 # configure is writing to config.log, and then calls config.status.
19880 # config.status does its own redirection, appending to config.log.
19881 # Unfortunately, on DOS this fails, as config.log is still kept open
19882 # by configure, so config.status won't be able to write to it; its
19883 # output is simply discarded. So we exec the FD to /dev/null,
19884 # effectively closing config.log, so it can be properly (re)opened and
19885 # appended to by config.status. When coming back to configure, we
19886 # need to make the FD available again.
19887 if test "$no_create" != yes; then
19888 ac_cs_success=:
19889 ac_config_status_args=
19890 test "$silent" = yes &&
19891 ac_config_status_args="$ac_config_status_args --quiet"
19892 exec 5>/dev/null
19893 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19894 exec 5>>config.log
19895 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19896 # would make configure fail if this is the last instruction.
19897 $ac_cs_success || as_fn_exit 1
19899 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19901 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19905 if test "$no_create" = "yes"
19906 then
19907 exit 0
19910 ac_save_IFS="$IFS"
19911 if test "x$wine_notices" != x; then
19912 echo >&6
19913 IFS="|"
19914 for msg in $wine_notices; do
19915 IFS="$ac_save_IFS"
19916 if ${msg:+false} :; then :
19918 else
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19920 $as_echo "$as_me: $msg" >&6;}
19922 done
19924 IFS="|"
19925 for msg in $wine_warnings; do
19926 IFS="$ac_save_IFS"
19927 if ${msg:+false} :; then :
19929 else
19930 echo >&2
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19932 $as_echo "$as_me: WARNING: $msg" >&2;}
19934 done
19935 IFS="$ac_save_IFS"
19937 $as_echo "
19938 $as_me: Finished. Do '${ac_make}' to compile Wine.
19939 " >&6